[bwm-tools-tech] Question about rules....!
Brought to you by:
nkukard
From: Rizwan S. <riz...@ho...> - 2005-04-14 10:03:39
|
Hi, i have been recently trying out this tool for bandwidth management. = i can not seem to figure out how to get the rules right. i have a an ftp = server which is connect to internet with a 1Mbps line. i want to limit = all outgoing ftp traffic to 512Kbps because the rest of traffic is = needed for some HTTP traffic and normal user requests etc. I tried = following rules in firewall.xml and loaded "bwmd -c firewall.xml". <firewall> <global> <modules> <load name=3D"ip_queue"/> </modules> <class name=3D"ftp_traffic_out"> <address name=3D"aftp_traffic_out" src=3D"192.168.0.200" = src-port=3D"21"/> </class> </global>=20 # Traffic flows <traffic> <flow name=3D"mainline" stats-len=3D"10" queue-size=3D"1000" = queue-len=3D"100" max-rate=3D"60000" burst-rate=3D"70000" = report-timeout=3D"60"> <flow name=3D"my_ftp_out" max-rate=3D"55000"> <queue prio=3D"50" nfmark=3D"1001"> ftp_traffic_out; </queue> </flow> </flow> </traffic> </firewall> Ok what i understand from above rules is that it should limit = "ftp_traffic_out" type traffic to 55000 bytes ~=3D 55Kbytes/sec. But it = does not work, instead ftp keeps using full bandwidth and no limitation = happens. I should mention that i am using bwm tools only for traffic = management, my system has its own firewall i-e SuSEFirewall2 which come = with SuSE. Please help me, am i doing it not right or is it not the tool = for my problem.=20 Thank you. |