Hello,
I'm using my box as a gateway for my internal network using net.ipv4.ip_forward. I don't NAT so I don't use iptables.
Is there a way that I can derive statistics about the number of connections going through the gateway? Specifically, which IP addresses are sending packets, size of packets, etc.
Thanks,
Zainul.
On Wed, 2005-05-18 at 13:05, Zainul M Charbiwala wrote:
Hello,
I'm using my box as a gateway for my internal network using net.ipv4.ip_forward. I don't NAT so I don't use iptables.
Is there a way that I can derive statistics about the number of connections going through the gateway? Specifically, which IP addresses are sending packets, size of packets, etc.
Thanks,
Zainul.
---> iptraf
On 18 May 2005 13:12:54 +0530 Milind Dhoke milind_dhoke@spymac.com wrote:
---> iptraf
Thanks !
I would have liked stats similar to netstat, non-interactive primarily, and therefore script-friendly. But iptraf is a good starting point.
Cheers,
Zainul.
On 18/05/05 13:05 +0530, Zainul M Charbiwala wrote:
Hello,
I'm using my box as a gateway for my internal network using net.ipv4.ip_forward. I don't NAT so I don't use iptables.
Is there a way that I can derive statistics about the number of connections going through the gateway? Specifically, which IP addresses are sending packets, size of packets, etc.
Can also dump information in xml, perl hashes, php arrays and a couple of other formats.
Devdas Bhagat