Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change interface for enumerator_create_filter() callback | Tobias Brunner | 2017-05-26 | 1 | -13/+16 |
| | | | | | This avoids the unportable 5 pointer hack, but requires enumerating in the callback. | ||||
* | Migrate all enumerators to venumerate() interface change | Tobias Brunner | 2017-05-26 | 2 | -6/+14 |
| | |||||
* | shunt-manager: Add an optional namespace for each shunt | Tobias Brunner | 2017-02-16 | 1 | -2/+3 |
| | | | | | This will allow us to reuse the names of child configs e.g. when they are defined in different connections. | ||||
* | child-cfg: Use struct to pass data to constructor | Tobias Brunner | 2016-04-09 | 1 | -4/+4 |
| | |||||
* | Use standard unsigned integer types | Andreas Steffen | 2016-03-24 | 1 | -2/+2 |
| | |||||
* | libhydra: Remove empty unused library | Tobias Brunner | 2016-03-03 | 1 | -1/+0 |
| | |||||
* | attribute-handler: Pass full IKE_SA to handler backends | Martin Willi | 2015-02-20 | 1 | -4/+3 |
| | |||||
* | attribute-provider: Pass full IKE_SA to provider backends | Martin Willi | 2015-02-20 | 1 | -4/+2 |
| | |||||
* | attributes: Move the configuration attributes framework to libcharon | Martin Willi | 2015-02-20 | 1 | -9/+8 |
| | |||||
* | unity: Reference IKE_SAs by the IKEv1 COOKIEs, improving lookup performance | Martin Willi | 2015-02-20 | 3 | -14/+17 |
| | | | | | When handling thousands of IKE_SAs, the unique ID based lookup is rather slow, as we have no indexing. | ||||
* | ike-sa-manager: Remove IKE_SA checkout by CHILD_SA reqid | Martin Willi | 2015-02-20 | 1 | -1/+1 |
| | |||||
* | unity: Only do narrowing of responder's TS if we received 0.0.0.0/0 | Tobias Brunner | 2014-12-05 | 1 | -2/+84 |
| | | | | | | | | | | | | | | | | | | | | | | | iOS and Mac OS X clients establish individual IPsec SAs for the traffic selectors received in Split-Include attributes (might have been different in earlier releases). If we return 0.0.0.0/0 as TSr that either results in a bunch of Quick Mode exchanges (for each TS), or with the latest client releases an error notify (ATTRIBUTES_NOT_SUPPORTED). We also can't install the IPsec SA with all configured subnets as that would cause conflicts if the client later negotiates SAs for other subnets, which iOS 8 does based on traffic to such subnets. For Shrew and the Cisco client, which propose 0.0.0.0/0, we still need to override the narrowed TS with 0.0.0.0/0, as they otherwise won't accept the Quick Mode response. Likewise, we also have to narrow the TS before installing the IPsec SAs and policies. So we basically have to follow the client's proposal and only modify TSr if we received 0.0.0.0/0. Since we don't get the original TS in the narrow hook we handle the inbound QM messages and make note of IKE_SAs on which we received a TSr of 0.0.0.0/0. Fixes #737. | ||||
* | unity: Do not bump TS to 0.0.0.0/0 as initiator when no Split-Include received | Martin Willi | 2014-08-25 | 1 | -1/+21 |
| | | | | | | | When having the unity plugin enabled and both peers send the Unity Vendor ID, we proposed 0.0.0.0/0 as traffic selector, even if no Split-Include has been received on the SA. This can break compatibility with some responders, as they don't narrow the TS themselves, but expect the configured TS. | ||||
* | unity: Handle narrowing according to roles in the IKE_SA | Tobias Brunner | 2014-08-25 | 1 | -16/+33 |
| | | | | | | Since the narrow hook types reflect the roles in the Quick Mode exchange the plugin behaved incorrectly if the server initiated the CHILD_SA rekeying. | ||||
* | plugins: Don't link with -rdynamic on Windows | Martin Willi | 2014-06-04 | 1 | -1/+1 |
| | |||||
* | unity: Send all traffic selectors in a single UNITY_SPLIT_INCLUDE attribute | Tobias Brunner | 2014-01-23 | 1 | -35/+47 |
| | | | | Cisco clients only handle the first such attribute. | ||||
* | unity: Change local TS to 0.0.0.0/0 as responder | Tobias Brunner | 2014-01-23 | 1 | -4/+7 |
| | | | | | Cisco clients and Shrew expect a remote TS of 0.0.0.0/0 if Unity is used, otherwise Quick Mode fails. | ||||
* | unity: Send UNITY_SPLIT_INCLUDE attributes with proper padding | Tobias Brunner | 2014-01-23 | 1 | -11/+16 |
| | | | | | | The additional 6 bytes are not actually padding but are parsed by the Cisco client as protocol and src and dst ports (each two bytes but strangely only the first two in network order). | ||||
* | unity: Handle multi-valued UNITY_SPLIT_INCLUDE/UNITY_LOCAL_LAN attributes | Tobias Brunner | 2013-07-29 | 1 | -50/+97 |
| | | | | | | | Cisco devices seem to add 6 bytes of padding between each address/mask pair. Fixes #366. | ||||
* | automake: replace INCLUDES by AM_CPPFLAGS | Martin Willi | 2013-07-18 | 1 | -3/+5 |
| | | | | | | 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. | ||||
* | unity: Replicate default behavior if no UNITY_SPLIT_INCLUDE attributes were ↵ | Tobias Brunner | 2013-07-17 | 1 | -11/+32 |
| | | | | received | ||||
* | unity: Allow UNITY_LOCAL_LAN to be longer than 8 bytes | Tobias Brunner | 2013-07-17 | 1 | -1/+1 |
| | |||||
* | unity: Fix memory leak in provider | Tobias Brunner | 2013-07-17 | 1 | -0/+1 |
| | |||||
* | unity: Use plugin features to register listener and attribute handler/provider | Tobias Brunner | 2013-06-11 | 1 | -10/+39 |
| | |||||
* | unity: Check IKE_SA in only after enumerating virtual IPs | Tobias Brunner | 2013-04-05 | 1 | -2/+1 |
| | |||||
* | Merge branch 'vip-shunts' | Martin Willi | 2013-03-01 | 1 | -11/+6 |
|\ | | | | | | | | | | | | | | | | | Installs bypass policies for the physical address if a virtual address is assigned, and installs a proper source route to actually use the physical address for bypassed destinations. Conflicts: src/libcharon/plugins/unity/unity_handler.c | ||||
| * | Include local address for Unity Split-Exclude shunt policies | Martin Willi | 2013-02-20 | 1 | -10/+5 |
| | | | | | | | | | | If we use a virtual IP, having a shunt policy for just that wouldn't work, as we want a shunt bypass using the local address. | ||||
* | | Use a complete port range in traffic_selector_create_from_{subnet,cidr} | Martin Willi | 2013-02-21 | 1 | -2/+4 |
|/ | |||||
* | Filter TS list for Split-Includes before printing them to debug log | Martin Willi | 2013-01-21 | 1 | -10/+34 |
| | |||||
* | Fixed some typos, courtesy of codespell | Tobias Brunner | 2012-12-20 | 1 | -1/+1 |
| | |||||
* | Do not send 0.0.0.0/0 traffic selectors as Split-Include Unity attributes | Martin Willi | 2012-11-22 | 1 | -2/+6 |
| | | | | It seems that iOS devices don't like them. | ||||
* | Compiler warning fixed | Tobias Brunner | 2012-11-02 | 1 | -1/+1 |
| | |||||
* | Exclude dynamic TS from Unity Split-Include attributes | Martin Willi | 2012-10-30 | 1 | -0/+1 |
| | |||||
* | Moved data structures to new collections subfolder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | As Unity responder, don't change the proposed TS at all, racoon doesn't like ↵ | Martin Willi | 2012-09-18 | 2 | -7/+8 |
| | | | | that | ||||
* | As initiator, narrow received Unity attributes to configured TS | Martin Willi | 2012-09-18 | 1 | -4/+11 |
| | |||||
* | When using Unity, bump up remote TS as initiator to 0.0.0.0/0, too | Martin Willi | 2012-09-18 | 1 | -5/+8 |
| | |||||
* | Enable Cisco Unity only if Unity vendor id received | Martin Willi | 2012-09-18 | 3 | -2/+5 |
| | |||||
* | Exchange 0.0.0.0/0 traffic selectors with Unity, narrowing after exchange | Martin Willi | 2012-09-18 | 1 | -22/+87 |
| | |||||
* | Add a Unity attribute provider that adds Split-Includes for TS | Martin Willi | 2012-09-18 | 4 | -1/+232 |
| | |||||
* | Check if subset calculation actually yields a TS in Unity narrowing | Martin Willi | 2012-09-18 | 1 | -1/+5 |
| | |||||
* | Request Unity configuration attributes for IKEv1 only | Martin Willi | 2012-09-18 | 1 | -0/+6 |
| | |||||
* | Add Cisco Unity client support for Split-Include and Local-LAN | Martin Willi | 2012-09-18 | 7 | -0/+774 |