feature of `packet per second`

Ian Smith smithi at nimnet.asn.au
Fri May 9 09:47:45 UTC 2014


On Fri, 9 May 2014 11:00:55 +0800, Bill Yuan wrote:
 > OK then I will submit it as a patch in this weekend.
[..]
 > > > Man page patch for PPS
 > > >
 > > > .It Cm pps Ar limit duration
 > > > Rule with the
 > > > .Cm pps
 > > > keyword will allow the first
 > > > .Ar limit
 > > > packets in each
 > > > .Ar duration
 > > > milliseconds.
 > > >
 > > >- and it will be like blow
 > > + and it will be below
 > > >       pps _limit  duration_
 > > >               Rule with the pps keyword will allow the first _limit
 > > > _packets in
 > > >               each _duration _milliseconds.

! each _duration_ milliseconds, rounded up to the next tick (1/HZ seconds)

as Luigi suggested, especially relevant for lower HZ rates than 1000, eg 
at 100Hz that's the next 10ms, particularly if limit were as low as 1 ..

cheers, Ian


More information about the freebsd-ipfw mailing list