Skip to contentSkip to conversation

RFD: "--ignore-ipv6-failure" switch

Openvpn-devel Gert Doering 1 participant 2 messages Apr 15, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

a few of my users are driving me nuts, by unchecking "[ ] IPv6" in their windows TAP adapter settings, and then complaining that their OpenVPN is not connecting to this customers' server properly (because netsh.exe fails to add an IPv6 address, and this is considered fatal).

Now, I don't actually *need* IPv6 there yet, but I want to have the infrastructure fully ready when the first customer comes asking for "will your product do IPv6?" - so I do not want to turn off IPv6 on the server, but for this sort of users, it would be good enough for now to disable IPv6 on the openvpn client, or just make it "ignore that error".

So I propose to add an option (yay)

--ignore-ipv6-failure

or such, which would make the failure to ifconfig/netsh.exe/... IPv6 addresses a non-fatal error - log warning, unset tun_ipv6 (so routes are not installed, which wouldn't work anyway), go ahead.

This would be pushable, so I can send it to problematic clients by means of CCD/ - and thus I also know who needs personal attention later on, when I can lay my hand on their laptops.

Comments?

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#1 lore raw

Hi,

Quoted 4 lines · Gert Doering

a few of my users are driving me nuts, by unchecking "[ ] IPv6" in their windows TAP adapter settings, and then complaining that their OpenVPN is not connecting to this customers' server properly (because netsh.exe fails to add an IPv6 address, and this is considered fatal).

Turns out that this wasn't the actual problem, but the problem was "gui not run as administrator".

Which actually moves the issue (for me) towards

- why can't we report a useful message if netsh.exe fails due to lack of permission?

- why do we happily ignore IPv4 route.exe failures due to lack of permission? (Which means that the IPv4 case actually hides the problem, the GUI and OpenVPN pretend that "all worked!" but if you try to connect something behind the VPN, the routes are just not there...)

Hrm.

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...