[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: traffic accounting with ipfwadm



Serach for ipac on freshmeat. It is a util
that can be used for ip accounting. The older
version support 2.0.x and it looks like the
newer ones support 2.2.x and ipchains.

Charles
www.theverge.com

On Wed, 17 Nov 1999, Fabian Knittel wrote:

> Hi,
> 
> My question isn't very debian related. It's more like a general
> linux networking problem with an old 2.0.x kernel.  I'm trying
> to make the server count the bytes transferred to and from the
> alias ip address i've set up on it.
> 
> This is what I type:
> 
> /sbin/ipfwadm -A in -a -W eth0:4 -P all -S 0.0.0.0/0 -D 192.168.10.2
> /sbin/ipfwadm -A out -a -W eth0:4 -P all -S 192.168.10.2 -D 0.0.0.0/0
> 
> The entries get correctly listed with `ipfwadm -A -l':
> 
> IP accounting rules
>  pkts bytes dir prot source               destination          ports
>     0     0 in  all  anywhere             192.168.10.2         n/a
>     0     0 out all  192.168.10.2         anywhere             n/a
> 
> Now, somehow, whatever I do, the packets I send to 192.168.10.2
> don't get accounted for. I tried it with the main interface eth0
> and that works just fine, so maybe it has something to do with
> alias interfaces? Is this actually possible with the 2.0.x
> network interface or do I absolutely need the 2.2.x series?
> 
> I'm grateful for any tips, pointers, etc. :)
> 
> -- 
> Fabian Knittel           fknittel@gmx.de
> EDV SYSTEM CONSULTING    http://www.esc-web.de/
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 


Reply to: