Opened 13 years ago

Closed 11 years ago

#156 closed Bug / Defect (notabug)

openvpn: write UDPv4: No buffer space available (code=55)

Reported by: JeanAumont Owned by:
Priority: blocker Milestone:
Component: Generic / unclassified Version: OpenVPN 2.2.0 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:
Cc:

Description

Keywords: FreeBSD 8.2, OpenVPN 2.0.9_1 + 2.2.1, Quagga 0.99.17_5
Error : openvpn: write UDPv4: No buffer space available (code=55)

Hi Everyone,

I would like to report a bug that I found while doing some testing of OpenVPN in TAP (Bridge) mode while using quagga with ospf.

The bug was initially discovered using 3 PHYSICAL machine running FreeBSD 8.2, OpenVPN 2.0.9_1 or 2.2.1, and the routing software Quagga 0.99.17_5.

The bug can also be replicated using 3 virtual machine under Oracle Virtual Box.

The plan was to have the OpenVPN server announce route to OpenVPN client using the OSPF daemon of Quagga (a routing software).

Here is the set-up under Oracle Virtual Box.

OpenVPN VboxNet1 Router VboxNet2 OpenVPN
Server 3.3.3.1 4.4.4.1 Client
em1-3.3.3.2 .......... em0-3.3.3.4 ......... em1-4.4.4.2
em0-Lan (DHCP) em1-4.4.4.4 em0-10.10.10.10

The same set-up was used with the phisical machine with the same results.

I am not sure if the bug is in quagga, flodding the freebsd buffers or in openvpn ....

===================================================================
You can dupplicate the problem easily following those steps:
===================================================================

1) Start OpenVPN server and client (No problem).

-- The OpenVPN server acquire the ip 172.16.10.1
-- The OpenVPN client acquire the ip 172.16.10.2
-- The tunnel is up and running perfectly

2) Start the quagga routing daemon.

-- Initially the OSPF protocol is communicating properly and

the OpenVPN serverand client are being seen as neighbor.

If you are not familior with quagga, you can see this
by typing:

vtysh
sh ip ospf neighbor (repeat the command as necessary)
exit

-- After a few seconds, the adjencency is lost ...


3) When this appends, the OpenVPN log on the Server and Clients are

full of this error:

openvpn[...]: write UDPv4: No buffer space available (code=55)

In attachment you can find the logs and confis for openvpn and the
quagga logs.

If you have any ideas on hw to solve this issues,
please do not hesitate to share them.

Thanks,

Jean Aumont
jaumont@…

Attachments (1)

OSPF_Virtmachine.txt (190.4 KB) - added by JeanAumont 13 years ago.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by JeanAumont

Attachment: OSPF_Virtmachine.txt added

comment:1 Changed 11 years ago by Eric Crist

Resolution: notabug
Status: newclosed

This isn't a bug and is generally a misconfiguration at the OS level. Most often, this error is seen with conflicting firewall rules, or when the process doesn't have permissions needed.

Note: See TracTickets for help on using tickets.