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

(server) Ensure from address matches to address #16

Open
hildjj opened this issue Mar 16, 2015 · 0 comments
Open

(server) Ensure from address matches to address #16

hildjj opened this issue Mar 16, 2015 · 0 comments

Comments

@hildjj
Copy link
Contributor

hildjj commented Mar 16, 2015

Since we're listening on "::", the kernel might choose a different from address for a reply than the original packet was addressed to. This will make 5-tuple binding fail.

http://stackoverflow.com/questions/3062205/setting-the-source-ip-for-a-udp-socket

Note: this might mean opening a separate v4 and v6 socket, which is annoying. Perhaps only worry about this for v6, where multiple addresses are likely more of an issue.

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

1 participant