From: Martin Willi Date: Wed, 1 Dec 2010 14:03:56 +0000 (+0100) Subject: Added test config 11.1.2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7876486844821b2007a5f16834a7d4dea2ce8cd3;p=thirdparty%2Fstrongswan.git Added test config 11.1.2 --- diff --git a/src/conftest/suiteb/11.1.2/dut.conf b/src/conftest/suiteb/11.1.2/dut.conf new file mode 100644 index 0000000000..2f5b7b4862 --- /dev/null +++ b/src/conftest/suiteb/11.1.2/dut.conf @@ -0,0 +1,14 @@ + +configs { + ike-wrong { + proposal = aes128-sha1-modp1024 + lhost = 172.16.1.10 + rhost = 172.16.1.20 + lid = dut.strongswan.org + rid = ls.strongswan.org + child-wrong { + lts = 10.10.10.0/24 + rts = 10.20.20.0/24 + } + } +} diff --git a/src/conftest/suiteb/11.1.2/test.conf b/src/conftest/suiteb/11.1.2/test.conf new file mode 100644 index 0000000000..c3c20df672 --- /dev/null +++ b/src/conftest/suiteb/11.1.2/test.conf @@ -0,0 +1,40 @@ + +hooks { + add_payload { + request = yes + id = 1 + replace = yes + type = IDi + # ID_FQDN | reserved[3] | ls.strongswan.org + data = 0x020000006C732E7374726F6E677377616E2E6F7267 + } + rebuild_auth { + } +} + +configs { + ike-wrong { + proposal = aes128-sha1-modp1024 + lhost = 172.16.1.20 + rhost = 172.16.1.10 + # certificate FQDN to look it up, change ID in hook + lid = ls.wrong.strongswan.org + rid = dut.strongswan.org + 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 + } +}