strongswan/src/libcharon/plugins
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
..
addrblock plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
android_dns attribute-handler: Pass full IKE_SA to handler backends 2015-02-20 13:34:56 +01:00
android_log plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
attr attribute-provider: Pass full IKE_SA to provider backends 2015-02-20 13:34:56 +01:00
attr_sql attr-sql: Rename sql_attribute_t to attr_sql_provider_t 2015-03-19 11:24:31 +01:00
certexpire plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
connmark configure: Use pkg-config to detect libiptc used by connmark/forecast 2015-02-23 12:35:28 +01:00
coupling plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
dhcp attribute-provider: Pass full IKE_SA to provider backends 2015-02-20 13:34:56 +01:00
dnscert plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
duplicheck plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
eap_aka utils: Use chunk_equals_const() for all cryptographic purposes 2015-04-14 12:02:51 +02:00
eap_aka_3gpp2 utils: Use memeq_const() for all cryptographic purposes 2015-04-14 11:53:31 +02:00
eap_dynamic plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
eap_gtc payload: Use common prefixes for all payload type identifiers 2014-06-04 15:53:03 +02:00
eap_identity plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
eap_md5 utils: Use memeq_const() for all cryptographic purposes 2015-04-14 11:53:31 +02:00
eap_mschapv2 utils: Use chunk_equals_const() for all cryptographic purposes 2015-04-14 12:02:51 +02:00
eap_peap plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
eap_radius eap-radius: Use Framed-IPv6-Address attributes to send IPv6 VIPs in accounting messages 2015-08-17 11:23:41 +02:00
eap_sim utils: Use chunk_equals_const() for all cryptographic purposes 2015-04-14 12:02:51 +02:00
eap_sim_file utils: Use memeq_const() for all cryptographic purposes 2015-04-14 11:53:31 +02:00
eap_sim_pcsc plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
eap_simaka_pseudonym plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
eap_simaka_reauth plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
eap_simaka_sql plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
eap_tls eap-tls: Support EAP auth information getter in EAP-TLS 2015-03-03 14:08:01 +01:00
eap_tnc Fixed AR identities in mutual TNC measurements case 2015-08-15 22:46:21 +02:00
eap_ttls eap-ttls: Support EAP auth information getter in EAP-TTLS 2015-03-03 14:08:01 +01:00
error_notify Fixed some typos 2015-08-13 15:12:34 +02:00
ext_auth ext-auth: Add an ext-auth plugin invoking an external authorization script 2014-10-06 18:30:46 +02:00
farp plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
forecast Fixed some typos, courtesy of codespell 2015-03-25 12:00:20 +01:00
ha ha: Recreate the control FIFO if the file exists but is not a FIFO 2015-08-17 17:51:20 +02:00
ipseckey plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
kernel_iph kernel-interface: Add destination prefix to get_nexthop() 2014-06-19 14:33:40 +02:00
kernel_libipsec libipsec: Pass separate inbound/update flags to the IPsec SA manager 2015-03-09 18:18:20 +01:00
kernel_wfp kernel-interface: Add a separate "update" flag to add_sa() 2015-03-09 18:18:20 +01:00
led plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
load_tester controller: Optionally adhere to init limits also when initiating IKE_SAs 2015-08-21 18:21:13 +02:00
lookip plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
maemo plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
medcli controller: Optionally adhere to init limits also when initiating IKE_SAs 2015-08-21 18:21:13 +02:00
medsrv plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
osx_attr osx-attr: Optionally replace existing DNS server instead of appending them 2015-06-18 10:36:04 +02:00
radattr payload: Use common prefixes for all payload type identifiers 2014-06-04 15:53:03 +02:00
resolve attribute-handler: Pass full IKE_SA to handler backends 2015-02-20 13:34:56 +01:00
smp controller: Optionally adhere to init limits also when initiating IKE_SAs 2015-08-21 18:21:13 +02:00
socket_default Fixed some typos, courtesy of codespell 2014-12-15 17:11:14 +01:00
socket_dynamic packet: Define a global default maximum size for IKE packets 2014-10-10 09:32:42 +02:00
socket_win packet: Define a global default maximum size for IKE packets 2014-10-10 09:32:42 +02:00
sql sql: Also do a reversed ID match 2015-08-17 18:58:14 +02:00
stroke controller: Optionally adhere to init limits also when initiating IKE_SAs 2015-08-21 18:21:13 +02:00
systime_fix libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
tnc_ifmap plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
tnc_pdp Make access requestor IP address available to TNC server 2015-03-08 17:17:11 +01:00
uci controller: Optionally adhere to init limits also when initiating IKE_SAs 2015-08-21 18:21:13 +02:00
unity attribute-handler: Pass full IKE_SA to handler backends 2015-02-20 13:34:56 +01:00
updown updown: Pass virtual IPs assigned to a peer to the updown script 2015-08-06 16:30:08 +02:00
vici vici: Handle closed sockets in the Ruby gem 2015-08-24 11:24:05 +02:00
whitelist whitelist: Use hash() method so DNs with different string types match 2015-08-06 17:24:04 +02:00
xauth_eap payload: Use common prefixes for all payload type identifiers 2014-06-04 15:53:03 +02:00
xauth_generic utils: Use chunk_equals_const() for all cryptographic purposes 2015-04-14 12:02:51 +02:00
xauth_noauth plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
xauth_pam xauth-pam: Add workaround for null-terminated passwords 2014-07-07 11:14:02 +02:00