strongswan/src
Evan Broder 78ed330099 vici: Handle closed sockets in the Ruby gem
From recvfrom(2) (which UDPSocket#recv backs into):

  The return value will be 0 when the peer has performed an orderly
  shutdown.

(i.e. it will return an empty string)

Previously in this scenario, Vici::Transport#recv_all would spin
forever trying to pull more data off the socket. I'm not entirely
clear what happened that caused strongSwan to shutdown the socket, but
it probably should not cause vici Ruby apps to spin.

Closes strongswan/strongswan#13.
2015-08-24 11:24:05 +02:00
..
_copyright lib: Add global config namespace 2014-02-12 14:34:31 +01:00
_updown updown: Pass virtual IPs assigned to a peer to the updown script 2015-08-06 16:30:08 +02:00
aikgen aikgen generates AIK private/public key pairs 2014-05-03 15:28:17 +02:00
charon settings: Use strongswan.conf used during library initialization for reload 2014-09-22 13:40:39 +02:00
charon-cmd controller: Optionally adhere to init limits also when initiating IKE_SAs 2015-08-21 18:21:13 +02:00
charon-nm charon-nm: Disable leak-detective in charon-nm 2015-05-05 17:53:47 +02:00
charon-svc windows: Use WINAPI call convention for Windows API callbacks 2014-06-06 16:28:28 +02:00
charon-systemd charon-systemd: Optionally load plugin list from charon-systemd.load 2015-03-19 18:37:24 +01:00
charon-tkm unit-tests: Forward variable argument list in TEST_SUITE_DEPEND 2015-07-12 13:25:50 +02:00
checksum Merged libpts into libimcv 2014-10-05 12:55:37 +02:00
conftest controller: Optionally adhere to init limits also when initiating IKE_SAs 2015-08-21 18:21:13 +02:00
dumm dumm: Fix -Wformat warning in ruby extension 2014-12-10 14:29:19 +01:00
frontends controller: Optionally adhere to init limits also when initiating IKE_SAs 2015-08-21 18:21:13 +02:00
include include: Update (rt)netlink.h to the latest UAPI version 2015-08-18 12:06:08 +02:00
ipsec ipsec: Update rereadcacerts/aacerts command description in manpage 2015-03-03 13:50:26 +01:00
libcharon vici: Handle closed sockets in the Ruby gem 2015-08-24 11:24:05 +02:00
libfast plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
libhydra kernel-pfkey: Only flush SAs of types we actually manage 2015-08-21 18:27:05 +02:00
libimcv imc: get_default_pwd_status(), as it currently is, works on Windows too 2015-08-19 12:10:09 +02:00
libipsec libipsec: Add a unit-test for ESP encryption using ChaCha20Poly1305 2015-07-12 13:54:08 +02:00
libpttls Fixed AR identities in mutual TNC measurements case 2015-08-15 22:46:21 +02:00
libradius eap-radius: Add support for some basic IPv6-specific RADIUS attributes 2015-08-17 11:23:33 +02:00
libsimaka libsimaka: Link against Winsock2 on Windows 2015-04-13 09:31:28 +02:00
libstrongswan auth-cfg: Don't enforce EAP_RADIUS 2015-08-21 11:40:07 +02:00
libtls unit-tests: Forward variable argument list in TEST_SUITE_DEPEND 2015-07-12 13:25:50 +02:00
libtnccs Fixed AR identities in mutual TNC measurements case 2015-08-15 22:46:21 +02:00
libtncif Defined PWG HCD PA-TNC subtypes 2015-08-18 21:25:39 +02:00
manager plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
medsrv plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
pki pki: Add --dn command to extract the subject DN of a certificate 2015-08-17 11:34:01 +02:00
pool attr-sql: Move plugin to libcharon 2015-02-20 13:34:55 +01:00
pt-tls-client Optionally announce PB-TNC mutual protocol capability 2015-03-23 22:25:43 +01:00
scepclient android: Add all Android.mk files to the tarball 2014-06-06 10:12:26 +02:00
starter starter: Don't flush SAs in the kernel 2015-08-21 18:27:06 +02:00
stroke stroke: Add missing include for UINT16_MAX 2015-06-09 10:25:33 +02:00
swanctl vici: Add option to disable policy installation for CHILD_SAs 2015-08-17 12:01:36 +02:00
Makefile.am Remove obsolete _updown_espmark script 2015-03-06 16:51:50 +01:00