Bug 183457 - net-misc/openvpn UDPv6 patch
Bug#: 183457 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: LATER Assigned To: uberlord@gentoo.org Reported By: gentoo@pennewiss.de
Component: Ebuilds
URL: 
Summary: net-misc/openvpn UDPv6 patch
Keywords:  
Status Whiteboard: 
Opened: 2007-06-27 20:29 0000
Description:   Opened: 2007-06-27 20:29 0000
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 From Marcel Pennewiß 2007-06-27 20:31:02 0000 -------
Created an attachment (id=123241) [details]
openvpn-2.0.7-r2.ebuild

------- Comment #2 From Marcel Pennewiß 2007-06-27 20:31:33 0000 -------
Created an attachment (id=123242) [details]
openvpn-2.0-udp6.patch

The patch will be used if use-flag "ipv6" is active.

------- Comment #3 From Jakub Moc (RETIRED) 2007-06-27 20:40:53 0000 -------
*** Bug 183455 has been marked as a duplicate of this bug. ***

------- Comment #4 From Jakub Moc (RETIRED) 2007-06-27 20:41:36 0000 -------
*** Bug 183459 has been marked as a duplicate of this bug. ***

------- Comment #5 From Marcel Pennewiß 2007-06-27 20:56:53 0000 -------
Created an attachment (id=123247) [details]
openvpn-2.0.6.ebuild

------- Comment #6 From Marcel Pennewiß 2007-06-27 20:57:13 0000 -------
Created an attachment (id=123248) [details]
openvpn-2.1_rc4.ebuild

------- Comment #7 From Marcel Pennewiß 2007-06-27 20:57:38 0000 -------
Created an attachment (id=123249) [details]
openvpn-2.1-udp6.patch

patch for openvpn-2.1-ebuilds

------- Comment #8 From Roy Marples (RETIRED) 2007-06-27 21:15:11 0000 -------
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 From Marcel Pennewiß 2007-06-27 23:40:09 0000 -------
(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 From Roy Marples (RETIRED) 2007-06-28 13:30:32 0000 -------
(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 From Roy Marples (RETIRED) 2007-06-29 09:18:03 0000 -------
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 From Marcel Pennewiß 2008-02-07 22:14:52 0000 -------
Why is this patch removed in openvpn-2.1_rc6-r1?

------- Comment #13 From Marcel Pennewiß 2008-02-07 22:16:16 0000 -------
Created an attachment (id=142939) [details]
openvpn-2.1_rc6-r1.ebuild

ebuild using patch

------- Comment #14 From Marcel Pennewiß 2008-02-07 22:16:42 0000 -------
Created an attachment (id=142940) [details]
openvpn-2.1_rc6-udp6.patch

patch for openvpn-2.1_rc6-r1

------- Comment #15 From Marcel Pennewiß 2008-02-12 12:07:53 0000 -------
patch "openvpn-2.1_rc6-udp6.patch" also runs with openvpn-2.1_rc7

------- Comment #16 From Alon Bar-Lev (RETIRED) 2008-02-12 13:20:22 0000 -------
Please send to upstream.
If upstream accept this, it means that it is OK and supported, and all users
will enjoy it.

------- Comment #17 From Marcel Pennewiß 2008-02-13 14:35:41 0000 -------
(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 From Alon Bar-Lev (RETIRED) 2008-02-13 20:11:27 0000 -------
CC: James Yonan <jim@yonan.net>

After it will be added to upstream, I will be happy to add this.

------- Comment #19 From Marcel Pennewiß 2008-04-16 22:45:19 0000 -------
Created an attachment (id=149997) [details]
openvpn-2.1_rc7-r1.ebuild

2.1_rc7-r1 also works with rc6-udp6-patch

------- Comment #20 From Marcel Pennewiß 2008-08-02 21:37:41 0000 -------
Created an attachment (id=162041) [details]
openvpn-2.1_rc9.ebuild

ipv6 useflag and patch included

------- Comment #21 From Marcel Pennewiß 2008-08-02 21:39:21 0000 -------
Created an attachment (id=162043) [details]
openvpn-2.1_rc9-udp6.patch

udp6-patch adapted for 2.1_rc9