summaryrefslogtreecommitdiff
path: root/share/man/man5/pf.conf.5
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2004-12-07 10:40:09 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2004-12-07 10:40:09 +0000
commit8c18617958333f649d5e0f116f6f35dffaf7bb1a (patch)
tree4abf5730459529ca21be55a8ea7d8fe800e9f283 /share/man/man5/pf.conf.5
parent8093c48d60266b935803115416eb9ad49c87f636 (diff)
and don't lose the documentation for 'flush global'
Diffstat (limited to 'share/man/man5/pf.conf.5')
-rw-r--r--share/man/man5/pf.conf.513
1 files changed, 9 insertions, 4 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index b1b56a58b61..496009b88ff 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.309 2004/12/07 09:36:16 deraadt Exp $
+.\" $OpenBSD: pf.conf.5,v 1.310 2004/12/07 10:40:08 dhartmei Exp $
.\"
.\" Copyright (c) 2002, Daniel Hartmeier
.\" All rights reserved.
@@ -1963,8 +1963,13 @@ host's bandwidth.
.Pp
The optional
.Ar flush
-keyword kills all existing states originating from hosts exceeding these
-limits.
+keyword kills all states created by the matching rule which originate
+from the host which exceeds these limits.
+The
+.Ar global
+modifier to the flush command kills all states originating from the
+offending host, regardless of which rule created the state.
+.Pp
For example, the following rules will protect the webserver against
hosts making more than 100 connections in 10 seconds.
Any host which connects faster than this rate will have its address added
@@ -1974,7 +1979,7 @@ by the block rule.
.Bd -literal -offset indent
block quick from <bad_hosts>
pass in on $ext_if to $webserver port www flags S/SA keep state \e
- (max-src-conn-rate 100/10, overflow <bad_hosts> flush)
+ (max-src-conn-rate 100/10, overflow <bad_hosts> flush global)
.Ed
.Sh OPERATING SYSTEM FINGERPRINTING
Passive OS Fingerprinting is a mechanism to inspect nuances of a TCP