Page MenuHomeFreeBSD

pf: add a generic packet rate matching filter
Needs ReviewPublic

Authored by kp on Wed, Jun 11, 7:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 4, 1:23 AM
Unknown Object (File)
Tue, Jul 1, 7:21 PM
Unknown Object (File)
Sun, Jun 29, 4:58 AM
Unknown Object (File)
Sat, Jun 28, 7:04 PM
Unknown Object (File)
Thu, Jun 26, 11:03 PM
Unknown Object (File)
Wed, Jun 25, 7:11 PM
Unknown Object (File)
Wed, Jun 25, 7:03 PM
Unknown Object (File)
Wed, Jun 25, 12:52 AM

Details

Reviewers
None
Group Reviewers
pfsense
Summary

allows things like
pass in proto icmp max-pkt-rate 100/10
all packets matching the rule in the direction the state was created are
taken into consideration (typically: requests, but not replies).
Just like with the other max-*, the rule stops matching if the maximum is
reached, so in typical scenarios the default block rule would kick in then.
with input from Holger Mikolon
ok mikeb

Obtained from: OpenBSD, henning <henning@openbsd.org>, 5a4ae9a9cb
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 64766
Build 61650: arc lint + arc unit