VPN traffic leaks in IPv6/IPv4 dual-stack networks/hosts
Subsystems (2)
Folks,
FYI. This is might affect Linux users employing e.g. OpenVPN:
<http://tools.ietf.org/html/draft-gont-opsec-vpn-leakages>.
For a project such as OpenVPN, a (portable) fix might be non-trivial. However, I guess Linux might hook some iptables rules when establishing the VPN tunnel, such that e.g. all v6 traffic is filtered (yes, this is certainly not the most desirable fix, but still probably better than having your supposedly-secured traffic being sent in the clear).
P.S.: Not sure if this is the right list to send this note. Please advice of a more appropriate one and/or feel free to forward this note if deemed appropriate...
Thanks,
Signature · 3 lines
Fernando Gont e-mail: [email protected] || [email protected] PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1
Quoted 11 lines · Fernando Gont
Folks,
FYI. This is might affect Linux users employing e.g. OpenVPN:
<http://tools.ietf.org/html/draft-gont-opsec-vpn-leakages>.For a project such as OpenVPN, a (portable) fix might be non-trivial. However, I guess Linux might hook some iptables rules when establishing the VPN tunnel, such that e.g. all v6 traffic is filtered (yes, this is certainly not the most desirable fix, but still probably better than having your supposedly-secured traffic being sent in the clear).
Quoted 3 lines
P.S.: Not sure if this is the right list to send this note. Please advice of a more appropriate one and/or feel free to forward this note if deemed appropriate...
This seems a user space issue to me.
accept_ra on linux is set to 1, meaning that as soon as forwarding is enabled, RA are ignored.
Hi, Eric,
Quoted 8 lines · Eric Dumazet
Quoted 3 lines
P.S.: Not sure if this is the right list to send this note. Please advice of a more appropriate one and/or feel free to forward this note if deemed appropriate...This seems a user space issue to me.
accept_raon linux is set to 1, meaning that as soon as forwarding is enabled, RA are ignored.
I don't follow. Why would RAs be ignored if accept_ra is set to 1??
Cheers,
Signature · 3 lines
Fernando Gont e-mail: [email protected] || [email protected] PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1
Quoted 5 lines · Fernando Gont
Quoted 3 lines
accept_raon linux is set to 1, meaning that as soon as forwarding is
enabled, RA are ignored.I don't follow. Why would RAs be ignored if
accept_rais set to 1??
Value of 1 means "Accept Router Advertisements if forwarding is disabled.", see Documentation/networking/ip-sysct.txt
Michal Kubeček
Quoted 6 lines · Fernando Gont
Folks,
FYI. This is might affect Linux users employing e.g. OpenVPN:
<http://tools.ietf.org/html/draft-gont-opsec-vpn-leakages>.For a project such as OpenVPN, a (portable) fix might be non-trivial.
If the VPN server does not even advertise to-be-secured IPv6 prefixes, any client-side fix is questionable. Disabling all of IPv6 on the client just because no IPv6 prefixes were sent is bogus.. it is like disabling all my IPv4 internet just because the server only gave me one IPv6 route into $internal_company_network.
Quoted 4 lines · Jan Engelhardt
Quoted 1 line
For a project such as OpenVPN, a (portable) fix might be non-trivial.
If the VPN server does not even advertise to-be-secured IPv6 prefixes, any client-side fix is questionable.
If the VPN is supposed to secure all traffic, and the VPN just fails to support v6, then for me, it's questionable to have your traffic leak out the VPN just because of that lack of IPv6 support.
But YMMV, of couse.
Cheers,
Signature · 3 lines
Fernando Gont e-mail: [email protected] || [email protected] PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1
Quoted 9 lines · Fernando Gont
Quoted 4 lines · Jan Engelhardt
Quoted 1 line
For a project such as OpenVPN, a (portable) fix might be non-trivial.
If the VPN server does not even advertise to-be-secured IPv6 prefixes, any client-side fix is questionable.
If the VPN is supposed to secure all traffic, and the VPN just fails to support v6, then for me, it's questionable to have your traffic leak out the VPN just because of that lack of IPv6 support.
Well, what I am saying is that a server may not
be conveying "all", but only "0.0.0.0/0".
Quoted 6 lines · Jan Engelhardt
Quoted 3 lines
If the VPN is supposed to secure all traffic, and the VPN just fails to support v6, then for me, it's questionable to have your traffic leak out the VPN just because of that lack of IPv6 support.
Well, what I am saying is that a server may not
be conveying "all", but only "0.0.0.0/0".
In such scenarios, doing nothing about IPv6 would be an oversight/error, since IPv4 and IPv6 do not operate isolated from each other.
Cheers,
Signature · 3 lines
Fernando Gont e-mail: [email protected] || [email protected] PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1
Quoted 9 lines · Fernando Gont
Quoted 6 lines · Jan Engelhardt
Quoted 3 lines
If the VPN is supposed to secure all traffic, and the VPN just fails to support v6, then for me, it's questionable to have your traffic leak out the VPN just because of that lack of IPv6 support.
Well, what I am saying is that a server may not
be conveying "all", but only "0.0.0.0/0"[0/0].In such scenarios, doing nothing about IPv6 would be an oversight/error,
Without additional input from the user, e.g. by means of a config setting, the software itself cannot distinguish between an oversight/error and a deliberate configuration.
Quoted 5 lines · Jan Engelhardt
Quoted 5 lines · Jan Engelhardt
Quoted 4 lines
Quoted 3 lines
If the VPN is supposed to secure all traffic, and the VPN just fails to support v6, then for me, it's questionable to have your traffic leak out the VPN just because of that lack of IPv6 support.
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Well, what I am saying is that a server may not
be conveying "all", but only "0.0.0.0/0"[0/0].In such scenarios, doing nothing about IPv6 would be an oversight/error,
Without additional input from the user, e.g. by means of a config setting, the software itself cannot distinguish between an oversight/error and a deliberate configuration.
Exactly. So fail on the safe side, and disable IPv6. Most users forwarding all IPv4 traffic are meaning to secure all their traffic with the VPN.
If you do nothing about v6, then it just takes a local attacker to trigger v6 connectivity (or the user to connect to a dual-stacked network) for the supposedly-secure traffic to go out in the clear.
Many people don't realize that v6 and v4, while being to different protocols, are sticked together by means of the DNS. And the aforementioned issue will come up as a surprise in most scenario.
Not to mention that nowadays, you will miss virtually nothing on the Internet by having v6 off.
Thanks,
Signature · 3 lines
Fernando Gont e-mail: [email protected] || [email protected] PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1
Quoted 3 lines · Fernando Gont
Not to mention that nowadays, you will miss virtually nothing on the Internet by having v6 off.
Don't judge others by your own standards..
Quoted 8 lines · Jan Engelhardt
Quoted 3 lines · Fernando Gont
Not to mention that nowadays, you will miss virtually nothing on the Internet by having v6 off.
Don't judge others by your own standards..
You don't know me enough to make claims about my standards.
Whenever you please, please come up with a list of services (by domain name) that are not available on v4, then talk.
And, in any case, what I mentioned still holds true: preventing VPN leaks follows the principle of "least surprise".
I said what I had to say...
Cheers,
Signature · 3 lines
Fernando Gont e-mail: [email protected] || [email protected] PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1