Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request #2

Open
am0o0 opened this issue Nov 20, 2022 · 6 comments
Open

feature request #2

am0o0 opened this issue Nov 20, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@am0o0
Copy link

am0o0 commented Nov 20, 2022

Thanks for the awesome updx tool
Can you please tell me How Can I add a probe by myself, please?
I want to add HTTP3/QUIC probes that I think are based on the UDP.

@nullt3r
Copy link
Owner

nullt3r commented Nov 20, 2022

Good idea, I will look into it. Documentation is still work in progress, but there is this little section. I am thinking about adding YML templates.

@am0o0
Copy link
Author

am0o0 commented Nov 20, 2022

Thanks, I want to know How can I find out whats the packet data (hex-encoded) of the specific protocol is? should I log UDP packets or read their RFC ?

@nullt3r
Copy link
Owner

nullt3r commented Nov 20, 2022

The poor's man solution is to capture the data via netcat, e. g. nc -ul PORT > /tmp/out.pkt and then convert the packet to hex data cat /tmp/out.pkt | hexdump -e '512/1 "%02X"'. Just make sure to share it so we can add it to the next release.

@nullt3r nullt3r added the enhancement New feature or request label Nov 20, 2022
@am0o0
Copy link
Author

am0o0 commented Nov 20, 2022

I think http3 is based on TLS so I couldn't reuse the same packet and got error in server logs too:
image
on first run
image

on second run(failed)
image

@nullt3r
Copy link
Owner

nullt3r commented Nov 20, 2022

Yep, I realised there is TLS 1.3 by design in QUICK, so thats expected.

@nullt3r
Copy link
Owner

nullt3r commented Nov 20, 2022

This is why, e. g. Wireguard and such is not included in probes. I will need to make actual module for TLS. If you have any idea, let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants