Packet rate limiter

Chris chrcoluk at
Wed Feb 14 18:48:52 UTC 2007

On 08/02/07, Peter N. M. Hansteen <peter at> wrote:
> Jan Sebosik <sebosik at> writes:
> > is there any way how to limit packet per second [PPS] rate to specified
> > IP (group of IP) ?
> The closest I can think of off the top of my head is defining a PF
> rule set with queues (ALTQ), however you will be specifying bandwidth,
> that is in bits per second (or k,M,G multiples of) of percentage of
> available bandwidth, not number of packets.  Your groups of source
> addresses could be maintained as tables for easy manipulation.
> --
> Peter N. M. Hansteen, member of the first RFC 1149 implementation team
> "First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"
> delilah spamd[29949]: disconnected after 42673 seconds.
> _______________________________________________

I thought PF could do this now as I have seen PF rulesets used to
limit syn flooding via pps rules.

If not it would be good if PF or ipfw got this feature as linux has
had it for a while now and it is a lot more effective then limiting
per bps.

More information about the freebsd-questions mailing list