[bwm-tools-tech] Traffic Control!!!!
Brought to you by:
nkukard
|
From: Rizwan S. S. <ra...@ya...> - 2005-04-17 10:33:53
|
Hi,
i am having problem in controling traffic using bwmd. i talked to Kobe about it earlier and he advised me to make some corrections to my rules and forward traffic to bwmd. I still can not see any traffic in bwm_monitor and no traffic being forward to bwmd as well. Following is the output from iptables -L bwmd
# iptables -L bwmd
Chain bwmd (0 references)
target prot opt source destination
QUEUE all -- anywhere anywhere MARK match !0x0
ACCEPT all -- anywhere anywhere
bwmd -c firewall.xml is running as well. Just going to paste the rules again to show you that they are ok or not,
<firewall><global>
<modules>
<load name="ip_queue"/>
</modules>
<class name="ftp_traffic_out_data">
<address name="a_traffic_out" src="192.168.0.221" src-port="20"/>
</class>
<class name="ftp_traffic_out_control">
<address name="b_traffic_out" src="192.168.0.221" src-port="21"/>
</class></global>
# Traffic flows
<traffic><flow name="mainline" stats-len="10" queue-size="1000" queue-len="100" max-rate="65536" burst-rate="67172" report-timeout="60">
<queue prio="50" nfmark="2001">
ftp_traffic_out_data;
ftp_traffic_out_control;
</queue>
</flow>
</traffic>
</firewall>
No traffic or counter is increasing in bwm_monitor although it is showing the flow "mainline" as configured in rules above. I must be doing something wrong again. Something is missing. please help.
Regards
Rizwan
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com |