]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Added test config 11.1.3
authorMartin Willi <martin@revosec.ch>
Wed, 1 Dec 2010 14:12:31 +0000 (15:12 +0100)
committerMartin Willi <martin@revosec.ch>
Thu, 10 Mar 2011 09:19:36 +0000 (10:19 +0100)
src/conftest/suiteb/11.1.3/dut.conf [new file with mode: 0644]
src/conftest/suiteb/11.1.3/test.conf [new file with mode: 0644]

diff --git a/src/conftest/suiteb/11.1.3/dut.conf b/src/conftest/suiteb/11.1.3/dut.conf
new file mode 100644 (file)
index 0000000..ee4d57a
--- /dev/null
@@ -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.3/test.conf b/src/conftest/suiteb/11.1.3/test.conf
new file mode 100644 (file)
index 0000000..583961c
--- /dev/null
@@ -0,0 +1,40 @@
+
+hooks {
+       add_payload {
+               request = yes
+               id = 1
+               replace = yes
+               type = IDi
+               # ID_RFC822_ADDR | reserved[3] | ls@strongswan.org
+               data = 0x030000006C73407374726F6E677377616E2E6F7267
+       }
+       rebuild_auth {
+       }
+}
+
+configs {
+       ike-wrong {
+               proposal = aes128-sha1-modp1024
+               lhost = 172.16.1.20
+               rhost = 172.16.1.10
+               # certificate E-Mail 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
+       }
+}