Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 1999 15:50:49 +1000
From:      Hugh Blandford <hugh@island.net.au>
To:        questions@freebsd.org
Subject:   IPFW and byte counting on multiple interfaces
Message-ID:  <3.0.6.32.19990531155049.008c8410@mail.island.net.au>

next in thread | raw e-mail | index | archive | help
Hi,

I am trying to use IPFW to count the number of bytes that are received and transmitted from a particular interface.  One interface is connected to an internal network using a private address range 192.168.x.x and natd, the other interface is connected to the net.

The machine is running proxy and mail etc and internally people are using ICQ etc etc.  I need a way to count the bytes that come from and go to, the outside world.  I don't want to catch any proxy hit traffic or anything like that.

I'm assuming that the only way I can do that is to put the counters prior to the address translation in the firewall.  Is this correct?  What syntax for the ipfw entry should I use?

Regards,

Hugh Blandford


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.6.32.19990531155049.008c8410>