summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pfail53.in
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-13 16:54:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-13 16:54:44 +0000
commiteacd06959220a4eb7ca52b06e88afc0c1ef5f937 (patch)
tree7be4e86114380f17325fdca8563694f096a0b0b3 /regress/sbin/pfctl/pfail53.in
parent3bc6f4c74e1cc60c05a1ab152805af447144952a (diff)
we decided numbers used as strings is wrong
Diffstat (limited to 'regress/sbin/pfctl/pfail53.in')
-rw-r--r--regress/sbin/pfctl/pfail53.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pfail53.in b/regress/sbin/pfctl/pfail53.in
new file mode 100644
index 00000000000..049e68fedce
--- /dev/null
+++ b/regress/sbin/pfctl/pfail53.in
@@ -0,0 +1,24 @@
+set require-order no
+
+# varset allows concatenated strings as numbers
+myports = 55 66
+pass in proto tcp from any to any port { $myports }
+
+# queuenames can be numbers
+altq on lo0 tbrsize 1824 bandwidth 10Mb priq queue 80
+queue 80 priority 2 priq(default)
+
+# tablenames can be numbers
+table <444> { 1.2.3.4 }
+pass in on lo1000000 proto tcp to 10.0.0.1 port 80 flags S/SA modulate state \
+ (max-src-conn 100, max-src-conn-rate 10/5, overload <444> flush)
+
+# filename can be a number
+# XXX not easy to test
+#table <filetest> file 666
+
+# labels, tags, anchors can be numbers
+pass in on lo0 from 1.2.3.4 keep state label 88
+pass in on lo0 from 1.2.3.4 keep state tag 57
+pass in on lo0 from 1.2.3.4 keep state tagged 57
+anchor 23 on lo0