summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pf46.in
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2003-01-06 11:36:05 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2003-01-06 11:36:05 +0000
commitf99d632b1e20437276a8523a98de2abadb424931 (patch)
treeed6586cbe6c8b0712519c5bd3cb0ba2f3755b298 /regress/sbin/pfctl/pf46.in
parentb38a6804a1e90061d4866a814bfd8c1fa2f5e576 (diff)
Add tests for address pools with route-to/reply-to/dup-to.
Diffstat (limited to 'regress/sbin/pfctl/pf46.in')
-rw-r--r--regress/sbin/pfctl/pf46.in8
1 files changed, 8 insertions, 0 deletions
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