Hi,

On Wed, Nov 23, 2011 at 04:56:22PM +1300, Michal Ludvig wrote:
> I'm using the latest openvpn from GIT on OpenSUSE 11.4 and am 
> experiencing a problem with IPv6 payload setup. It works but openvpn 
> seems to be somewhat confused when setting up the v6 route.

There's two interesting things in here...

> However every 2 minutes OpenVPN for some reason triggers a restart and 
> then it tries to call add_route_ipv6() more then once. In fact it calls 
> it 2x on the first restrat, 3x on the 2nd restart, etc. Here you go 
> after a couple of minutes:
> 
> 16:42:16 [xyz.logix.net.nz] Inactivity timeout (--ping-restart), restarting

... first, the restart, due to --ping timeout.  This normally shouldn't
happen in the first place - but it's not "the bug", it's just the trigger.

> 16:42:21 add_route_ipv6(2001:e20:abcd:400::/56 -> 2001:e20:abcd:403::1 
> metric 0) dev tunHome
> 16:42:21 /bin/ip -6 route add 2001:e20:abcd:400::/56 dev tunHome
> 16:42:21 add_route_ipv6(2001:e20:abcd:400::/56 -> 2001:e20:abcd:403::1 
> metric 0) dev tunHome
> 16:42:21 /bin/ip -6 route add 2001:e20:abcd:400::/56 dev tunHome
> RTNETLINK answers: File exists

... and *that* is quite obviously a bug.  It seems as if the pushed
route list isn't properly flushed upon disconnect, and then the routes 
are just added again on top of it.

I'll go and investigate.  Thanks for bringing this up.

> Is there anything wrong with my setup or is it an OpenVPN bug?

The "ping restart" could be missing --ping* options on the server, but
that's just triggering the real bug - so it's good that you found it, 
and we can fix it in time for 2.3.

gert

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: pgp0PVC6dIk9P.pgp
Description: PGP signature

Reply via email to