On Mon, Jan 19, 2004 at 04:07:30PM +0100, Ed White wrote: > Please note also that it could be extended to disable a rule after $SIZE is > exceeded. This is good for Housing/Hosting who want to sell X Gb of bandwidth > for each IP. With a single rule like this: > > pass in quick on $gw_ext inet from any to $housing_1 keep state max-size 10Gb > > When PF finds that the counter of this rule has exceeded the 10Gb limit, it > should disable/remove that rule. If the client pays for more bandwidth, the > administrator could reactivate that rule.
perhaps labeling each pass rule of interest with uniq name and some awk && sed magic ... Damir
