Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199679 - net-misc/openvpn-2.1_rc4-r2: USE=ipv6 breaks multihome feature
Summary: net-misc/openvpn-2.1_rc4-r2: USE=ipv6 breaks multihome feature
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Alon Bar-Lev (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-19 17:58 UTC by Heath Kehoe
Modified: 2008-01-19 18:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heath Kehoe 2007-11-19 17:58:00 UTC
When built with USE=ipv6, the multihome feature of openvpn 2.1 doesn't work properly.


Reproducible: Always

Steps to Reproduce:
1. configure a system with multiple IP addresses on an interface
2. run openvpn using the multihome option ("--multihome" on the command line or "multihome" in the config file)
3. configure an openvpn client on a separate system to connect to the IP address that is not the 'first' address on the interface (in my setup most clients are 2.0.9, but I don't think that client version matters)

Actual Results:  
When the client initiates a connection, you'll see the return packets have the wrong source IP address.  Also, the server-side openvpn will log these error messages:

read UDPv4 [CMSG=8|EHOSTUNREACH]: No route to host (code=113)



Expected Results:  
Source address of udp packets should match the address the client originally connected to.

When I build with USE=-ipv6, it works properly.

[ Found these USE variables for net-misc/openvpn-2.1_rc4-r2 ]
 U I
 - - examples     : Install example source code
 + + iproute2     : Enabled iproute2 support instead of net-tools
 - - ipv6         : Adds support for IP version 6
 - - minimal      : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
 + + pam          : Adds support PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
 - - passwordsave : Enables openvpn to save passwords
 - - selinux      : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
 + + ssl          : Adds support for Secure Socket Layer connections
 - - static       : !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically
 - - threads      : Adds threads support for various packages. Usually pthreads
 - - userland_BSD : <unknown>
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2007-12-21 23:46:07 UTC
Have you reported this to upstream?
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2008-01-19 18:21:04 UTC
Please report to upstream, if you have some kind of patch/solution I will be happy to apply.