Skip to contentSkip to conversation

Bug#158404: openvpn: Improper error handling

Openvpn-devel Alberto Gonzalez Iniesta 1 participant 1 message Aug 27, 2002

lore
Share & tools
lore
#0 lore raw

Hi James et al,

I just came back from holidays and got this bug report in Debian. (Seems like IBM is using OpenVPN). I didn't have time to look at it yet, but I'm sure you'll handle it better anyway :)

Best regards,

Alberto

----- Forwarded message from Richard A Nelson <[email protected]...> -----

From: Richard A Nelson <[email protected]...>
Reply-To: Richard A Nelson <[email protected]...>,

	[email protected]...

To: [email protected]...
Subject: Bug#158404: openvpn: Improper error handling
Date: Mon, 26 Aug 2002 17:28:37 -0400
X-Spam-Status: No, hits=-4.5 required=5.0 tests=SENT_BY_BTS,FORGED_RCVD_FOUND version=2.20

Package: openvpn
Version: 1.3.0-1
Severity: important

I often get a flood of these messages:
openvpn[1239]: read from UDP: Resource temporarily unavailable (errno=11)

The condition persists for a bit, and then clears up... While the errors are occuring, occasionally the session will drop ;(

It seems to be improper handling of EAGAIN !
The potential solutions would most likely be:
1) re-try the systemcall
2) redrive the read loop
3) set blocking IO

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux badlands.lexington.ibm.com 2.4.20-pre4-ac1 #13 Sat Aug 24 19:11:43 EDT 2002 i686 unknown unknown GNU/Linux

Versions of the packages openvpn depends on:

ii  libc6          2.2.5-14       GNU C Library: Shared libraries and Timezone
ii  liblzo1        1.07-1         A real-time data compression library.
ii  libssl0.9.6    0.9.6g-2       SSL shared libraries

----- End forwarded message -----

Signature · 5 lines
Alberto Gonzalez Iniesta       | They that give up essential liberty
[email protected]...                     | to obtain a little temporary safety
Encrypted mail preferred       | deserve neither liberty nor safety.

Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3