In message <[EMAIL PROTECTED]>, Hans Huebner
writes:
>Hi there,
>
>I've made a first shot at the prepaid system I described yesterday. Citing
>the ipfw manpage:
>
> The usage of IP quotas is illustrated by the following example:
>
> First, a quota entry is set up:
>
> ifpw quota set guest quota 100000 warn 90000
>
> The above rule creates a quota entry which allows for 100,000 bytes to be
> transfered and which will trigger a warning message after 90,000 bytes
> have been used up.
>
> ipfw add quota guest ip from 192.168.1.0/24 to any
> ipfw add quota guest ip from any to 192.168.1.0/24
>
> These rules assign all traffic to and from a /24 subnet to the quota en-
> try.
>
> ipfw deny all ip from any to any exquota
It should be possible to say say
ipfw deny all ip from any to any exquota any
as well as:
ipfw deny all ip from any to any exquota guest
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message