diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-05-22 11:06:37 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-05-22 11:06:37 +0200 |
commit | 2005b6e98d66756eabd163d047e3ce4b365d4c30 (patch) | |
tree | 47000ac0508ace3975f7a1a98416334e167000a3 /data/templates/macsec | |
parent | 63f9e4c0ab996b44ef88a9df20d552c5fd7f748c (diff) | |
download | vyos-1x-2005b6e98d66756eabd163d047e3ce4b365d4c30.tar.gz vyos-1x-2005b6e98d66756eabd163d047e3ce4b365d4c30.zip |
macsec: T2491: add replay window protection
Diffstat (limited to 'data/templates/macsec')
-rw-r--r-- | data/templates/macsec/wpa_supplicant.conf.tmpl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/data/templates/macsec/wpa_supplicant.conf.tmpl b/data/templates/macsec/wpa_supplicant.conf.tmpl index c3a8d9686..a614d23f5 100644 --- a/data/templates/macsec/wpa_supplicant.conf.tmpl +++ b/data/templates/macsec/wpa_supplicant.conf.tmpl @@ -63,5 +63,24 @@ network={ # default priority mka_priority={{ security_mka_priority }} {% endif %} +{% if security_replay_window %} + # macsec_replay_protect: IEEE 802.1X/MACsec replay protection + # This setting applies only when MACsec is in use, i.e., + # - macsec_policy is enabled + # - the key server has decided to enable MACsec + # 0: Replay protection disabled (default) + # 1: Replay protection enabled + macsec_replay_protect={{ '1' if security_replay_window else '0' }} + + # macsec_replay_window: IEEE 802.1X/MACsec replay protection window + # This determines a window in which replay is tolerated, to allow receipt + # of frames that have been misordered by the network. + # This setting applies only when MACsec replay protection active, i.e., + # - macsec_replay_protect is enabled + # - the key server has decided to enable MACsec + # 0: No replay window, strict check (default) + # 1..2^32-1: number of packets that could be misordered + macsec_replay_window={{ security_replay_window }} +{% endif %} } |