diff options
author | Arthur de Kerhor <arthurdekerhor@gmail.com> | 2022-11-16 18:45:24 +0100 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2023-02-06 03:49:14 +0000 |
commit | 0df06b6e95b6a3261c8e9c261c7a4a661d6ea25a (patch) | |
tree | 16c4f723367566c965bffda369bb1f56dcf566ce /README.md | |
parent | ab412cdc07e19a872037e4034caa522398c4be07 (diff) |
ipsec: fix SA names consistency in tests
In some IPsec tests, the SA called scapy_sa designs the SA that
encrypts Scapy packets and decrypts them in VPP, and the one
called vpp_sa the SA that encrypts VPP packets and decrypts them
with Scapy. However, this pattern is not consistent across all
tests. Some tests use the opposite logic. Others even mix both
correlating scapy_tra_spi with vpp_tra_sa_id and vice-versa.
Because of that, sometimes, the SA called vpp_sa_in is used as an
outbound SA and vpp_sa_out as an inbound one.
This patch forces all the tests to follow the same following logic:
- scapy_sa is the SA used to encrypt Scapy packets and decrypt
them in VPP. It matches the VPP inbound SA.
- vpp_sa is the SA used to encrypt VPP packets and decrypt them in
Scapy. It matches the VPP outbound SA.
Type: fix
Signed-off-by: Arthur de Kerhor <arthurdekerhor@gmail.com>
Change-Id: Iadccdccbf98e834add13b5f4ad87af57e2ea3c2a
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions