Thread: [bwm-tools-tech] Re: Cannot run bwmd
Brought to you by:
nkukard
From: Victor Y. <ye...@nd...> - 2005-04-29 08:47:00
|
hi again, i have build iptables on kernel. i still have problems when i run = bwmd. Please help me. Thanks. -------------------------------------------------------------------------= ------------------------------- $ ./bwmd -f BWM Daemon v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems Design BWMD: Loaded 5 flows and 4 queues BWMD: Found 0 modules to load IPQ runner started... Failed to set IPQ mode passer: Failed to send netlink message: Connection refused Failed to get IPQ handle Flow runner started... Stat thread started... Report runner started... ----- Original Message -----=20 From: Yeo Siow Vic=20 To: bwm...@li...=20 Sent: Wednesday, April 27, 2005 4:09 PM Subject: Cannot run bwmd hi all, I have compiled Bwm successfully, and followed step 4 "Integrating Bwm = Tools" in the Bwm manual. However, i met with the following problems. = here're the steps i did: My firewall.xml file is attached at the end. Do = i need to install iptables in kernel?? Please help me. Thanks = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D $ ./bwm_firewall -f=3Diptables-restore BWM Firewall v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems = Design Loading configuration from "/etc/bwm_tools/firewall.xml"... ERROR: Class http_traffic_in invalid, ignoring ERROR: Class smtp_traffic_in invalid, ignoring ERROR: Class p2p_traffic_in invalid, ignoring ERROR: Class http_traffic_out invalid, ignoring ERROR: Class smtp_traffic_out invalid, ignoring ERROR: Class p2p_traffic_out invalid, ignoring Writing IPTables configuration to "=3Diptables-restore"... $ iptables-restore < /etc/sysconfig/iptables bash: /etc/sysconfig/iptables: No such file or directory $ ./bwmd -f BWM Daemon v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems Design BWMD: Loaded 8 flows and 0 queues BWMD: Found 0 modules to load IPQ runner started... Failed to set IPQ mode passer: Failed to send netlink message: Connection refused Failed to get IPQ handle Flow runner started... = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D this is my firewall.xml file.=20 = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D <firewall>=20 # Global configuration and access classes <global> <class name=3D"http_traffic"> <address dst=3D"192.168.4.50" proto=3D"tcp" = dst-port=3D"80"/> </class> <class name=3D"ssh_traffic"> <address dst=3D"192.168.4.50" proto=3D"tcp" = dst-port=3D"22"/> </class> </global> =20 # Access control lists <acl> <table name=3D"filter"> <chain name=3D"INPUT" default=3D"DROP"> <rule name=3D"allowed_traffic" target=3D"ACCEPT"> http_traffic ssh_traffic </rule> </chain> <chain name=3D"FORWARD" default=3D"DROP"> </chain> <chain name=3D"OUTPUT" default=3D"ACCEPT"> </chain> </table> </acl> =20 # Traffic flows <traffic> <flow name=3D"dsl_line_in" max-rate=3D"64000" = report-timeout=3D"60"> <flow name=3D"http_in" max-rate=3D"32000" = burst-rate=3D"64000" nfmark=3D"100"> http_traffic_in </flow> <flow name=3D"smtp_in" max-rate=3D"8000" = burst-rate=3D"32000" nfmark=3D"101"> smtp_traffic_in </flow> <flow name=3D"p2p_in" max-rate=3D"24000" = burst-rate=3D"32000" nfmark=3D"102"> p2p_traffic_in </flow> </flow> <flow name=3D"dsl_line_out" max-rate=3D"64000" = report-timeout=3D"60"> <flow name=3D"http_out" max-rate=3D"32000" = burst-rate=3D"64000" nfmark=3D"200"> http_traffic_out </flow> <flow name=3D"smtp_out" max-rate=3D"8000" = burst-rate=3D"32000" nfmark=3D"201"> smtp_traffic_out </flow> <flow name=3D"p2p_out" max-rate=3D"24000" = burst-rate=3D"32000" nfmark=3D"202"> p2p_traffic_out </flow> </flow> </traffic> =20 </firewall> Rgds, victor |
From: Nigel K. <nk...@lb...> - 2005-04-29 08:54:10
Attachments:
signature.asc
|
Hi Victor, You must also build in the QUEUE target for iptables and if you built this as a module you need to modprobe queue first. Regards Nigel Victor Yeo wrote: > hi again, > i have build iptables on kernel. i still have problems when i run > bwmd. Please help me. Thanks. > -------------------------------------------------------------------------------------------------------- > $ ./bwmd -f > BWM Daemon v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems Design > BWMD: Loaded 5 flows and 4 queues > BWMD: Found 0 modules to load > IPQ runner started... > Failed to set IPQ mode > passer: Failed to send netlink message: Connection refused > Failed to get IPQ handle > Flow runner started... > Stat thread started... > Report runner started... > > ----- Original Message ----- > *From:* Yeo Siow Vic <mailto:ye...@nd...> > *To:* bwm...@li... > <mailto:bwm...@li...> > *Sent:* Wednesday, April 27, 2005 4:09 PM > *Subject:* Cannot run bwmd > > hi all, > I have compiled Bwm successfully, and followed step 4 "Integrating > Bwm Tools" in the Bwm manual. However, i met with the following > problems. here're the steps i did: My firewall.xml file is > attached at the end. Do i need to install iptables in kernel?? > Please help me. Thanks > ========================================================================== > $ ./bwm_firewall -f=iptables-restore > BWM Firewall v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems > Design > Loading configuration from "/etc/bwm_tools/firewall.xml"... > ERROR: Class http_traffic_in invalid, ignoring > ERROR: Class smtp_traffic_in invalid, ignoring > ERROR: Class p2p_traffic_in invalid, ignoring > ERROR: Class http_traffic_out invalid, ignoring > ERROR: Class smtp_traffic_out invalid, ignoring > ERROR: Class p2p_traffic_out invalid, ignoring > Writing IPTables configuration to "=iptables-restore"... > $ iptables-restore < /etc/sysconfig/iptables > bash: /etc/sysconfig/iptables: No such file or directory > $ ./bwmd -f > BWM Daemon v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems Design > BWMD: Loaded 8 flows and 0 queues > BWMD: Found 0 modules to load > IPQ runner started... > Failed to set IPQ mode > passer: Failed to send netlink message: Connection refused > Failed to get IPQ handle > Flow runner started... > =========================================================== > this is my firewall.xml file. > =========================================================== > <firewall> > # Global configuration and access classes > <global> > <class name="http_traffic"> > <address dst="192.168.4.50" proto="tcp" dst-port="80"/> > </class> > <class name="ssh_traffic"> > <address dst="192.168.4.50" proto="tcp" dst-port="22"/> > </class> > </global> > > # Access control lists > <acl> > <table name="filter"> > <chain name="INPUT" default="DROP"> > <rule name="allowed_traffic" target="ACCEPT"> > http_traffic > ssh_traffic > </rule> > </chain> > <chain name="FORWARD" default="DROP"> > </chain> > <chain name="OUTPUT" default="ACCEPT"> > </chain> > </table> > </acl> > > # Traffic flows > <traffic> > <flow name="dsl_line_in" max-rate="64000" report-timeout="60"> > <flow name="http_in" max-rate="32000" burst-rate="64000" nfmark="100"> > http_traffic_in > </flow> > <flow name="smtp_in" max-rate="8000" burst-rate="32000" nfmark="101"> > smtp_traffic_in > </flow> > <flow name="p2p_in" max-rate="24000" burst-rate="32000" > nfmark="102"> > p2p_traffic_in > </flow> > </flow> > <flow name="dsl_line_out" max-rate="64000" report-timeout="60"> > <flow name="http_out" max-rate="32000" burst-rate="64000" > nfmark="200"> > http_traffic_out > </flow> > <flow name="smtp_out" max-rate="8000" burst-rate="32000" nfmark="201"> > smtp_traffic_out > </flow> > <flow name="p2p_out" max-rate="24000" burst-rate="32000" nfmark="202"> > p2p_traffic_out > </flow> > </flow> > </traffic> > > </firewall> > Rgds, > victor > |
From: Victor Y. <ye...@nd...> - 2005-04-29 09:44:18
|
Hi, Thanks for the reply. I don't really understand your meaning. How do i modprobe queue, i try this: "/sbin/modprobe queue". It is not working. Can i do a "make menuconfig" first and build the queue target? This is my firewall.xml fire. Is there any mistakes within it? Thanks for any reply. =========================================================================== <firewall> # Global configuration and access classes <global> <class name="out_other"> <address name="out_other_tcp" src-iface="eth0" proto="tcp"/> <address name="out_other_udp" src-iface="eth0" proto="udp"/> </class> <class name="out_jane"> <address name="out_jane_tcp" src-iface="eth0" proto="tcp" src="192.168.4.50" dst="! 192.168.0.0/24"/> <address name="out_jane_udp" src-iface="eth0" proto="udp" src="192.168.4.50" dst="! 192.168.0.0/24"/> </class> <class name="out_niels"> <address name="out_niels_tcp" src-iface="eth0" proto="tcp" src="192.168.2.250" dst="! 192.168.0.0/24"/> <address name="out_niels_udp" src-iface="eth0" proto="udp" src="192.168.2.250" dst="! 192.168.0.0/24"/> </class> <class name="out_kobe"> <address name="out_kobe_tcp" src-iface="eth0" proto="tcp" src="192.168.4.38" dst="! 192.168.0.0/24"/> <address name="out_kobe_udp" src-iface="eth0" proto="udp" src="192.168.4.38" dst="! 192.168.0.0/24"/> </class> </global> # Access control lists # Network address translation # Traffic flows <traffic> # Rate can be specified in either IN, OUT or TOTAL (rate-total) # If rate-total == 0, no rate limits <flow name="out_dsl" stats-len="5" queue-size="262144" queue-len="400" max-rate="15288" burst-rate="16384" report-timeout="60"> <flow name="out_jane" max-rate="10240" queue-size="16384" stats-len="5" report-timeout="60"> <queue prio="40" nfmark="1001"> out_jane; </queue> </flow> <flow name="out_niels" max-rate="10240" queue-size="16384" stats-len="5" report-timeout="60"> <queue prio="30" nfmark="1002"> out_niels; </queue> </flow> <flow name="out_kobe" max-rate="10240" queue-size="16384" stats-len="5" report-timeout="60"> <queue prio="30" nfmark="1003"> out_kobe; </queue> </flow> <flow name="out_other" max-rate="2048" burst-rate="6144" queue-size="32768" stats-len="5" report-timeout="60"> <queue prio="90" nfmark="1008"> out_other; </queue> </flow> </flow> </traffic> </firewall> ----- Original Message ----- From: Nigel Kukard To: Victor Yeo Cc: bwm...@li... Sent: Friday, April 29, 2005 4:53 PM Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd Hi Victor, You must also build in the QUEUE target for iptables and if you built this as a module you need to modprobe queue first. Regards Nigel >Victor Yeo wrote: >hi again, > >i have build iptables on kernel. i still have problems when i run bwmd. Please help me. Thanks. > >--------------------------------------------------------------------------- ----------------------------- > >$ ./bwmd -f >BWM Daemon v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems Design > >BWMD: Loaded 5 flows and 4 queues >BWMD: Found 0 modules to load >IPQ runner started... >Failed to set IPQ mode >passer: Failed to send netlink message: Connection refused >Failed to get IPQ handle >Flow runner started... >Stat thread started... >Report runner started... |
From: Victor Y. <ye...@nd...> - 2005-04-29 09:53:10
|
i got it: here it is to load the queue target: /sbin/modprobe ip_queue. thanks for the hint. victor ----- Original Message ----- From: "Victor Yeo" <ye...@nd...> To: <bwm...@li...> Sent: Friday, April 29, 2005 5:42 PM Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd > Hi, > > Thanks for the reply. I don't really understand your meaning. > > How do i modprobe queue, i try this: "/sbin/modprobe queue". It is not > working. Can i do a "make menuconfig" first and build the queue target? > > This is my firewall.xml fire. Is there any mistakes within it? > > Thanks for any reply. > =========================================================================== > <firewall> > # Global configuration and access classes > > <global> > <class name="out_other"> > <address name="out_other_tcp" src-iface="eth0" > proto="tcp"/> > <address name="out_other_udp" src-iface="eth0" > proto="udp"/> > </class> > <class name="out_jane"> > <address name="out_jane_tcp" src-iface="eth0" proto="tcp" > src="192.168.4.50" dst="! 192.168.0.0/24"/> > <address name="out_jane_udp" src-iface="eth0" proto="udp" > src="192.168.4.50" dst="! 192.168.0.0/24"/> > </class> > > <class name="out_niels"> > <address name="out_niels_tcp" src-iface="eth0" proto="tcp" > src="192.168.2.250" dst="! 192.168.0.0/24"/> > <address name="out_niels_udp" src-iface="eth0" proto="udp" > src="192.168.2.250" dst="! 192.168.0.0/24"/> > </class> > > <class name="out_kobe"> > <address name="out_kobe_tcp" src-iface="eth0" > proto="tcp" src="192.168.4.38" dst="! 192.168.0.0/24"/> > <address name="out_kobe_udp" src-iface="eth0" > proto="udp" src="192.168.4.38" dst="! 192.168.0.0/24"/> > </class> > > </global> > > # Access control lists > # Network address translation > # Traffic flows > <traffic> > # Rate can be specified in either IN, OUT or TOTAL (rate-total) > # If rate-total == 0, no rate limits > <flow name="out_dsl" stats-len="5" queue-size="262144" queue-len="400" > max-rate="15288" burst-rate="16384" report-timeout="60"> > <flow name="out_jane" max-rate="10240" queue-size="16384" stats-len="5" > report-timeout="60"> > <queue prio="40" nfmark="1001"> > out_jane; > </queue> > </flow> > <flow name="out_niels" max-rate="10240" queue-size="16384" stats-len="5" > report-timeout="60"> > <queue prio="30" nfmark="1002"> > out_niels; > </queue> > </flow> > <flow name="out_kobe" max-rate="10240" queue-size="16384" > stats-len="5" report-timeout="60"> > <queue prio="30" nfmark="1003"> > out_kobe; > </queue> > </flow> > <flow name="out_other" max-rate="2048" burst-rate="6144" > queue-size="32768" stats-len="5" report-timeout="60"> > <queue prio="90" nfmark="1008"> > out_other; > </queue> > </flow> > </flow> > </traffic> > </firewall> > > > > ----- Original Message ----- > From: Nigel Kukard > To: Victor Yeo > Cc: bwm...@li... > Sent: Friday, April 29, 2005 4:53 PM > Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd > > > Hi Victor, > > You must also build in the QUEUE target for iptables and if you built this > as a module you need to modprobe queue first. > > Regards > Nigel > > > >Victor Yeo wrote: > >hi again, > > > >i have build iptables on kernel. i still have problems when i run bwmd. > Please help me. Thanks. > > > >--------------------------------------------------------------------------- > ----------------------------- > > > >$ ./bwmd -f > >BWM Daemon v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems Design > > > >BWMD: Loaded 5 flows and 4 queues > >BWMD: Found 0 modules to load > >IPQ runner started... > >Failed to set IPQ mode > >passer: Failed to send netlink message: Connection refused > >Failed to get IPQ handle > >Flow runner started... > >Stat thread started... > >Report runner started... > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > |
From: Victor Y. <ye...@nd...> - 2005-04-29 10:31:53
|
hi again, Now i wish to run bwm_graph to generate graphics. I encounter error with = the following commands: Why it can't convert the date? $ /home/yeosv/local/bwm/bin/bwm_graph = --flows=3Dout_dsl,out_jane,out_kobe,out_niels,out_other = --start=3D31/05/2005 --end=3D31/05/2005 --output=3D/home/yeosv/test.png BWM Graph v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems Design ERROR: Failed to convert 31/05/2005 to date timeERROR: Error in start = time specified Please help me. Thanks. victor ----- Original Message -----=20 From: "Victor Yeo" <ye...@nd...> To: <bwm...@li...> Sent: Friday, April 29, 2005 5:52 PM Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd > i got it: >=20 > here it is to load the queue target: > /sbin/modprobe ip_queue. >=20 > thanks for the hint. >=20 > victor >=20 > ----- Original Message -----=20 > From: "Victor Yeo" <ye...@nd...> > To: <bwm...@li...> > Sent: Friday, April 29, 2005 5:42 PM > Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd >=20 >=20 > > Hi, > > > > Thanks for the reply. I don't really understand your meaning. > > > > How do i modprobe queue, i try this: "/sbin/modprobe queue". It is = not > > working. Can i do a "make menuconfig" first and build the queue = target? > > > > This is my firewall.xml fire. Is there any mistakes within it? > > > > Thanks for any reply. > > > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= > > <firewall> > > # Global configuration and access classes > > > > <global> > > <class name=3D"out_other"> > > <address name=3D"out_other_tcp" = src-iface=3D"eth0" > > proto=3D"tcp"/> > > <address name=3D"out_other_udp" = src-iface=3D"eth0" > > proto=3D"udp"/> > > </class> > > <class name=3D"out_jane"> > > <address name=3D"out_jane_tcp" src-iface=3D"eth0" proto=3D"tcp" > > src=3D"192.168.4.50" dst=3D"! 192.168.0.0/24"/> > > <address name=3D"out_jane_udp" src-iface=3D"eth0" proto=3D"udp" > > src=3D"192.168.4.50" dst=3D"! 192.168.0.0/24"/> > > </class> > > > > <class name=3D"out_niels"> > > <address name=3D"out_niels_tcp" src-iface=3D"eth0" proto=3D"tcp" > > src=3D"192.168.2.250" dst=3D"! 192.168.0.0/24"/> > > <address name=3D"out_niels_udp" src-iface=3D"eth0" proto=3D"udp" > > src=3D"192.168.2.250" dst=3D"! 192.168.0.0/24"/> > > </class> > > > > <class name=3D"out_kobe"> > > <address name=3D"out_kobe_tcp" = src-iface=3D"eth0" > > proto=3D"tcp" src=3D"192.168.4.38" dst=3D"! 192.168.0.0/24"/> > > <address name=3D"out_kobe_udp" = src-iface=3D"eth0" > > proto=3D"udp" src=3D"192.168.4.38" dst=3D"! 192.168.0.0/24"/> > > </class> > > > > </global> > > > > # Access control lists > > # Network address translation > > # Traffic flows > > <traffic> > > # Rate can be specified in either IN, OUT or TOTAL (rate-total) > > # If rate-total =3D=3D 0, no rate limits > > <flow name=3D"out_dsl" stats-len=3D"5" queue-size=3D"262144" = queue-len=3D"400" > > max-rate=3D"15288" burst-rate=3D"16384" report-timeout=3D"60"> > > <flow name=3D"out_jane" max-rate=3D"10240" queue-size=3D"16384" = stats-len=3D"5" > > report-timeout=3D"60"> > > <queue prio=3D"40" nfmark=3D"1001"> > > out_jane; > > </queue> > > </flow> > > <flow name=3D"out_niels" max-rate=3D"10240" queue-size=3D"16384" = stats-len=3D"5" > > report-timeout=3D"60"> > > <queue prio=3D"30" nfmark=3D"1002"> > > out_niels; > > </queue> > > </flow> > > <flow name=3D"out_kobe" max-rate=3D"10240" = queue-size=3D"16384" > > stats-len=3D"5" report-timeout=3D"60"> > > <queue prio=3D"30" nfmark=3D"1003"> > > out_kobe; > > </queue> > > </flow> > > <flow name=3D"out_other" max-rate=3D"2048" burst-rate=3D"6144" > > queue-size=3D"32768" stats-len=3D"5" report-timeout=3D"60"> > > <queue prio=3D"90" nfmark=3D"1008"> > > out_other; > > </queue> > > </flow> > > </flow> > > </traffic> > > </firewall> > > > > > > > > ----- Original Message -----=20 > > From: Nigel Kukard > > To: Victor Yeo > > Cc: bwm...@li... > > Sent: Friday, April 29, 2005 4:53 PM > > Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd > > > > > > Hi Victor, > > > > You must also build in the QUEUE target for iptables and if you = built this > > as a module you need to modprobe queue first. > > > > Regards > > Nigel > > > > > > >Victor Yeo wrote: > > >hi again, > > > > > >i have build iptables on kernel. i still have problems when i run > bwmd. > > Please help me. Thanks. > > > > > > = >------------------------------------------------------------------------= --- > > ----------------------------- > > > > > >$ ./bwmd -f > > >BWM Daemon v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems = Design > > > > > >BWMD: Loaded 5 flows and 4 queues > > >BWMD: Found 0 modules to load > > >IPQ runner started... > > >Failed to set IPQ mode > > >passer: Failed to send netlink message: Connection refused > > >Failed to get IPQ handle > > >Flow runner started... > > >Stat thread started... > > >Report runner started... > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Tell us your software development = plans! > > Take this survey and enter to win a one-year sub to SourceForge.net > > Plus IDC's 2005 look-ahead and a copy of this survey > > Click here to start! = http://www.idcswdc.com/cgi-bin/survey?id=3D105hix > > _______________________________________________ > > bwm-tools-tech mailing list > > bwm...@li... > > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! = http://www.idcswdc.com/cgi-bin/survey?id=3D105hix > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > |
From: Victor Y. <ye...@nd...> - 2005-04-29 10:51:20
|
hi again, ok, i figured out the root cause with bwm_graph. It is because of the = date format has changed. Now, i still get other errors when i run bwm_graph. My *.dat files are = in /var/bwm_tools/. WHy must it prefix /home/yeosv/local/bwm to the = path?????? thanks. [yeosv@BWT bwm_tools]$ ./bwm_graph = --flows=3Dout_dsl,out_jane,out_kobe,out_niels,out_other = --start=3D2005/04/30 --end=3D2005/05/1 --graph-filename=3Dtest BWM Graph v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems Design Creating RRD files... Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_dsl.dat: No = such file or directory Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_jane.dat: = No such file or directory Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_kobe.dat: = No such file or directory Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_niels.dat: = No such file or directory Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_other.dat: = No such file or directory Getting details for = /home/yeosv/local/bwm//var/bwm_tools/out_dsl.dat... Getting details = for /home/yeosv/local/bwm//var/bwm_tools/out_jane.dat... Getting = details for /home/yeosv/local/bwm//var/bwm_tools/out_kobe.dat... = Getting details for = /home/yeosv/local/bwm//var/bwm_tools/out_niels.dat... Getting details = for /home/yeosv/local/bwm//var/bwm_tools/out_other.dat...Writing data to = RRD files... Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_dsl.dat: No = such file or directory Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_jane.dat: = No such file or directory Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_kobe.dat: = No such file or directory Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_niels.dat: = No such file or directory Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_other.dat: = No such file or directory Failed to create RRD graph test: opening = '/home/yeosv/local/bwm//var/bwm_tools/out_dsl.rrd': No such file or = directory Processing file /home/yeosv/local/bwm//var/bwm_tools/out_dsl.dat... = Processing file /home/yeosv/local/bwm//var/bwm_tools/out_jane.dat... = Processing file /home/yeosv/local/bwm//var/bwm_tools/out_kobe.dat... = Processing file /home/yeosv/local/bwm//var/bwm_tools/out_niels.dat... = Processing file = /home/yeosv/local/bwm//var/bwm_tools/out_other.dat...Graphing flows... thanks, victor ----- Original Message -----=20 From: Victor Yeo=20 To: bwm...@li...=20 Sent: Friday, April 29, 2005 6:30 PM Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd hi again, Now i wish to run bwm_graph to generate graphics. I encounter error = with the following commands: Why it can't convert the date? $ /home/yeosv/local/bwm/bin/bwm_graph = --flows=3Dout_dsl,out_jane,out_kobe,out_niels,out_other = --start=3D31/05/2005 --end=3D31/05/2005 --output=3D/home/yeosv/test.png BWM Graph v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems Design ERROR: Failed to convert 31/05/2005 to date timeERROR: Error in start = time specified Please help me. Thanks. victor ----- Original Message -----=20 From: "Victor Yeo" <ye...@nd...> To: <bwm...@li...> Sent: Friday, April 29, 2005 5:52 PM Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd > i got it: >=20 > here it is to load the queue target: > /sbin/modprobe ip_queue. >=20 > thanks for the hint. >=20 > victor >=20 > ----- Original Message -----=20 > From: "Victor Yeo" <ye...@nd...> > To: <bwm...@li...> > Sent: Friday, April 29, 2005 5:42 PM > Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd >=20 >=20 > > Hi, > > > > Thanks for the reply. I don't really understand your meaning. > > > > How do i modprobe queue, i try this: "/sbin/modprobe queue". It is = not > > working. Can i do a "make menuconfig" first and build the queue = target? > > > > This is my firewall.xml fire. Is there any mistakes within it? > > > > Thanks for any reply. > > > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= > > <firewall> > > # Global configuration and access classes > > > > <global> > > <class name=3D"out_other"> > > <address name=3D"out_other_tcp" = src-iface=3D"eth0" > > proto=3D"tcp"/> > > <address name=3D"out_other_udp" = src-iface=3D"eth0" > > proto=3D"udp"/> > > </class> > > <class name=3D"out_jane"> > > <address name=3D"out_jane_tcp" src-iface=3D"eth0" proto=3D"tcp" > > src=3D"192.168.4.50" dst=3D"! 192.168.0.0/24"/> > > <address name=3D"out_jane_udp" src-iface=3D"eth0" proto=3D"udp" > > src=3D"192.168.4.50" dst=3D"! 192.168.0.0/24"/> > > </class> > > > > <class name=3D"out_niels"> > > <address name=3D"out_niels_tcp" src-iface=3D"eth0" = proto=3D"tcp" > > src=3D"192.168.2.250" dst=3D"! 192.168.0.0/24"/> > > <address name=3D"out_niels_udp" src-iface=3D"eth0" = proto=3D"udp" > > src=3D"192.168.2.250" dst=3D"! 192.168.0.0/24"/> > > </class> > > > > <class name=3D"out_kobe"> > > <address name=3D"out_kobe_tcp" = src-iface=3D"eth0" > > proto=3D"tcp" src=3D"192.168.4.38" dst=3D"! 192.168.0.0/24"/> > > <address name=3D"out_kobe_udp" = src-iface=3D"eth0" > > proto=3D"udp" src=3D"192.168.4.38" dst=3D"! 192.168.0.0/24"/> > > </class> > > > > </global> > > > > # Access control lists > > # Network address translation > > # Traffic flows > > <traffic> > > # Rate can be specified in either IN, OUT or TOTAL (rate-total) > > # If rate-total =3D=3D 0, no rate limits > > <flow name=3D"out_dsl" stats-len=3D"5" queue-size=3D"262144" = queue-len=3D"400" > > max-rate=3D"15288" burst-rate=3D"16384" report-timeout=3D"60"> > > <flow name=3D"out_jane" max-rate=3D"10240" queue-size=3D"16384" = stats-len=3D"5" > > report-timeout=3D"60"> > > <queue prio=3D"40" nfmark=3D"1001"> > > out_jane; > > </queue> > > </flow> > > <flow name=3D"out_niels" max-rate=3D"10240" queue-size=3D"16384" = stats-len=3D"5" > > report-timeout=3D"60"> > > <queue prio=3D"30" nfmark=3D"1002"> > > out_niels; > > </queue> > > </flow> > > <flow name=3D"out_kobe" max-rate=3D"10240" = queue-size=3D"16384" > > stats-len=3D"5" report-timeout=3D"60"> > > <queue prio=3D"30" nfmark=3D"1003"> > > out_kobe; > > </queue> > > </flow> > > <flow name=3D"out_other" max-rate=3D"2048" burst-rate=3D"6144" > > queue-size=3D"32768" stats-len=3D"5" report-timeout=3D"60"> > > <queue prio=3D"90" nfmark=3D"1008"> > > out_other; > > </queue> > > </flow> > > </flow> > > </traffic> > > </firewall> > > > > > > > > ----- Original Message -----=20 > > From: Nigel Kukard > > To: Victor Yeo > > Cc: bwm...@li... > > Sent: Friday, April 29, 2005 4:53 PM > > Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd > > > > > > Hi Victor, > > > > You must also build in the QUEUE target for iptables and if you = built this > > as a module you need to modprobe queue first. > > > > Regards > > Nigel > > > > > > >Victor Yeo wrote: > > >hi again, > > > > > >i have build iptables on kernel. i still have problems when i = run > bwmd. > > Please help me. Thanks. > > > > > > = >------------------------------------------------------------------------= --- > > ----------------------------- > > > > > >$ ./bwmd -f > > >BWM Daemon v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems = Design > > > > > >BWMD: Loaded 5 flows and 4 queues > > >BWMD: Found 0 modules to load > > >IPQ runner started... > > >Failed to set IPQ mode > > >passer: Failed to send netlink message: Connection refused > > >Failed to get IPQ handle > > >Flow runner started... > > >Stat thread started... > > >Report runner started... > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Tell us your software development = plans! > > Take this survey and enter to win a one-year sub to = SourceForge.net > > Plus IDC's 2005 look-ahead and a copy of this survey > > Click here to start! = http://www.idcswdc.com/cgi-bin/survey?id=3D105hix > > _______________________________________________ > > bwm-tools-tech mailing list > > bwm...@li... > > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development = plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! = http://www.idcswdc.com/cgi-bin/survey?id=3D105hix > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > |
From: Victor Y. <ye...@nd...> - 2005-04-29 12:01:26
|
i think there is error in bwm_graph_Makefile the LOG_DIR must be /var/bwm_tools can someone confirm this? victor ----- Original Message -----=20 From: Victor Yeo=20 To: bwm...@li...=20 Sent: Friday, April 29, 2005 6:50 PM Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd hi again, ok, i figured out the root cause with bwm_graph. It is because of the = date format has changed. Now, i still get other errors when i run bwm_graph. My *.dat files are = in /var/bwm_tools/. WHy must it prefix /home/yeosv/local/bwm to the = path?????? thanks. [yeosv@BWT bwm_tools]$ ./bwm_graph = --flows=3Dout_dsl,out_jane,out_kobe,out_niels,out_other = --start=3D2005/04/30 --end=3D2005/05/1 --graph-filename=3Dtest BWM Graph v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems Design Creating RRD files... Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_dsl.dat: = No such file or directory Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_jane.dat: = No such file or directory Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_kobe.dat: = No such file or directory Failed opening file = /home/yeosv/local/bwm//var/bwm_tools/out_niels.dat: No such file or = directory Failed opening file = /home/yeosv/local/bwm//var/bwm_tools/out_other.dat: No such file or = directory Getting details for = /home/yeosv/local/bwm//var/bwm_tools/out_dsl.dat... Getting details = for /home/yeosv/local/bwm//var/bwm_tools/out_jane.dat... Getting = details for /home/yeosv/local/bwm//var/bwm_tools/out_kobe.dat... = Getting details for = /home/yeosv/local/bwm//var/bwm_tools/out_niels.dat... Getting details = for /home/yeosv/local/bwm//var/bwm_tools/out_other.dat...Writing data to = RRD files... Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_dsl.dat: = No such file or directory Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_jane.dat: = No such file or directory Failed opening file /home/yeosv/local/bwm//var/bwm_tools/out_kobe.dat: = No such file or directory Failed opening file = /home/yeosv/local/bwm//var/bwm_tools/out_niels.dat: No such file or = directory Failed opening file = /home/yeosv/local/bwm//var/bwm_tools/out_other.dat: No such file or = directory Failed to create RRD graph test: opening = '/home/yeosv/local/bwm//var/bwm_tools/out_dsl.rrd': No such file or = directory Processing file = /home/yeosv/local/bwm//var/bwm_tools/out_dsl.dat... Processing file = /home/yeosv/local/bwm//var/bwm_tools/out_jane.dat... Processing file = /home/yeosv/local/bwm//var/bwm_tools/out_kobe.dat... Processing file = /home/yeosv/local/bwm//var/bwm_tools/out_niels.dat... Processing file = /home/yeosv/local/bwm//var/bwm_tools/out_other.dat...Graphing flows... thanks, victor ----- Original Message -----=20 From: Victor Yeo=20 To: bwm...@li...=20 Sent: Friday, April 29, 2005 6:30 PM Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd hi again, Now i wish to run bwm_graph to generate graphics. I encounter error = with the following commands: Why it can't convert the date? $ /home/yeosv/local/bwm/bin/bwm_graph = --flows=3Dout_dsl,out_jane,out_kobe,out_niels,out_other = --start=3D31/05/2005 --end=3D31/05/2005 --output=3D/home/yeosv/test.png BWM Graph v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems = Design ERROR: Failed to convert 31/05/2005 to date timeERROR: Error in = start time specified Please help me. Thanks. victor ----- Original Message -----=20 From: "Victor Yeo" <ye...@nd...> To: <bwm...@li...> Sent: Friday, April 29, 2005 5:52 PM Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd > i got it: >=20 > here it is to load the queue target: > /sbin/modprobe ip_queue. >=20 > thanks for the hint. >=20 > victor >=20 > ----- Original Message -----=20 > From: "Victor Yeo" <ye...@nd...> > To: <bwm...@li...> > Sent: Friday, April 29, 2005 5:42 PM > Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd >=20 >=20 > > Hi, > > > > Thanks for the reply. I don't really understand your meaning. > > > > How do i modprobe queue, i try this: "/sbin/modprobe queue". It = is not > > working. Can i do a "make menuconfig" first and build the queue = target? > > > > This is my firewall.xml fire. Is there any mistakes within it? > > > > Thanks for any reply. > > > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= > > <firewall> > > # Global configuration and access classes > > > > <global> > > <class name=3D"out_other"> > > <address name=3D"out_other_tcp" = src-iface=3D"eth0" > > proto=3D"tcp"/> > > <address name=3D"out_other_udp" = src-iface=3D"eth0" > > proto=3D"udp"/> > > </class> > > <class name=3D"out_jane"> > > <address name=3D"out_jane_tcp" src-iface=3D"eth0" = proto=3D"tcp" > > src=3D"192.168.4.50" dst=3D"! 192.168.0.0/24"/> > > <address name=3D"out_jane_udp" src-iface=3D"eth0" = proto=3D"udp" > > src=3D"192.168.4.50" dst=3D"! 192.168.0.0/24"/> > > </class> > > > > <class name=3D"out_niels"> > > <address name=3D"out_niels_tcp" src-iface=3D"eth0" = proto=3D"tcp" > > src=3D"192.168.2.250" dst=3D"! 192.168.0.0/24"/> > > <address name=3D"out_niels_udp" src-iface=3D"eth0" = proto=3D"udp" > > src=3D"192.168.2.250" dst=3D"! 192.168.0.0/24"/> > > </class> > > > > <class name=3D"out_kobe"> > > <address name=3D"out_kobe_tcp" = src-iface=3D"eth0" > > proto=3D"tcp" src=3D"192.168.4.38" dst=3D"! 192.168.0.0/24"/> > > <address name=3D"out_kobe_udp" = src-iface=3D"eth0" > > proto=3D"udp" src=3D"192.168.4.38" dst=3D"! 192.168.0.0/24"/> > > </class> > > > > </global> > > > > # Access control lists > > # Network address translation > > # Traffic flows > > <traffic> > > # Rate can be specified in either IN, OUT or TOTAL (rate-total) > > # If rate-total =3D=3D 0, no rate limits > > <flow name=3D"out_dsl" stats-len=3D"5" queue-size=3D"262144" = queue-len=3D"400" > > max-rate=3D"15288" burst-rate=3D"16384" report-timeout=3D"60"> > > <flow name=3D"out_jane" max-rate=3D"10240" = queue-size=3D"16384" stats-len=3D"5" > > report-timeout=3D"60"> > > <queue prio=3D"40" nfmark=3D"1001"> > > out_jane; > > </queue> > > </flow> > > <flow name=3D"out_niels" max-rate=3D"10240" = queue-size=3D"16384" stats-len=3D"5" > > report-timeout=3D"60"> > > <queue prio=3D"30" nfmark=3D"1002"> > > out_niels; > > </queue> > > </flow> > > <flow name=3D"out_kobe" max-rate=3D"10240" = queue-size=3D"16384" > > stats-len=3D"5" report-timeout=3D"60"> > > <queue prio=3D"30" nfmark=3D"1003"> > > out_kobe; > > </queue> > > </flow> > > <flow name=3D"out_other" max-rate=3D"2048" burst-rate=3D"6144" > > queue-size=3D"32768" stats-len=3D"5" report-timeout=3D"60"> > > <queue prio=3D"90" nfmark=3D"1008"> > > out_other; > > </queue> > > </flow> > > </flow> > > </traffic> > > </firewall> > > > > > > > > ----- Original Message -----=20 > > From: Nigel Kukard > > To: Victor Yeo > > Cc: bwm...@li... > > Sent: Friday, April 29, 2005 4:53 PM > > Subject: Re: [bwm-tools-tech] Re: Cannot run bwmd > > > > > > Hi Victor, > > > > You must also build in the QUEUE target for iptables and if you = built this > > as a module you need to modprobe queue first. > > > > Regards > > Nigel > > > > > > >Victor Yeo wrote: > > >hi again, > > > > > >i have build iptables on kernel. i still have problems when i = run > bwmd. > > Please help me. Thanks. > > > > > > = >------------------------------------------------------------------------= --- > > ----------------------------- > > > > > >$ ./bwmd -f > > >BWM Daemon v0.2.1 - Copyright (c) 2003-2005 Linux Based Systems = Design > > > > > >BWMD: Loaded 5 flows and 4 queues > > >BWMD: Found 0 modules to load > > >IPQ runner started... > > >Failed to set IPQ mode > > >passer: Failed to send netlink message: Connection refused > > >Failed to get IPQ handle > > >Flow runner started... > > >Stat thread started... > > >Report runner started... > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Tell us your software development = plans! > > Take this survey and enter to win a one-year sub to = SourceForge.net > > Plus IDC's 2005 look-ahead and a copy of this survey > > Click here to start! = http://www.idcswdc.com/cgi-bin/survey?id=3D105hix > > _______________________________________________ > > bwm-tools-tech mailing list > > bwm...@li... > > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development = plans! > Take this survey and enter to win a one-year sub to = SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! = http://www.idcswdc.com/cgi-bin/survey?id=3D105hix > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > |