OpenVPN 2.0 released
I'm happy to announce that OpenVPN 2.0 has been released!
http://openvpn.net/download.html
Thanks to all who have supported the project with donations, developing code, writing articles, and helping to support people on the mailing lists.
I'm going to sit back now, relax, maybe try to get my server slashdotted, and I'll try not to think too much about OpenVPN 3.0 until the middle of the week :)
Enjoy,
James
Quoted 3 lines · James Yonan <jim <at> yonan.net> writes:
I'm happy to announce that OpenVPN 2.0 has been released!
Congratulations!
This is probably one the most anticipated software releases this spring (for me anyway). Thank you all for your hard work!
/Marco
Quoted 1 line · James Yonan
I'm happy to announce that OpenVPN 2.0 has been released!
Congratulations James! (and all those who helped)
Quoted 3 lines
I'm going to sit back now, relax, maybe try to get my server slashdotted, and I'll try not to think too much about OpenVPN 3.0 until the middle of the week :)
Well, since we're close to the middle of the week, I'd like to ask you a couple of things... :)
- There're some bugs reports I couldn't reproduce:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=278933
and
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=296834
And the second issue I don't know how to handle is this:
- Start openvpn multiple times for a certain configuration.
- After the first one is started, the rest will 'claim' to fail (due to port being in use), but they will leave a process running (one each).
- Even killing the first (successful) instance, the rest of the processes will remain aroundi (doing nothing, I guess.
Is that a desirable behavior?
Thanks,
Alberto
Signature · 5 lines
Alberto Gonzalez Iniesta | Formación, consultoría y soporte técnico agi@(inittab.org|debian.org)| en GNU/Linux y software libre Encrypted mail preferred | http://inittab.com Key fingerprint = 9782 04E7 2B75 405C F5E9 0C81 C514 AF8E 4BA4 01C3
Quoted 17 lines · Alberto Gonzalez Iniesta
Quoted 1 line · James Yonan
I'm happy to announce that OpenVPN 2.0 has been released!
Congratulations James! (and all those who helped)
Quoted 3 lines
I'm going to sit back now, relax, maybe try to get my server slashdotted, and I'll try not to think too much about OpenVPN 3.0 until the middle of the week :)
Well, since we're close to the middle of the week, I'd like to ask you a couple of things... :)
- There're some bugs reports I couldn't reproduce:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=278933
and
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=296834
Quoted 7 lines
And the second issue I don't know how to handle is this:
- Start openvpn multiple times for a certain configuration.
- After the first one is started, the rest will 'claim' to fail (due to port being in use), but they will leave a process running (one each).
- Even killing the first (successful) instance, the rest of the processes will remain aroundi (doing nothing, I guess.
I can't reproduce this.
Start one OpenVPN process:
ai:~ # openvpn --dev tap --port 9999 --daemon ai:~ # ps ax | grep openvpn 23057 ? Ss 0:00 openvpn --dev tap --port 9999 --daemon
Start another on same port:
ai:~ # openvpn --dev tap --port 9999 --daemon ai:~ # ps ax | grep openvpn 23057 ? Ss 0:00 openvpn --dev tap --port 9999 --daemon
ps still shows one process:
ai:~ # ps ax | grep openvpn 23057 ? Ss 0:00 openvpn --dev tap --port 9999 --daemon
Syslog shows:
Apr 19 12:16:05 ai openvpn[23054]: OpenVPN 2.0 i586-suse-linux [SSL] [LZO] [EPOLL] built on Apr 17 2005 Apr 19 12:16:05 ai openvpn[23054]: ******* WARNING *******: all encryption and authentication features disabled -- all data will be tunnelled as cleartext Apr 19 12:16:05 ai openvpn[23054]: TUN/TAP device tap0 opened Apr 19 12:16:05 ai openvpn[23057]: UDPv4 link local (bound): [undef]:9999 Apr 19 12:16:05 ai openvpn[23057]: UDPv4 link remote: [undef] Apr 19 12:16:29 ai openvpn[23072]: OpenVPN 2.0 i586-suse-linux [SSL] [LZO] [EPOLL] built on Apr 17 2005 Apr 19 12:16:29 ai openvpn[23072]: ******* WARNING *******: all encryption and authentication features disabled -- all data will be tunnelled as cleartext Apr 19 12:16:29 ai openvpn[23072]: TCP/UDP: Socket bind failed on local address [undef]:9999: Address already in use Apr 19 12:16:29 ai openvpn[23072]: Exiting
James
Quoted 11 lines · James Yonan
Quoted 8 lines · Alberto Gonzalez Iniesta
And the second issue I don't know how to handle is this:
- Start openvpn multiple times for a certain configuration.
- After the first one is started, the rest will 'claim' to fail (due to port being in use), but they will leave a process running (one each).
- Even killing the first (successful) instance, the rest of the processes will remain aroundi (doing nothing, I guess.
Quoted 1 line
I can't reproduce this.
Sorry, James, my report was a little bogus. This was happening with one of my configs. I have found the option that triggers this behavior:
openvpn --dev tap --port 9999 --daemon --plugin /usr/lib/openvpn/openvpn-auth-pam.so su
Regards,
Alberto
Signature · 5 lines
Alberto Gonzalez Iniesta | Formación, consultoría y soporte técnico agi@(inittab.org|debian.org)| en GNU/Linux y software libre Encrypted mail preferred | http://inittab.com Key fingerprint = 9782 04E7 2B75 405C F5E9 0C81 C514 AF8E 4BA4 01C3
Quoted 11 lines · James Yonan
I'm happy to announce that OpenVPN 2.0 has been released!
http://openvpn.net/download.html
Thanks to all who have supported the project with donations, developing code, writing articles, and helping to support people on the mailing lists.
I'm going to sit back now, relax, maybe try to get my server slashdotted, and I'll try not to think too much about OpenVPN 3.0 until the middle of the week :)
Congratulations for the great work!, openvpn-2 rocks.
BTW I've finished my UDPv6 "port" for openvpn-2.0-final, I'll announce the details ASAP.
Regards
Signature · 5 lines
--Juanjo # Juan Jose Ciarlante (JuanJo) jjo ;at; mendoza.gov.ar # # GnuPG Public Key: gpg --keyserver wwwkeys.eu.pgp.net --recv-key 66727177 # # Key fingerprint: 0D2F 3E5D 8B5C 729E 0560 F453 A3F7 E249 6672 7177 #
Quoted 12 lines · Alberto Gonzalez Iniesta
Quoted 11 lines · James Yonan
Quoted 8 lines · Alberto Gonzalez Iniesta
And the second issue I don't know how to handle is this:
- Start openvpn multiple times for a certain configuration.
- After the first one is started, the rest will 'claim' to fail (due to port being in use), but they will leave a process running (one each).
- Even killing the first (successful) instance, the rest of the processes will remain aroundi (doing nothing, I guess.
Quoted 6 lines
Quoted 1 line
I can't reproduce this.
Sorry, James, my report was a little bogus. This was happening with one of my configs. I have found the option that triggers this behavior:
openvpn --dev tap --port 9999 --daemon --plugin
/usr/lib/openvpn/openvpn-auth-pam.sosu
Right, that makes more sense. The openvpn-auth-pam plugin forks off a separate process, and this process is probably not exiting correctly when the main process exits with a fatal error. I'll add to bug list.
James
Quoted 9 lines · JuanJo Ciarlante
Quoted 8 lines · James Yonan
I'm happy to announce that OpenVPN 2.0 has been released!
http://openvpn.net/download.html
Thanks to all who have supported the project with donations, developing code, writing articles, and helping to support people on the mailing lists.
Quoted 8 lines
Quoted 3 lines
I'm going to sit back now, relax, maybe try to get my server slashdotted, and I'll try not to think too much about OpenVPN 3.0 until the middle of the week :)
Congratulations for the great work!, openvpn-2 rocks.
BTW I've finished my UDPv6 "port" for openvpn-2.0-final, I'll announce the details ASAP.
Excellent -- I'm glad you've been keeping the patch in sync.
James
Quoted 16 lines · James Yonan
Quoted 13 lines · JuanJo Ciarlante
Quoted 11 lines · James Yonan
I'm happy to announce that OpenVPN 2.0 has been released!
http://openvpn.net/download.html
Thanks to all who have supported the project with donations, developing code, writing articles, and helping to support people on the mailing lists.
I'm going to sit back now, relax, maybe try to get my server slashdotted, and I'll try not to think too much about OpenVPN 3.0 until the middle of the week :)
Quoted 6 lines
Quoted 4 lines
Congratulations for the great work!, openvpn-2 rocks.
BTW I've finished my UDPv6 "port" for openvpn-2.0-final, I'll announce the details ASAP.
Excellent -- I'm glad you've been keeping the patch in sync.
Yep; fortunately there are several ppl using it, they feedback'd several fixes (the latest one related to FreeBSD compilation and semantics).
Regards
Signature · 5 lines
--Juanjo # Juan Jose Ciarlante (JuanJo) jjo ;at; mendoza.gov.ar # # GnuPG Public Key: gpg --keyserver wwwkeys.eu.pgp.net --recv-key 66727177 # # Key fingerprint: 0D2F 3E5D 8B5C 729E 0560 F453 A3F7 E249 6672 7177 #
Quoted 19 lines · JuanJo Ciarlante
Quoted 18 lines · James Yonan
Quoted 15 lines · JuanJo Ciarlante
Quoted 11 lines · James Yonan
I'm happy to announce that OpenVPN 2.0 has been released!
http://openvpn.net/download.html
Thanks to all who have supported the project with donations, developing code, writing articles, and helping to support people on the mailing lists.
I'm going to sit back now, relax, maybe try to get my server slashdotted, and I'll try not to think too much about OpenVPN 3.0 until the middle of the week :)
Congratulations for the great work!, openvpn-2 rocks.
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
BTW I've finished my UDPv6 "port" for openvpn-2.0-final, I'll announce the details ASAP.
Excellent -- I'm glad you've been keeping the patch in sync.
Yep; fortunately there are several ppl using it, they feedback'd several fixes (the latest one related to FreeBSD compilation and semantics).
I would like to merge your IPv6 patch into the 2.1 branch, once it gets started (I'd like to keep the 2.0.x branch as stable as possible, with minimalistic changes that don't go beyond bug fixes and small patches).
One potential speed bump will be in merging both IPv6 + the multihomed patch which will definitely be going into 2.1:
http://openvpn.net/patch/openvpn-2.0_rc16MH.patch
Because both patches touch much of the same code, there will likely be a need for manual merging.
There's also a new CVS branch where I've been working on pthread support (see the BETA20-THREAD branch in the cvs). The multihomed code has not been merged into this branch yet (though it's a clean merge with no conflicts).
James
Quoted 3 lines · James Yonan
I would like to merge your IPv6 patch into the 2.1 branch, once it gets started (I'd like to keep the 2.0.x branch as stable as possible, with minimalistic changes that don't go beyond bug fixes and small patches).
Speaking of branches; I have updated the FreeBSD OpenVPN 1.6 port to 2.0, overthrowing requests to keep the 1.6 port around and start a new openvpn2 port instead, on the assumption that OpenVPN 2.0 is in the same line as 1.6 was in my perception, and not a separate branch, and I've assumed that we won't see further 1.6 branches. Was this correct?
Would you think it's important to keep an "openvpn16" port (at 1.6.0) available or is 2.0 sufficient? I'd think 2.0 is sufficient as it's a really smooth upgrade from 1.6 (the FreeBSD port hasn't dared use pthreads since FreeBSD 4 has had three competing thread models for a long time - so we're not losing this feature in the FreeBSD port).
Thank you for your great work on OpenVPN 2.0.
Signature · 1 line
Matthias Andree
Quoted 11 lines · Matthias Andree
Quoted 3 lines · James Yonan
I would like to merge your IPv6 patch into the 2.1 branch, once it gets started (I'd like to keep the 2.0.x branch as stable as possible, with minimalistic changes that don't go beyond bug fixes and small patches).
Speaking of branches; I have updated the FreeBSD OpenVPN 1.6 port to 2.0, overthrowing requests to keep the 1.6 port around and start a new openvpn2 port instead, on the assumption that OpenVPN 2.0 is in the same line as 1.6 was in my perception, and not a separate branch, and I've assumed that we won't see further 1.6 branches. Was this correct?
Yes, I think that 2.0 is close enough to being a drop-in replacement for 1.6 that it's hard to justify maintaining 1.6 as a separate branch.
Quoted 5 lines
Would you think it's important to keep an "openvpn16" port (at 1.6.0) available or is 2.0 sufficient? I'd think 2.0 is sufficient as it's a really smooth upgrade from 1.6 (the FreeBSD port hasn't dared use pthreads since FreeBSD 4 has had three competing thread models for a long time - so we're not losing this feature in the FreeBSD port).
Optional pthread support should be back by 2.1.
Quoted 1 line
Thank you for your great work on OpenVPN 2.0.
Thanks!
James
Quoted 11 lines · James Yonan
I would like to merge your IPv6 patch into the 2.1 branch, once it gets started (I'd like to keep the 2.0.x branch as stable as possible, with minimalistic changes that don't go beyond bug fixes and small patches).
One potential speed bump will be in merging both IPv6 + the multihomed patch which will definitely be going into 2.1:
http://openvpn.net/patch/openvpn-2.0_rc16MH.patch
Because both patches touch much of the same code, there will likely be a need for manual merging.
Ok ... indeed I tested "patch --dry ..." and shouted about 80% rejects. I could merge both in my own CVS, but because it's a rather daunting task, I would like to be sure it's a productive one :-) ie. that it will have a high chance to be merged , of course, if resulting patch quality qualifies.
Regards...
Signature · 5 lines
--Juanjo # Juan Jose Ciarlante (JuanJo) jjo ;at; mendoza.gov.ar # # GnuPG Public Key: gpg --keyserver wwwkeys.eu.pgp.net --recv-key 66727177 # # Key fingerprint: 0D2F 3E5D 8B5C 729E 0560 F453 A3F7 E249 6672 7177 #
Quoted 10 lines · JuanJo Ciarlante
Quoted 9 lines · James Yonan
I would like to merge your IPv6 patch into the 2.1 branch, once it gets started (I'd like to keep the 2.0.x branch as stable as possible, with minimalistic changes that don't go beyond bug fixes and small patches).
One potential speed bump will be in merging both IPv6 + the multihomed patch which will definitely be going into 2.1:
Quoted 7 lines
Quoted 2 lines
Because both patches touch much of the same code, there will likely be a need for manual merging.
Ok ... indeed I tested "patch --dry ..." and shouted about 80% rejects. I could merge both in my own CVS, but because it's a rather daunting task, I would like to be sure it's a productive one :-) ie. that it will have a high chance to be merged , of course, if resulting patch quality qualifies.
The MH (multihomed) patch has a near 100% chance of being merged, since it is necessary for OpenVPN to operate properly as a multihomed server. Here is more info about it:
http://openvpn.net/archive/openvpn-users/2005-02/msg00640.html
The important thing in doing the merge is not so much to make the multihomed feature work with IPv6 (right away) as it is to do the correct accounting and authentication of both source and destination address of received packets (without this patch, OpenVPN does not keep track of destination IP address of received packets when running in a multi-homed context).
I think it's a fairly high priority to get your IPv6 patch + MH + the BETA2.0-THREAD branch in the CVS merged as a baseline for 2.1. I don't expect the BETA2.0-THREAD code to conflict either with the MH or IPv6 patches. I'd be glad to work with you on this, as I am also interested in extending the IPv6 support to allow IPv6 tunnels over OpenVPN in client/server mode (right now, IPv6 tunnels are only supported in point-to-point mode).
Incidentally, does your IPv6 patch affect performance when it is inactive, i.e. when IPv4 is being used?
Thanks,
James
Quoted 24 lines · James Yonan
Quoted 10 lines · JuanJo Ciarlante
Quoted 9 lines · James Yonan
I would like to merge your IPv6 patch into the 2.1 branch, once it gets started (I'd like to keep the 2.0.x branch as stable as possible, with minimalistic changes that don't go beyond bug fixes and small patches).
One potential speed bump will be in merging both IPv6 + the multihomed patch which will definitely be going into 2.1:
Quoted 7 lines
Quoted 2 lines
Because both patches touch much of the same code, there will likely be a need for manual merging.
Ok ... indeed I tested "patch --dry ..." and shouted about 80% rejects. I could merge both in my own CVS, but because it's a rather daunting task, I would like to be sure it's a productive one :-) ie. that it will have a high chance to be merged , of course, if resulting patch quality qualifies.
The MH (multihomed) patch has a near 100% chance of being merged, since it is necessary for OpenVPN to operate properly as a multihomed server. Here is more info about it:
Quoted 8 lines
http://openvpn.net/archive/openvpn-users/2005-02/msg00640.html
The important thing in doing the merge is not so much to make the multihomed feature work with IPv6 (right away) as it is to do the correct accounting and authentication of both source and destination address of received packets (without this patch, OpenVPN does not keep track of destination IP address of received packets when running in a multi-homed context).
Ok
I've borrowed some sleep hours last night and ended having a consistent merge, some polishing bits remain still (I'post as soon as I have it ready).
Nice to see same mechanism (w/ diff. goals) in MH and IPv6 patch:
generalization of socket address type.
I've actually "moved upper" the pktinfo to the openvpn_sockaddr type:
struct openvpn_sockaddr {
union {
struct sockaddr addr;
struct sockaddr_in in;
#ifdef USE_PF_INET6
struct sockaddr_in6 in6;
#endif
#ifdef USE_PF_UNIX
struct sockaddr_un un;
#endif
} /* u */; /* use GCC anon union for now ... */
#if ENABLE_IP_PKTINFO
struct in_pktinfo pi; #endif
};
and corresponding link_socket_addr:
struct link_socket_addr
{
struct openvpn_sockaddr local;
struct openvpn_sockaddr remote;
struct openvpn_sockaddr actual;};
RATIONALE:
I this that moving ip_pktinfo to "main" openvpn_sockaddr struct allows specifing output interface/etc even for client mode; so this "generalization" is a good thing IMO.
There are new functions like addr_copy() , addr_zero() which replace sin.sin_xxxx ... asignments to cope w/different AFs.
That "GCC (and others cc's) anon. union " usage is temporary there, as a syntatic sugar:
eg: addr->in.sin_addr
instead of: addr->u.in.sin_addr
but I'll obviously be changed.
Quoted 4 lines
I think it's a fairly high priority to get your IPv6 patch + MH + the BETA2.0-THREAD branch in the CVS merged as a baseline for 2.1. I don't expect the BETA2.0-THREAD code to conflict either with the MH or IPv6 patches.
cool ... as soon as I stabilize the merge we could try to apply to THREAD branch.
Quoted 4 lines
I'd be glad to work with you on this, as I am also interested in extending the IPv6 support to allow IPv6 tunnels over OpenVPN in client/server mode (right now, IPv6 tunnels are only supported in point-to-point mode).
wow thanks... nice.
Quoted 3 lines
Incidentally, does your IPv6 patch affect performance when it is inactive, i.e. when IPv4 is being used?
Some memory extra to hold the ipv4+ipv6 af union above; and new code paths are more or less:
+ switch(addr.sa_family) {
+ case AF_INET:
/* current code */
+ case AF_INET6:
+ /* ipv6 code */
+ }
So I think the performance impact it's quite negligible.
Anyway ... all IPv6 code is ifdef'd as #ifdef USE_PF_INET6.
Regards!
Signature · 5 lines
--Juanjo # Juan Jose Ciarlante (JuanJo) jjo ;at; mendoza.gov.ar # # GnuPG Public Key: gpg --keyserver wwwkeys.eu.pgp.net --recv-key 66727177 # # Key fingerprint: 0D2F 3E5D 8B5C 729E 0560 F453 A3F7 E249 6672 7177 #