Re: [bwm-tools-tech] Traffic Control!!!!
Brought to you by:
nkukard
From: Nigel K. <nk...@lb...> - 2005-04-18 07:57:21
|
Hrm.... You must have -j bwmd as the ACCEPT rules for traffic you want to shape. Can you attach your bwm tools config file, along with the iptables file it generates plz. Regards Nigel Rizwan Sarwar Sundhu wrote: > Hi, > Thanks for replying, i checked iptables -vnL bwmd but it does not > show any increase in counters. > > # iptables -vnL bwmd > Chain bwmd (0 references) > pkts bytes target prot opt in out source > destination > 0 0 QUEUE all -- * * 0.0.0.0/0 > 0.0.0.0/0 MARK match !0x0 > 0 0 ACCEPT all -- * * 0.0.0.0/0 > 0.0.0.0/0 > I can understand that traffic is not being forwaded to bwmd, but why, > not making sense to me. waiting for ur response > > Regard > Rizwan > > > ----- Original Message ----- > *From:* Nigel Kukard <mailto:nk...@lb...> > *To:* Rizwan Sarwar Sundhu <mailto:ra...@ya...> > *Sent:* Monday, April 18, 2005 7:37 AM > *Subject:* Re: [bwm-tools-tech] Traffic Control!!!! > > Do the counters in the bwmd chain increase? > > iptables -vnL bwmd > > -Nigel > > Rizwan Sarwar Sundhu wrote: > >> 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 >> > > ------------------------------------------------------------------------ > Do you Yahoo!? > Yahoo! Mail > <http://us.rd.yahoo.com/mail_us/taglines/security/*http://promotions.yahoo.com/new_mail/static/protection.html> > - You care about security. So do we. |