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

Initial IPv6 support #116

wants to merge 2 commits into
base: master

Initial IPv6 support #116

wants to merge 2 commits into from


Copy link

kaechele commented Jan 2, 2020

This implements IPv6 support for both broker and client.
The broker implementation is very straightforward.
The client is a little more involved.

Initial testing showed mixed results. My initial testing suggests there may be an MTU issue with a particular ISP in our region when using IPv6. So further testing would be appreciated.

Depends on #115 and #110
Fixes #75

@kaechele kaechele force-pushed the kaechele:ipv6 branch from 637923a to 0dae86d Jan 2, 2020
@kaechele kaechele mentioned this pull request Jan 2, 2020
@kaechele kaechele force-pushed the kaechele:ipv6 branch 3 times, most recently from edb1637 to afe661d Jan 8, 2020
kaechele added 2 commits Oct 13, 2019
Also allow listening on multiple addresses to enable Dual Stack

Signed-off-by: Felix Kaechele <>
This adds IPv6 capabilities to the client. A fallback to IPv4 has been
implemented for DNS names that return both an A and AAAA record but
where the broker only replies to IPv4 requests.

This removes binding to local IPs or interfaces as we connect() the
socket which makes the Kernel choose the local endpoint automatically
based on the interface that was used for the outgoing request.

IPv6 Addresses can be passed to the client using the -b parameter like

  tunneldigger [opts] -b [2001:db8::1]:8942

you can also specify the interface scope for IPv6 like this:

  tunneldigger [opts] -b [fe80::1%ens3]:8942

Signed-off-by: Felix Kaechele <>
@kaechele kaechele force-pushed the kaechele:ipv6 branch from afe661d to f0a6013 Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

1 participant
You can’t perform that action at this time.