bwm-tools-tech Mailing List for Bandwidth Management Tools (Page 3)
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: Simon P. <dn...@gm...> - 2007-08-18 21:10:37
|
> > I'd like to ask what your experience with the libnetfilter-queue > > library are. I'm planning to implement some traffic shaping app on > > my own using libnetfilter-queue and I wonder how efficient it is. > Best thing about QUEUE is it can send only the packet headers to > userspace, in which case you ack or nack it. Is it also able to queue whole packets to userspace, which can be mangled there and queued back to the kernel? > I've tested it out processing about 5k pkt/s @ just under 100Mbit/s > (if I remember correctly) on a Pentium D 2.4 with about 10-20% cpu > utilization. Sounds good enough for me. Thanks! Simon |
From: Nigel K. <nk...@lb...> - 2007-08-18 19:51:35
|
Hi Simon, > I'd like to ask what your experience with the libnetfilter-queue > library are. I'm planning to implement some traffic shaping app on my > own using libnetfilter-queue and I wonder how efficient it is. > bwm-tools is the first program I came across that uses > libnetfilter-queue, that's why I ask here. > > Can I pipe big numbers of packets through libnetfilter-queue without > noticeable latency or should I rather do it within the kernel directly?= > =20 Best thing about QUEUE is it can send only the packet headers to userspace, in which case you ack or nack it. I've tested it out processing about 5k pkt/s @ just under 100Mbit/s (if I remember correctly) on a Pentium D 2.4 with about 10-20% cpu utilizatio= n. -N |
From: Simon P. <dn...@gm...> - 2007-08-18 18:52:29
|
Hi, I'd like to ask what your experience with the libnetfilter-queue library are. I'm planning to implement some traffic shaping app on my own using libnetfilter-queue and I wonder how efficient it is. bwm-tools is the first program I came across that uses libnetfilter-queue, that's why I ask here. Can I pipe big numbers of packets through libnetfilter-queue without noticeable latency or should I rather do it within the kernel directly? Thanks, Simon |
From: Nigel K. <nk...@lb...> - 2007-07-22 16:29:57
|
Hi, > I've been using bwm-tools (just for bandwidth) for over two years, on a= > very very low end system. VoIP and wireless are being routed by it and= > it simply works, and it works great! I love it. > =20 Very glad you like it!! > I'd like to package it for Debian, but I wonder if the project is alive= =2E > There aren't many releases (maybe there's no need to) and it's a supris= e=20 > for me that not many people know about it. > =20 The project is slowly gaining momentum, we kinda lost one of our major sponsors, so its not progressing very fast on the code development side. The good thing is we've had some nice donations over the past few weeks which have sparked some more research and development. We're looking at adding tun/tap support as an option to netfilter's -j QUEUE. This would mean bwmtools may even beable to run under any OS that supports tun/tap. I've seen a tun/tap driver for Linux, Solaris, FreeBSD & Windows, so I would think that would slingshot bwmtools quite a bit forward. > So, what do you think, should I go ahead and package it? Go for it. > If people=20 > start reporting bugs or trying to send patches, will there be somebody > on your side able to deal with that? > =20 Always :o) Kind Regards Nigel |
From: <ed...@es...> - 2007-07-22 15:48:34
|
Hi, I've been using bwm-tools (just for bandwidth) for over two years, on a very very low end system. VoIP and wireless are being routed by it and it simply works, and it works great! I love it. I'd like to package it for Debian, but I wonder if the project is alive. There aren't many releases (maybe there's no need to) and it's a suprise for me that not many people know about it. So, what do you think, should I go ahead and package it? If people start reporting bugs or trying to send patches, will there be somebody on your side able to deal with that? Regards, Eduardo. |
From: someone k. <gun...@gm...> - 2007-06-23 12:07:48
|
Hi Andrew, You can try either of the steps, In you running configuration just add the iptables rules iptables -A INPUT -i lo -j ACCEPT OR you can append this firewall.xml tags and reload the bwm_firewall -l #in the acl classes <class name="loopback"> <address src-iface="lo"/> </class> # In control lists inside the filter table in input chain add a rule <rule name="loop" target="ACCEPT"> loopback; </rule> After trying one of the following steps try running bwm_monitor. Check for the traffice shaping and make sure of it. -------------- with regards Sudip Karki Sys Admin HealthNet Nepal. |
From: Prashant S. <spi...@gm...> - 2007-06-22 18:03:38
|
hey can u please send me your conf files ??? On 6/22/07, Andrew Niemantsverdriet <and...@gm...> wrote: > > I did compile from source on the new box and then just copied over the > config files. I will do some more testing and see what I can see. It > worked on the bench before I put it in. The only difference was on the > bench it was shaping traffic from the same subnet as the bridge. Could > this be a problem? > > On 6/21/07, Larry Smith <le...@ec...> wrote: > > On Thursday 21 June 2007 16:33, pra...@gm... wrote: > > > Can anyone consult for us in getting the bw tool build and work pls? > > > Rates open. > > > Thanks, > > > Prab Balasubramanian > > > Sent via BlackBerry from Cingular Wireless > > > > > > -----Original Message----- > > > From: "Andrew Niemantsverdriet" <and...@gm...> > > > > > > Date: Thu, 21 Jun 2007 15:31:31 > > > To:bwm...@li... > > > Subject: [bwm-tools-tech] Not shaping anymore (Where to troubleshoot) > > > > > > > > > I had bwm-tools running in production for about 5 months. I had a > > > harddrive go bad in the box last night. So lucky for me I had backups. > > > I run my server in bridge mode so traffic continued to to flow so I > > > don't think I made any stupid mistakes restoreing the backup because I > > > was in a rush. Here is what I have found so far no shaping is occuring > > > for any IP's listed, bwm-monitor will not work over ssh and traffic is > > > for sure flowing through the bridge again. > > > > > > The box is bridged and has an IP of 192.168.100.10. The clients all > > > connect using the 10.1.1.x subnet. The client "Office" should be > > > limited to about 256k both directions and total bandwidth usage should > > > be about 256k. > > > > > > What is wrong? What won't bwm_monitor work? bwm_montior will just sit > > > there when I run it no user interface appears, the only way to get > > > back to the console is to 'ctrl c' which causes a segmentation fault. > > > Where do I start to troubleshoot? It appears that everything starts > > > fine. I did upgrade from Fedora Core 4 to CentOS 4.3 on the new drive > > > but other than that everything should be identical. > > > > > > My once working config is pasted below (minus some unimportant data): > > > <firewall> > > > <global> > > > <modules> > > > <load name="ip_queue"/> > > > </modules> > > > > > > #Begin Access Classes > > > <class name="AllowSSH"> > > > <address dst="192.168.100.10" proto="tcp" dst-port="22"/> > > > </class> > > > <class name="AllowHTTP"> > > > <address dst="192.168.100.10" proto="tcp" dst-port="80"/> > > > </class> > > > > > > #Begin Traffic Classes > > > <class name="Office_out"> > > > <address src="10.1.1.253"/> > > > </class> > > > <class name="Office_in"> > > > <address src="! 10.1.1.253" dst="10.1.1.253"/> > > > </class> > > > </global> > > > > > > #Access Control Lists > > > <acl> > > > <table name="filter"> > > > <chain name="INPUT" default="DROP"> > > > <rule name="allowed_traffic" target="ACCEPT"> > > > AllowSSH > > > AllowHTTP > > > </rule> > > > </chain> > > > <chain name="FORWARD" default="ACCEPT"> > > > <rule name="controlled_traf" target="bwmd"> > > > Office_in > > > Office_out > > > </rule> > > > <rule name="disabled_traf" target="DROP"> > > > </rule> > > > </chain> > > > <chain name="OUTPUT" default="ACCEPT"> > > > </chain> > > > </table> > > > </acl> > > > > > > #Traffic Flows > > > <traffic> > > > <flow name="traffic_total" max-rate="7680000" queue-len="5" > > > queue-size="4500" report-timeout="60"> > > > <flow name="flow_Office_total" max-rate="32000" report-timeout="60"> > > > <flow name="flow_Office_out" max-rate="32000" report-timeout="60" > > > nfmark="101"> > > > Office_out; > > > </flow> > > > <flow name="flow_Office_in" max-rate="32000" report-timeout="60" > > > nfmark="102"> > > > Office_in; > > > </flow> > > > </flow> > > > > > > </flow> > > > </traffic> > > > </firewall> > > > > > > > While definitely not qualified to speak for BWM-Tools, I highly suspect > (from > > doing similar myself) that you are going to have to actually compile the > > bwm_monitor, bwmd, etc on the new OS (Centos) versus just copying it > over > > from backups (if this is actually what you did). > > > > If you compiled bwm from source on the Centos box, and simply copied > your > > configs in, then something did not go right in the compile, go back and > do it > > again and pay particular attention to the configure logs and the output > of > > the make, make install. > > > > -- > > Larry Smith > > SysAd ECSIS.NET > > sy...@ec... > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > bwm-tools-tech mailing list > > bwm...@li... > > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > -- Regards, Prashant Soni Sr. Network Engineer Elecon Information Technology LTD. +91-9825164844 +91-2692-231217 |
From: Andrew N. <and...@gm...> - 2007-06-22 10:00:35
|
I did compile from source on the new box and then just copied over the config files. I will do some more testing and see what I can see. It worked on the bench before I put it in. The only difference was on the bench it was shaping traffic from the same subnet as the bridge. Could this be a problem? On 6/21/07, Larry Smith <le...@ec...> wrote: > On Thursday 21 June 2007 16:33, pra...@gm... wrote: > > Can anyone consult for us in getting the bw tool build and work pls? > > Rates open. > > Thanks, > > Prab Balasubramanian > > Sent via BlackBerry from Cingular Wireless > > > > -----Original Message----- > > From: "Andrew Niemantsverdriet" <and...@gm...> > > > > Date: Thu, 21 Jun 2007 15:31:31 > > To:bwm...@li... > > Subject: [bwm-tools-tech] Not shaping anymore (Where to troubleshoot) > > > > > > I had bwm-tools running in production for about 5 months. I had a > > harddrive go bad in the box last night. So lucky for me I had backups. > > I run my server in bridge mode so traffic continued to to flow so I > > don't think I made any stupid mistakes restoreing the backup because I > > was in a rush. Here is what I have found so far no shaping is occuring > > for any IP's listed, bwm-monitor will not work over ssh and traffic is > > for sure flowing through the bridge again. > > > > The box is bridged and has an IP of 192.168.100.10. The clients all > > connect using the 10.1.1.x subnet. The client "Office" should be > > limited to about 256k both directions and total bandwidth usage should > > be about 256k. > > > > What is wrong? What won't bwm_monitor work? bwm_montior will just sit > > there when I run it no user interface appears, the only way to get > > back to the console is to 'ctrl c' which causes a segmentation fault. > > Where do I start to troubleshoot? It appears that everything starts > > fine. I did upgrade from Fedora Core 4 to CentOS 4.3 on the new drive > > but other than that everything should be identical. > > > > My once working config is pasted below (minus some unimportant data): > > <firewall> > > <global> > > <modules> > > <load name="ip_queue"/> > > </modules> > > > > #Begin Access Classes > > <class name="AllowSSH"> > > <address dst="192.168.100.10" proto="tcp" dst-port="22"/> > > </class> > > <class name="AllowHTTP"> > > <address dst="192.168.100.10" proto="tcp" dst-port="80"/> > > </class> > > > > #Begin Traffic Classes > > <class name="Office_out"> > > <address src="10.1.1.253"/> > > </class> > > <class name="Office_in"> > > <address src="! 10.1.1.253" dst="10.1.1.253"/> > > </class> > > </global> > > > > #Access Control Lists > > <acl> > > <table name="filter"> > > <chain name="INPUT" default="DROP"> > > <rule name="allowed_traffic" target="ACCEPT"> > > AllowSSH > > AllowHTTP > > </rule> > > </chain> > > <chain name="FORWARD" default="ACCEPT"> > > <rule name="controlled_traf" target="bwmd"> > > Office_in > > Office_out > > </rule> > > <rule name="disabled_traf" target="DROP"> > > </rule> > > </chain> > > <chain name="OUTPUT" default="ACCEPT"> > > </chain> > > </table> > > </acl> > > > > #Traffic Flows > > <traffic> > > <flow name="traffic_total" max-rate="7680000" queue-len="5" > > queue-size="4500" report-timeout="60"> > > <flow name="flow_Office_total" max-rate="32000" report-timeout="60"> > > <flow name="flow_Office_out" max-rate="32000" report-timeout="60" > > nfmark="101"> > > Office_out; > > </flow> > > <flow name="flow_Office_in" max-rate="32000" report-timeout="60" > > nfmark="102"> > > Office_in; > > </flow> > > </flow> > > > > </flow> > > </traffic> > > </firewall> > > > > While definitely not qualified to speak for BWM-Tools, I highly suspect (from > doing similar myself) that you are going to have to actually compile the > bwm_monitor, bwmd, etc on the new OS (Centos) versus just copying it over > from backups (if this is actually what you did). > > If you compiled bwm from source on the Centos box, and simply copied your > configs in, then something did not go right in the compile, go back and do it > again and pay particular attention to the configure logs and the output of > the make, make install. > > -- > Larry Smith > SysAd ECSIS.NET > sy...@ec... > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > |
From: Larry S. <le...@ec...> - 2007-06-22 02:41:51
|
On Thursday 21 June 2007 16:33, pra...@gm... wrote: > Can anyone consult for us in getting the bw tool build and work pls? > Rates open. > Thanks, > Prab Balasubramanian > Sent via BlackBerry from Cingular Wireless > > -----Original Message----- > From: "Andrew Niemantsverdriet" <and...@gm...> > > Date: Thu, 21 Jun 2007 15:31:31 > To:bwm...@li... > Subject: [bwm-tools-tech] Not shaping anymore (Where to troubleshoot) > > > I had bwm-tools running in production for about 5 months. I had a > harddrive go bad in the box last night. So lucky for me I had backups. > I run my server in bridge mode so traffic continued to to flow so I > don't think I made any stupid mistakes restoreing the backup because I > was in a rush. Here is what I have found so far no shaping is occuring > for any IP's listed, bwm-monitor will not work over ssh and traffic is > for sure flowing through the bridge again. > > The box is bridged and has an IP of 192.168.100.10. The clients all > connect using the 10.1.1.x subnet. The client "Office" should be > limited to about 256k both directions and total bandwidth usage should > be about 256k. > > What is wrong? What won't bwm_monitor work? bwm_montior will just sit > there when I run it no user interface appears, the only way to get > back to the console is to 'ctrl c' which causes a segmentation fault. > Where do I start to troubleshoot? It appears that everything starts > fine. I did upgrade from Fedora Core 4 to CentOS 4.3 on the new drive > but other than that everything should be identical. > > My once working config is pasted below (minus some unimportant data): > <firewall> > <global> > <modules> > <load name="ip_queue"/> > </modules> > > #Begin Access Classes > <class name="AllowSSH"> > <address dst="192.168.100.10" proto="tcp" dst-port="22"/> > </class> > <class name="AllowHTTP"> > <address dst="192.168.100.10" proto="tcp" dst-port="80"/> > </class> > > #Begin Traffic Classes > <class name="Office_out"> > <address src="10.1.1.253"/> > </class> > <class name="Office_in"> > <address src="! 10.1.1.253" dst="10.1.1.253"/> > </class> > </global> > > #Access Control Lists > <acl> > <table name="filter"> > <chain name="INPUT" default="DROP"> > <rule name="allowed_traffic" target="ACCEPT"> > AllowSSH > AllowHTTP > </rule> > </chain> > <chain name="FORWARD" default="ACCEPT"> > <rule name="controlled_traf" target="bwmd"> > Office_in > Office_out > </rule> > <rule name="disabled_traf" target="DROP"> > </rule> > </chain> > <chain name="OUTPUT" default="ACCEPT"> > </chain> > </table> > </acl> > > #Traffic Flows > <traffic> > <flow name="traffic_total" max-rate="7680000" queue-len="5" > queue-size="4500" report-timeout="60"> > <flow name="flow_Office_total" max-rate="32000" report-timeout="60"> > <flow name="flow_Office_out" max-rate="32000" report-timeout="60" > nfmark="101"> > Office_out; > </flow> > <flow name="flow_Office_in" max-rate="32000" report-timeout="60" > nfmark="102"> > Office_in; > </flow> > </flow> > > </flow> > </traffic> > </firewall> > While definitely not qualified to speak for BWM-Tools, I highly suspect (from doing similar myself) that you are going to have to actually compile the bwm_monitor, bwmd, etc on the new OS (Centos) versus just copying it over from backups (if this is actually what you did). If you compiled bwm from source on the Centos box, and simply copied your configs in, then something did not go right in the compile, go back and do it again and pay particular attention to the configure logs and the output of the make, make install. -- Larry Smith SysAd ECSIS.NET sy...@ec... |
From: <pra...@gm...> - 2007-06-21 21:34:48
|
Q2FuIGFueW9uZSBjb25zdWx0IGZvciB1cyBpbiBnZXR0aW5nIHRoZSBidyB0b29sIGJ1aWxkIGFu ZCB3b3JrIHBscz8NClJhdGVzIG9wZW4uDQpUaGFua3MsDQpQcmFiIEJhbGFzdWJyYW1hbmlhbiAg DQpTZW50IHZpYSBCbGFja0JlcnJ5IGZyb20gQ2luZ3VsYXIgV2lyZWxlc3MNCg0KLS0tLS1Pcmln aW5hbCBNZXNzYWdlLS0tLS0NCkZyb206ICJBbmRyZXcgTmllbWFudHN2ZXJkcmlldCIgPGFuZHJl d25pZW1hbnRzQGdtYWlsLmNvbT4NCg0KRGF0ZTogVGh1LCAyMSBKdW4gMjAwNyAxNTozMTozMSAN ClRvOmJ3bS10b29scy10ZWNoQGxpc3RzLnNvdXJjZWZvcmdlLm5ldA0KU3ViamVjdDogW2J3bS10 b29scy10ZWNoXSBOb3Qgc2hhcGluZyBhbnltb3JlIChXaGVyZSB0byB0cm91Ymxlc2hvb3QpDQoN Cg0KSSBoYWQgYndtLXRvb2xzIHJ1bm5pbmcgaW4gcHJvZHVjdGlvbiBmb3IgYWJvdXQgNSBtb250 aHMuIEkgaGFkIGENCmhhcmRkcml2ZSBnbyBiYWQgaW4gdGhlIGJveCBsYXN0IG5pZ2h0LiBTbyBs dWNreSBmb3IgbWUgSSBoYWQgYmFja3Vwcy4NCkkgcnVuIG15IHNlcnZlciBpbiBicmlkZ2UgbW9k ZSBzbyB0cmFmZmljIGNvbnRpbnVlZCB0byB0byBmbG93IHNvIEkNCmRvbid0IHRoaW5rIEkgbWFk ZSBhbnkgc3R1cGlkIG1pc3Rha2VzIHJlc3RvcmVpbmcgdGhlIGJhY2t1cCBiZWNhdXNlIEkNCndh cyBpbiBhIHJ1c2guIEhlcmUgaXMgd2hhdCBJ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S0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQpUaGlzIFNGLm5ldCBlbWFpbCBpcyBzcG9u c29yZWQgYnkgREIyIEV4cHJlc3MNCkRvd25sb2FkIERCMiBFeHByZXNzIEMgLSB0aGUgRlJFRSB2 ZXJzaW9uIG9mIERCMiBleHByZXNzIGFuZCB0YWtlDQpjb250cm9sIG9mIHlvdXIgWE1MLiBObyBs aW1pdHMuIEp1c3QgZGF0YS4gQ2xpY2sgdG8gZ2V0IGl0IG5vdy4NCmh0dHA6Ly9zb3VyY2Vmb3Jn ZS5uZXQvcG93ZXJiYXIvZGIyLw0KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX18NCmJ3bS10b29scy10ZWNoIG1haWxpbmcgbGlzdA0KYndtLXRvb2xzLXRlY2hA bGlzdHMuc291cmNlZm9yZ2UubmV0DQpodHRwczovL2xpc3RzLnNvdXJjZWZvcmdlLm5ldC9saXN0 cy9saXN0aW5mby9id20tdG9vbHMtdGVjaA0K |
From: Andrew N. <and...@gm...> - 2007-06-21 21:31:33
|
I had bwm-tools running in production for about 5 months. I had a harddrive go bad in the box last night. So lucky for me I had backups. I run my server in bridge mode so traffic continued to to flow so I don't think I made any stupid mistakes restoreing the backup because I was in a rush. Here is what I have found so far no shaping is occuring for any IP's listed, bwm-monitor will not work over ssh and traffic is for sure flowing through the bridge again. The box is bridged and has an IP of 192.168.100.10. The clients all connect using the 10.1.1.x subnet. The client "Office" should be limited to about 256k both directions and total bandwidth usage should be about 256k. What is wrong? What won't bwm_monitor work? bwm_montior will just sit there when I run it no user interface appears, the only way to get back to the console is to 'ctrl c' which causes a segmentation fault. Where do I start to troubleshoot? It appears that everything starts fine. I did upgrade from Fedora Core 4 to CentOS 4.3 on the new drive but other than that everything should be identical. My once working config is pasted below (minus some unimportant data): <firewall> <global> <modules> <load name="ip_queue"/> </modules> #Begin Access Classes <class name="AllowSSH"> <address dst="192.168.100.10" proto="tcp" dst-port="22"/> </class> <class name="AllowHTTP"> <address dst="192.168.100.10" proto="tcp" dst-port="80"/> </class> #Begin Traffic Classes <class name="Office_out"> <address src="10.1.1.253"/> </class> <class name="Office_in"> <address src="! 10.1.1.253" dst="10.1.1.253"/> </class> </global> #Access Control Lists <acl> <table name="filter"> <chain name="INPUT" default="DROP"> <rule name="allowed_traffic" target="ACCEPT"> AllowSSH AllowHTTP </rule> </chain> <chain name="FORWARD" default="ACCEPT"> <rule name="controlled_traf" target="bwmd"> Office_in Office_out </rule> <rule name="disabled_traf" target="DROP"> </rule> </chain> <chain name="OUTPUT" default="ACCEPT"> </chain> </table> </acl> #Traffic Flows <traffic> <flow name="traffic_total" max-rate="7680000" queue-len="5" queue-size="4500" report-timeout="60"> <flow name="flow_Office_total" max-rate="32000" report-timeout="60"> <flow name="flow_Office_out" max-rate="32000" report-timeout="60" nfmark="101"> Office_out; </flow> <flow name="flow_Office_in" max-rate="32000" report-timeout="60" nfmark="102"> Office_in; </flow> </flow> </flow> </traffic> </firewall> |
From: Prab B. <pra...@gm...> - 2007-05-23 10:19:14
|
Dear BWM tools tech supprt, I could get uptil configure part. When i run make, i am getting the following error msg. root@localhost rrdtool]# cd .. [root@localhost bwm_tools-200603080716]# make make all-recursive make[1]: Entering directory `/root/bwm_tools-200603080716' Making all in rrdtool make[2]: Entering directory `/root/bwm_tools-200603080716/rrdtool' make[2]: *** No rule to make target `all'. Stop. make[2]: Leaving directory `/root/bwm_tools-200603080716/rrdtool' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/bwm_tools-200603080716' make: *** [all] Error 2 [root@localhost bwm_tools-200603080716]# Pls advise. thanks -------- Original Message -------- Subject: Re: Bandwidth management tool Date: Sun, 20 May 2007 17:39:12 -0400 From: Prab Balasubramanian <pra...@gm...> Reply-To: pra...@gm... To: Nigel Kukard <nk...@lb...> CC: Munia Raja <raj...@gm...>, Suresh <lik...@gm...>, Gurunathan gmail <gur...@gm...> References: <464...@gm...> <464...@lb...> Nigel, I could get uptil configure part. When i run make, i am getting the following error msg. root@localhost rrdtool]# cd .. [root@localhost bwm_tools-200603080716]# make make all-recursive make[1]: Entering directory `/root/bwm_tools-200603080716' Making all in rrdtool make[2]: Entering directory `/root/bwm_tools-200603080716/rrdtool' make[2]: *** No rule to make target `all'. Stop. make[2]: Leaving directory `/root/bwm_tools-200603080716/rrdtool' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/bwm_tools-200603080716' make: *** [all] Error 2 [root@localhost bwm_tools-200603080716]# Pls advise. thanks Nigel Kukard wrote: >Hi, > > > >>Can you pls help us out in developing bandwidth management tool. >>Pls reply us with your contact number or any other contact details. >>We really need someone's help in building the tool. >> >> >Best form of support is using the mailing list described on the website. > >If you need more dedicated support or support contracts please let me know. > > > |
From: Prashant S. <spi...@gm...> - 2007-05-04 03:31:15
|
Hey nigel, Thanx for ur sample file.. I really appriciate it. By the way can you please briefly describe the installation of bwm-tools with howto use it, coz i've been so much confused these days bout installing and implementing bwm-tools. I've been given task to put a bandwidth management software in our network. It will be very kind of you tht you are spending ur time for our problems. Can you please make rpm of bwm-tools ? I've alerady tried installing bwm-tools by bwm-tools.tar.gz with rrdtool 1.0.5.0 , but couldn't find firewall.xml file in " /etc/bwm_tools/firewall.xml " . I am looking forward to ur reply regarding the solution... On 5/3/07, Nigel Kukard <nk...@lb...> wrote: > > Hi, > > > That advice I got from some of the mod of a forum called > > Linuxquestions.org <http://Linuxquestions.org>. But I've checked tht > > links yesterday night and those are bandwidth monitoring tools not > > bandwidth shaping tool. > > > > I am still searching for bwm-tools rpm..... I have downloaded > > bwm-tools.tar.gz and also i've installed it , but cannot find > > firewall.xml file as described in the tutorial. > I'll add creating RPM's to my todo list. > > I've attached a sample firewall.xml file, I thought I actually included > in the source but seems not. > > Kind Regards > Nigel > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > > -- Regards, Prashant Soni Sr. Network Engineer Elecon Information Technology LTD. +91-9825164844 +91-2692-231217 |
From: Nigel K. <nk...@lb...> - 2007-05-03 05:32:03
|
Hi, > That advice I got from some of the mod of a forum called > Linuxquestions.org <http://Linuxquestions.org>. But I've checked tht > links yesterday night and those are bandwidth monitoring tools not > bandwidth shaping tool. > > I am still searching for bwm-tools rpm..... I have downloaded > bwm-tools.tar.gz and also i've installed it , but cannot find > firewall.xml file as described in the tutorial. I'll add creating RPM's to my todo list. I've attached a sample firewall.xml file, I thought I actually included in the source but seems not. Kind Regards Nigel |
From: Prashant S. <spi...@gm...> - 2007-05-03 03:21:57
|
Hey dude, That advice I got from some of the mod of a forum called Linuxquestions.org. But I've checked tht links yesterday night and those are bandwidth monitoring tools not bandwidth shaping tool. I am still searching for bwm-tools rpm..... I have downloaded bwm-tools.tar.gz and also i've installed it , but cannot find firewall.xmlfile as described in the tutorial. I am mailing you the tute link.. download it and check it and if u got any success please mail me.. http://bwm-tools.pr.linuxrulz.org/display.php?page=documentation On 5/3/07, Kyaw Thet Lwin <kya...@gm...> wrote: > > Thanks for your advice, fri, but... could you please provide me the > download link for that file. > I tried searching in rpmfind.net, rpm.pbone.net, rpmschool.org, > redhat.com and google.com to no avail. > > Thanks, again. > > > -- > Best Regards > KTL > > > On 5/2/07, Prashant Soni <spi...@gm...> wrote: > Hi There, > > > > > > I am also searching the similer kinda file on net. but can't find it. > > > > > > Some of my friends told me tht they have successfully running copy of > bwm tools of fc4 on fc6. So you can also download rpm for fc4 which > will run on fc6. > > > > > > On 5/2/07, Kyaw Thet Lwin <kya...@gm...> wrote:> > Hello friends, > > > > > > I'm a newbie to bwm_tools. > > I wonder if any of you have a .spec file for Fedora Core 6 > > ? > > > > If so, I would be very grateful if you could share with me. > > > > > > Thanks. > > > > -- > > > Best Regards > > KTL > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > bwm-tools-tech mailing list > > > bwm...@li... > > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > > > > > > > > -- > > Regards, > > > > Prashant Soni > > Sr. Network Engineer > > Elecon Information Technology LTD. > > +91-9825164844 > > +91-2692-231217 > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > bwm-tools-tech mailing list > > bwm...@li... > > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > > > > > -- > Best Regards > KTL > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > -- Regards, Prashant Soni Sr. Network Engineer Elecon Information Technology LTD. +91-9825164844 +91-2692-231217 |
From: Kyaw T. L. <kya...@gm...> - 2007-05-03 03:12:39
|
Thanks for your advice, fri, but... could you please provide me the download link for that file. I tried searching in rpmfind.net, rpm.pbone.net, rpmschool.org, redhat.com and google.com to no avail. Thanks, again. -- Best Regards KTL On 5/2/07, Prashant Soni <spi...@gm...> wrote: Hi There, > > I am also searching the similer kinda file on net. but can't find it. > > Some of my friends told me tht they have successfully running copy of bwm tools of fc4 on fc6. So you can also download rpm for fc4 which will run on fc6. > > > > On 5/2/07, Kyaw Thet Lwin <kya...@gm...> wrote:> Hello friends, > > > I'm a newbie to bwm_tools. > I wonder if any of you have a .spec file for Fedora Core 6 > ? > > If so, I would be very grateful if you could share with me. > > > Thanks. > > -- > Best Regards > KTL > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > > > -- > Regards, > > Prashant Soni > Sr. Network Engineer > Elecon Information Technology LTD. > +91-9825164844 > +91-2692-231217 > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > -- Best Regards KTL |
From: Prashant S. <spi...@gm...> - 2007-05-02 13:12:50
|
Hi There, I am also searching the similer kinda file on net. but can't find it. Some of my friends told me tht they have successfully running copy of bwm tools of fc4 on fc6. So you can also download rpm for fc4 which will run on fc6. On 5/2/07, Kyaw Thet Lwin <kya...@gm...> wrote: > > Hello friends, > > > I'm a newbie to bwm_tools. > I wonder if any of you have a .spec file for Fedora Core 6 > ? > > If so, I would be very grateful if you could share with me. > > > Thanks. > > -- > Best Regards > KTL > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > -- Regards, Prashant Soni Sr. Network Engineer Elecon Information Technology LTD. +91-9825164844 +91-2692-231217 |
From: Kyaw T. L. <kya...@gm...> - 2007-05-02 11:14:08
|
Hello friends, I'm a newbie to bwm_tools. I wonder if any of you have a .spec file for Fedora Core 6 ? If so, I would be very grateful if you could share with me. Thanks. -- Best Regards KTL |
From: Andrew N. <and...@gm...> - 2007-04-04 20:05:17
|
That was it!! Thanks! On 4/4/07, Sudip Karki <sa...@he...> wrote: > hi @ndrew, > Looks like a permisson prob. > try with a root user or r u already while firing this bwm_firewall -l > > will this step works ? > > bwm_firewall --file=/tmp/bwmdiptables > iptables-restore < /tmp/bwmdiptables > > > > ----------------- > Sudip Karki > > > > > > How do I use the bwm_firewall comand on Ubuntu? When I try to do a > > bwm_firewall -l I get an: Failed to open file > > "/etc/sysconfig/iptables": No such file or directory which makes sense > > since this is not a redhat box. What is the easiest way to work around > > that? > > > > Thanks, > > _ > > /-\ ndrew > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your opinions on IT & business topics through brief surveys-and earn > > cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > bwm-tools-tech mailing list > > bwm...@li... > > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > |
From: Sudip K. <sa...@he...> - 2007-04-04 11:33:05
|
hey, Place this tags in the global and the acl section respectively , #Inside the global tag <chain name="FORWARD"> <rule cmd-line="-m mark ! --mark 0x0" target="bwmd"> bwmdfw </rule> </chain> #Inside the acl tag <chain name="FORWARD"> <rule cmd-line="-m mark ! --mark 0x0" target="bwmd"> bwmdfw </rule> </chain> Watch the packets flow of the filter table regarding the queue chain if anything goes wrong. -------------------- Sudip Karki > Ok I am trying to get bwm-tools running on a CentOS 4.4 box. > > It has two network interfaces in a bridge: > > cat /etc/sysconfig/network-scripts/ifcfg-eth0 > DEVICE=eth0 > HWADDR=00:0C:41:E2:A1:03 > ONBOOT=yes > TYPE=Ethernet > BRIDGE=br0 > #IPADDR=192.168.100.98 > #NETMASK=255.255.255.0 > #GATEWAY=192.168.100.1 > > cat /etc/sysconfig/network-scripts/ifcfg-eth1 > DEVICE=eth1 > HWADDR=00:D0:B7:B3:96:69 > ONBOOT=yes > TYPE=Ethernet > BRIDGE=br0 > > cat /etc/sysconfig/network-scripts/ifcfg-br0 > DEVICE=br0 > TYPE=Bridge > IPADDR=192.168.100.98 > NETMASK=255.255.255.0 > ONBOOT=yes > > I my firewall.xml file looks like this: > <firewall> > # Global configuration and access classes > <global> > # Modules we need to load > <modules> > <load name="ip_queue"/> > </modules> > # BEGIN access classes > <class name="ssh_traffic"> > <address dst="192.168.100.98" proto="tcp" > dst-port="22"/> > </class> > <class name="http_traffic"> > <address dst="192.168.100.98" proto="tcp" > dst-port="80"/> > </class> > # END access classes > # Traffic Classes > <class name="laptop_up"> > <address src="192.168.100.97"/> > </class> > <class name="laptop_down"> > <address src="! 192.168.100.97" > dst="192.168.100.97"/> > </class> > </global> > # Access control lists > <acl> > <table name="filter"> > <chain name="INPUT" default="ACCEPT"> > <rule name="allowed_traffic" > target="ACCEPT"> > http_traffic > ssh_traffic > </rule> > </chain> > <chain name="FORWARD" default="ACCEPT"> > </chain> > <chain name="OUTPUT" default="ACCEPT"> > </chain> > </table> > </acl> > # Traffic flows > <traffic> > # Allow about 256k total usage > <flow name="traffic_total" max-rate="32000" > report-timeout="60"> > <flow name="flow_laptop_down" max-rate="25000" > burst-rate="32000" report-timeout="60"> > <queue prio="40" > nfmark="1001">laptop_down;</queue> </flow> > # Only allow 64k upload > <flow name="flow_laptop_up" max-rate="8000" > report-timeout="60"> > <queue prio="30" > nfmark="1002">laptop_up;</queue> > </flow> > </flow> > </traffic> > </firewall> > > I have ip_forwarding turned on in the CentOS box. > > I load the firewall like this: bwm_firewall -l > I then start bwmd in the foreground like this: bwmd -f > I a new terminal I start bwm_monitor and when I look at the stats for > traffic total I don't see any packets flowing even though I am > browsing the web with the laptop > > > When I go to test I expect my laptop that has an IP of 192.168.100.97 to > get no more than 256k of download. Speed test do not show that. What am > I missing? > > If I forgot any important information I can post it. > > Thanks for any help in advance, > _ > /-\ ndrew > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys-and earn > cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech |
From: Sudip K. <sa...@he...> - 2007-04-04 11:30:17
|
hi @ndrew, Looks like a permisson prob. try with a root user or r u already while firing this bwm_firewall -l will this step works ? bwm_firewall --file=/tmp/bwmdiptables iptables-restore < /tmp/bwmdiptables ----------------- Sudip Karki > How do I use the bwm_firewall comand on Ubuntu? When I try to do a > bwm_firewall -l I get an: Failed to open file > "/etc/sysconfig/iptables": No such file or directory which makes sense > since this is not a redhat box. What is the easiest way to work around > that? > > Thanks, > _ > /-\ ndrew > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys-and earn > cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech |
From: Andrew N. <and...@gm...> - 2007-04-03 21:17:52
|
Are all these packages installed? apt-get install build-essential rrdtool libxml2 librrd2-dev libglib2.0-dev libxml2-dev I got bwm-tools and installed but never got it functing. i moved to centos and got stuff working On 4/3/07, John Bii <jo...@mu...> wrote: > I am also trying to install bwm-tools 0.2.3 on Ubuntu 6.06. > > > > ./configure command completes with no problem. > > The make command gives me the following error, what am I missing? > > > > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -DLOG_DIR=\"/var/bwm_tools\" -DRRDTOOL_VER=0 -g -O2 -MT bwm_graph-graph.o -MD > -MP -MF ".deps/bwm_graph-graph.Tpo" -c -o bwm_graph-graph.o `test -f 'graph.c' > || echo './'`graph.c; \ > > then mv -f ".deps/bwm_graph-graph.Tpo" ".deps/bwm_graph-graph.Po"; else > rm -f ".deps/bwm_graph-graph.Tpo"; exit 1; fi > > graph.c: In function ‘writeGraphs’: > > graph.c:637: error: too few arguments to function ‘rrd_graph’ > > make[2]: *** [bwm_graph-graph.o] Error 1 > > make[2]: Leaving directory `/opt/bwm_tools-200603080716/bwm_graph' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/opt/bwm_tools-200603080716' > > make: *** [all] Error 2 > > > > John Bii > > > > > > -- > > John Bii > > School of Medicine > > Moi University > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > |
From: John B. <jo...@mu...> - 2007-04-03 09:02:21
|
I am also trying to install bwm-tools 0.2.3 on Ubuntu 6.06. ./configure command completes with no problem. The make command gives me the following error, what am I missing? if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DLOG_DIR=\"/var/bwm_tools\" -DRRDTOOL_VER=0 -g -O2 -MT bwm_graph-graph.o -MD -MP -MF ".deps/bwm_graph-graph.Tpo" -c -o bwm_graph-graph.o `test -f 'graph.c' || echo './'`graph.c; \ then mv -f ".deps/bwm_graph-graph.Tpo" ".deps/bwm_graph-graph.Po"; else rm -f ".deps/bwm_graph-graph.Tpo"; exit 1; fi graph.c: In function ‘writeGraphs’: graph.c:637: error: too few arguments to function ‘rrd_graph’ make[2]: *** [bwm_graph-graph.o] Error 1 make[2]: Leaving directory `/opt/bwm_tools-200603080716/bwm_graph' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/bwm_tools-200603080716' make: *** [all] Error 2 John Bii -- John Bii School of Medicine Moi University |
From: Andrew N. <and...@gm...> - 2007-03-31 18:37:34
|
Ok I am trying to get bwm-tools running on a CentOS 4.4 box. It has two network interfaces in a bridge: cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=00:0C:41:E2:A1:03 ONBOOT=yes TYPE=Ethernet BRIDGE=br0 #IPADDR=192.168.100.98 #NETMASK=255.255.255.0 #GATEWAY=192.168.100.1 cat /etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE=eth1 HWADDR=00:D0:B7:B3:96:69 ONBOOT=yes TYPE=Ethernet BRIDGE=br0 cat /etc/sysconfig/network-scripts/ifcfg-br0 DEVICE=br0 TYPE=Bridge IPADDR=192.168.100.98 NETMASK=255.255.255.0 ONBOOT=yes I my firewall.xml file looks like this: <firewall> # Global configuration and access classes <global> # Modules we need to load <modules> <load name="ip_queue"/> </modules> # BEGIN access classes <class name="ssh_traffic"> <address dst="192.168.100.98" proto="tcp" dst-port="22"/> </class> <class name="http_traffic"> <address dst="192.168.100.98" proto="tcp" dst-port="80"/> </class> # END access classes # Traffic Classes <class name="laptop_up"> <address src="192.168.100.97"/> </class> <class name="laptop_down"> <address src="! 192.168.100.97" dst="192.168.100.97"/> </class> </global> # Access control lists <acl> <table name="filter"> <chain name="INPUT" default="ACCEPT"> <rule name="allowed_traffic" target="ACCEPT"> http_traffic ssh_traffic </rule> </chain> <chain name="FORWARD" default="ACCEPT"> </chain> <chain name="OUTPUT" default="ACCEPT"> </chain> </table> </acl> # Traffic flows <traffic> # Allow about 256k total usage <flow name="traffic_total" max-rate="32000" report-timeout="60"> <flow name="flow_laptop_down" max-rate="25000" burst-rate="32000" report-timeout="60"> <queue prio="40" nfmark="1001">laptop_down;</queue> </flow> # Only allow 64k upload <flow name="flow_laptop_up" max-rate="8000" report-timeout="60"> <queue prio="30" nfmark="1002">laptop_up;</queue> </flow> </flow> </traffic> </firewall> I have ip_forwarding turned on in the CentOS box. I load the firewall like this: bwm_firewall -l I then start bwmd in the foreground like this: bwmd -f I a new terminal I start bwm_monitor and when I look at the stats for traffic total I don't see any packets flowing even though I am browsing the web with the laptop When I go to test I expect my laptop that has an IP of 192.168.100.97 to get no more than 256k of download. Speed test do not show that. What am I missing? If I forgot any important information I can post it. Thanks for any help in advance, _ /-\ ndrew |
From: Andrew N. <and...@gm...> - 2007-03-30 17:41:44
|
How do I use the bwm_firewall comand on Ubuntu? When I try to do a bwm_firewall -l I get an: Failed to open file "/etc/sysconfig/iptables": No such file or directory which makes sense since this is not a redhat box. What is the easiest way to work around that? Thanks, _ /-\ ndrew |