summaryrefslogtreecommitdiff
path: root/regress/sbin/ipsecctl
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2007-01-04 21:31:22 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2007-01-04 21:31:22 +0000
commit9b6643396e32c30a97ef7a70fce259762fbdcbcd (patch)
treed48fcc46c48ebece29b0bac6179912f97ec355ee /regress/sbin/ipsecctl
parent6aa804bb01c627a822a2b31e01d161ec829448cf (diff)
don't pass -1 as a netmask; report vicviq at gmail.com
Diffstat (limited to 'regress/sbin/ipsecctl')
-rw-r--r--regress/sbin/ipsecctl/Makefile4
-rw-r--r--regress/sbin/ipsecctl/ike56.in1
-rw-r--r--regress/sbin/ipsecctl/ike56.ok18
3 files changed, 21 insertions, 2 deletions
diff --git a/regress/sbin/ipsecctl/Makefile b/regress/sbin/ipsecctl/Makefile
index d6469ae6eb3..bd1357bd148 100644
--- a/regress/sbin/ipsecctl/Makefile
+++ b/regress/sbin/ipsecctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.44 2006/11/16 11:33:58 markus Exp $
+# $OpenBSD: Makefile,v 1.45 2007/01/04 21:31:21 markus 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
+IKETESTS+=41 42 43 46 47 48 49 50 51 52 53 54 55 56
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/ike56.in b/regress/sbin/ipsecctl/ike56.in
new file mode 100644
index 00000000000..2ab36f6afe8
--- /dev/null
+++ b/regress/sbin/ipsecctl/ike56.in
@@ -0,0 +1 @@
+ike passive esp from 127.0.0.1 to localhost
diff --git a/regress/sbin/ipsecctl/ike56.ok b/regress/sbin/ipsecctl/ike56.ok
new file mode 100644
index 00000000000..2891999b60e
--- /dev/null
+++ b/regress/sbin/ipsecctl/ike56.ok
@@ -0,0 +1,18 @@
+C set [Phase 1]:127.0.0.1=peer-127.0.0.1 force
+C set [peer-127.0.0.1]:Phase=1 force
+C set [peer-127.0.0.1]:Address=127.0.0.1 force
+C set [peer-127.0.0.1]:Configuration=mm-127.0.0.1 force
+C set [mm-127.0.0.1]:EXCHANGE_TYPE=ID_PROT force
+C add [mm-127.0.0.1]:Transforms=AES-SHA-RSA_SIG force
+C set [IPsec-127.0.0.1-127.0.0.1]:Phase=2 force
+C set [IPsec-127.0.0.1-127.0.0.1]:ISAKMP-peer=peer-127.0.0.1 force
+C set [IPsec-127.0.0.1-127.0.0.1]:Configuration=qm-127.0.0.1-127.0.0.1 force
+C set [IPsec-127.0.0.1-127.0.0.1]:Local-ID=lid-127.0.0.1 force
+C set [IPsec-127.0.0.1-127.0.0.1]:Remote-ID=rid-127.0.0.1 force
+C set [qm-127.0.0.1-127.0.0.1]:EXCHANGE_TYPE=QUICK_MODE force
+C set [qm-127.0.0.1-127.0.0.1]:Suites=QM-ESP-AES-SHA2-256-PFS-SUITE force
+C set [lid-127.0.0.1]:ID-type=IPV4_ADDR force
+C set [lid-127.0.0.1]:Address=127.0.0.1 force
+C set [rid-127.0.0.1]:ID-type=IPV4_ADDR force
+C set [rid-127.0.0.1]:Address=127.0.0.1 force
+C add [Phase 2]:Passive-Connections=IPsec-127.0.0.1-127.0.0.1