[Openvpn-devel] "extended socket error capability" and setting "verb 0"

2003-05-11 Thread Christof Meerwald
Hi, there is a problem with OpenVPN 1.4.0 (at least on Linux 2.4.20) when "EXTENDED_SOCKET_ERROR_CAPABILITY" is enabled and "verb" is set to 0. In this case openvpn will consume 100 % CPU in it's select loop when an error is reported because select indicates that there is data available on the UDP

Re: [Openvpn-devel] "extended socket error capability" and setting "verb 0"

2003-05-11 Thread James Yonan
Christof, Thanks for figuring that one out! It's definitely a bug, I've been able to reproduce it, and I should have a fix shortly. James Christof Meerwald said: > Hi, > > there is a problem with OpenVPN 1.4.0 (at least on Linux 2.4.20) when > "EXTENDED_SOCKET_ERROR_CAPABILITY" is enabled an

Re: [Openvpn-devel] "extended socket error capability" and setting "verb 0"

2003-05-11 Thread James Yonan
I have a tentative fix. Please test if possible. http://openvpn.sourceforge.net/beta/openvpn-1.4.0.2.tar.gz (also in current CVS) James Christof Meerwald said: > Hi, > > there is a problem with OpenVPN 1.4.0 (at least on Linux 2.4.20) when > "EXTENDED_SOCKET_ERROR_CAPABILITY" is enabled and

[Openvpn-devel] Patch for --verb 0 bug in OpenVPN 1.4.0

2003-05-11 Thread James Yonan
A bug has been discovered and confirmed that can peg CPU utilization to 100% if all of the following are true: (1) You are running OpenVPN 1.4.0, (2) you are running on Linux 2.4 or higher, (3) you are using the --verb 0 option to suppress all output, and (4) a non-fatal socket error occurs (such