Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183457 - net-misc/openvpn UDPv6 patch
Summary: net-misc/openvpn UDPv6 patch
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
: 183455 183459 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-27 20:29 UTC by Marcel Pennewiß
Modified: 2008-08-02 21:39 UTC (History)
3 users (show)

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


Attachments
openvpn-2.0.7-r2.ebuild (openvpn-2.0.7-r2.ebuild,4.17 KB, text/plain)
2007-06-27 20:31 UTC, Marcel Pennewiß
Details
openvpn-2.0-udp6.patch (openvpn-2.0-udp6.patch,180.60 KB, patch)
2007-06-27 20:31 UTC, Marcel Pennewiß
Details | Diff
openvpn-2.0.6.ebuild (openvpn-2.0.6.ebuild,4.06 KB, text/plain)
2007-06-27 20:56 UTC, Marcel Pennewiß
Details
openvpn-2.1_rc4.ebuild (openvpn-2.1_rc4.ebuild,4.59 KB, text/plain)
2007-06-27 20:57 UTC, Marcel Pennewiß
Details
openvpn-2.1-udp6.patch (openvpn-2.1-udp6.patch,75.44 KB, patch)
2007-06-27 20:57 UTC, Marcel Pennewiß
Details | Diff
openvpn-2.1_rc6-r1.ebuild (openvpn-2.1_rc6-r1.ebuild,4.35 KB, text/plain)
2008-02-07 22:16 UTC, Marcel Pennewiß
Details
openvpn-2.1_rc6-udp6.patch (openvpn-2.1_rc6-udp6.patch,75.04 KB, text/plain)
2008-02-07 22:16 UTC, Marcel Pennewiß
Details
openvpn-2.1_rc7-r1.ebuild (openvpn-2.1_rc7-r1.ebuild,4.36 KB, text/plain)
2008-04-16 22:45 UTC, Marcel Pennewiß
Details
openvpn-2.1_rc9.ebuild (openvpn-2.1_rc9.ebuild,4.33 KB, text/plain)
2008-08-02 21:37 UTC, Marcel Pennewiß
Details
openvpn-2.1_rc9-udp6.patch (openvpn-2.1_rc9-udp6.patch,71.61 KB, patch)
2008-08-02 21:39 UTC, Marcel Pennewiß
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Pennewiß 2007-06-27 20:29:24 UTC
Hi,

i fixed the UDPv6-Patch from JuanJo Ciarlante (like described in
http://openvpn.net/archive/openvpn-devel/2004-09/msg00038.html) for
gentoo-openvpn-source an added it to ebuild. if use-flag "ipv6" is active
UDPv6-Support will be patched. Works fine for me.

mape2k
Comment 1 Marcel Pennewiß 2007-06-27 20:31:02 UTC
Created attachment 123241 [details]
openvpn-2.0.7-r2.ebuild
Comment 2 Marcel Pennewiß 2007-06-27 20:31:33 UTC
Created attachment 123242 [details, diff]
openvpn-2.0-udp6.patch

The patch will be used if use-flag "ipv6" is active.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-06-27 20:40:53 UTC
*** Bug 183455 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-06-27 20:41:36 UTC
*** Bug 183459 has been marked as a duplicate of this bug. ***
Comment 5 Marcel Pennewiß 2007-06-27 20:56:53 UTC
Created attachment 123247 [details]
openvpn-2.0.6.ebuild
Comment 6 Marcel Pennewiß 2007-06-27 20:57:13 UTC
Created attachment 123248 [details]
openvpn-2.1_rc4.ebuild
Comment 7 Marcel Pennewiß 2007-06-27 20:57:38 UTC
Created attachment 123249 [details, diff]
openvpn-2.1-udp6.patch

patch for openvpn-2.1-ebuilds
Comment 8 Roy Marples (RETIRED) gentoo-dev 2007-06-27 21:15:11 UTC
Good work - I did look at this patch myself many months ago, but I haven't had the time to work on OpenVPN stuff lately.

Have you submitted this upstream?
How can I test it works? Assume I have a fully functioning IPv6 network.
Comment 9 Marcel Pennewiß 2007-06-27 23:40:09 UTC
(In reply to comment #8)
> Have you submitted this upstream?

What do you mean?

> How can I test it works? Assume I have a fully functioning IPv6 network.

you have a working openvpn-setup via IPv4? Only change "proto" settings to udp6 (for udp-connections) or tcp6-server/tcp6-client (for tcp-connections). Also the remote-adress should be a aaaa-record or an ipv6-adress.

mape2k
Comment 10 Roy Marples (RETIRED) gentoo-dev 2007-06-28 13:30:32 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > Have you submitted this upstream?
> 
> What do you mean?

Submit the corrected patches to the openvpn development mailing lists for inclusion.
http://sourceforge.net/mail/?group_id=48978

> > How can I test it works? Assume I have a fully functioning IPv6 network.
> 
> you have a working openvpn-setup via IPv4? Only change "proto" settings to udp6
> (for udp-connections) or tcp6-server/tcp6-client (for tcp-connections). Also
> the remote-adress should be a aaaa-record or an ipv6-adress.

OK thanks. I'll test the patches and if they work I'll update the ebuilds.
Comment 11 Roy Marples (RETIRED) gentoo-dev 2007-06-29 09:18:03 UTC
I've tested this and it works fine :) As such I've updated the 2.1 ebuild and sent it upstream for you.

Thanks.
Comment 12 Marcel Pennewiß 2008-02-07 22:14:52 UTC
Why is this patch removed in openvpn-2.1_rc6-r1?
Comment 13 Marcel Pennewiß 2008-02-07 22:16:16 UTC
Created attachment 142939 [details]
openvpn-2.1_rc6-r1.ebuild

ebuild using patch
Comment 14 Marcel Pennewiß 2008-02-07 22:16:42 UTC
Created attachment 142940 [details]
openvpn-2.1_rc6-udp6.patch

patch for openvpn-2.1_rc6-r1
Comment 15 Marcel Pennewiß 2008-02-12 12:07:53 UTC
patch "openvpn-2.1_rc6-udp6.patch" also runs with openvpn-2.1_rc7
Comment 16 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-12 13:20:22 UTC
Please send to upstream.
If upstream accept this, it means that it is OK and supported, and all users will enjoy it.
Comment 17 Marcel Pennewiß 2008-02-13 14:35:41 UTC
(In reply to comment #16)
> Please send to upstream.

Roy did this some time ago. unfortunatly there was no response from the openvpn project.
 
> If upstream accept this, it means that it is OK and supported, and all users
> will enjoy it.

i will send it to upstream again and i hope the request would be answered this time.
Comment 18 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-13 20:11:27 UTC
CC: James Yonan <jim@yonan.net>

After it will be added to upstream, I will be happy to add this.
Comment 19 Marcel Pennewiß 2008-04-16 22:45:19 UTC
Created attachment 149997 [details]
openvpn-2.1_rc7-r1.ebuild

2.1_rc7-r1 also works with rc6-udp6-patch
Comment 20 Marcel Pennewiß 2008-08-02 21:37:41 UTC
Created attachment 162041 [details]
openvpn-2.1_rc9.ebuild

ipv6 useflag and patch included
Comment 21 Marcel Pennewiß 2008-08-02 21:39:21 UTC
Created attachment 162043 [details, diff]
openvpn-2.1_rc9-udp6.patch

udp6-patch adapted for 2.1_rc9