HomeFreeBSD

Modify ipsec_in_reject() and add ipsec_check_history() function.

Description

Modify ipsec_in_reject() and add ipsec_check_history() function.

Also add net.inet.ipsec.check_policy_history sysctl to enable
strict policy checking using history from mbuf tags.
In ipsec_in_reject() do cache security policy in PCB if possible.
Reflect changes in struct ipsecrequest. Use ipsec_check_history()
when this check is enabled.
Use security policy and transform index to determine required transform
level in ipsec_get_reqlevel().

Details

Provenance
aeAuthored on
Parents
rS308884: Modify ipsec4_checkpolicy() to use ipsec4_getpolicy() and
Branches
Unknown
Tags
Unknown