aboutsummaryrefslogtreecommitdiffstats
path: root/src/libipsec/ipsec_policy_mgr.c
Commit message (Collapse)AuthorAgeFilesLines
* Use standard unsigned integer typesAndreas Steffen2016-03-241-7/+7
|
* libipsec: Pass the same data to del_policy() as to add_policy()Tobias Brunner2016-02-041-4/+5
| | | | | | We already do this for the other kernel interfaces. Fixes e1e88d5adde0 ("libipsec: Don't attempt deletion of any non-IPsec policies")
* libipsec: Don't attempt deletion of any non-IPsec policiesTobias Brunner2016-02-041-1/+1
| | | | | | | | An example are the fallback drop policies installed when updating SAs. We ignore such policies in add_policy() so there is no point in attempting to remove them. Since they use different priorities than regular policies this did not result in policies getting deleted unintentionally but there was an irritating log message on level 2 that indicated otherwise.
* libipsec: Add support for new policy priority classTobias Brunner2014-06-191-1/+4
|
* libipsec: check for a policy with the reqid of the SA on decapsulationMartin Willi2013-09-131-3/+7
| | | | | To prevent a client from sending a packet with a source address of a different client, we require a policy bound via reqid to the decapsulating SA.
* Moved debug.[ch] to utils folderTobias Brunner2012-10-241-1/+1
|
* Moved data structures to new collections subfolderTobias Brunner2012-10-241-1/+1
|
* IPsec policies can be looked up based on an IP packetTobias Brunner2012-08-081-1/+26
|
* Order IPsec policies by a pseudo-priority based on the traffic selectorsTobias Brunner2012-08-081-28/+127
| | | | | This allows a simple lookup, i.e. just use the first policy that matches a given IP packet.
* IPsec policy manager addedTobias Brunner2012-08-081-0/+162
This version only provides the very simplest management functions.