Repository navigation
[::]:53 may reply from wrong IPv6 source address on multi-address hosts #3397
sinnoken
started this conversation in
Potential issues
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
With listen_addresses = [‘[::]:53’], IPv6 queries time out when the interface has more than one address in the same eth, for example a static ULA and a SLAAC ULA. The reply can go out from the other address instead of the one the client queried, so the client drops it. IPv4 queries and ping are not affected.
Either of these workarounds fixes it:
Suggestion: reply from the query’s destination address using IPV6_PKTINFO, or mention this limitation next to the [::]:53 example in example-dnscrypt-proxy.toml.
Possibly related: #2209
dnscrypt-proxy 2.1.18, Linux
All reactions