aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/kernel_netlink
Commit message (Collapse)AuthorAgeFilesLines
...
* kernel-netlink: Order policies with equal priorities by their automatic priorityTobias Brunner2016-04-151-11/+24
| | | | | | | | | | | | This allows using manual priorities for traps, which have a lower base priority than the resulting IPsec policies. This could otherwise be problematic if, for example, swanctl --install/uninstall is used while an SA is established combined with e.g. IPComp, where the trap policy does not look the same as the IPsec policy (which is now otherwise often the case as the reqids stay the same). It also orders policies by selector size if manual priorities are configured and narrowing occurs.
* Extended IPsec kernel policy schemeAndreas Steffen2016-04-091-18/+53
| | | | | | | | The kernel policy now considers src and dst port masks as well as restictions to a given network interface. The base priority is 100'000 for passthrough shunts, 200'000 for IPsec policies, 300'000 for IPsec policy traps and 400'000 for fallback drop shunts. The values 1..30'000 can be used for manually set priorities.
* Implemented IPsec policies restricted to given network interfaceAndreas Steffen2016-04-091-6/+9
|
* Support manually-set IPsec policy prioritiesAndreas Steffen2016-04-091-2/+4
|
* kernel-netlink: Prefer policies with reqid over those withoutTobias Brunner2016-04-091-1/+7
| | | | | | | This allows two CHILD_SAs with reversed subnets to install two FWD policies each. Since the outbound policy won't have a reqid set we will end up with the two inbound FWD policies installed in the kernel, with the correct templates to allow decrypted traffic.
* kernel-netlink: Only associate templates with inbound FWD policiesTobias Brunner2016-04-091-1/+1
| | | | | | We can't set a template on the outbound FWD policy (or we'd have to make it optional). Because if the traffic does not come from another (matching) IPsec tunnel it would get dropped due to the template mismatch.
* kernel-netlink: Associate routes with IN policies instead of FWD policiesTobias Brunner2016-04-091-21/+21
| | | | | | This allows us to install more than one FWD policy. We already do this in the kernel-pfkey plugin (there the original reason was that not all kernels support FWD policies).
* kernel: Use structs to pass information to the kernel-ipsec interfaceTobias Brunner2016-04-091-215/+255
|
* Use standard unsigned integer typesAndreas Steffen2016-03-242-71/+71
|
* kernel-netlink: Fix lookup of next hops for destinations with prefixTobias Brunner2016-03-211-1/+2
| | | | References #1347.
* Implemented port ranges in kernel_netlink interfaceAndreas Steffen2016-03-041-7/+19
|
* libhydra: Move kernel interface to libcharonTobias Brunner2016-03-035-40/+33
| | | | This moves hydra->kernel_interface to charon->kernel.
* libhydra: Move all kernel plugins to libcharonTobias Brunner2016-03-0313-0/+7043
|
* Moved all kernel plugins to libhydra.Tobias Brunner2010-09-029-4327/+0
|
* Refer to kernel interface via hydra and not charon.Tobias Brunner2010-09-023-22/+26
|
* Removed references to protocol_id_t from kernel interface.Tobias Brunner2010-09-021-57/+22
| | | | | Instead we use the actual IP protocol identifier (the conversion now happens in child_sa_t and kernel_handler_t).
* Moved roam job creation to kernel event handler.Tobias Brunner2010-09-021-11/+23
|
* Refer to scheduler via hydra and not charon.Tobias Brunner2010-09-021-1/+1
|
* Moved migrate job creation to kernel event handler.Tobias Brunner2010-09-021-7/+2
|
* Moved update SA job creation to kernel event handler.Tobias Brunner2010-09-021-6/+2
|
* Moved delete/rekey CHILD_SA job creation to kernel event handler.Tobias Brunner2010-09-021-17/+4
|
* Moved acquire job creation to kernel event handler.Tobias Brunner2010-09-021-6/+3
|
* Some whitespace and code style fixes.Tobias Brunner2010-09-021-1/+1
|
* Refer to processor via hydra and not charon.Tobias Brunner2010-09-022-8/+10
|
* Use a seperate section for each nested struct member in INIT macroMartin Willi2010-08-181-14/+16
|
* support of xfrm marks for IKEv2Andreas Steffen2010-07-021-45/+278
|
* 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-199-0/+4133