lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 10 Mar 2014 16:08:33 -0400 (EDT)
From:	Alan Stern <stern@...land.harvard.edu>
To:	netdev@...r.kernel.org
Subject: Problem with VPN: can't send NAT-T keepalives

The VPN setup on my laptop computer doesn't work.  The most recent
tests have been with the 3.14-rc6 kernel, using libreswan under Fedora
20.

The secure channel apparently gets set up correctly, but it gets torn 
down again after three keepalive packets fail.  The error messages from 
the "pluto" program look like this:

Mar 10 15:03:40 saphir.localdomain pluto[11361]: ERROR: "nm-ipsec-l2tpd-11265" #1: sendto on wlan0 on XX.XX.XX.XX:4500 failed in NAT-T Keep Alive. Errno 105: No buffer space available
Mar 10 15:04:20 saphir.localdomain pluto[11361]: ERROR: "nm-ipsec-l2tpd-11265" #1: sendto on wlan0 to XX.XX.Xx.XX:4500 failed in NAT-T Keep Alive. Errno 105: No buffer space available

(the destination IP addresses have been anonymized).  I checked the
userspace source; these error codes are nothing more than the value of
errno following a failed sendto system call.

tcpdump shows that keepalive packets are received at 20-second
intervals, as expected, but none are sent.  However, after the
encrypted tunnel is torn down, several keepalive packets get sent in
quick succession, as though some queue was draining.  Of course, by
then it is far too late.

The same problem occurs over a wired Ethernet connection and a wireless 
link, so it appears to be higher up in the networking stack, not in the 
device driver.

Can anyone help fix this problem?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ