diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-07-27 13:44:33 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-07-27 13:44:33 +0200 |
commit | d7a59f1976f1d917f5cc934a95f1a809148cb160 (patch) | |
tree | dc86ddef6984aa1b1f0856728b749b0900bd1519 /src/libhydra/kernel/kernel_ipsec.h | |
parent | fbedc6a45b9c18f13972c8e1a7ada0ef5fb67210 (diff) | |
download | strongswan-d7a59f1976f1d917f5cc934a95f1a809148cb160.tar.bz2 strongswan-d7a59f1976f1d917f5cc934a95f1a809148cb160.tar.xz |
Install fallback drop policies to avoid transmitting unencrypted packets.
During the update of a CHILD_SA (e.g. caused by MOBIKE) the old policy
is first uninstalled and then the new one is installed. In the short
time in between, where no policy is available in the kernel, unencrypted
packets could have been transmitted.
Diffstat (limited to 'src/libhydra/kernel/kernel_ipsec.h')
-rw-r--r-- | src/libhydra/kernel/kernel_ipsec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libhydra/kernel/kernel_ipsec.h b/src/libhydra/kernel/kernel_ipsec.h index 375945917..986e21fca 100644 --- a/src/libhydra/kernel/kernel_ipsec.h +++ b/src/libhydra/kernel/kernel_ipsec.h @@ -98,6 +98,8 @@ enum policy_priority_t { POLICY_PRIORITY_DEFAULT, /** Priority for trap policies */ POLICY_PRIORITY_ROUTED, + /** Priority for fallback drop policies */ + POLICY_PRIORITY_FALLBACK, }; /** |