bwm-tools-tech Mailing List for Bandwidth Management Tools (Page 11)
Brought to you by:
nkukard
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(13) |
Jul
(2) |
Aug
(1) |
Sep
(5) |
Oct
(10) |
Nov
(11) |
Dec
(8) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(6) |
Feb
(3) |
Mar
(22) |
Apr
(26) |
May
(15) |
Jun
|
Jul
(8) |
Aug
(2) |
Sep
(3) |
Oct
(4) |
Nov
|
Dec
(1) |
2005 |
Jan
(2) |
Feb
(6) |
Mar
(12) |
Apr
(34) |
May
(23) |
Jun
(21) |
Jul
|
Aug
(4) |
Sep
(5) |
Oct
(3) |
Nov
(2) |
Dec
|
2006 |
Jan
(3) |
Feb
(28) |
Mar
(12) |
Apr
(6) |
May
(17) |
Jun
(5) |
Jul
(19) |
Aug
(15) |
Sep
(10) |
Oct
(12) |
Nov
(1) |
Dec
|
2007 |
Jan
(5) |
Feb
(1) |
Mar
(5) |
Apr
(5) |
May
(7) |
Jun
(6) |
Jul
(2) |
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
(5) |
Jun
|
Jul
|
Aug
(8) |
Sep
(8) |
Oct
(2) |
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(6) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(7) |
Dec
|
2013 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Nigel K. <nk...@lb...> - 2005-05-12 09:02:18
|
Could you give us the following information plz... 1. Version of BWM Tools you're using 2. Your kernel version 3. iptables version 4. distribution & version 5. Pasted error from BWM Tools Regards Nigel Victor Yeo wrote: > i followed the example as in BWM documentation. I got a "Failed to > ACCEPT packet" error from bwmd, > when i run bwmd and ftp connection at the same time. Why? > victor > > ==================quote====================================================== > Imagine you would like your linux router to rate limit all traffic > from and to IP 192.168.1.100, an example of this can be found below... > > Configuring iptables > > > iptables -t filter -A FORWARD -m mark ! --mark 0x0 -j QUEUE > iptables -t mangle -A FORWARD -s 192.168.1.100 -j MARK > --set-mark 100 > iptables -t mangle -A FORWARD -d 192.168.1.100 -j MARK > --set-mark 101 > > Configuring bwmd > > > <firewall> > <global> > <modules> > <load name="ip_queue"/> > </modules> > </global> > > # Traffic flows > <traffic> > <flow name="pc_in" max-rate="64000" > report-timeout="60" > nfmark="100" /> > <flow name="pc_out" max-rate="64000" > report-timeout="60" > nfmark="101" /> > </traffic> > </firewall> > ==================end > quote====================================================== > -- Nigel Kukard, PhD CompSc (Chief Executive Officer) Linux Based Systems Design Web: www.lbsd.net Email: nk...@lb... Tel: (+27) 023 349 8000 Cell: (+27) 082 333 3723 Fax: (+27) 023 349 1395 Support: 086 747 7600 Address: LIGT House, 2 Klipdrift Rd, Rawsonville Linux Systems Design & Technology Solutions The best language to use is the language that was designed for what you want to use it for. ===================================================================== Disclaimer ---------- The contents of this message and any attachments are intended solely for the addressee's use and may be legally privileged and/or confidential information. This message may not be retained, distributed, copied or used if you are not he addressee of this message. If this message was sent to you in error, please notify the sender immediately by reply e-mail and then destroy the message and any copies thereof. Opinions, conclusions and other information in this message may be personal to the sender and is not that of Linux Based Systems Design, LinuxRulz or any of it's subsideries, associated companies or principals and is therefore not endorsed by Linux Based Systems Design or LinuxRulz. Due to e-maill communication being insecure, Linux Based Systems Design and LinuxRulz do not guarantee confidentiality, security, accuracy or performance of the e-mail. Any liability for viruses is excluded to the fullest extent. |
From: Victor Y. <ye...@nd...> - 2005-05-12 08:56:08
|
i followed the example as in BWM documentation. I got a "Failed to = ACCEPT packet" error from bwmd, when i run bwmd and ftp connection at the same time. Why? victor =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dquote=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Imagine you would like your linux router to rate limit all traffic from = and to IP 192.168.1.100, an example of this can be found below...=20 Configuring iptables=20 iptables -t filter -A FORWARD -m mark ! --mark 0x0 -j = QUEUE iptables -t mangle -A FORWARD -s 192.168.1.100 -j MARK = --set-mark 100 iptables -t mangle -A FORWARD -d 192.168.1.100 -j MARK = --set-mark 101 =20 Configuring bwmd=20 <firewall> <global> <modules> <load name=3D"ip_queue"/> </modules> </global> =20 # Traffic flows <traffic> <flow name=3D"pc_in" max-rate=3D"64000" = report-timeout=3D"60" nfmark=3D"100" /> <flow name=3D"pc_out" max-rate=3D"64000" = report-timeout=3D"60" nfmark=3D"101" /> </traffic> </firewall> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dend = quote=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D |
From: <ral...@ra...> - 2005-05-09 11:42:02
|
Hi Nigel, i have a little Problem or question to the bwm_monitor. I will use the bwm_tool for 50-60 Users, think this is no problem. But when i look over the traffic with the bwm_monitor, i see only the black display with a green frame. When i go under 20 user, the bwm_monitor works fine. How many users support the bwm_monitor ? Next question, how many digit can be have the nfmark ? Is it a problem, when i have 7 gigits by the nfmark ? Thanks for answer and best regards Ralph Buchmann To: nk...@lb... bwm...@li... |
From: Nigel K. <nk...@lb...> - 2005-05-05 06:43:01
|
This snapshot includes fixes for the rrd.h problem when building bwmtools on a system which doesn't have the rrdtool headers installed. Also... what is even better, NO rrdtool files are installed by bwmtools. bwmtools is built statically against the rrdtool source and installed. By the way if anyone was wondering rrdtool 1.2.0 is NOT supported yet, there were a few API changes made which makes it incompatible with bwmtools. The second I have a chance I'll update bwmtools to build against rrdtool 1.2.0. Kind regards Nigel Kukard (Author) |
From: Nigel K. <nk...@lb...> - 2005-05-02 05:34:20
|
You correct that will work. I will have a fix in 0.2.2 instead very soon, just got a few other things i must sort out first pretty urgently. -Nigel Victor Yeo wrote: >hi amarachi, > >i had the same problem with bwm-0.2.1 on redhat linux 9. > >To solve this, modify bwm_graph/Makefile and append this to GLIB_CFLAGS: >GLIB_CFLAGS=.............. -I../rrdtool/src > >Nigel, am i right? > >thanks. > >victor > >----- Original Message ----- >From: "Amarachi Joseph" <dra...@gm...> >To: "Nigel Kukard" <nk...@lb...> >Cc: <bwm...@li...> >Sent: Sunday, May 01, 2005 3:37 PM >Subject: [bwm-tools-tech] Re: Problem Installing bwm-0.2.0.... > > >Ok Mr Nigel >Thanks for your concern. >I hope the development snapshot wont take long to be released cuz i >intend deploying bwm_tools as a solution for a client and I ain't got >much time left. >Please notify me when it comes out >Thanks a lot. > >Amarachi Joseph >Lagos Nigeria. > > >On 5/1/05, Nigel Kukard <nk...@lb...> wrote: > > >>Hrmm..... >> >>I think this is a bug, I'll look into it and release a development >>snapshot with a fix. >> >>Regards >>Nigel >> >>Amarachi Joseph wrote: >> >> >> >>>Thanks Nigel for coming to my aid. Ive got another similar problem >>>I used version 0.2.1 and it installed witthout any error messages. >>>I tried installing for a friend who also uses RedHat 9 using the same >>>procedures that worked for me but I got a totally diffrent erroor >>>messge . The message says... >>> >>>graph.c:37:17 rrd.h: No such file or directory >>>make[2]: *** [ bwm_graph-graph.o ] Error 1 >>>make[2]: Leaving directory '/usr/sbin/bwm_tools-0.2.1/bwm_graph' >>>make[1]: *** [ all-recursive ] Error 1 >>>make[1]: Leaving directory '/usr/sbin/bwm_tools-0.2.1' >>>make: *** [all] Error 2 >>> >>>I now tired installing using version 0.2.0 of bwm_tools and i got >>>exactly the same error message. >>> >>>Please I need advice as to what steps I should take now. >>> >>> >>>On 4/24/05, Nigel Kukard <nk...@lb...> wrote: >>> >>> >>> >>> >>>>Hi Amarachi, >>>> >>>>Download and install version 0.2.1, this has a fix for your below >>>>problem :-) >>>> >>>>Regards >>>>Nigel >>>> >>>>Amarachi Joseph wrote: >>>> >>>> >>>> >>>> >>>> >>>>>Hi Everyone.... >>>>>This is my first time installing bwm tools. I am installing it on >>>>>RedHat 9.0. These are the steps i took to install bwm. >>>>>1) tar zxvf bwm_tools-0.2.0.tar.gz >>>>>2)cd ../bwm_tools-0.2.0 >>>>>3)tar zxvf ../rrdtool-1.0.49.tar.gz >>>>>4)ln -s rrdtool-1.0.49 rrdtool >>>>>5)./configure --with-rrdtool-source rrdtool >>>>>6)make >>>>>7)make install >>>>> >>>>>bwm_tools didn't install instead i got the following error message >>>>>"gcc: ../rrdtool/src/.libs/librrdtool.a : No such file or directory >>>>>make [1]: *** [ bwm_graph ] Error 1 >>>>>make [1]: Leaving directory "/usr/sbin/bwm_tools-0.2.0/bwm_graph" >>>>>make: *** [ install-recursive ] Error 1" >>>>> >>>>>Please does anyone have any idea on how i could get around >>>>> >>>>> >this........? > > >>>>> >>>>> >>>>> >>>>> >> >> >> > > > -- Nigel Kukard, PhD CompSc (Chief Executive Officer) Linux Based Systems Design Web: www.lbsd.net Email: nk...@lb... Tel: (+27) 023 349 8000 Cell: (+27) 082 333 3723 Fax: (+27) 023 349 1395 Support: 086 747 7600 Address: LIGT House, 2 Klipdrift Rd, Rawsonville Linux Systems Design & Technology Solutions The best language to use is the language that was designed for what you want to use it for. ===================================================================== Disclaimer ---------- The contents of this message and any attachments are intended solely for the addressee's use and may be legally privileged and/or confidential information. This message may not be retained, distributed, copied or used if you are not he addressee of this message. If this message was sent to you in error, please notify the sender immediately by reply e-mail and then destroy the message and any copies thereof. Opinions, conclusions and other information in this message may be personal to the sender and is not that of Linux Based Systems Design, LinuxRulz or any of it's subsideries, associated companies or principals and is therefore not endorsed by Linux Based Systems Design or LinuxRulz. Due to e-maill communication being insecure, Linux Based Systems Design and LinuxRulz do not guarantee confidentiality, security, accuracy or performance of the e-mail. Any liability for viruses is excluded to the fullest extent. |
From: Victor Y. <ye...@nd...> - 2005-05-02 03:38:49
|
hi amarachi, i had the same problem with bwm-0.2.1 on redhat linux 9. To solve this, modify bwm_graph/Makefile and append this to GLIB_CFLAGS: GLIB_CFLAGS=.............. -I../rrdtool/src Nigel, am i right? thanks. victor ----- Original Message ----- From: "Amarachi Joseph" <dra...@gm...> To: "Nigel Kukard" <nk...@lb...> Cc: <bwm...@li...> Sent: Sunday, May 01, 2005 3:37 PM Subject: [bwm-tools-tech] Re: Problem Installing bwm-0.2.0.... Ok Mr Nigel Thanks for your concern. I hope the development snapshot wont take long to be released cuz i intend deploying bwm_tools as a solution for a client and I ain't got much time left. Please notify me when it comes out Thanks a lot. Amarachi Joseph Lagos Nigeria. On 5/1/05, Nigel Kukard <nk...@lb...> wrote: > Hrmm..... > > I think this is a bug, I'll look into it and release a development > snapshot with a fix. > > Regards > Nigel > > Amarachi Joseph wrote: > > >Thanks Nigel for coming to my aid. Ive got another similar problem > >I used version 0.2.1 and it installed witthout any error messages. > >I tried installing for a friend who also uses RedHat 9 using the same > >procedures that worked for me but I got a totally diffrent erroor > >messge . The message says... > > > >graph.c:37:17 rrd.h: No such file or directory > >make[2]: *** [ bwm_graph-graph.o ] Error 1 > >make[2]: Leaving directory '/usr/sbin/bwm_tools-0.2.1/bwm_graph' > >make[1]: *** [ all-recursive ] Error 1 > >make[1]: Leaving directory '/usr/sbin/bwm_tools-0.2.1' > >make: *** [all] Error 2 > > > >I now tired installing using version 0.2.0 of bwm_tools and i got > >exactly the same error message. > > > >Please I need advice as to what steps I should take now. > > > > > >On 4/24/05, Nigel Kukard <nk...@lb...> wrote: > > > > > >>Hi Amarachi, > >> > >>Download and install version 0.2.1, this has a fix for your below > >>problem :-) > >> > >>Regards > >>Nigel > >> > >>Amarachi Joseph wrote: > >> > >> > >> > >>>Hi Everyone.... > >>>This is my first time installing bwm tools. I am installing it on > >>>RedHat 9.0. These are the steps i took to install bwm. > >>>1) tar zxvf bwm_tools-0.2.0.tar.gz > >>>2)cd ../bwm_tools-0.2.0 > >>>3)tar zxvf ../rrdtool-1.0.49.tar.gz > >>>4)ln -s rrdtool-1.0.49 rrdtool > >>>5)./configure --with-rrdtool-source rrdtool > >>>6)make > >>>7)make install > >>> > >>>bwm_tools didn't install instead i got the following error message > >>>"gcc: ../rrdtool/src/.libs/librrdtool.a : No such file or directory > >>>make [1]: *** [ bwm_graph ] Error 1 > >>>make [1]: Leaving directory "/usr/sbin/bwm_tools-0.2.0/bwm_graph" > >>>make: *** [ install-recursive ] Error 1" > >>> > >>>Please does anyone have any idea on how i could get around this........? > >>> > >>> > >>> > >>> > > > -- Amarachi Anyalewechi Lagos Nigeria ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r _______________________________________________ bwm-tools-tech mailing list bwm...@li... https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech |
From: Giang Hu <fre...@gm...> - 2005-05-01 18:50:43
|
Hi, > So i don"t understand why DROP all INPUT, OUTPUT and forward_ext traffic when it go over > the bwm_tool ? Its mean all traffics do not match any rule will be dropped > I read in a little iptable-book, that all traffic over the QUEUE-target, that don"t go over > a Userspace-Application, DROPPED. > And this is what we see above ! > No i think, i have a little mistake between the iptables and bwm_tools. But i don"t know > how can i test it !? So do I :( > So i think, it can be that i have a integration problem in my system. > In the documentation (page 18) are 4 points what i must do. > But with "bwm_firewall -c /etc/bwm_tools/firewall.xml -l" i can skip point 3 ! Is this > right ? > And after this i start bwmd. > Think must be right, or !? You are right, I think. > Now last Question .. in the doc page 19 stand, that "bwmd defaults using the configuration > file /etc/bwm_tools/firewall.xml". > When i start bwmd i see how the tool load all modules. > Is it right, that bwmd not load the iptables automaticly in this moment ? bwmd does not load iptables, it using iptables-restore (and it does). Cheers, Giang Hu |
From: Nigel K. <nk...@lb...> - 2005-05-01 07:49:15
|
working on it now :-) this bug only affect systems without the rrdtool includes installed on the system itself -Nigel Amarachi Joseph wrote: >Ok Mr Nigel >Thanks for your concern. >I hope the development snapshot wont take long to be released cuz i >intend deploying bwm_tools as a solution for a client and I ain't got >much time left. >Please notify me when it comes out >Thanks a lot. > >Amarachi Joseph >Lagos Nigeria. > > >On 5/1/05, Nigel Kukard <nk...@lb...> wrote: > > >>Hrmm..... >> >>I think this is a bug, I'll look into it and release a development >>snapshot with a fix. >> >>Regards >>Nigel >> >>Amarachi Joseph wrote: >> >> >> >>>Thanks Nigel for coming to my aid. Ive got another similar problem >>>I used version 0.2.1 and it installed witthout any error messages. >>>I tried installing for a friend who also uses RedHat 9 using the same >>>procedures that worked for me but I got a totally diffrent erroor >>>messge . The message says... >>> >>>graph.c:37:17 rrd.h: No such file or directory >>>make[2]: *** [ bwm_graph-graph.o ] Error 1 >>>make[2]: Leaving directory '/usr/sbin/bwm_tools-0.2.1/bwm_graph' >>>make[1]: *** [ all-recursive ] Error 1 >>>make[1]: Leaving directory '/usr/sbin/bwm_tools-0.2.1' >>>make: *** [all] Error 2 >>> >>>I now tired installing using version 0.2.0 of bwm_tools and i got >>>exactly the same error message. >>> >>>Please I need advice as to what steps I should take now. >>> >>> >>> |
From: Amarachi J. <dra...@gm...> - 2005-05-01 07:37:44
|
Ok Mr Nigel Thanks for your concern. I hope the development snapshot wont take long to be released cuz i intend deploying bwm_tools as a solution for a client and I ain't got much time left. Please notify me when it comes out Thanks a lot. Amarachi Joseph Lagos Nigeria. On 5/1/05, Nigel Kukard <nk...@lb...> wrote: > Hrmm..... >=20 > I think this is a bug, I'll look into it and release a development > snapshot with a fix. >=20 > Regards > Nigel >=20 > Amarachi Joseph wrote: >=20 > >Thanks Nigel for coming to my aid. Ive got another similar problem > >I used version 0.2.1 and it installed witthout any error messages. > >I tried installing for a friend who also uses RedHat 9 using the same > >procedures that worked for me but I got a totally diffrent erroor > >messge . The message says... > > > >graph.c:37:17 rrd.h: No such file or directory > >make[2]: *** [ bwm_graph-graph.o ] Error 1 > >make[2]: Leaving directory '/usr/sbin/bwm_tools-0.2.1/bwm_graph' > >make[1]: *** [ all-recursive ] Error 1 > >make[1]: Leaving directory '/usr/sbin/bwm_tools-0.2.1' > >make: *** [all] Error 2 > > > >I now tired installing using version 0.2.0 of bwm_tools and i got > >exactly the same error message. > > > >Please I need advice as to what steps I should take now. > > > > > >On 4/24/05, Nigel Kukard <nk...@lb...> wrote: > > > > > >>Hi Amarachi, > >> > >>Download and install version 0.2.1, this has a fix for your below > >>problem :-) > >> > >>Regards > >>Nigel > >> > >>Amarachi Joseph wrote: > >> > >> > >> > >>>Hi Everyone.... > >>>This is my first time installing bwm tools. I am installing it on > >>>RedHat 9.0. These are the steps i took to install bwm. > >>>1) tar zxvf bwm_tools-0.2.0.tar.gz > >>>2)cd ../bwm_tools-0.2.0 > >>>3)tar zxvf ../rrdtool-1.0.49.tar.gz > >>>4)ln -s rrdtool-1.0.49 rrdtool > >>>5)./configure --with-rrdtool-source rrdtool > >>>6)make > >>>7)make install > >>> > >>>bwm_tools didn't install instead i got the following error message > >>>"gcc: ../rrdtool/src/.libs/librrdtool.a : No such file or directory > >>>make [1]: *** [ bwm_graph ] Error 1 > >>>make [1]: Leaving directory "/usr/sbin/bwm_tools-0.2.0/bwm_graph" > >>>make: *** [ install-recursive ] Error 1" > >>> > >>>Please does anyone have any idea on how i could get around this.......= .? > >>> > >>> > >>> > >>> >=20 >=20 >=20 --=20 Amarachi Anyalewechi Lagos Nigeria |
From: Nigel K. <nk...@lb...> - 2005-05-01 06:27:26
|
Hrmm..... I think this is a bug, I'll look into it and release a development snapshot with a fix. Regards Nigel Amarachi Joseph wrote: >Thanks Nigel for coming to my aid. Ive got another similar problem >I used version 0.2.1 and it installed witthout any error messages. >I tried installing for a friend who also uses RedHat 9 using the same >procedures that worked for me but I got a totally diffrent erroor >messge . The message says... > >graph.c:37:17 rrd.h: No such file or directory >make[2]: *** [ bwm_graph-graph.o ] Error 1 >make[2]: Leaving directory '/usr/sbin/bwm_tools-0.2.1/bwm_graph' >make[1]: *** [ all-recursive ] Error 1 >make[1]: Leaving directory '/usr/sbin/bwm_tools-0.2.1' >make: *** [all] Error 2 > >I now tired installing using version 0.2.0 of bwm_tools and i got >exactly the same error message. > >Please I need advice as to what steps I should take now. > > >On 4/24/05, Nigel Kukard <nk...@lb...> wrote: > > >>Hi Amarachi, >> >>Download and install version 0.2.1, this has a fix for your below >>problem :-) >> >>Regards >>Nigel >> >>Amarachi Joseph wrote: >> >> >> >>>Hi Everyone.... >>>This is my first time installing bwm tools. I am installing it on >>>RedHat 9.0. These are the steps i took to install bwm. >>>1) tar zxvf bwm_tools-0.2.0.tar.gz >>>2)cd ../bwm_tools-0.2.0 >>>3)tar zxvf ../rrdtool-1.0.49.tar.gz >>>4)ln -s rrdtool-1.0.49 rrdtool >>>5)./configure --with-rrdtool-source rrdtool >>>6)make >>>7)make install >>> >>>bwm_tools didn't install instead i got the following error message >>>"gcc: ../rrdtool/src/.libs/librrdtool.a : No such file or directory >>>make [1]: *** [ bwm_graph ] Error 1 >>>make [1]: Leaving directory "/usr/sbin/bwm_tools-0.2.0/bwm_graph" >>>make: *** [ install-recursive ] Error 1" >>> >>>Please does anyone have any idea on how i could get around this........? >>> >>> >>> >>> |
From: <ral...@ra...> - 2005-05-01 01:50:43
|
Hi Giang and all other, thanks for the answer, but i try this before. I insert follow rules in the FORWARD-Table. <table name="filter"> # Custom Rules <chain name="PREROUTING"> </chain> <chain name="POSTROUTING"> </chain> <chain name="INPUT" default="DROP"> <rule target="bwmd"> eth1 </rule> <rule target="bwmd"> eth0 </rule> <rule target="bwmd"> lo </rule> </chain> <chain name="FORWARD" default="DROP"> <rule target="forward_int"> eth1 </rule> <rule target="forward_ext"> eth0 </rule> </chain> <chain name="OUTPUT" default="DROP"> <rule target="bwmd"> loo bwmd </rule> </chain> <chain name="forward_ext"> <rule target="bwmd"> eth0 </rule> </chain> <chain name="forward_int"> <rule target="bwmd"> eth0_out </rule> </chain> </table> So i become this Outputfile ... *filter :OUTPUT DROP :forward_ext - :bwmd - :POSTROUTING - :forward_int - :INPUT DROP :FORWARD DROP :PREROUTING - -A OUTPUT --out-interface lo -j bwmd -A OUTPUT -j bwmd -A forward_ext --in-interface eth0 -j bwmd -A bwmd -m mark ! --mark 0 -j QUEUE -A forward_int --out-interface eth0 -j bwmd -A INPUT --in-interface eth1 -j bwmd -A INPUT --in-interface eth0 -j bwmd -A INPUT --in-interface lo -j bwmd -A FORWARD --in-interface eth1 -j forward_int -A FORWARD --in-interface eth0 -j forward_ext COMMIT *nat :POSTROUTING - :PREROUTING - -A POSTROUTING --out-interface eth0 -j MASQUERADE -A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128 COMMIT And when i check the traffic i see .... iptables -L -v -n Chain INPUT (policy DROP 39 packets, 3390 bytes) pkts bytes target prot opt in out source destination 28 1464 bwmd all -- eth1 * 0.0.0.0/0 0.0.0.0/0 11 1926 bwmd all -- eth0 * 0.0.0.0/0 0.0.0.0/0 0 0 bwmd all -- lo * 0.0.0.0/0 0.0.0.0/0 Chain FORWARD (policy DROP 193 packets, 22352 bytes) pkts bytes target prot opt in out source destination 217 40890 forward_int all -- eth1 * 0.0.0.0/0 0.0.0.0/0 193 22352 forward_ext all -- eth0 * 0.0.0.0/0 0.0.0.0/0 Chain OUTPUT (policy DROP 65 packets, 9147 bytes) pkts bytes target prot opt in out source destination 0 0 bwmd all -- * lo 0.0.0.0/0 0.0.0.0/0 65 9147 bwmd all -- * * 0.0.0.0/0 0.0.0.0/0 Chain POSTROUTING (0 references) pkts bytes target prot opt in out source destination Chain PREROUTING (0 references) pkts bytes target prot opt in out source destination Chain bwmd (7 references) pkts bytes target prot opt in out source destination 217 40890 QUEUE all -- * * 0.0.0.0/0 0.0.0.0/0 MARK match !0x0 Chain forward_ext (1 references) pkts bytes target prot opt in out source destination 193 22352 bwmd all -- eth0 * 0.0.0.0/0 0.0.0.0/0 Chain forward_int (1 references) pkts bytes target prot opt in out source destination 217 40890 bwmd all -- * eth0 0.0.0.0/0 0.0.0.0/0 So i don't understand why DROP all INPUT, OUTPUT and forward_ext traffic when it go over the bwm_tool ? I read in a little iptable-book, that all traffic over the QUEUE-target, that don't go over a Userspace-Application, DROPPED. And this is what we see above ! No i think, i have a little mistake between the iptables and bwm_tools. But i don't know how can i test it !? So i think, it can be that i have a integration problem in my system. In the documentation (page 18) are 4 points what i must do. But with "bwm_firewall -c /etc/bwm_tools/firewall.xml -l" i can skip point 3 ! Is this right ? And after this i start bwmd. Think must be right, or !? Now last Question .. in the doc page 19 stand, that "bwmd defaults using the configuration file /etc/bwm_tools/firewall.xml". When i start bwmd i see how the tool load all modules. Is it right, that bwmd not load the iptables automaticly in this moment ? Sorry for all my stupid question. But anything is wrong with my system and i will understand it. Thanks. Regards Ralph To: nk...@lb... Cc: bwm...@li... |
From: Giang Hu <fre...@gm...> - 2005-04-30 11:40:39
|
Hi ralph, Have you ever try with something like this: # Custom Rules <chain name="FORWARD" default="DROP"> <rule target="bwmd"> eth1 </rule> <rule target="bwmd"> eth0 </rule> <rule target="bwmd"> lo </rule> </chain> (Have a look at bwm_firewall, it may be helpful) Have a nice day, Giang Hu |
From: Amarachi J. <dra...@gm...> - 2005-04-30 01:57:15
|
Thanks Nigel for coming to my aid. Ive got another similar problem I used version 0.2.1 and it installed witthout any error messages. I tried installing for a friend who also uses RedHat 9 using the same procedures that worked for me but I got a totally diffrent erroor messge . The message says... graph.c:37:17 rrd.h: No such file or directory make[2]: *** [ bwm_graph-graph.o ] Error 1 make[2]: Leaving directory '/usr/sbin/bwm_tools-0.2.1/bwm_graph' make[1]: *** [ all-recursive ] Error 1 make[1]: Leaving directory '/usr/sbin/bwm_tools-0.2.1' make: *** [all] Error 2 I now tired installing using version 0.2.0 of bwm_tools and i got exactly the same error message. Please I need advice as to what steps I should take now. On 4/24/05, Nigel Kukard <nk...@lb...> wrote: > Hi Amarachi, >=20 > Download and install version 0.2.1, this has a fix for your below > problem :-) >=20 > Regards > Nigel >=20 > Amarachi Joseph wrote: >=20 > >Hi Everyone.... > >This is my first time installing bwm tools. I am installing it on > >RedHat 9.0. These are the steps i took to install bwm. > >1) tar zxvf bwm_tools-0.2.0.tar.gz > >2)cd ../bwm_tools-0.2.0 > >3)tar zxvf ../rrdtool-1.0.49.tar.gz > >4)ln -s rrdtool-1.0.49 rrdtool > >5)./configure --with-rrdtool-source rrdtool > >6)make > >7)make install > > > >bwm_tools didn't install instead i got the following error message > >"gcc: ../rrdtool/src/.libs/librrdtool.a : No such file or directory > >make [1]: *** [ bwm_graph ] Error 1 > >make [1]: Leaving directory "/usr/sbin/bwm_tools-0.2.0/bwm_graph" > >make: *** [ install-recursive ] Error 1" > > > >Please does anyone have any idea on how i could get around this........? > > > > Amarachi Joseph Lagos Nigeria. |
From: <ral...@ra...> - 2005-04-29 17:28:50
|
ralph buchmann Hi Nigel, ok, now i write the simpel firewall what i can .... i allow all traffic by INPUT, OUTPUT and FORWARD. When i use the -j ACCEPT target, no problem. But with the -j bwmd target all over forward runs, and nothing over the INPUT-way And when you look over the bwmd-rule, you see no traffic. Please tell me, what is wrong with my machine ?? Is there a problem with the installation from the bwm_tool ? Now here my firewall.xml and the answer: <global> <modules> <load name="ip_queue"/> <load name="ip_conntrack_ftp"/> <load name="ip_conntrack_irc"/> <load name="ip_nat_ftp"/> <load name="ip_nat_irc"/> </modules> # For Filter <class name="lo"> <address src-iface="lo"/> </class> <class name="eth0"> <address src-iface="eth0"/> </class> <class name="eth1"> <address src-iface="eth1"/> </class> <class name="eth0_out"> <address dst-iface="eth0"/> </class> <class name="eth1_out"> <address dst-iface="eth1"/> </class> <class name="loo"> <address dst-iface="lo"/> </class> # For Nat <class name="proxy_redirect"> <address cmd-line="-i eth1 -p tcp -m tcp --dport 80"/> </class> <class name="internal_traffic"> <address dst-iface="eth0"/> </class> # For Traffic <class name="out_other"> <address name="out_other_tcp" src-iface="eth1" proto="tcp"/> <address name="out_other_udp" src-iface="eth1" proto="udp"/> </class> <class name="out_RaBuLap"> <address name="out_RaBuLap_tcp" src-iface="eth1" proto="tcp" src="192.168.125.5" dst="! 192.168.125.0/24"/> <address name="out_RaBuLap_udp" src-iface="eth1" proto="udp" src="192.168.125.5" dst="! 192.168.125.0/24"/> </class> <class name="out_karsten"> <address name="out_karsten_tcp" src-iface="eth1" proto="tcp" src="192.168.125.102" dst="! 192.168.125.0/24"/> <address name="out_karsten_udp" src-iface="eth1" proto="udp" src="192.168.125.102" dst="! 192.168.125.0/24"/> </class> <class name="out_test"> <address name="out_test_tcp" src-iface="eth1" proto="tcp" src="192.168.125.110" dst="! 192.168.125.0/24"/> <address name="out_test_udp" src-iface="eth1" proto="udp" src="192.168.125.110" dst="! 192.168.125.0/24"/> </class> <class name="in_other"> <address name="in_other_tcp" src-iface="eth1" proto="tcp"/> <address name="in_other_udp" src-iface="eth1" proto="udp"/> </class> <class name="in_RaBuLap"> <address name="in_RaBuLap_tcp" src-iface="eth1" proto="tcp" src="192.168.125.5" dst="! 192.168.125.0/24"/> <address name="in_RaBuLap_udp" src-iface="eth1" proto="udp" src="192.168.125.5" dst="! 192.168.125.0/24"/> </class> <class name="in_karsten"> <address name="in_karsten_tcp" src-iface="eth1" proto="tcp" src="192.168.125.102" dst="! 192.168.125.0/24"/> <address name="in_karsten_udp" src-iface="eth1" proto="udp" src="192.168.125.102" dst="! 192.168.125.0/24"/> </class> <class name="in_test"> <address name="in_test_tcp" src-iface="eth1" proto="tcp" src="192.168.125.110" dst="! 192.168.125.0/24"/> <address name="in_test_udp" src-iface="eth1" proto="udp" src="192.168.125.110" dst="! 192.168.125.0/24"/> </class> </global> # ACL <acl> <table name="filter"> # Custom Rules <chain name="PREROUTING"> </chain> <chain name="POSTROUTING"> </chain> <chain name="INPUT" default="DROP"> <rule target="bwmd"> eth1 </rule> <rule target="bwmd"> eth0 </rule> <rule target="bwmd"> lo </rule> </chain> <chain name="FORWARD" default="ACCEPT"> </chain> <chain name="OUTPUT" default="DROP"> <rule target="bwmd"> eth0_out eth1_out loo </rule> </chain> </table> # NAT <table name="nat"> <chain name="PREROUTING"> <rule target="REDIRECT --to-ports 3128"> proxy_redirect </rule> </chain> <chain name="POSTROUTING"> <rule target="MASQUERADE"> internal_traffic </rule> </chain> </table> </acl> # 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="524288" queue-len="4000" max-rate="358225" burst-rate="384000" report-timeout="60"> <flow name="out_other" max-rate="14400" burst-rate="16000" queue-size="8192" stats-len="5" report-timeout="60"> <queue prio="90" nfmark="1300"> out_other; </queue> </flow> <flow name="out_RaBuLap" max-rate="230400" burst-rate="256000" queue-size="16384" stats-len="5" report-timeout="60"> <queue prio="10" nfmark="1251"> out_RaBuLap; </queue> </flow> <flow name="out_karsten" max-rate="115200" burst-rate="128000" queue-size="16384" stats-len="5" report-timeout="60"> <queue prio="30" nfmark="1252"> out_karsten; </queue> </flow> <flow name="out_test" max-rate="57600" burst-rate="64000" queue-size="16384" stats-len="5" report-timeout="60"> <queue prio="50" nfmark="1253"> out_test; </queue> </flow> </flow> <flow name="in_dsl" stats-len="5" queue-size="262144" queue-len="3000" max-rate="58982" burst-rate="65536" report-timeout="60"> <flow name="in_other" max-rate="922" burst-rate="1024" queue-size="8192" stats-len="5" report-timeout="60"> <queue prio="90" nfmark="2300"> out_other; </queue> </flow> <flow name="in_RaBuLap" max-rate="29491" burst-rate="32768" queue-size="16384" stats-len="5" report-timeout="60"> <queue prio="10" nfmark="2251"> out_RaBuLap; </queue> </flow> <flow name="in_karsten" max-rate="14746" burst-rate="16384" queue-size="16384" stats-len="5" report-timeout="60"> <queue prio="30" nfmark="2252"> out_karsten; </queue> </flow> <flow name="in_test" max-rate="7373" burst-rate="8192" queue-size="16384" stats-len="5" report-timeout="60"> <queue prio="50" nfmark="2253"> out_test; </queue> </flow> </flow> </traffic> </firewall> And here you see, NO traffic over the bwmd-rule ! Why, i don't understand it ? iptables -L -v -n Chain INPUT (policy DROP 105 packets, 17875 bytes) pkts bytes target prot opt in out source destination 74 15074 bwmd all -- eth1 * 0.0.0.0/0 0.0.0.0/0 31 2801 bwmd all -- eth0 * 0.0.0.0/0 0.0.0.0/0 0 0 bwmd all -- lo * 0.0.0.0/0 0.0.0.0/0 Chain FORWARD (policy ACCEPT 8285 packets, 4178K bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy DROP 76 packets, 3144 bytes) pkts bytes target prot opt in out source destination 4 240 bwmd all -- * eth0 0.0.0.0/0 0.0.0.0/0 72 2904 bwmd all -- * eth1 0.0.0.0/0 0.0.0.0/0 0 0 bwmd all -- * lo 0.0.0.0/0 0.0.0.0/0 Chain POSTROUTING (0 references) pkts bytes target prot opt in out source destination Chain PREROUTING (0 references) pkts bytes target prot opt in out source destination Chain bwmd (6 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 Chain forward_ext (0 references) pkts bytes target prot opt in out source destination ################## iptables -L -t mangle -v -n Chain PREROUTING (policy ACCEPT 34635 packets, 17M bytes) pkts bytes target prot opt in out source destination Chain INPUT (policy ACCEPT 98 packets, 17050 bytes) pkts bytes target prot opt in out source destination Chain FORWARD (policy ACCEPT 7361 packets, 3704K bytes) pkts bytes target prot opt in out source destination 3508 1758K MARK tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 MARK set 0x514 128 7898 MARK udp -- eth1 * 0.0.0.0/0 0.0.0.0/0 MARK set 0x514 0 0 MARK tcp -- eth1 * 192.168.125.5 !192.168.125.0/24 MARK set 0x4e3 0 0 MARK udp -- eth1 * 192.168.125.5 !192.168.125.0/24 MARK set 0x4e3 0 0 MARK tcp -- eth1 * 192.168.125.102 !192.168.125.0/24 MARK set 0x4e4 0 0 MARK udp -- eth1 * 192.168.125.102 !192.168.125.0/24 MARK set 0x4e4 0 0 MARK tcp -- eth1 * 192.168.125.110 !192.168.125.0/24 MARK set 0x4e5 0 0 MARK udp -- eth1 * 192.168.125.110 !192.168.125.0/24 MARK set 0x4e5 3508 1758K MARK tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 MARK set 0x8fc 128 7898 MARK udp -- eth1 * 0.0.0.0/0 0.0.0.0/0 MARK set 0x8fc 0 0 MARK tcp -- eth1 * 192.168.125.5 !192.168.125.0/24 MARK set 0x8cb 0 0 MARK udp -- eth1 * 192.168.125.5 !192.168.125.0/24 MARK set 0x8cb 0 0 MARK tcp -- eth1 * 192.168.125.102 !192.168.125.0/24 MARK set 0x8cc 0 0 MARK udp -- eth1 * 192.168.125.102 !192.168.125.0/24 MARK set 0x8cc 0 0 MARK tcp -- eth1 * 192.168.125.110 !192.168.125.0/24 MARK set 0x8cd 0 0 MARK udp -- eth1 * 192.168.125.110 !192.168.125.0/24 MARK set 0x8cd Chain OUTPUT (policy ACCEPT 73 packets, 3024 bytes) pkts bytes target prot opt in out source destination Chain POSTROUTING (policy ACCEPT 34504 packets, 17M bytes) pkts bytes target prot opt in out source destination Wait for a little hint, Thanks. Best Regards Ralph To: nk...@lb... Cc: bwm...@li... |
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 > |
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 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 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 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: Nigel K. <nk...@lb...> - 2005-04-29 08:54:10
|
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 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: Yeo S. V. <ye...@nd...> - 2005-04-27 08:10:51
|
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: <ral...@ra...> - 2005-04-25 06:40:29
|
Good Morning Nigel, i sent you any files for a week. Have you find anythink ? I wait now a week for your answer, because i can't get ahead with the bwm_tool. I search and try a lot, but nothing work. I take your example in the documentation and write it for my station, it's allways the same, with -j ACCEPT i have traffic and with -j bwmd no traffic. What can be wrong ?? Please help and give me a little tip. Thanks. Best Regards Ralph To: nk...@lb... Cc: bwm...@li... |
From: Nigel K. <nk...@lb...> - 2005-04-24 12:29:52
|
Hi Amarachi, Download and install version 0.2.1, this has a fix for your below problem :-) Regards Nigel Amarachi Joseph wrote: >Hi Everyone.... >This is my first time installing bwm tools. I am installing it on >RedHat 9.0. These are the steps i took to install bwm. >1) tar zxvf bwm_tools-0.2.0.tar.gz >2)cd ../bwm_tools-0.2.0 >3)tar zxvf ../rrdtool-1.0.49.tar.gz >4)ln -s rrdtool-1.0.49 rrdtool >5)./configure --with-rrdtool-source rrdtool >6)make >7)make install > >bwm_tools didn't install instead i got the following error message >"gcc: ../rrdtool/src/.libs/librrdtool.a : No such file or directory >make [1]: *** [ bwm_graph ] Error 1 >make [1]: Leaving directory "/usr/sbin/bwm_tools-0.2.0/bwm_graph" >make: *** [ install-recursive ] Error 1" > >Please does anyone have any idea on how i could get around this........? > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_ide95&alloc_id396&opÌk >_______________________________________________ >bwm-tools-tech mailing list >bwm...@li... >https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > |
From: Amarachi J. <dra...@gm...> - 2005-04-24 07:18:44
|
Hi Everyone.... This is my first time installing bwm tools. I am installing it on RedHat 9.0. These are the steps i took to install bwm. 1) tar zxvf bwm_tools-0.2.0.tar.gz 2)cd ../bwm_tools-0.2.0 3)tar zxvf ../rrdtool-1.0.49.tar.gz 4)ln -s rrdtool-1.0.49 rrdtool 5)./configure --with-rrdtool-source rrdtool 6)make 7)make install bwm_tools didn't install instead i got the following error message=20 "gcc: ../rrdtool/src/.libs/librrdtool.a : No such file or directory make [1]: *** [ bwm_graph ] Error 1 make [1]: Leaving directory "/usr/sbin/bwm_tools-0.2.0/bwm_graph" make: *** [ install-recursive ] Error 1" Please does anyone have any idea on how i could get around this........? |