Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Quentin on May 28, 2003, 06:10:36 PM

Title: determine the number of megs send to each computer
Post by: Quentin on May 28, 2003, 06:10:36 PM
Hi everyone,

I was wondering if there's a mean to know the amount of data that was send during a period to each computer that used a SME gateway. That's because my  fast-internet connection is only fast if I don't exceed 10 GB of download per month. And I do not know who I can blame for being over that limit (because I'm over it every month).

Thank you
Title: Re: determine the number of megs send to each computer
Post by: Nathan Fowler on May 28, 2003, 06:31:42 PM
Sure, check out the IPAC, http://www.daneben.de/ipac.html

I actively use this to monitor my outgoing bandwidth.  Installation is fairly straight-forward and easy.  I'd be wiling to help if you have any problems.

Thanks,
Nathan
Title: Re: determine the number of megs send to each computer
Post by: Quentin on May 29, 2003, 05:57:46 PM
Ok thanks, I installed te program and tried to install the stuff to have .png graphs but I'm not sure this will work. But I'll first check the ascii output.
One thing I'm not sure about is the ipac.conf file.
For instance, if I want to create a rule on what goes from the internet to the adress 192.168.1.2 (knowing that the adress of the SME box is 192.168.1.1) is it correct to write :

to 192.168.1.2 |in|eth0|all|192.168.1.1|192.168.1.2

?

Thanks for your help
Title: Re: determine the number of megs send to each computer
Post by: Nathan Fowler on May 29, 2003, 06:25:30 PM
Syntax is:
rule|direction|interface|protocol|source|destination

If you wanted to match all traffic incoming to 192.168.1.2 then you could:
192.168.1.2-In|in|eth0|all|0.0.0.0|192.168.1.2

If you wanted to match all outgoing traffic on 192.168.1.2 then you could:
192.168.1.2-Out|out|eth0|all|192.168.1.2|0.0.0.0


0.0.0.0 is synonymous with "anywhere".

Hope this helped,
Nathan