diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2006-03-30 12:44:21 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2006-03-30 12:44:21 +0000 |
commit | 83b85debd5c8628d50897246c6639bafeb73e261 (patch) | |
tree | 78da9591258454546269eea10881033d358be860 /regress | |
parent | 51def059c38d8d7e87cd814ba4489e9a2e0f29a3 (diff) |
allow specification of outer local ips in flows (SADB_EXT_ADDRESS_SRC); ok hshoexer, reyk
Diffstat (limited to 'regress')
-rw-r--r-- | regress/sbin/ipsecctl/Makefile | 4 | ||||
-rw-r--r-- | regress/sbin/ipsecctl/ipsec15.in | 1 | ||||
-rw-r--r-- | regress/sbin/ipsecctl/ipsec15.ok | 4 |
3 files changed, 7 insertions, 2 deletions
diff --git a/regress/sbin/ipsecctl/Makefile b/regress/sbin/ipsecctl/Makefile index 4eee8b21537..25ccfa50ad2 100644 --- a/regress/sbin/ipsecctl/Makefile +++ b/regress/sbin/ipsecctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2006/02/03 10:33:27 hshoexer Exp $ +# $OpenBSD: Makefile,v 1.13 2006/03/30 12:44:20 markus Exp $ # TARGETS # ipsec: feed ipsecNN.in through ipsecctl and check wether the output matches @@ -7,7 +7,7 @@ # 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 14 +IPSECTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 TCPMD5TESTS=1 2 3 SATESTS=1 2 3 4 5 6 7 8 9 10 SAFAIL=1 diff --git a/regress/sbin/ipsecctl/ipsec15.in b/regress/sbin/ipsecctl/ipsec15.in new file mode 100644 index 00000000000..5bb58417ebf --- /dev/null +++ b/regress/sbin/ipsecctl/ipsec15.in @@ -0,0 +1 @@ +flow esp from 1.1.1.0/24 to 2.2.2.0/24 local 192.168.0.1 peer 192.168.100.1 diff --git a/regress/sbin/ipsecctl/ipsec15.ok b/regress/sbin/ipsecctl/ipsec15.ok new file mode 100644 index 00000000000..ff21ae89486 --- /dev/null +++ b/regress/sbin/ipsecctl/ipsec15.ok @@ -0,0 +1,4 @@ +flow esp out from 1.1.1.0/24 to 2.2.2.0/24 local 192.168.0.1 peer 192.168.100.1 + type require +flow esp in from 2.2.2.0/24 to 1.1.1.0/24 local 192.168.0.1 peer 192.168.100.1 + type use |