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

IPv6 Source Address #197

Open
shakoush2001 opened this issue Mar 7, 2016 · 1 comment
Open

IPv6 Source Address #197

shakoush2001 opened this issue Mar 7, 2016 · 1 comment

Comments

@shakoush2001
Copy link

Hi
I am using the resolver to get incoming traffic on ipv4 and outgoing traffic on ipv6. This works nice, however I do have a need to rotate outgoing IPv6 traffic, it appears that if I do set the preferred outgoing IP address on server by deprecating the IPs I do not want to use as source this works for ping and traceroute, but not for SNIPROXY, sniproxy will keep using the same source IPv6 IP that was set as primary when it was started, restarting SNIPROXY will fix this behaviour, but given I need to rotate every 1 min this is not an option, is there anyway around this ?
Regards

@dlundquist
Copy link
Owner

Are you specifying the source address in the configuration file? If so sniproxy will bind to that address before establishing the outgoing connection. If not, it should use the the default source IP allocated by the kernel. As far as I know on Linux, this should be the non-deprecated IPv6 address of the appropriate address scope on the interface nearest the route to the destination host. IPv6 source address selection logic is specified here: https://tools.ietf.org/html/rfc6724#section-5, without more specifics I can't look into this any further.

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

No branches or pull requests

2 participants