Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | ikev1: Support closeaction of CHILD_SA. | Oliver Smith | 2013-07-17 | 1 | -7/+49 | |
| | | | | | | When a CHILD_SA is closed in IKEv1, if it is not being rekeyed and closeaction has been set, we can now perform a restart or hold as is currently done for IKEv2. | |||||
* | linked-list: Remove barely used has_more() method | Tobias Brunner | 2013-07-17 | 1 | -83/+105 | |
| | | | | | | | | This required some refactoring when handling encrypted payloads. Also changed log messages so that "encrypted payload" is logged instead of "encryption payload" (even if we internally still call it that) as that's the name used in RFC 5996. | |||||
* | child-sa: refactor proxy transport mode address lookup | Martin Willi | 2013-07-17 | 1 | -56/+42 | |
| | ||||||
* | child-sa: replace traffic selector lists by arrays | Martin Willi | 2013-07-17 | 1 | -18/+19 | |
| | | | | Saves up to another 0.5KB of memory per CHILD_SA. | |||||
* | child-sa: replace get_traffic_selectors() with create_ts_enumerator() | Martin Willi | 2013-07-17 | 12 | -78/+124 | |
| | | | | | Not directly returning a linked list allows us to change the internals of the CHILD_SA transparently. | |||||
* | ikev2: replace linked lists by arrays in task manager | Martin Willi | 2013-07-17 | 1 | -70/+76 | |
| | | | | Eliminates another three lists, 0.5KB per IKE_SA. | |||||
* | proposal: use array to store proposal list | Martin Willi | 2013-07-17 | 1 | -25/+18 | |
| | | | | Removes another two linked lists (0.5KB) of memory per IKE/CHILD_SA pair. | |||||
* | proposal: use a single list to store all transforms | Martin Willi | 2013-07-17 | 1 | -308/+174 | |
| | | | | | Beside that it makes the code actually simpler, it reduces the number of lists stored by each IKE_SA and each CHILD_SA by 4, which can be up to 1KB per SA. | |||||
* | ike-sa: use arrays instead of linked lists in long lived collections | Martin Willi | 2013-07-17 | 1 | -116/+98 | |
| | | | | This saves about 1.5KB of memory per IKE_SA. | |||||
* | kernel-libipsec: Log error if no local address is found when installing routes | Tobias Brunner | 2013-07-15 | 1 | -0/+5 | |
| | ||||||
* | stroke: Add certificates extracted from PKCS#12 files to correct credential set | Tobias Brunner | 2013-07-15 | 1 | -4/+4 | |
| | | | | | Only keys and shared secrets are moved from the temporary credential set after loading all secrets. | |||||
* | Use strpfx() helper where appropriate | Tobias Brunner | 2013-07-08 | 4 | -20/+19 | |
| | ||||||
* | android: Added support to build tnc-imc plugin | Tobias Brunner | 2013-07-08 | 1 | -3/+9 | |
| | ||||||
* | android: Added support to build eap-tnc, tnc-tnccs and tnccs-20 plugins | Tobias Brunner | 2013-07-08 | 1 | -2/+25 | |
| | ||||||
* | socket-default: Add options to disable address families | Tobias Brunner | 2013-07-05 | 1 | -0/+25 | |
| | ||||||
* | ike: Resolve hosts only for address families currently supported | Tobias Brunner | 2013-07-05 | 1 | -3/+16 | |
| | ||||||
* | net: Socket implementations report the address families they support | Tobias Brunner | 2013-07-05 | 5 | -11/+91 | |
| | ||||||
* | eap-radius: fix add_attribute/framed_ip method signatures | Martin Willi | 2013-07-01 | 1 | -2/+2 | |
| | ||||||
* | Reuse reqid when restarting CHILD_SAs for dpd|closeaction=restart | Tobias Brunner | 2013-07-01 | 2 | -3/+4 | |
| | ||||||
* | Reuse reqid for trap policies installed for dpd|closeaction=hold | Tobias Brunner | 2013-07-01 | 7 | -8/+11 | |
| | ||||||
* | dhcp: Use chunk_hash_static() to calculate ID-based MAC addresses | Tobias Brunner | 2013-06-28 | 1 | -1/+1 | |
| | ||||||
* | stroke: Changed how proto/port are specified in left|rightsubnet | Tobias Brunner | 2013-06-28 | 1 | -1/+8 | |
| | | | | Using a colon as separator conflicts with IPv6 addresses. | |||||
* | plugin-loader: Removed unused path argument of load() method | Tobias Brunner | 2013-06-28 | 1 | -1/+1 | |
| | | | | | Multiple additional search paths can be added with the add_path() method. | |||||
* | tnc-pdp: Initialize TNC-PDP in plugin callback with proper dependencies | Tobias Brunner | 2013-06-27 | 1 | -6/+25 | |
| | ||||||
* | capabilities: CAP_CHOWN might be required by many plugins opening UNIX sockets | Tobias Brunner | 2013-06-25 | 8 | -0/+48 | |
| | | | | | But as the sockets will be created with the user/group of the running process this might not be required as no change may be needed. | |||||
* | farp: Require CAP_NET_RAW capability to open AF_PACKET socket | Tobias Brunner | 2013-06-25 | 1 | -0/+6 | |
| | ||||||
* | dhcp: Require CAP_NET_BIND_SERVICE and CAP_NET_RAW to open/bind sockets | Tobias Brunner | 2013-06-25 | 1 | -0/+11 | |
| | ||||||
* | socket-default: Require CAP_NET_BIND_SERVICE for ports < 1024 | Tobias Brunner | 2013-06-25 | 1 | -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. | |||||
* | capabilities: Only plugins that require CAP_NET_ADMIN demand it | Tobias Brunner | 2013-06-25 | 2 | -10/+7 | |
| | | | | The daemon as such does not require this capability. | |||||
* | capabilities: Move global capabilities_t instance to libstrongswan | Tobias Brunner | 2013-06-25 | 12 | -28/+20 | |
| | ||||||
* | capabilities: Ensure required capabilities are actually held by the process/user | Tobias Brunner | 2013-06-25 | 2 | -5/+13 | |
| | ||||||
* | ikev2: keep the CHILD_SA we delete as initiator in the list to destroy | Martin Willi | 2013-06-25 | 1 | -6/+5 | |
| | | | | | If the responder not correctly send the correct protocol or SPI in the delete response, we should remove the CHILD_SA regardless. | |||||
* | unit-tester: RSA test was removed | Tobias Brunner | 2013-06-24 | 1 | -1/+0 | |
| | ||||||
* | Aligned AR Identity types to IF-IMV 1.4 R5 draft | Andreas Steffen | 2013-06-24 | 2 | -3/+3 | |
| | ||||||
* | Added soft dependency on database plugin | Andreas Steffen | 2013-06-21 | 1 | -0/+1 | |
| | ||||||
* | add overall recommendation to session database entry | Andreas Steffen | 2013-06-21 | 1 | -0/+8 | |
| | ||||||
* | used tnc_policy_update functions for default policy | Andreas Steffen | 2013-06-21 | 1 | -47/+5 | |
| | ||||||
* | osx-attr: add plugin installing config attributes using SystemConfiguration | Martin Willi | 2013-06-21 | 6 | -0/+464 | |
| | | | | | Currently installs DNS servers only, by prepending IP addresses to the DNS configuration of the primary networking service. | |||||
* | kernel-libipsec: Ignore failures when installing routes for multicast or ↵ | Tobias Brunner | 2013-06-21 | 1 | -1/+23 | |
| | | | | broadcast policies | |||||
* | ike: Force NAT-T/UDP encapsulation if kernel interface requires it | Tobias Brunner | 2013-06-21 | 2 | -5/+32 | |
| | ||||||
* | kernel-libipsec: Add a feature to request UDP encapsulation of ESP packets | Tobias Brunner | 2013-06-21 | 1 | -0/+7 | |
| | ||||||
* | kernel-libipsec: Install a gateway for routes on platforms other than Linux | Tobias Brunner | 2013-06-21 | 1 | -9/+26 | |
| | | | | This seems required e.g. on FreeBSD but doesn't work on Linux. | |||||
* | kernel-libipsec: Router reads packets from multiple TUN devices | Tobias Brunner | 2013-06-21 | 4 | -16/+268 | |
| | | | | These devices are collected via kernel_listener_t interface. | |||||
* | kernel-libipsec: Use separate class to route packets between charon, ↵ | Tobias Brunner | 2013-06-21 | 4 | -74/+188 | |
| | | | | libipsec and TUN device | |||||
* | kernel-libipsec: Track policies and automatically install routes | Tobias Brunner | 2013-06-21 | 1 | -5/+455 | |
| | | | | | | | | The routes direct traffic matching the remote traffic selector to the TUN device. If the remote traffic selector includes the IKE peer a very specific route is installed to allow IKE traffic. | |||||
* | kernel-libipsec: Handle packets between charon socket, libipsec and TUN device | Tobias Brunner | 2013-06-21 | 1 | -0/+85 | |
| | ||||||
* | kernel-libipsec: Create a TUN device and use it to install virtual IPs | Tobias Brunner | 2013-06-21 | 2 | -0/+40 | |
| | ||||||
* | kernel-libipsec: Add plugin that implements kernel_ipsec_t using libipsec | Tobias Brunner | 2013-06-21 | 6 | -0/+392 | |
| | ||||||
* | plugin-loader: Add method to print loaded plugins on a given log level | Tobias Brunner | 2013-06-21 | 1 | -2/+0 | |
| | ||||||
* | Fix crash if the initiator has no suitable proposal available | Tobias Brunner | 2013-06-21 | 1 | -0/+5 | |
| | | | | Could be triggered with a typo in the ike or esp options when ! is used. |