LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem in Bandwidth Monitoring using iptables (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-bandwidth-monitoring-using-iptables-608032/)

arvind.kumar.1982 12-20-2007 01:29 AM

Problem in Bandwidth Monitoring using iptables
 
My RHEL 4 linux system is configured as transparent proxy server using squid and iptables. The Lan interface is eth0 and internet interface is eth1.

I configured the system to monitor Bandwidth Usage using iptables.

I used the following configuration for iptables :

iptables -N prolog
iptables -A FORWARD
iptables -A FORWARD -d 192.168.10.0/24 -j prolog
iptables -A FORWARD -s 192.168.10.0/24 -j prolog
iptables -A prolog -d 192.168.10.80
iptables -A prolog -s 192.168.10.80

I uses command iptables -L -v -n to see the bandwidth usages by the hosts i.e. 192.168.10.80. The problem is that iptables is not capturing total upload or download bandwidth usage. It is only showing about half of the traffic. Downloading traffics are totaly ignored.

Can any one help me what i need to do.

Thanks in advance.


All times are GMT -5. The time now is 02:07 AM.