summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
Diffstat (limited to 'regress')
-rw-r--r--regress/sbin/ipsecctl/Makefile4
-rw-r--r--regress/sbin/ipsecctl/ike59.in1
-rw-r--r--regress/sbin/ipsecctl/ike59.ok18
3 files changed, 21 insertions, 2 deletions
diff --git a/regress/sbin/ipsecctl/Makefile b/regress/sbin/ipsecctl/Makefile
index 72adeee3f8e..882365daa44 100644
--- a/regress/sbin/ipsecctl/Makefile
+++ b/regress/sbin/ipsecctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.49 2007/05/10 06:10:04 hshoexer Exp $
+# $OpenBSD: Makefile,v 1.50 2008/01/04 11:09:20 hshoexer Exp $
# you can update the *.ok files with: make -i | patch
# TARGETS
@@ -19,7 +19,7 @@ IKEFAIL=1 3 4 5 6 7 8 9 10 11 12
IKETESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
IKETESTS+=16 17 18 19 20 21 22 23
IKETESTS+=29 30 31 32 33 34 35 36 37 38 39 40
-IKETESTS+=41 42 43 46 47 48 49 50 51 52 53 54 55 56 57 58
+IKETESTS+=41 42 43 46 47 48 49 50 51 52 53 54 55 56 57 58 59
IKEDELTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
IKEDELTESTS+=16 17 18 19 20 21 22 23
diff --git a/regress/sbin/ipsecctl/ike59.in b/regress/sbin/ipsecctl/ike59.in
new file mode 100644
index 00000000000..67586314d1a
--- /dev/null
+++ b/regress/sbin/ipsecctl/ike59.in
@@ -0,0 +1 @@
+ike from 10.0.0.1/32 to 10.0.0.2/32 peer 1.2.3.4
diff --git a/regress/sbin/ipsecctl/ike59.ok b/regress/sbin/ipsecctl/ike59.ok
new file mode 100644
index 00000000000..aa1ccfe07b1
--- /dev/null
+++ b/regress/sbin/ipsecctl/ike59.ok
@@ -0,0 +1,18 @@
+C set [Phase 1]:1.2.3.4=peer-1.2.3.4 force
+C set [peer-1.2.3.4]:Phase=1 force
+C set [peer-1.2.3.4]:Address=1.2.3.4 force
+C set [peer-1.2.3.4]:Configuration=mm-1.2.3.4 force
+C set [mm-1.2.3.4]:EXCHANGE_TYPE=ID_PROT force
+C add [mm-1.2.3.4]:Transforms=AES-SHA-RSA_SIG force
+C set [IPsec-10.0.0.1/32-10.0.0.2/32]:Phase=2 force
+C set [IPsec-10.0.0.1/32-10.0.0.2/32]:ISAKMP-peer=peer-1.2.3.4 force
+C set [IPsec-10.0.0.1/32-10.0.0.2/32]:Configuration=qm-10.0.0.1/32-10.0.0.2/32 force
+C set [IPsec-10.0.0.1/32-10.0.0.2/32]:Local-ID=lid-10.0.0.1/32 force
+C set [IPsec-10.0.0.1/32-10.0.0.2/32]:Remote-ID=rid-10.0.0.2/32 force
+C set [qm-10.0.0.1/32-10.0.0.2/32]:EXCHANGE_TYPE=QUICK_MODE force
+C set [qm-10.0.0.1/32-10.0.0.2/32]:Suites=QM-ESP-AES-SHA2-256-PFS-SUITE force
+C set [lid-10.0.0.1/32]:ID-type=IPV4_ADDR force
+C set [lid-10.0.0.1/32]:Address=10.0.0.1 force
+C set [rid-10.0.0.2/32]:ID-type=IPV4_ADDR force
+C set [rid-10.0.0.2/32]:Address=10.0.0.2 force
+C add [Phase 2]:Connections=IPsec-10.0.0.1/32-10.0.0.2/32