summaryrefslogtreecommitdiff
path: root/regress/sbin/ipsecctl/ike68.ok
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2009-08-04 15:07:55 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2009-08-04 15:07:55 +0000
commit5f8fc53e356648169689e69de3773381d04f7d95 (patch)
tree3c36594f09f25c74432c7d22fdd0a4b86185c805 /regress/sbin/ipsecctl/ike68.ok
parentaebe16329c0eba9d780166a62a4c9159c68da6fe (diff)
Add regress tests with IPv4 and IPv6 addresses for the srcid and/or dstid.
ok hshoexer@
Diffstat (limited to 'regress/sbin/ipsecctl/ike68.ok')
-rw-r--r--regress/sbin/ipsecctl/ike68.ok26
1 files changed, 26 insertions, 0 deletions
diff --git a/regress/sbin/ipsecctl/ike68.ok b/regress/sbin/ipsecctl/ike68.ok
new file mode 100644
index 00000000000..020ce55fc2b
--- /dev/null
+++ b/regress/sbin/ipsecctl/ike68.ok
@@ -0,0 +1,26 @@
+C set [Phase 1]:3ffe::1=peer-3ffe::1 force
+C set [peer-3ffe::1]:Phase=1 force
+C set [peer-3ffe::1]:Address=3ffe::1 force
+C set [peer-3ffe::1]:Configuration=phase1-peer-3ffe::1 force
+C set [phase1-peer-3ffe::1]:EXCHANGE_TYPE=ID_PROT force
+C add [phase1-peer-3ffe::1]:Transforms=AES-SHA-RSA_SIG force
+C set [peer-3ffe::1]:ID=id-3ffe::2 force
+C set [id-3ffe::2]:ID-type=IPV6_ADDR force
+C set [id-3ffe::2]:Address=3ffe::2 force
+C set [peer-3ffe::1]:Remote-ID=id-3ffe::1 force
+C set [id-3ffe::1]:ID-type=IPV6_ADDR force
+C set [id-3ffe::1]:Address=3ffe::1 force
+C set [from-10.1.1.0/24-to-10.1.2.0/24]:Phase=2 force
+C set [from-10.1.1.0/24-to-10.1.2.0/24]:ISAKMP-peer=peer-3ffe::1 force
+C set [from-10.1.1.0/24-to-10.1.2.0/24]:Configuration=phase2-from-10.1.1.0/24-to-10.1.2.0/24 force
+C set [from-10.1.1.0/24-to-10.1.2.0/24]:Local-ID=from-10.1.1.0/24 force
+C set [from-10.1.1.0/24-to-10.1.2.0/24]:Remote-ID=to-10.1.2.0/24 force
+C set [phase2-from-10.1.1.0/24-to-10.1.2.0/24]:EXCHANGE_TYPE=QUICK_MODE force
+C set [phase2-from-10.1.1.0/24-to-10.1.2.0/24]:Suites=QM-ESP-AES-SHA2-256-PFS-SUITE force
+C set [from-10.1.1.0/24]:ID-type=IPV4_ADDR_SUBNET force
+C set [from-10.1.1.0/24]:Network=10.1.1.0 force
+C set [from-10.1.1.0/24]:Netmask=255.255.255.0 force
+C set [to-10.1.2.0/24]:ID-type=IPV4_ADDR_SUBNET force
+C set [to-10.1.2.0/24]:Network=10.1.2.0 force
+C set [to-10.1.2.0/24]:Netmask=255.255.255.0 force
+C add [Phase 2]:Connections=from-10.1.1.0/24-to-10.1.2.0/24