diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-12-07 05:30:28 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-12-07 05:30:28 +0000 |
commit | 19f9c903fc2760f22631be7691d1815e98dca223 (patch) | |
tree | 60e04a1cef7b27515a5ef68a99c9da4d8880cad6 /share/man/man5 | |
parent | 794ffce479f48a30cd683f84a622ec2692264248 (diff) |
Change the default for 'overload <table> flush' to flush only states from the
offending source created by the rule. 'flush global' flushes all states
originating from the offending source. ABI change, requires kernel and pfctl
to be in sync.
ok deraadt@ henning@ dhartmei@
Diffstat (limited to 'share/man/man5')
-rw-r--r-- | share/man/man5/pf.conf.5 | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5 index 4cf312d340e..837164fe3d8 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.307 2004/12/04 16:07:31 mcbride Exp $ +.\" $OpenBSD: pf.conf.5,v 1.308 2004/12/07 05:30:27 mcbride 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 |