aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/network/socket.c
Commit message (Collapse)AuthorAgeFilesLines
* Moved socket and socket-raw implementations to pluginsMartin Willi2010-02-261-685/+0
|
* Added some IPv6 tweaks for Android.Tobias Brunner2009-12-231-1/+11
| | | | | Android 1.6 does not yet support the Advanced Sockets API for IPv6 as defined in RFC 3542. Also, in6addr_any is missing.
* Semicolon removed.Tobias Brunner2009-12-231-1/+1
|
* Using the thread wrapper in charon, libstrongswan and their plugins.Tobias Brunner2009-12-231-6/+7
|
* removed trailing spaces ([[:space:]]+$)Martin Willi2009-09-041-33/+33
|
* Enable CMSG headers and macros on OpenSolaris.Tobias Brunner2009-08-141-0/+4
|
* Enabling UDP encapsulation via setsockopt fails on Mac OS X (it is also not ↵Tobias Brunner2009-08-051-6/+10
| | | | required as this is done using sysctl).
* Configure the NAT-T port via sysctl on Mac OS X to enable handling of ↵Tobias Brunner2009-07-301-0/+15
| | | | incoming UDP encapsulated ESP packets in the kernel.
* fixed compiler warningTobias Brunner2009-05-141-1/+1
|
* make socket_t compatible with RFC 2292 (that got obsoleted by RFC 3542)Tobias Brunner2009-05-141-0/+7
|
* identation cleanupsMartin Willi2009-05-131-22/+22
|
* fixing compilation of socket_t on systems that have neither IP_PKTINFO ↵Tobias Brunner2009-05-121-22/+33
| | | | (Linux) nor IP_SENDSRCADDR (FreeBSD)
* removing svn keyword $Id$ from all filesTobias Brunner2009-04-301-2/+0
|
* merging changes from portability branch back to trunkTobias Brunner2009-04-301-22/+53
| | | | | important change for developers: %Y replaces %D to print identities!
* moved the IPV6_IPSEC_POLICY definition to the ipsec plugins, fixes uClibc buildMartin Willi2008-11-241-5/+0
|
* ported socket enumerator to raw-socket.cMartin Willi2008-11-131-15/+14
| | | | some cleanups in socket.c
* merging kernel_klips plugin back into trunkTobias Brunner2008-11-111-44/+64
|
* added _GNU_SOURCE and limits.h to build against glibc-2.8Martin Willi2008-04-241-0/+3
|
* merged the modularization branch (credentials) back to trunkMartin Willi2008-03-131-7/+2
|
* socket_t implementation withouth raw socketsMartin Willi2007-11-261-318/+137
| | | | | | --disable-raw-socket configure option prevents charon/pluto to run in parallel
* forcing proper autoload of af_key kernel module in charonMartin Willi2007-04-271-0/+10
|
* not using %m printf handler, as late errno interpration over bus may be ↵Martin Willi2007-04-121-13/+21
| | | | problematic
* removed unneded includesMartin Willi2007-03-301-1/+0
|
* fixed netlink socket receiver codeMartin Willi2007-03-031-185/+0
| | | | implemented interface enumeration code with netlink: no getifaddrs reqired anymore
* respecting source address when sending packetsMartin Willi2007-02-151-2/+51
|
* added address listing without getifaddrs for uclibc (only IPv4 yet)Martin Willi2007-02-021-1/+75
|
* fixed more uClibc issuesMartin Willi2006-12-151-6/+7
| | | | | should compile against a uClibc > 0.9.28 (untested)
* improved signal handling and emittingMartin Willi2006-10-261-32/+32
|
* introduced new logging subsystem using bus:Martin Willi2006-10-181-71/+36
| | | | | | | passive listeners can register on the bus active listeners wait for signals actively multiplexing allows multiple listeners to receive debug signals a lot more...
* fixed auxillary message data parsing for IPV6 socketMartin Willi2006-10-091-14/+12
| | | | using SOL_* constants for socket level
* fixed IPV6_PKTINFO setsockopt() to work with most kernel headersMartin Willi2006-10-091-28/+22
| | | | | replaced strerror(errno) with %m printf specifier
* introduced printf() specifiers for:Martin Willi2006-09-271-9/+6
| | | | | | | | | | | host_t (%H) identification_t (%D) chunk pointers (%B) memory pointer/length (%b) added a signaling bus: receives event and debug messages, sends them to its listeners stream_logger, sys_logger, file_logger added, listen to bus some other tweaks here and there
* proper error handling for socket creationMartin Willi2006-09-181-12/+23
|
* implemented updown script to handle firewallingMartin Willi2006-09-121-2/+7
|
* added raw socket filter for IPv6Martin Willi2006-08-311-17/+12
|
* initial support for IPv6 (more testing needed)Martin Willi2006-08-301-139/+452
| | | | | | | | | socket works (without v6 filter) traffic selector handle IPv4/v4 cleanly improvements in traffic selector code kernel interface accepts v6 traffic selectors and hosts host_t class has full IPv6 support
* moved interface enumeration code to socket, where it belongsMartin Willi2006-08-281-23/+109
| | | | | query interfaces every time we need it to respect changes in network config added address listing on startup and "ipsec statusall"
* cleanups in kernel interface codeMartin Willi2006-07-181-5/+5
| | | | | | added proper traffic selector to string conversion some cleanups here & there
* fixed UDP decapsulation by adding inbound bypass policy for send socketMartin Willi2006-07-141-10/+17
|
* added IPsec bypass policy to receiving socket, allows incoming IKE traffic ↵Martin Willi2006-07-141-26/+29
| | | | on host2host tunnels when using NAT
* updated copyright informationMartin Willi2006-07-071-5/+2
|
* redesigned IKE_SA using a transaction mechanism:Martin Willi2006-07-051-2/+2
| | | | | | | | | | | | removed old state machine reimplemented IKE_SA setup and delete implemented dead peer detection implemented keep-alives a lot of fixes no rekeying yet
* applied new changes from NATT teamMartin Willi2006-06-231-2/+2
| | | | | DPD only done when no IPsec and IKE traffic processed minor changes here and there
* cleaner error handling on UDP encapsultion sockopt failureMartin Willi2006-06-221-8/+7
|
* added mysterious UDP encapsulation socket option to get encapsulation workingMartin Willi2006-06-221-0/+20
|
* first merge of NATT codeMartin Willi2006-06-221-292/+246
|
* debug and logging improvementsMartin Willi2006-06-131-2/+24
|
* created IPv6 environmentAndreas Steffen2006-06-061-4/+4
|
* - fixed some memleaks/freebugsMartin Willi2006-05-311-8/+5
| | | | | - leak detective works almost usable now (?!)
* - applied andreas's patchMartin Willi2006-05-181-5/+3
| | | | | | | - logger output improvements - testin gupdates - and a lot more