From ea2c187b7ba3ca3b9e21624b139c871c2bd8f11c Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov Date: Tue, 2 Jan 2018 21:02:55 +0300 Subject: example: ipsec_api: remove file conflict with ipsec example ipsec_api example installs program with the same name, as ipsec example does. Remove file conflict between two examples. Signed-off-by: Dmitry Eremin-Solenikov Reviewed-by: Bill Fischofer Signed-off-by: Maxim Uvarov --- example/ipsec_api/Makefile.am | 27 +++++++++++----------- example/ipsec_api/odp_ipsec_api_run_ah_in.sh | 12 ++++++++++ example/ipsec_api/odp_ipsec_api_run_ah_out.sh | 12 ++++++++++ example/ipsec_api/odp_ipsec_api_run_ah_tun_in.sh | 13 +++++++++++ example/ipsec_api/odp_ipsec_api_run_ah_tun_out.sh | 13 +++++++++++ example/ipsec_api/odp_ipsec_api_run_esp_in.sh | 13 +++++++++++ example/ipsec_api/odp_ipsec_api_run_esp_out.sh | 13 +++++++++++ example/ipsec_api/odp_ipsec_api_run_esp_tun_in.sh | 14 +++++++++++ example/ipsec_api/odp_ipsec_api_run_esp_tun_out.sh | 13 +++++++++++ example/ipsec_api/odp_ipsec_api_run_live.sh | 17 ++++++++++++++ example/ipsec_api/odp_ipsec_api_run_router.sh | 9 ++++++++ example/ipsec_api/odp_ipsec_api_run_simple.sh | 10 ++++++++ example/ipsec_api/odp_ipsec_run_ah_in.sh | 12 ---------- example/ipsec_api/odp_ipsec_run_ah_out.sh | 12 ---------- example/ipsec_api/odp_ipsec_run_ah_tun_in.sh | 13 ----------- example/ipsec_api/odp_ipsec_run_ah_tun_out.sh | 13 ----------- example/ipsec_api/odp_ipsec_run_esp_in.sh | 13 ----------- example/ipsec_api/odp_ipsec_run_esp_out.sh | 13 ----------- example/ipsec_api/odp_ipsec_run_esp_tun_in.sh | 14 ----------- example/ipsec_api/odp_ipsec_run_esp_tun_out.sh | 13 ----------- example/ipsec_api/odp_ipsec_run_live.sh | 17 -------------- example/ipsec_api/odp_ipsec_run_router.sh | 9 -------- example/ipsec_api/odp_ipsec_run_simple.sh | 10 -------- 23 files changed, 153 insertions(+), 152 deletions(-) create mode 100755 example/ipsec_api/odp_ipsec_api_run_ah_in.sh create mode 100755 example/ipsec_api/odp_ipsec_api_run_ah_out.sh create mode 100755 example/ipsec_api/odp_ipsec_api_run_ah_tun_in.sh create mode 100755 example/ipsec_api/odp_ipsec_api_run_ah_tun_out.sh create mode 100755 example/ipsec_api/odp_ipsec_api_run_esp_in.sh create mode 100755 example/ipsec_api/odp_ipsec_api_run_esp_out.sh create mode 100755 example/ipsec_api/odp_ipsec_api_run_esp_tun_in.sh create mode 100755 example/ipsec_api/odp_ipsec_api_run_esp_tun_out.sh create mode 100755 example/ipsec_api/odp_ipsec_api_run_live.sh create mode 100755 example/ipsec_api/odp_ipsec_api_run_router.sh create mode 100755 example/ipsec_api/odp_ipsec_api_run_simple.sh delete mode 100755 example/ipsec_api/odp_ipsec_run_ah_in.sh delete mode 100755 example/ipsec_api/odp_ipsec_run_ah_out.sh delete mode 100755 example/ipsec_api/odp_ipsec_run_ah_tun_in.sh delete mode 100755 example/ipsec_api/odp_ipsec_run_ah_tun_out.sh delete mode 100755 example/ipsec_api/odp_ipsec_run_esp_in.sh delete mode 100755 example/ipsec_api/odp_ipsec_run_esp_out.sh delete mode 100755 example/ipsec_api/odp_ipsec_run_esp_tun_in.sh delete mode 100755 example/ipsec_api/odp_ipsec_run_esp_tun_out.sh delete mode 100755 example/ipsec_api/odp_ipsec_run_live.sh delete mode 100755 example/ipsec_api/odp_ipsec_run_router.sh delete mode 100755 example/ipsec_api/odp_ipsec_run_simple.sh (limited to 'example/ipsec_api') diff --git a/example/ipsec_api/Makefile.am b/example/ipsec_api/Makefile.am index 14bc5dd66..848683e00 100644 --- a/example/ipsec_api/Makefile.am +++ b/example/ipsec_api/Makefile.am @@ -3,22 +3,23 @@ include $(top_srcdir)/example/Makefile.inc AM_CPPFLAGS = $(OPENSSL_CPPFLAGS) LDADD += $(OPENSSL_LIBS) -bin_PROGRAMS = odp_ipsec +bin_PROGRAMS = odp_ipsec_api dist_bin_SCRIPTS = \ - $(srcdir)/odp_ipsec_run_ah_in.sh \ - $(srcdir)/odp_ipsec_run_ah_out.sh \ - $(srcdir)/odp_ipsec_run_ah_tun_in.sh \ - $(srcdir)/odp_ipsec_run_ah_tun_out.sh \ - $(srcdir)/odp_ipsec_run_esp_in.sh \ - $(srcdir)/odp_ipsec_run_esp_out.sh \ - $(srcdir)/odp_ipsec_run_esp_tun_in.sh \ - $(srcdir)/odp_ipsec_run_esp_tun_out.sh \ - $(srcdir)/odp_ipsec_run_live.sh \ - $(srcdir)/odp_ipsec_run_router.sh \ - $(srcdir)/odp_ipsec_run_simple.sh + $(srcdir)/odp_ipsec_api_run_ah_in.sh \ + $(srcdir)/odp_ipsec_api_run_ah_out.sh \ + $(srcdir)/odp_ipsec_api_run_ah_tun_in.sh \ + $(srcdir)/odp_ipsec_api_run_ah_tun_out.sh \ + $(srcdir)/odp_ipsec_api_run_esp_in.sh \ + $(srcdir)/odp_ipsec_api_run_esp_out.sh \ + $(srcdir)/odp_ipsec_api_run_esp_tun_in.sh \ + $(srcdir)/odp_ipsec_api_run_esp_tun_out.sh \ + $(srcdir)/odp_ipsec_api_run_live.sh \ + $(srcdir)/odp_ipsec_api_run_router.sh \ + $(srcdir)/odp_ipsec_api_run_simple.sh -odp_ipsec_SOURCES = odp_ipsec.c \ +odp_ipsec_api_SOURCES = \ + odp_ipsec.c \ odp_ipsec_sa_db.c \ odp_ipsec_sa_db.h \ odp_ipsec_sp_db.c \ diff --git a/example/ipsec_api/odp_ipsec_api_run_ah_in.sh b/example/ipsec_api/odp_ipsec_api_run_ah_in.sh new file mode 100755 index 000000000..becfc8928 --- /dev/null +++ b/example/ipsec_api/odp_ipsec_api_run_ah_in.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# +# Test input AH +# - 2 loop interfaces +# - 10 packets +# - Specify API mode on command line +odp_ipsec_api -i loop1,loop2 \ +-r 192.168.111.2/32:loop1:08.00.27.76.B5.E0 \ +-p 192.168.222.0/24:192.168.111.0/24:in:ah \ +-a 192.168.222.2:192.168.111.2:md5:300:27f6d123d7077b361662fc6e451f65d8 \ +-s 192.168.222.2:192.168.111.2:loop2:loop1:10:100 \ +-c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_api_run_ah_out.sh b/example/ipsec_api/odp_ipsec_api_run_ah_out.sh new file mode 100755 index 000000000..023809a18 --- /dev/null +++ b/example/ipsec_api/odp_ipsec_api_run_ah_out.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# +# Test output AH +# - 2 loop interfaces +# - 10 packets +# - Specify API mode on command line +odp_ipsec_api -i loop1,loop2 \ +-r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \ +-p 192.168.111.0/24:192.168.222.0/24:out:ah \ +-a 192.168.111.2:192.168.222.2:md5:200:a731649644c5dee92cbd9c2e7e188ee6 \ +-s 192.168.111.2:192.168.222.2:loop1:loop2:10:100 \ +-c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_api_run_ah_tun_in.sh b/example/ipsec_api/odp_ipsec_api_run_ah_tun_in.sh new file mode 100755 index 000000000..40c488f04 --- /dev/null +++ b/example/ipsec_api/odp_ipsec_api_run_ah_tun_in.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# +# Test input AH +# - 2 loop interfaces +# - 10 packets +# - Specify API mode on command line +odp_ipsec_api -i loop1,loop2 \ +-r 192.168.111.2/32:loop1:08.00.27.76.B5.E0 \ +-p 192.168.222.0/24:192.168.111.0/24:in:ah \ +-a 192.168.222.2:192.168.111.2:md5:300:27f6d123d7077b361662fc6e451f65d8 \ +-t 192.168.222.2:192.168.111.2:10.0.222.2:10.0.111.2 \ +-s 192.168.222.2:192.168.111.2:loop2:loop1:10:100 \ +-c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_api_run_ah_tun_out.sh b/example/ipsec_api/odp_ipsec_api_run_ah_tun_out.sh new file mode 100755 index 000000000..d7118586f --- /dev/null +++ b/example/ipsec_api/odp_ipsec_api_run_ah_tun_out.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# +# Test output AH +# - 2 loop interfaces +# - 10 packets +# - Specify API mode on command line +odp_ipsec_api -i loop1,loop2 \ +-r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \ +-p 192.168.111.0/24:192.168.222.0/24:out:ah \ +-a 192.168.111.2:192.168.222.2:md5:200:a731649644c5dee92cbd9c2e7e188ee6 \ +-t 192.168.111.2:192.168.222.2:10.0.111.2:10.0.222.2 \ +-s 192.168.111.2:192.168.222.2:loop1:loop2:10:100 \ +-c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_api_run_esp_in.sh b/example/ipsec_api/odp_ipsec_api_run_esp_in.sh new file mode 100755 index 000000000..cdb302ef4 --- /dev/null +++ b/example/ipsec_api/odp_ipsec_api_run_esp_in.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# +# Test input ESP +# - 2 loop interfaces +# - 10 packets +# - Specify API mode on command line +odp_ipsec_api -i loop1,loop2 \ +-r 192.168.111.2/32:loop1:08.00.27.76.B5.E0 \ +-p 192.168.222.0/24:192.168.111.0/24:in:esp \ +-e 192.168.222.2:192.168.111.2:\ +3des:301:c966199f24d095f3990a320d749056401e82b26570320292 \ +-s 192.168.222.2:192.168.111.2:loop2:loop1:10:100 \ +-c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_api_run_esp_out.sh b/example/ipsec_api/odp_ipsec_api_run_esp_out.sh new file mode 100755 index 000000000..f1c15ffee --- /dev/null +++ b/example/ipsec_api/odp_ipsec_api_run_esp_out.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# +# Test output ESP +# - 2 loop interfaces +# - 10 packets +# - Specify API mode on command line +odp_ipsec_api -i loop1,loop2 \ +-r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \ +-p 192.168.111.0/24:192.168.222.0/24:out:esp \ +-e 192.168.111.2:192.168.222.2:\ +3des:201:656c8523255ccc23a66c1917aa0cf30991fce83532a4b224 \ +-s 192.168.111.2:192.168.222.2:loop1:loop2:10:100 \ +-c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_api_run_esp_tun_in.sh b/example/ipsec_api/odp_ipsec_api_run_esp_tun_in.sh new file mode 100755 index 000000000..5d78479e4 --- /dev/null +++ b/example/ipsec_api/odp_ipsec_api_run_esp_tun_in.sh @@ -0,0 +1,14 @@ +#!/bin/bash +# +# Test input ESP +# - 2 loop interfaces +# - 10 packets +# - Specify API mode on command line +odp_ipsec_api -i loop1,loop2 \ +-r 192.168.111.2/32:loop1:08.00.27.76.B5.E0 \ +-p 192.168.222.0/24:192.168.111.0/24:in:esp \ +-e 192.168.222.2:192.168.111.2:\ +3des:301:c966199f24d095f3990a320d749056401e82b26570320292 \ +-t 192.168.222.2:192.168.111.2:10.0.222.2:10.0.111.2 \ +-s 192.168.222.2:192.168.111.2:loop2:loop1:10:100 \ +-c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_api_run_esp_tun_out.sh b/example/ipsec_api/odp_ipsec_api_run_esp_tun_out.sh new file mode 100755 index 000000000..f1c15ffee --- /dev/null +++ b/example/ipsec_api/odp_ipsec_api_run_esp_tun_out.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# +# Test output ESP +# - 2 loop interfaces +# - 10 packets +# - Specify API mode on command line +odp_ipsec_api -i loop1,loop2 \ +-r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \ +-p 192.168.111.0/24:192.168.222.0/24:out:esp \ +-e 192.168.111.2:192.168.222.2:\ +3des:201:656c8523255ccc23a66c1917aa0cf30991fce83532a4b224 \ +-s 192.168.111.2:192.168.222.2:loop1:loop2:10:100 \ +-c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_api_run_live.sh b/example/ipsec_api/odp_ipsec_api_run_live.sh new file mode 100755 index 000000000..9bc0a60f3 --- /dev/null +++ b/example/ipsec_api/odp_ipsec_api_run_live.sh @@ -0,0 +1,17 @@ +#!/bin/bash +# +# Live router test +# - 2 interfaces interfaces +# - Specify API mode on command line +sudo odp_ipsec_api -i p7p1,p8p1 \ +-r 192.168.111.2/32:p7p1:08.00.27.76.B5.E0 \ +-r 192.168.222.2/32:p8p1:08.00.27.F5.8B.DB \ +-p 192.168.111.0/24:192.168.222.0/24:out:both \ +-e 192.168.111.2:192.168.222.2:\ +3des:201:656c8523255ccc23a66c1917aa0cf30991fce83532a4b224 \ +-a 192.168.111.2:192.168.222.2:md5:200:a731649644c5dee92cbd9c2e7e188ee6 \ +-p 192.168.222.0/24:192.168.111.0/24:in:both \ +-e 192.168.222.2:192.168.111.2:\ +3des:301:c966199f24d095f3990a320d749056401e82b26570320292 \ +-a 192.168.222.2:192.168.111.2:md5:300:27f6d123d7077b361662fc6e451f65d8 \ +-c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_api_run_router.sh b/example/ipsec_api/odp_ipsec_api_run_router.sh new file mode 100755 index 000000000..982a27e97 --- /dev/null +++ b/example/ipsec_api/odp_ipsec_api_run_router.sh @@ -0,0 +1,9 @@ +#!/bin/bash +# +# Live router test +# - 2 interfaces interfaces +# - Specify API mode on command line +sudo odp_ipsec_api -i p7p1,p8p1 \ +-r 192.168.111.2/32:p7p1:08.00.27.76.B5.E0 \ +-r 192.168.222.2/32:p8p1:08.00.27.F5.8B.DB \ +-c 1 "$@" diff --git a/example/ipsec_api/odp_ipsec_api_run_simple.sh b/example/ipsec_api/odp_ipsec_api_run_simple.sh new file mode 100755 index 000000000..bdc2777c9 --- /dev/null +++ b/example/ipsec_api/odp_ipsec_api_run_simple.sh @@ -0,0 +1,10 @@ +#!/bin/bash +# +# Simple router test +# - 2 loop interfaces +# - 10 packets +# - Specify API mode on command line +odp_ipsec_api -i loop1,loop2 \ +-r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \ +-s 192.168.111.2:192.168.222.2:loop1:loop2:10:100 \ +-c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_run_ah_in.sh b/example/ipsec_api/odp_ipsec_run_ah_in.sh deleted file mode 100755 index c5b105f59..000000000 --- a/example/ipsec_api/odp_ipsec_run_ah_in.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -# -# Test input AH -# - 2 loop interfaces -# - 10 packets -# - Specify API mode on command line -odp_ipsec -i loop1,loop2 \ --r 192.168.111.2/32:loop1:08.00.27.76.B5.E0 \ --p 192.168.222.0/24:192.168.111.0/24:in:ah \ --a 192.168.222.2:192.168.111.2:md5:300:27f6d123d7077b361662fc6e451f65d8 \ --s 192.168.222.2:192.168.111.2:loop2:loop1:10:100 \ --c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_run_ah_out.sh b/example/ipsec_api/odp_ipsec_run_ah_out.sh deleted file mode 100755 index c8926d5ac..000000000 --- a/example/ipsec_api/odp_ipsec_run_ah_out.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -# -# Test output AH -# - 2 loop interfaces -# - 10 packets -# - Specify API mode on command line -odp_ipsec -i loop1,loop2 \ --r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \ --p 192.168.111.0/24:192.168.222.0/24:out:ah \ --a 192.168.111.2:192.168.222.2:md5:200:a731649644c5dee92cbd9c2e7e188ee6 \ --s 192.168.111.2:192.168.222.2:loop1:loop2:10:100 \ --c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_run_ah_tun_in.sh b/example/ipsec_api/odp_ipsec_run_ah_tun_in.sh deleted file mode 100755 index a0d4c4332..000000000 --- a/example/ipsec_api/odp_ipsec_run_ah_tun_in.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -# -# Test input AH -# - 2 loop interfaces -# - 10 packets -# - Specify API mode on command line -odp_ipsec -i loop1,loop2 \ --r 192.168.111.2/32:loop1:08.00.27.76.B5.E0 \ --p 192.168.222.0/24:192.168.111.0/24:in:ah \ --a 192.168.222.2:192.168.111.2:md5:300:27f6d123d7077b361662fc6e451f65d8 \ --t 192.168.222.2:192.168.111.2:10.0.222.2:10.0.111.2 \ --s 192.168.222.2:192.168.111.2:loop2:loop1:10:100 \ --c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_run_ah_tun_out.sh b/example/ipsec_api/odp_ipsec_run_ah_tun_out.sh deleted file mode 100755 index 74a0e3b42..000000000 --- a/example/ipsec_api/odp_ipsec_run_ah_tun_out.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -# -# Test output AH -# - 2 loop interfaces -# - 10 packets -# - Specify API mode on command line -odp_ipsec -i loop1,loop2 \ --r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \ --p 192.168.111.0/24:192.168.222.0/24:out:ah \ --a 192.168.111.2:192.168.222.2:md5:200:a731649644c5dee92cbd9c2e7e188ee6 \ --t 192.168.111.2:192.168.222.2:10.0.111.2:10.0.222.2 \ --s 192.168.111.2:192.168.222.2:loop1:loop2:10:100 \ --c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_run_esp_in.sh b/example/ipsec_api/odp_ipsec_run_esp_in.sh deleted file mode 100755 index 39e171cdf..000000000 --- a/example/ipsec_api/odp_ipsec_run_esp_in.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -# -# Test input ESP -# - 2 loop interfaces -# - 10 packets -# - Specify API mode on command line -odp_ipsec -i loop1,loop2 \ --r 192.168.111.2/32:loop1:08.00.27.76.B5.E0 \ --p 192.168.222.0/24:192.168.111.0/24:in:esp \ --e 192.168.222.2:192.168.111.2:\ -3des:301:c966199f24d095f3990a320d749056401e82b26570320292 \ --s 192.168.222.2:192.168.111.2:loop2:loop1:10:100 \ --c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_run_esp_out.sh b/example/ipsec_api/odp_ipsec_run_esp_out.sh deleted file mode 100755 index 98ab04e52..000000000 --- a/example/ipsec_api/odp_ipsec_run_esp_out.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -# -# Test output ESP -# - 2 loop interfaces -# - 10 packets -# - Specify API mode on command line -odp_ipsec -i loop1,loop2 \ --r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \ --p 192.168.111.0/24:192.168.222.0/24:out:esp \ --e 192.168.111.2:192.168.222.2:\ -3des:201:656c8523255ccc23a66c1917aa0cf30991fce83532a4b224 \ --s 192.168.111.2:192.168.222.2:loop1:loop2:10:100 \ --c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_run_esp_tun_in.sh b/example/ipsec_api/odp_ipsec_run_esp_tun_in.sh deleted file mode 100755 index 7ef3e2d08..000000000 --- a/example/ipsec_api/odp_ipsec_run_esp_tun_in.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash -# -# Test input ESP -# - 2 loop interfaces -# - 10 packets -# - Specify API mode on command line -odp_ipsec -i loop1,loop2 \ --r 192.168.111.2/32:loop1:08.00.27.76.B5.E0 \ --p 192.168.222.0/24:192.168.111.0/24:in:esp \ --e 192.168.222.2:192.168.111.2:\ -3des:301:c966199f24d095f3990a320d749056401e82b26570320292 \ --t 192.168.222.2:192.168.111.2:10.0.222.2:10.0.111.2 \ --s 192.168.222.2:192.168.111.2:loop2:loop1:10:100 \ --c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_run_esp_tun_out.sh b/example/ipsec_api/odp_ipsec_run_esp_tun_out.sh deleted file mode 100755 index 98ab04e52..000000000 --- a/example/ipsec_api/odp_ipsec_run_esp_tun_out.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -# -# Test output ESP -# - 2 loop interfaces -# - 10 packets -# - Specify API mode on command line -odp_ipsec -i loop1,loop2 \ --r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \ --p 192.168.111.0/24:192.168.222.0/24:out:esp \ --e 192.168.111.2:192.168.222.2:\ -3des:201:656c8523255ccc23a66c1917aa0cf30991fce83532a4b224 \ --s 192.168.111.2:192.168.222.2:loop1:loop2:10:100 \ --c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_run_live.sh b/example/ipsec_api/odp_ipsec_run_live.sh deleted file mode 100755 index b506b2af8..000000000 --- a/example/ipsec_api/odp_ipsec_run_live.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -# -# Live router test -# - 2 interfaces interfaces -# - Specify API mode on command line -sudo odp_ipsec -i p7p1,p8p1 \ --r 192.168.111.2/32:p7p1:08.00.27.76.B5.E0 \ --r 192.168.222.2/32:p8p1:08.00.27.F5.8B.DB \ --p 192.168.111.0/24:192.168.222.0/24:out:both \ --e 192.168.111.2:192.168.222.2:\ -3des:201:656c8523255ccc23a66c1917aa0cf30991fce83532a4b224 \ --a 192.168.111.2:192.168.222.2:md5:200:a731649644c5dee92cbd9c2e7e188ee6 \ --p 192.168.222.0/24:192.168.111.0/24:in:both \ --e 192.168.222.2:192.168.111.2:\ -3des:301:c966199f24d095f3990a320d749056401e82b26570320292 \ --a 192.168.222.2:192.168.111.2:md5:300:27f6d123d7077b361662fc6e451f65d8 \ --c 2 "$@" diff --git a/example/ipsec_api/odp_ipsec_run_router.sh b/example/ipsec_api/odp_ipsec_run_router.sh deleted file mode 100755 index 31b9e7656..000000000 --- a/example/ipsec_api/odp_ipsec_run_router.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -# -# Live router test -# - 2 interfaces interfaces -# - Specify API mode on command line -sudo odp_ipsec -i p7p1,p8p1 \ --r 192.168.111.2/32:p7p1:08.00.27.76.B5.E0 \ --r 192.168.222.2/32:p8p1:08.00.27.F5.8B.DB \ --c 1 "$@" diff --git a/example/ipsec_api/odp_ipsec_run_simple.sh b/example/ipsec_api/odp_ipsec_run_simple.sh deleted file mode 100755 index ddda612a8..000000000 --- a/example/ipsec_api/odp_ipsec_run_simple.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -# -# Simple router test -# - 2 loop interfaces -# - 10 packets -# - Specify API mode on command line -odp_ipsec -i loop1,loop2 \ --r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \ --s 192.168.111.2:192.168.222.2:loop1:loop2:10:100 \ --c 2 "$@" -- cgit v1.2.3