> > sorry if i lost part of the discussion, but why dont you
> > just associate a quota with a rule and specify one of the
> > two possible results when exceeding quota:
> > 
> >    ipfw <action> <match pattern> match-upto 20MB 
> >    ipfw <action> <match pattern> deny-above 20MB 
...
> Well, it may or may not be able to cover a situation I'm thinking about
> now:
...
it does, just use skipto rules to reach the final one
where the quota is enforced, make it a "match-upto" rule,
and follow it with a pipe (and match-upto the difference between
first and second threshold, and so on...)

        cheers
        luigi
-----------------------------------+-------------------------------------
  Luigi RIZZO, [EMAIL PROTECTED]  . Dip. di Ing. dell'Informazione
  http://www.iet.unipi.it/~luigi/  . Universita` di Pisa
  TEL/FAX: +39-050-568.533/522     . via Diotisalvi 2, 56126 PISA (Italy)
  Mobile   +39-347-0373137
-----------------------------------+-------------------------------------


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to