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

mobile: UDP connections can wedge on IP address changes #1

Open
kegsay opened this issue May 11, 2021 · 0 comments
Open

mobile: UDP connections can wedge on IP address changes #1

kegsay opened this issue May 11, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@kegsay
Copy link
Member

kegsay commented May 11, 2021

DTLS connections are preserved for as long as possible. If a connection is made when only local addresses are available (e.g 192.168) and then the IP address changes, the client does not pick up the IP change resulting in errors like:

write udp: invalid argument

This is caused by the UDP header setting a private IP space (192.168.) as the sender, when communicating with a public IP address. The library should pick this up and reset the connection when this happens.

@kegsay kegsay added the bug Something isn't working label May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant