summaryrefslogtreecommitdiff
path: root/regress/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sbin')
-rw-r--r--regress/sbin/pfctl/Makefile4
-rw-r--r--regress/sbin/pfctl/pf46.in8
-rw-r--r--regress/sbin/pfctl/pf46.ok8
3 files changed, 18 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index da8cd274535..113ca707216 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile,v 1.59 2002/12/19 10:10:35 mcbride Exp $
+# $OpenBSD: Makefile,v 1.60 2003/01/06 11:36:04 mcbride Exp $
PFTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
-PFTESTS+=28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
+PFTESTS+=28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
PFFAIL=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
PFSIMPLE=1 2
PFSETUP=1
diff --git a/regress/sbin/pfctl/pf46.in b/regress/sbin/pfctl/pf46.in
new file mode 100644
index 00000000000..545c3c4caff
--- /dev/null
+++ b/regress/sbin/pfctl/pf46.in
@@ -0,0 +1,8 @@
+pass in on lo0 route-to { (lo0 127.0.0.1), (lo0 127.0.0.2) } all
+pass out on lo0 route-to { (lo0 127.0.0.1), (lo0 127.0.0.2) } round-robin all
+pass in on lo0 route-to (lo0 127.0.0.1/24) bitmask all
+pass out on lo0 dup-to (lo0 127.0.0.1/24) random all
+pass in on lo0 reply-to { lo0, lo0 } round-robin inet6 all
+pass in on lo0 reply-to (lo0 127.0.0.0/28) source-hash 0x0123456789ABCDEF0123456789abcdef inet all
+pass out on lo0 route-to (lo0 127.0.0.1/24) source-hash foobarlicious all
+pass in on lo0 dup-to (lo0 127.0.0.1/24) round-robin all
diff --git a/regress/sbin/pfctl/pf46.ok b/regress/sbin/pfctl/pf46.ok
new file mode 100644
index 00000000000..13630e5674e
--- /dev/null
+++ b/regress/sbin/pfctl/pf46.ok
@@ -0,0 +1,8 @@
+pass in on lo0 route-to { (lo0 127.0.0.1), (lo0 127.0.0.2) } round-robin inet all
+pass out on lo0 route-to { (lo0 127.0.0.1), (lo0 127.0.0.2) } round-robin inet all
+pass in on lo0 route-to (lo0 127.0.0.0/24) bitmask inet all
+pass out on lo0 dup-to (lo0 127.0.0.0/24) random inet all
+pass in on lo0 reply-to { lo0, lo0 } round-robin inet6 all
+pass in on lo0 reply-to (lo0 127.0.0.0/28) source-hash 0x0123456789abcdef0123456789abcdef inet all
+pass out on lo0 route-to (lo0 127.0.0.0/24) source-hash 0x4da8e393fd22f577426cfdf7fe52d3b0 inet all
+pass in on lo0 dup-to (lo0 127.0.0.0/24) round-robin inet all