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

Add support for RFC5780 #17

Open
muink opened this issue Apr 11, 2024 · 8 comments
Open

Add support for RFC5780 #17

muink opened this issue Apr 11, 2024 · 8 comments

Comments

@muink
Copy link

muink commented Apr 11, 2024

stunserver.stunprotocol.org supports NAT behavior test over udp/tcp, but can't find any other equivalent replacement on the internet. I guess it's a needle in a haystack.
If possible, hope to provide a list of servers that support RFC5780. Thank you.

@pradt2
Copy link
Owner

pradt2 commented Apr 29, 2024

Hi, providing a list of servers that are fully compliant to the RFC5780 would be a significant task, as there are a lot of behaviours to test to ensure 100% compliance.

However, a much more manageable task would be to test for servers that support enough of the RFC5780 spec to conduct a NAT behaviour test. I will look into this in the coming days/weeks.

@muink
Copy link
Author

muink commented Jun 24, 2024

I wrote a simple script to filter out servers supporting RFC5780 from a list.
https://github.com/muink/rfc5780-stun-server

@pradt2
Copy link
Owner

pradt2 commented Jun 26, 2024

Apologies for the wait here. I'll get this done today

@pradt2
Copy link
Owner

pradt2 commented Jun 26, 2024

I added valid_nat_testing_* lists. See the updated README for details. Let me know if this works for you.

@muink
Copy link
Author

muink commented Jun 27, 2024

stun.freeswitch.org:3478
stun.antisip.com:3478
stun.nextcloud.com:3478
stun.dcalling.de:3478
stun.sonetel.com:3478

I randomly selected several servers, but none of them support nat behavior testing. 😿

@pradt2
Copy link
Owner

pradt2 commented Jun 28, 2024

Very interesting, let me investigate further!

@pradt2
Copy link
Owner

pradt2 commented Jun 28, 2024

@muink I just tested all the hosts you mention above using stuntman, and they all work fine with the 'full' testing option, which includes the NAT mapping and filtering tests.

What tool/library/testing methods do you use?

@muink
Copy link
Author

muink commented Jun 29, 2024

Stuntman or NatTypeTester
image
Sorry, I forgot to mention that they do not support testing under TCP.

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

No branches or pull requests

2 participants