Re:[bwm-tools-tech] error during #bwmd --foreground
Brought to you by:
nkukard
From: rajveer s. <raj...@re...> - 2006-02-28 05:22:39
|
Hello guys,=0A=0AI'm sorry, but I'm trying so hard to get success with this= tool.=0AI don't want to leave any of the possible way to try this tool. I = appreciate u guys providing help. I'm sending this mail lastly in hope , po= ssibly, i may be able to do running this tool.=0A=0A=0ASo today, I tried a = last and new way. I'm trying to monitor the traffice of main line which is = connected to this system. so My configuration file is as below=0A=0ASTEP:#1= =0A=0Alinux:~ # cat /etc/bwm_tools/firewall.xml=0A<firewall>=0A # G= lobal configuration and access classes=0A <global>=0A<modules>=0A = <load name=3D"ip_queue"/>=0A</modules>=0A</global>=0A # Acce= ss control lists=0A # Network address translation=0A # Traf= fic flows=0A <traffic>=0A # Rate can be specified in either= IN, OUT or TOTAL (rate-total)=0A # If rate-total =3D=3D 0, no rate= limits=0A<flow name=3D"traffic" max-rate=3D"64000" report-timeout=3D"60" n= fmark=3D"100"/>=0A</traffic>=0A</firewall>=0Alinux:~ #=0A=0ASTEP:#2=0A=0AI = configured my firewall as below:=0Alinux:~ # iptables -L -n -v=0AChain INPU= T (policy ACCEPT 8274 packets, 2729K bytes)=0A pkts bytes target prot = opt in out source destination=0A 0 0 QUEUE = all -- * * 0.0.0.0/0 0.0.0.0/0 MARK ma= tch !0x0=0A=0AChain FORWARD (policy ACCEPT 0 packets, 0 bytes)=0A pkts byt= es target prot opt in out source destination=0A = 15 955 QUEUE all -- * * 0.0.0.0/0 0.0.0.0/= 0 MARK match !0x0=0A 0 0 QUEUE all -- * * = 0.0.0.0/0 0.0.0.0/0 MARK match !0x0=0A=0AChain OUTP= UT (policy ACCEPT 6564 packets, 1344K bytes)=0A pkts bytes target prot= opt in out source destination=0A 0 0 QUEUE = all -- * * 0.0.0.0/0 0.0.0.0/0 MARK m= atch !0x0=0Alinux:~ #=0A=0Alinux:~ # iptables -L -n -v -t mangle=0AChain PR= EROUTING (policy ACCEPT 9720 packets, 2911K bytes)=0A pkts bytes target = prot opt in out source destination=0A=0AChain INPUT= (policy ACCEPT 8292 packets, 2731K bytes)=0A pkts bytes target prot o= pt in out source destination=0A=0AChain FORWARD (poli= cy ACCEPT 20 packets, 1265 bytes)=0A pkts bytes target prot opt in = out source destination=0A 15 955 MARK all --= * * 0.0.0.0/0 0.0.0.0/0 MARK set 0x64=0A= =0AChain OUTPUT (policy ACCEPT 6564 packets, 1344K bytes)=0A pkts bytes ta= rget prot opt in out source destination=0A=0AChai= n POSTROUTING (policy ACCEPT 6581 packets, 1346K bytes)=0A pkts bytes targ= et prot opt in out source destination=0A=0AChain = bwmd (0 references)=0A pkts bytes target prot opt in out sourc= e destination=0A 0 0 QUEUE all -- * * = 0.0.0.0/0 0.0.0.0/0 MARK match !0x0=0A 0 0 = ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0=0Alinux:~= #=0A=0ASTEP:#3=0A=0Astarted my bwmd daemon=0A=0AThen i run the following c= ommand; -=0A=0A#bwm_monitor=0A=0AIt shows some traffic going through it. I = was really so happy but only 15 packets forwared through it. after it stops= working. i continuously tried access internet. but neiter the counter were= increasing in #iptabls -L -v -n -t mangle nor any traffic through bwm_moni= tor.=0A=0A=0AI got totally hopeless with this tool. If u guys have any othe= r tools to try out. Please suggest.=0A=0A=0AWith thanks & regards=0A=0ARajv= eer Singh=0A=0AOn Mon, 27 Feb 2006 Kobe Lenjou wrote :=0A >Then your rules = are wrong ;-)=0A >=0A >You should be able to figure this ons out!=0A >=0A >= Check:=0A >- the ip adresses used=0A >- try other 'general rules' like 'eac= h packet coming on 'eth0' (or whatever you lan interface is)=0A >=0A |