diff options
author | Arthur de Kerhor <arthurdekerhor@gmail.com> | 2022-01-04 15:53:43 +0100 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2022-01-05 08:18:03 +0000 |
commit | ce04e3b038070204e4e3b5ad4f973add278e2349 (patch) | |
tree | bc38acfb3d04c5695c94c3d159e804b06e515cdb /test/test_policer.py | |
parent | a121ac599aae8dd9c1344e6f835866b4b03c7d5c (diff) |
ipsec: allow registering random ports in tests
We add the possibility to bind the destination UDP port of a Scapy SA
to the ESP layer in the IPsec tunnel protection tests, even if it is not
the default port for ESP (4500).
This allows to test IPSec tunnel protection with ports other than 4500
in the UDP header, without hardcoding them in the Scapy patch (ex: 4545)
Type: improvement
Change-Id: I1eea3d4660ed1b59d827250a419af6b7b41c4a72
Signed-off-by: Arthur de Kerhor <arthurdekerhor@gmail.com>
Diffstat (limited to 'test/test_policer.py')
0 files changed, 0 insertions, 0 deletions