From 4edc0611ec0ab39147c136d769a9e8a0f50847e6 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Fri, 2 Feb 2024 20:44:29 +0100 Subject: ipsec: T5998: add replay-windows setting The replay_window for child SA will always be 32 (hence enabled). Add a CLI node to explicitly change this. * set vpn ipsec site-to-site peer replay-window <0-2040> (cherry picked from commit 4d943d8fbf1253154897179b0e3ea2d93b898197) --- .../include/ipsec/replay-window.xml.i | 19 +++++++++++++++++++ interface-definitions/vpn_ipsec.xml.in | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 interface-definitions/include/ipsec/replay-window.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/include/ipsec/replay-window.xml.i b/interface-definitions/include/ipsec/replay-window.xml.i new file mode 100644 index 000000000..f35ed550a --- /dev/null +++ b/interface-definitions/include/ipsec/replay-window.xml.i @@ -0,0 +1,19 @@ + + + + IPsec replay window to configure for this CHILD_SA + + u32:0 + Disable IPsec replay protection + + + u32:1-2040 + Replay window size in packets + + + + + + 32 + + diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in index 9d1d5d824..44ca1c7a0 100644 --- a/interface-definitions/vpn_ipsec.xml.in +++ b/interface-definitions/vpn_ipsec.xml.in @@ -826,6 +826,7 @@ #include #include #include + #include Timeout to close connection if no data is transmitted @@ -1100,6 +1101,7 @@ #include #include + #include Peer tunnel -- cgit v1.2.3