diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2016-01-15 17:30:44 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2016-01-15 17:30:44 +0100 |
commit | 7a99472f8509aad0799895d75e1326b76d332e21 (patch) | |
tree | 52e2e907a4bccafd45b248f1354b8093e6652253 /recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/left.conf-aes-md5-transport | |
download | meta-fsl-ppc-7a99472f8509aad0799895d75e1326b76d332e21.tar.gz |
initial commit for Enea Linux 5.0-ppc
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/left.conf-aes-md5-transport')
-rwxr-xr-x | recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/left.conf-aes-md5-transport | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/left.conf-aes-md5-transport b/recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/left.conf-aes-md5-transport new file mode 100755 index 0000000..96f5783 --- /dev/null +++ b/recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/left.conf-aes-md5-transport | |||
@@ -0,0 +1,23 @@ | |||
1 | #!/usr/sbin/setkey -f | ||
2 | #I am 200.200.200.10 | ||
3 | |||
4 | flush; | ||
5 | spdflush; | ||
6 | |||
7 | # ESP SAs doing encryption using 192 bit long keys (168 + 24 parity) | ||
8 | # and hmac-md5 authentication using 128 bit long keys | ||
9 | add 200.200.200.10 200.200.200.20 esp 0x10513 | ||
10 | -E aes-cbc 0x7aeaca3f87d060a12f4a4487d5a5c3355920fae69a96c831 | ||
11 | -A hmac-md5 0xd5f603abc8cd9d19319ca32fb955b10f; | ||
12 | |||
13 | add 200.200.200.20 200.200.200.10 esp 0x10514 | ||
14 | -E aes-cbc 0xf6ddb555acfd9d77b03ea3843f2653255afe8eb5573965df | ||
15 | -A hmac-md5 0x1dd90b4c32dcbe9d37b555a23df5170e; | ||
16 | |||
17 | |||
18 | spdadd 200.200.200.20 200.200.200.10 any -P in ipsec | ||
19 | esp/transport//require; | ||
20 | |||
21 | spdadd 200.200.200.10 200.200.200.20 any -P out ipsec | ||
22 | esp/transport//require; | ||
23 | |||