Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98782 - iproute2 USE flag for openvpn 2.0 ebuild
Summary: iproute2 USE flag for openvpn 2.0 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-12 08:29 UTC by slynn@granite-mtn.net
Modified: 2005-10-13 07:09 UTC (History)
1 user (show)

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


Attachments
patch to enable iproute2 support in openvpn ebuild (openvpn-iproute2.patch,685 bytes, patch)
2005-07-12 08:29 UTC, slynn@granite-mtn.net
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description slynn@granite-mtn.net 2005-07-12 08:29:11 UTC
I've been moving toward using iproute2 command exclusively on my system and have
just goteen to openvpn.  According to the "Optional Features: section of the
file "configure" in the openvpn tarball:

  --enable-iproute2       Enable support for iproute2

This is backed up (somewhat) on the openvpn.net site at:

http://openvpn.net/archive/openvpn-users/2005-01/msg00513.html

I have created a patch to the openvpn-2.0-r1.ebuild which adds this support.

I have also tested this on three systems:  P4, Athlon-XP, AMD64 with a single
server config and everything seems to work ok.  Startup includes:
Jul 12 09:18:54 myclient openvpn-client-myserver[23368]: TUN/TAP device tun0 opened
Jul 12 09:18:54 myclient openvpn-client-myserver[23368]: TUN/TAP TX queue length
set to 100
Jul 12 09:18:54 myclient openvpn-client-myserver[23368]: /sbin/ip link set dev
tun0 up mtu 1500
Jul 12 09:18:54 myclient openvpn-client-myserver[23368]: /sbin/ip addr add dev
tun0 local 10.1.1.3 peer 10.1.1.4
Jul 12 09:18:54 myclient openvpn-client-myserver[23368]: /sbin/ip route add
10.1.1.0/24 via 10.1.1.4
Jul 12 09:18:54 myclient openvpn-client-myserver[23368]: GID set to vpn
Jul 12 09:18:54 myclient openvpn-client-myserver[23368]: UID set to vpn
Jul 12 09:18:54 myclient openvpn-client-myserver[23368]: Initialization Sequence
Completed

and i've used this setup for several days.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 slynn@granite-mtn.net 2005-07-12 08:29:59 UTC
Created attachment 63238 [details, diff]
patch to enable iproute2 support in openvpn ebuild
Comment 2 Roy Marples (RETIRED) gentoo-dev 2005-10-13 07:09:39 UTC
Fixed in 2.0.2-r1