aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/socket_default
Commit message (Collapse)AuthorAgeFilesLines
* packet: Define a global default maximum size for IKE packetsTobias Brunner2014-10-101-4/+1
|
* plugins: Don't link with -rdynamic on WindowsMartin Willi2014-06-041-1/+1
|
* libcharon: Use lib->ns instead of charon->nameTobias Brunner2014-02-121-7/+7
|
* socket-default: Allow setting firewall mark on outbound packetsTobias Brunner2013-10-111-0/+18
|
* sockets: Initialize the whole ancillary data buffer not only the actual structTobias Brunner2013-09-101-2/+2
| | | | | | This avoids uninitialized bytes that Valgrind seems to notice otherwise. Fixes #395.
* capabilities: Some plugins don't actually require capabilities at runtimeTobias Brunner2013-07-181-1/+1
|
* automake: replace INCLUDES by AM_CPPFLAGSMartin Willi2013-07-181-4/+7
| | | | | | INCLUDES are now deprecated and throw warnings when using automake 1.13. We now also differentiate AM_CPPFLAGS and AM_CFLAGS, where includes and defines are passed to AM_CPPFLAGS only.
* socket-default: Add options to disable address familiesTobias Brunner2013-07-051-0/+25
|
* net: Socket implementations report the address families they supportTobias Brunner2013-07-051-1/+18
|
* socket-default: Require CAP_NET_BIND_SERVICE for ports < 1024Tobias Brunner2013-06-251-0/+12
| | | | | Since we don't know which ports are used with socket-dynamic we can't demand the capability there, but it might still be required.
* socket-default: Make sure sockets are open when checking with FD_ISSETTobias Brunner2013-06-141-4/+4
|
* socket-default: Properly initialize NAT-T port if opening regular socket failedTobias Brunner2013-06-141-1/+2
|
* Socket plugins soft depend on the kernel-ipsec plugin featureTobias Brunner2013-06-111-0/+1
| | | | | On most platforms calls to methods to bypass the IKE sockets and enabling UDP decapsulation are required.
* socket-default: to bind to one dynamic port on OS X, create v4 socket before v6Martin Willi2013-05-061-1/+7
| | | | | It seems that the order of binding sockets of different address families to the same dynamic port must be v6-before-v4 on Linux, but v4-before-v6 on OS X.
* socket-default: refactor socket pair opening to a functionMartin Willi2013-05-061-27/+23
|
* socket-default: Don't try to send packet if we haven't a socket for given familyMartin Willi2013-05-061-3/+4
|
* socket-default: Use -1 if socket is not available, as 0 is actually a valid fdMartin Willi2013-05-061-20/+23
|
* Set DSCP values when sending IP packets in socket-defaultMartin Willi2013-02-061-1/+65
|
* Don't send a packet in default socket if family is not IPv4 nor IPv6Martin Willi2013-02-061-12/+18
|
* Avoid extensive casting of sockaddr types in socket-default by using a unionMartin Willi2013-02-061-24/+16
| | | | Additionally fixes a strict-aliasing rule compiler warning with older gcc.
* Clarified error message if enabling UDP decapsulation failsTobias Brunner2012-09-271-1/+2
|
* Enable UDP decapsulation for both address familiesTobias Brunner2012-08-161-7/+9
| | | | | | | | Since the 3.5 Linux kernel both UDP implementations have a separate static flag to indicate whether ANY sockets enabled UDP decapsulation. As we only ever enabled it for one address family (in earlier versions IPv4 only, now for IPv6, if supported, and for IPv4 otherwise) UDP decapsulation wouldn't work anymore (at least for one address family).
* Added option to prevent socket-default from setting the source address on ↵Tobias Brunner2012-08-081-1/+9
| | | | outbound packets
* socket-default plugin allocates random ports if configured to 0.Tobias Brunner2012-08-081-36/+84
| | | | Also added strongswan.conf options to change the ports.
* Added get_port() method to socket_t to learn the listening port.Tobias Brunner2012-08-081-1/+8
|
* Improved how NAT-T keepalives are handled in sockets/receiver.Tobias Brunner2012-08-081-10/+0
|
* Let kernel interfaces decide how to enable UDP decapsulation of ESP packets.Tobias Brunner2012-08-081-36/+6
|
* Add Non-ESP marker in sender and not individual socket plugins.Tobias Brunner2012-08-081-12/+1
|
* Handle Non-ESP marker in receiver and not individual socket plugins.Tobias Brunner2012-08-081-13/+4
|
* Make the UDP ports charon listens for packets on (and uses as source ports) ↵Tobias Brunner2012-08-081-13/+13
| | | | configurable.
* Use proper defines for IPV6_PKTINFO on Mac OS X Lion and newer.Tobias Brunner2012-06-131-0/+2
|
* Use name from initialization to access settings in libcharon.Tobias Brunner2012-05-031-1/+1
| | | | Also fixes several whitespace errors.
* Add features support to socket-default pluginMartin Willi2011-10-141-7/+12
|
* Fix alignement compiler warningMartin Willi2011-06-031-5/+4
|
* Added a (not yet implemented) plugin_t method to reload plugin configurationMartin Willi2011-04-151-0/+1
|
* Added a get_name() function to plugin_t, create_plugin_enumerator enumerates ↵Martin Willi2011-04-151-1/+7
| | | | over plugin_t
* Deferred instantiation of socket implmentations until registration.Tobias Brunner2010-10-153-20/+9
| | | | | | Instantiating the implementations on plugin load was problematic in case multiple socket plugins were loaded. Now, the first one registered is instantiated.
* Refer to kernel interface via hydra and not charon.Tobias Brunner2010-09-021-2/+3
|
* Win7 might send up to 7k of certificate requestsAndreas Steffen2010-08-271-1/+1
|
* Use a seperate section for each nested struct member in INIT macroMartin Willi2010-08-181-1/+5
|
* Discard a packet that exceeds the receive bufferMartin Willi2010-08-111-0/+5
|
* Added a strongswan.conf option to change socket receive buffer sizeMartin Willi2010-08-111-8/+9
|
* Respect line with in Makefile.am's, other cosmeticsMartin Willi2010-03-251-1/+2
|
* Changed all usages of lib->attributes to hydra->attributes.Tobias Brunner2010-03-241-1/+1
|
* Convert charon into libcharon.Tobias Brunner2010-03-191-1/+1
|
* Moving charon to libcharon.Tobias Brunner2010-03-195-0/+807