summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-06-07 21:25:37 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-06-07 21:25:37 +0000
commit87739f251b80651d7bf5e456e0dc04696a638f9b (patch)
tree8a36dbdfa9d45f950ffcc830260b168b4eb45f94 /share/man
parent1001fef5168442fee0d557002fbdd7ba550de37a (diff)
Add "(max <number>)" option for "keep/modulate state" to limit the number
of concurrent connections a rule can create. ok frantzen@
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man5/pf.conf.59
1 files changed, 7 insertions, 2 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index 53bb1bb36a7..6fe407392bf 100644
--- a/share/man/man5/pf.conf.5
+++ b/share/man/man5/pf.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pf.conf.5,v 1.48 2002/06/07 19:41:23 henning Exp $
+.\" $OpenBSD: pf.conf.5,v 1.49 2002/06/07 21:25:36 dhartmei Exp $
.\"
.\" Copyright (c) 2001, Daniel Hartmeier
.\" All rights reserved.
@@ -53,7 +53,7 @@ rule = action ( "in" | "out" )
hosts
[ user ] [ group ] [ flags ]
[ icmp-type | ipv6-icmp-type ]
- [ "keep state" ] [ "modulate state" ]
+ [ ( "keep" | "modulate" ) "state" [ "(" "max" number ")" ] ]
[ "fragment" ] [ "no-df" ] [ "min-ttl" number ]
[ "max-mss" number ] [ "allow-opts" ]
[ "label" string ] .
@@ -461,6 +461,11 @@ see
.Xr nat.conf 5
.Pc
implicitly create state for connections.
+.Pp
+The "(max <number>)" option can be used to limit the number of concurrent
+states a rule can create to the specified maximum.
+When this limit is reached, further packets matching the rule that would
+create state are dropped, until existing states time out.
.Sh STATE MODULATION
Much of the security derived from TCP is attributable to how well the
initial sequence numbers (ISNs) are chosen.