<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>98782</bug_id>
          
          <creation_ts>2005-07-12 08:29 0000</creation_ts>
          <short_desc>iproute2 USE flag for openvpn 2.0 ebuild</short_desc>
          <delta_ts>2005-10-13 07:09:39 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>slynn@granite-mtn.net</reporter>
          <assigned_to>uberlord@gentoo.org</assigned_to>
          <cc>radek@podgorny.cz</cc>

      

      
          <long_desc isprivate="0">
            <who>slynn@granite-mtn.net</who>
            <bug_when>2005-07-12 08:29:11 0000</bug_when>
            <thetext>I&apos;ve been moving toward using iproute2 command exclusively on my system and have
just goteen to openvpn.  According to the &quot;Optional Features: section of the
file &quot;configure&quot; 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&apos;ve used this setup for several days.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>slynn@granite-mtn.net</who>
            <bug_when>2005-07-12 08:29:59 0000</bug_when>
            <thetext>Created an attachment (id=63238)
patch to enable iproute2 support in openvpn ebuild
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>uberlord@gentoo.org</who>
            <bug_when>2005-10-13 07:09:39 0000</bug_when>
            <thetext>Fixed in 2.0.2-r1</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>63238</attachid>
            <date>2005-07-12 08:29 0000</date>
            <desc>patch to enable iproute2 support in openvpn ebuild</desc>
            <filename>openvpn-iproute2.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">KioqIC91c3IvcG9ydGFnZS9uZXQtbWlzYy9vcGVudnBuL29wZW52cG4tMi4wLXIxLmVidWlsZAlT
YXQgSnVuIDI1IDA2OjM1OjQ5IDIwMDUKLS0tIC91c3IvbG9jYWwvcG9ydGFnZS9uZXQtbWlzYy9v
cGVudnBuL29wZW52cG4tMi4wLXIxLmVidWlsZAlUdWUgSnVsIDEyIDA5OjE1OjEwIDIwMDUKKioq
KioqKioqKioqKioqCioqKiAxMiwxNiAqKioqCiAgU0xPVD0iMCIKICBLRVlXT1JEUz0ifng4NiB+
cHBjIH5zcGFyYyB+YWxwaGEgfnBwYy1tYWNvcyB+YW1kNjQiCiEgSVVTRT0iZXhhbXBsZXMgc3Ns
IHRocmVhZHMiCiAgCiAgUkRFUEVORD0iPj1kZXYtbGlicy9sem8tMS4wNwotLS0gMTIsMTYgLS0t
LQogIFNMT1Q9IjAiCiAgS0VZV09SRFM9In54ODYgfnBwYyB+c3BhcmMgfmFscGhhIH5wcGMtbWFj
b3MgfmFtZDY0IgohIElVU0U9ImV4YW1wbGVzIHNzbCB0aHJlYWRzIGlwcm91dGUyIgogIAogIFJE
RVBFTkQ9Ij49ZGV2LWxpYnMvbHpvLTEuMDcKKioqKioqKioqKioqKioqCioqKiAyOSwzMiAqKioq
Ci0tLSAyOSwzMyAtLS0tCiAgCQkkKHVzZV9lbmFibGUgc3NsIGNyeXB0bykgXAogIAkJJCh1c2Vf
ZW5hYmxlIHRocmVhZHMgcHRocmVhZCkgXAorIAkJJCh1c2VfZW5hYmxlIGlwcm91dGUyKSBcCiAg
CQl8fCBkaWUgImNvbmZpZ3VyZSBmYWlsZWQiCiAgCWVtYWtlIHx8IGRpZSAibWFrZSBmYWlsZWQi
Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>