id summary reporter owner description type status priority milestone component version severity resolution keywords cc 141 Cannot restart openvpn more than once per boot if using persistent tunnels and IPv6 payload rajkosto Gert Döring "Basically, when persistent tunnel is enabled, the tun0 device and it's ip addresses will stay when openvpn is stopped. The IPv6 payload patch didn't anticipate that, so when I restart it, I get this: {{{ Wed Jun 1 22:26:47 2011 OpenVPN 2.x-master i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110522-1 (2.2.0)] built on Jun 1 2011 Wed Jun 1 22:26:47 2011 WARNING: You have disabled Crypto IVs (--no-iv) which may make OpenVPN less secure Wed Jun 1 22:26:47 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Wed Jun 1 22:26:47 2011 Diffie-Hellman initialized with 1024 bit key Wed Jun 1 22:26:47 2011 ******* WARNING *******: null MAC specified, no authentication will be used Wed Jun 1 22:26:47 2011 WARNING: normally if you use --mssfix and/or --fragment, you should also set --tun-mtu 1500 (currently it is 1443) Wed Jun 1 22:26:47 2011 Socket Buffers: R=[114688->131072] S=[114688->131072] Wed Jun 1 22:26:47 2011 ROUTE default_gateway=85.17.92.126 Wed Jun 1 22:26:47 2011 ROUTE6: default_gateway=UNDEF Wed Jun 1 22:26:47 2011 TUN/TAP device tun0 opened Wed Jun 1 22:26:47 2011 TUN/TAP TX queue length set to 100 Wed Jun 1 22:26:47 2011 do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=1 Wed Jun 1 22:26:47 2011 /sbin/ifconfig tun0 172.16.0.1 netmask 255.255.255.0 mtu 1443 broadcast 172.16.0.255 Wed Jun 1 22:26:47 2011 /sbin/ifconfig tun0 inet6 add 2001:470:d76b:b055::1/64 SIOCSIFADDR: File exists Wed Jun 1 22:26:47 2011 Linux ifconfig inet6 failed: external program exited with error status: 1 Wed Jun 1 22:26:47 2011 Exiting due to fatal error }}} This was freshly checked out from openvpn-testing allmerged today and compiled with no parameters (./configure, make, make install) openvpn --version {{{ OpenVPN 2.x-master i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110522-1 (2.2.0)] built on Jun 1 2011 Originally developed by James Yonan Copyright (C) 2002-2010 OpenVPN Technologies, Inc. $ ./configure Compile time defines: ENABLE_CLIENT_SERVER ENABLE_DEBUG ENABLE_EUREPHIA ENABLE_FRAGMENT ENABLE_HTTP_PROXY ENABLE_MANAGEMENT ENABLE_MULTIHOME ENABLE_PORT_SHARE ENABLE_SOCKS USE_CRYPTO USE_LIBDL USE_LZO USE_PF_INET6 USE_SSL }}} " Bug / Defect closed major release 2.3.8 IPv6 OpenVPN 2.3.0 (Community Ed) Not set (select this one, unless your'e a OpenVPN developer) fixed testing ipv6 payload persistent misconfiguration add ip