Re: Trafic Counter

2003-06-14 Thread Andrey Simonenko
On Fri, 13 Jun 2003 12:24:35 + (UTC) in lucky.freebsd.questions, Ian Barnes wrote:
> Hi,
> 
> I am running FreeBSD 4.8 with squid v 2.5_2. It is only active for one
> ethernet card (I have 3). I am using IPF, with IPNAT to do the NAT
> 
> What i would like to know, is how could i count the trafic through that
> ethernet card, and that one only. And can i possibly set a limit as to the
> amount of trafic they are allowed to use. Like say 200meg a month or
> something?
> 

Port sysuils/ipa solves both tasks.  But if you use IP Filter on
FreeBSD, then read information about IP Filter on FreeBSD on IPA
home page http://ipa-system.sourceforge.net/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Trafic Counter

2003-06-13 Thread Bill Moran
Ian Barnes wrote:
Hi,

I am running FreeBSD 4.8 with squid v 2.5_2. It is only active for one
ethernet card (I have 3). I am using IPF, with IPNAT to do the NAT
What i would like to know, is how could i count the trafic through that
ethernet card, and that one only.
The port in /usr/ports/net/mrtg may be what you want.

If that's overkill, you could simply add an IPFW rule that counts the
bytes through that interface, see man ipfw.
And can i possibly set a limit as to the
amount of trafic they are allowed to use. Like say 200meg a month or
something?
man dummynet
is a good place to start.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Trafic Counter

2003-06-13 Thread Ian Barnes
Hi,

I am running FreeBSD 4.8 with squid v 2.5_2. It is only active for one
ethernet card (I have 3). I am using IPF, with IPNAT to do the NAT

What i would like to know, is how could i count the trafic through that
ethernet card, and that one only. And can i possibly set a limit as to the
amount of trafic they are allowed to use. Like say 200meg a month or
something?

Thanks for the help.

Ian

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"