summaryrefslogtreecommitdiff
path: root/regress/sbin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2005-12-06 14:27:58 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2005-12-06 14:27:58 +0000
commit235e819c9ad494bab9f79c55db5422d1a6b1f9bf (patch)
tree9a21b464fc1e79fa3979dcee8567a25f32c65c84 /regress/sbin
parenta4ac2834b1045a851ccdea30c54de22303d7f36a (diff)
ipip support: ip-in-ip w/o gif(4); ok hshoexer
Diffstat (limited to 'regress/sbin')
-rw-r--r--regress/sbin/ipsecctl/Makefile6
-rw-r--r--regress/sbin/ipsecctl/ipsec14.in1
-rw-r--r--regress/sbin/ipsecctl/ipsec14.ok2
-rw-r--r--regress/sbin/ipsecctl/sa10.in1
-rw-r--r--regress/sbin/ipsecctl/sa10.ok1
5 files changed, 8 insertions, 3 deletions
diff --git a/regress/sbin/ipsecctl/Makefile b/regress/sbin/ipsecctl/Makefile
index 9640d7c76ee..5e8f4be9716 100644
--- a/regress/sbin/ipsecctl/Makefile
+++ b/regress/sbin/ipsecctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2005/11/26 23:27:34 hshoexer Exp $
+# $OpenBSD: Makefile,v 1.11 2005/12/06 14:27:57 markus Exp $
# TARGETS
# ipsec: feed ipsecNN.in through ipsecctl and check wether the output matches
@@ -7,9 +7,9 @@
# sa: same as above, but for SA rules.
# ike: same as above, but for ike rules.
-IPSECTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13
+IPSECTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14
TCPMD5TESTS=1 2 3
-SATESTS=1 2 3 4 5 6 7 8 9
+SATESTS=1 2 3 4 5 6 7 8 9 10
IKETESTS=1 2 3 4 5 6 7 8
SHELL=/bin/sh
diff --git a/regress/sbin/ipsecctl/ipsec14.in b/regress/sbin/ipsecctl/ipsec14.in
new file mode 100644
index 00000000000..3ded6514335
--- /dev/null
+++ b/regress/sbin/ipsecctl/ipsec14.in
@@ -0,0 +1 @@
+flow ipip out from 0.0.0.0/0 to 192.168.11.0/24 peer 10.0.0.2
diff --git a/regress/sbin/ipsecctl/ipsec14.ok b/regress/sbin/ipsecctl/ipsec14.ok
new file mode 100644
index 00000000000..7805e531e86
--- /dev/null
+++ b/regress/sbin/ipsecctl/ipsec14.ok
@@ -0,0 +1,2 @@
+flow ipip out from 0.0.0.0/0 to 192.168.11.0/24 peer 10.0.0.2
+ type require
diff --git a/regress/sbin/ipsecctl/sa10.in b/regress/sbin/ipsecctl/sa10.in
new file mode 100644
index 00000000000..ff4651714c5
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa10.in
@@ -0,0 +1 @@
+ipip from 10.0.0.1 to 10.0.0.2 spi 0x0a000001
diff --git a/regress/sbin/ipsecctl/sa10.ok b/regress/sbin/ipsecctl/sa10.ok
new file mode 100644
index 00000000000..ff4651714c5
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa10.ok
@@ -0,0 +1 @@
+ipip from 10.0.0.1 to 10.0.0.2 spi 0x0a000001