[LTP] [PATCH 4/4] network/ipsec: add vti tunnel test & new options for enc algs

Alexey Kodanev alexey.kodanev@oracle.com
Thu Nov 24 14:41:05 CET 2016


Hi,

On 10/06/2016 04:54 PM, Alexey Kodanev wrote:
> * Add vti with IPsec policies, send ICMP messages through the tunnel.
>    New test-cases include ah, esp protocols over vti and vti6 +
>    new authentication and encryption algorithms.
>
> * New options in ipsec_lib.sh:
>    'e' - Encryption algorithm,
>    'a' - Authentication algorithm,
>    'c' - Compression algorithm.
>
> * Dynamically generates algorithms random keys based on predefined key
>    length for each algorithm type.
> ...
> +	local sel='src 0.0.0.0/0 dst 0.0.0.0/0'
> +	if [ "$TST_IPV6" ]; then
> +		sel='src ::/0 dst ::/0'
> +	fi
> +

I've removed setting selected traffic explicitly here as it should be 
correctly set by default for IPv6
if we add '-6' option to ip command. Also corrected lines over 80 
characters and applied the patch-set.

Best regards,
Alexey



More information about the ltp mailing list