/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */


Jon Etkins <[EMAIL PROTECTED]> wrote:
>
> I know I can use ifconfig to see the number of packets sent and
> received, but is there some other command I can use to determine the
> actual volume of data contained in those transmitted packets?

Create output rules which trigger on a per-interface basis, and which
contain no target.  They will thus collect traffic statistics, but not
affect the firewall/masq in any way.

    ipchains -A output -i eth0
    ipchains -A output -i eth1
    ipchains -A output -i ppp0

These three rules will now keep a count of bytes and packets that
traverse each interface.

-- 
   [EMAIL PROTECTED] (Fuzzy Fox)      || "Just about every computer on the market
sometimes known as David DeSimone  ||  today runs Unix, except the Mac (and
  http://www.dallas.net/~fox/      ||  nobody cares about it). -- Bill Joy '85

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES 
UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to