Artem Teslenko <[EMAIL PROTECTED]> writes:

> It's possible to set quotas(limits) of traffic in bytes per host or subnet 
> using
> PF?

That depends on your specific definition of quotas and what limits you
are after.  It's fairly straightforward to set up queues to assign
specific amounts of bandwidth to traffic based on any criteria PF can
use as filtering criteria.

One possible approach is to start with rule labels and filtering rules
that use tables in their criteria.  Then you could set up some
scriptery to move hosts or subnets between tables (and by extension,
queues) based on accumulated traffic stored in the labels.

Shouldn't be all that hard to do that way, but of course that
particular way may or may not fit your site's needs.

- P

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

Reply via email to