Re: measure throughput?
From: linuxnooby (linuxnooby_at_yahoo.com.au)
Date: 03/31/05
- Next message: meneg: "Re: simple question about ip_forward and NAT routing."
- Previous message: Matt Payton: "Re: Windows NFS Services, Unix, and Linux"
- In reply to: Jose Maria Lopez Hernandez: "Re: measure throughput?"
- Next in thread: Jose Maria Lopez Hernandez: "Re: measure throughput?"
- Reply: Jose Maria Lopez Hernandez: "Re: measure throughput?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Mar 2005 18:15:32 -0800
Thanks Jose
what does this look like (assuming eth0 is outside interface)??
also how do i view the counters??
iptables -N DOWNLOADS
iptables -A INPUT -i eth0 -j DOWNLOADS
iptables -A FORWARD -i eth0 -j DOWNLOADS
iptables -A DOWNLOADS -j RETURN
iptables -N UPLOADS
iptables -A OUTPUT -o eth0 -j UPLOADS
iptables -A FORWARD -0 eth0 -j UPLOADS
iptables -A UPLOADS -j RETURN
thanks
Dave
Jose Maria Lopez Hernandez <jkerouac@bgsec.com> wrote in message news:<424a7d2c_4@x-privat.org>...
> linuxnooby wrote:
> > Hi
> >
> > I have a linux firewall. I would like to measure how much data (all
> > data icmp tcp udp) is passing through this machine.
>
> If you want to meter the TCP packets, for example, you can create
> a new chain called TCPMETER and send all the data to that chain,
> then in the chain you just add a single rule with an unconditional
> RETURN. You just read the counters for that rule and you are done.
>
> > what i want to know is my internet uploads and downloads. Can any one
> > reccomend software that can do this on the linux box??
> >
> > cheers David
>
> Regards.
>
> --
>
> Jose Maria Lopez Hernandez
> Director Tecnico de bgSEC
> jkerouac@bgsec.com
> bgSEC Seguridad y Consultoria de Sistemas Informaticos
> http://www.bgsec.com
> ESPAŅA
>
> The only people for me are the mad ones -- the ones who are mad to live,
> mad to talk, mad to be saved, desirous of everything at the same time,
> the ones who never yawn or say a commonplace thing, but burn, burn, burn
> like fabulous yellow Roman candles.
> -- Jack Kerouac, "On the Road"
- Next message: meneg: "Re: simple question about ip_forward and NAT routing."
- Previous message: Matt Payton: "Re: Windows NFS Services, Unix, and Linux"
- In reply to: Jose Maria Lopez Hernandez: "Re: measure throughput?"
- Next in thread: Jose Maria Lopez Hernandez: "Re: measure throughput?"
- Reply: Jose Maria Lopez Hernandez: "Re: measure throughput?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|