openvpn fills up syslog with “socket operation on non-socket (code=88)”
|Reported by:||dazo||Owned by:|
|Component:||Networking||Version:||2.1.0 / 2.1.1|
|Severity:||Not set (if unsure, select this one)||Keywords:||sockopts packet loss|
Description of problem:
I have a dhclent-enter-hooks script that, when eth1 is bound to a new IP
address, generates a DNS zone file with that address, reloads named, and
restarts openvpn, to re-establish a secure channel for e-mail delivery between
university and home server.
As it turns out, quite often, after a network outage, I get the following
sequence of events:
Sep 10 04:54:57 freie dhclient: bound to 184.108.40.206 -- renewal in
Sep 10 04:55:07 freie openvpn: NOTE: setsockopt SO_SNDBUF=65536 failed
Sep 10 04:55:07 freie openvpn: NOTE: setsockopt SO_RCVBUF=65536 failed
Sep 10 04:55:07 freie openvpn: Note: enable extended error passing on
TCP/UDP socket failed (IP_RECVERR): Socket operation on non-socket (errno=88)
Sep 10 04:55:07 freie openvpn: UDPv4 link local (bound): [undef]:7189
Sep 10 04:55:07 freie openvpn: UDPv4 link remote: 220.127.116.11:7189
Sep 10 04:55:07 freie openvpn: read UDPv4 : Socket operation on
This last message is repeated ad infinitum, at a rate of thousands per second.
Eventually, /var/log/messages fills up.
This is not a new problem: I've had it for years, I thought I'd reported it
before, but fortunately network outages don't hit very often, and the problem
doesn't hit every time there's an outage.
Version-Release number of selected component (if applicable):
Frequently, but not after every network outage