From: Martin Willi Date: Wed, 1 Dec 2010 13:58:08 +0000 (+0100) Subject: Added test config 11.1.1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4c60b74f17bb8c1786fc46161f79a1c1430412f8;p=thirdparty%2Fstrongswan.git Added test config 11.1.1 --- diff --git a/src/conftest/suiteb/11.1.1/dut.conf b/src/conftest/suiteb/11.1.1/dut.conf new file mode 100644 index 0000000000..7e9db62ebb --- /dev/null +++ b/src/conftest/suiteb/11.1.1/dut.conf @@ -0,0 +1,14 @@ + +configs { + ike-wrong { + proposal = aes128-sha1-modp1024 + lhost = 172.16.1.10 + rhost = 172.16.1.20 + lid = 172.16.1.10 + rid = 172.16.1.20 + child-wrong { + lts = 10.10.10.0/24 + rts = 10.20.20.0/24 + } + } +} diff --git a/src/conftest/suiteb/11.1.1/test.conf b/src/conftest/suiteb/11.1.1/test.conf new file mode 100644 index 0000000000..32affb5ae7 --- /dev/null +++ b/src/conftest/suiteb/11.1.1/test.conf @@ -0,0 +1,40 @@ + +hooks { + add_payload { + request = yes + id = 1 + replace = yes + type = IDi + # ID_IPV4_ADDR | reserved[3] | 172.16.1.20 + data = 0x01000000AC100114 + } + rebuild_auth { + } +} + +configs { + ike-wrong { + proposal = aes128-sha1-modp1024 + lhost = 172.16.1.20 + rhost = 172.16.1.10 + # certificate IP to look it up, change ID in hook + lid = 172.16.1.99 + rid = 172.16.1.10 + child-wrong { + lts = 10.20.20.0/24 + rts = 10.10.10.0/24 + } + } +} + +certs { + untrusted { + x509 = ../ls-wrong-san.crt + } +} + +actions { + initiate { + config = child-wrong + } +}