aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/addrblock/addrblock_narrow.c
Commit message (Collapse)AuthorAgeFilesLines
* addrblock: Use dynamic TS narrowing instead of rejecting the whole CHILD_SAMartin Willi2017-03-021-43/+28
| | | | | | | | Previously, the client had to propose no wider selectors than the certificate permits, otherwise the complete CHILD_SA was rejected. However, with IKEv2 we can dynamically narrow the selectors to what the certificate allows. This makes client and gateway configurations very simple by just proposing 0.0.0.0/0, narrowed to selectors the client is permitted to route into the network.
* Moved X509 ipAddrBlock checking to the addrblock pluginMartin Willi2010-07-131-0/+154