bwm-tools-tech Mailing List for Bandwidth Management Tools (Page 9)
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...> - 2006-01-08 12:19:20
|
Hi Wikan, > Having heard good things about bwmtools I decided to give it a try. When > attempting to compile as per the instructions in the README and INSTALL > files i ran into the following error: > > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libxml2 > -DCONFIG_FILE=\"/etc/bwm_tools/firewall.xml\" > -DLOG_DIR=\"/var/bwm_tools\" -g -O2 -Wall -MT bwmd-autoclass.o -MD > -MP -MF ".deps/bwmd-autoclass.Tpo" -c -o bwmd-autoclass.o `test -f > 'autoclass.c' || echo './'`autoclass.c; \ > then mv -f ".deps/bwmd-autoclass.Tpo" ".deps/bwmd-autoclass.Po"; > else rm -f ".deps/bwmd-autoclass.Tpo"; exit 1; fi > autoclass.c: In function autoClassify_port: > autoclass.c:37: error: invalid storage class for function > tcpPortToPrio > autoclass.c:87: error: invalid storage class for function > udpPortToPrio > make[2]: *** [bwmd-autoclass.o] Error 1 > make[2]: Leaving directory `/usr/src/bwm_tools-0.2.2/bwmd' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/bwm_tools-0.2.2' > make: *** [all] Error 2 > > > The version I have is 0.2.2 and I'm trying to compile it on Fedora Core 4. > > Does anyone know what causes this and how it can be fixed? > Seems like a small gcc4 issue, please try the attached patch and let me know how it goes. -Nigel |
From: Wikan AK <eli...@ya...> - 2006-01-07 11:35:52
|
Having heard good things about bwmtools I decided to give it a try. When attempting to compile as per the instructions in the README and INSTALL files i ran into the following error: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DCONFIG_FILE=\"/etc/bwm_tools/firewall.xml\" -DLOG_DIR=\"/var/bwm_tools\" -g -O2 -Wall -MT bwmd-autoclass.o -MD -MP -MF ".deps/bwmd-autoclass.Tpo" -c -o bwmd-autoclass.o `test -f 'autoclass.c' || echo './'`autoclass.c; \ then mv -f ".deps/bwmd-autoclass.Tpo" ".deps/bwmd-autoclass.Po"; else rm -f ".deps/bwmd-autoclass.Tpo"; exit 1; fi autoclass.c: In function autoClassify_port: autoclass.c:37: error: invalid storage class for function tcpPortToPrio autoclass.c:87: error: invalid storage class for function udpPortToPrio make[2]: *** [bwmd-autoclass.o] Error 1 make[2]: Leaving directory `/usr/src/bwm_tools-0.2.2/bwmd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/bwm_tools-0.2.2' make: *** [all] Error 2 The version I have is 0.2.2 and I'm trying to compile it on Fedora Core 4. Does anyone know what causes this and how it can be fixed? Any help would be appreciated. Thanks. --------------------------------- Yahoo! Photos Showcase holiday pictures in hardcover Photo Books. You design it and well bind it! |
From: Wikan AK <eli...@ya...> - 2006-01-07 11:31:51
|
Having heard good things about bwmtools I decided to give it a try. When attempting to compile as per the instructions in the README and INSTALL files i ran into the following error: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DCONFIG_FILE=\"/etc/bwm_tools/firewall.xml\" -DLOG_DIR=\"/var/bwm_tools\" -g -O2 -Wall -MT bwmd-autoclass.o -MD -MP -MF ".deps/bwmd-autoclass.Tpo" -c -o bwmd-autoclass.o `test -f 'autoclass.c' || echo './'`autoclass.c; \ then mv -f ".deps/bwmd-autoclass.Tpo" ".deps/bwmd-autoclass.Po"; else rm -f ".deps/bwmd-autoclass.Tpo"; exit 1; fi autoclass.c: In function autoClassify_port: autoclass.c:37: error: invalid storage class for function tcpPortToPrio autoclass.c:87: error: invalid storage class for function udpPortToPrio make[2]: *** [bwmd-autoclass.o] Error 1 make[2]: Leaving directory `/usr/src/bwm_tools-0.2.2/bwmd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/bwm_tools-0.2.2' make: *** [all] Error 2 The version I have is 0.2.2 and I'm trying to compile it on Fedora Core 4. Does anyone know what causes this and how it can be fixed? Any help would be appreciated. Thanks. --------------------------------- Yahoo! Photos Showcase holiday pictures in hardcover Photo Books. You design it and well bind it! |
From: Kobe L. <ko...@mo...> - 2005-11-29 15:13:36
|
When using an external firewall all 'passed' traffic should ultimately flow to the bwmd deamon (via the QUEUE target). But make sure it gets marked correctly in the FORWARD chain. Greetz Kobe Andrew Niemantsverdriet wrote: >I have been trying to get an external firewall working with bwmd but >with no luck. > >Where exactally does the traffic have to flow? The "Using BWM_TOOLS" >link says one thing while the manual says another. I can't seem to get >anyone of them to work. > >Any guidance? > >I am using the lastest bwm-tools and the external firewall I am trying >to intergrate with is Shorewall 3.0. The core operating system is >CentOS 4.2. >N�HY隊X���'���u���[������� >ަ�k��!���W�~�鮆�zk��C� 塧m����@^ǚ��^��z�Z�f�z�j�!�x2�������ɫ,���a{��,�H��4�m���i�(��ܢo�v'��jYhr'ׯ:�rX���&��%�ל�f��)�+-o ���l��!�+-��.�ǟ����a��l��b��,���y�+���b��?�+-�w��&��%�לh=== > |
From: Andrew N. <and...@gm...> - 2005-11-29 14:07:48
|
SSBoYXZlIGJlZW4gdHJ5aW5nIHRvIGdldCBhbiBleHRlcm5hbCBmaXJld2FsbCB3b3JraW5nIHdp dGggYndtZCBidXQKd2l0aCBubyBsdWNrLgoKV2hlcmUgZXhhY3RhbGx5IGRvZXMgdGhlIHRyYWZm aWMgaGF2ZSB0byBmbG93PyBUaGUgIlVzaW5nIEJXTV9UT09MUyIKbGluayBzYXlzIG9uZSB0aGlu ZyB3aGlsZSB0aGUgbWFudWFsIHNheXMgYW5vdGhlci4gSSBjYW4ndCBzZWVtIHRvIGdldAphbnlv bmUgb2YgdGhlbSB0byB3b3JrLgoKQW55IGd1aWRhbmNlPwoKSSBhbSB1c2luZyB0aGUgbGFzdGVz dCBid20tdG9vbHMgYW5kIHRoZSBleHRlcm5hbCBmaXJld2FsbCBJIGFtIHRyeWluZwp0byBpbnRl cmdyYXRlIHdpdGggaXMgU2hvcmV3YWxsIDMuMC4gVGhlIGNvcmUgb3BlcmF0aW5nIHN5c3RlbSBp cwpDZW50T1MgNC4yLgo= |
From: Andrew N. <and...@gm...> - 2005-10-27 01:25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ID48ZmxvdyBuYW1lPSJubnRwX2luIiBtYXgtcmF0ZT0i MjQwMDAiIGJ1cnN0LXJhdGU9IjMyMDAwIj4KPiA+IDxxdWV1ZSBwcmlvPSI5OSIgbmZtYXJrPSIx MDEiPgo+ID4gY2xhc3Nfbm50cF9pbgo+ID4gPC9xdWV1ZT4KPiA+PC9mbG93Pgo+ID4KPiA+Cj4g Pgo+ID4tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tCj4gPlRoaXMgU0YuTmV0IGVtYWlsIGlzIHNwb25zb3JlZCBieToKPiA+UG93ZXIgQXJjaGl0 ZWN0dXJlIFJlc291cmNlIENlbnRlcjogRnJlZSBjb250ZW50LCBkb3dubG9hZHMsIGRpc2N1c3Np b25zLAo+ID5hbmQgbW9yZS4gaHR0cDovL3NvbHV0aW9ucy5uZXdzZm9yZ2UuY29tL2libWFyY2gu dG1wbAo+ID5fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+ ID5id20tdG9vbHMtdGVjaCBtYWlsaW5nIGxpc3QKPiA+YndtLXRvb2xzLXRlY2hAbGlzdHMuc291 cmNlZm9yZ2UubmV0Cj4gPmh0dHBzOi8vbGlzdHMuc291cmNlZm9yZ2UubmV0L2xpc3RzL2xpc3Rp bmZvL2J3bS10b29scy10ZWNoCj4gPgo+ID4KPiA+Cj4gPgo+Cg== |
From: Kobe L. <Ko...@pu...> - 2005-10-04 07:09:32
|
It's easy, just write a mark rule for the 119 port, something likde this <class name="nntp_in"> <address name="whetever" src-iface="eth1" proto="tcp" src="maybe add something here" dst="or here" src-port="119" /> </class> Andrew Niemantsverdriet wrote: >Ok well I have been using bwm-tools for quite a while now. It is >awesome, I still have some things that I would like to do with it but >have not had time to yet. Anyway I their a way to limit that a port can >use. I have a user who loves news groups and is downloading them 24x7 >that puts makes me have to throttle him way down so he does not affect >other users. My question is can I just limit the port (119 in this case) >to a specific speed? I know that in the documentation this is mentioned. >I just don't see how. > >The part below I think I got figured out I just don't know how to make >the class_nntp_in. Any help? > > ><flow name="nntp_in" max-rate="24000" burst-rate="32000"> > <queue prio="99" nfmark="101"> > class_nntp_in > </queue> ></flow> > > > >------------------------------------------------------- >This SF.Net email is sponsored by: >Power Architecture Resource Center: Free content, downloads, discussions, >and more. http://solutions.newsforge.com/ibmarch.tmpl >_______________________________________________ >bwm-tools-tech mailing list >bwm...@li... >https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > > > |
From: Andrew N. <and...@gm...> - 2005-10-03 23:36:52
|
Ok well I have been using bwm-tools for quite a while now. It is awesome, I still have some things that I would like to do with it but have not had time to yet. Anyway I their a way to limit that a port can use. I have a user who loves news groups and is downloading them 24x7 that puts makes me have to throttle him way down so he does not affect other users. My question is can I just limit the port (119 in this case) to a specific speed? I know that in the documentation this is mentioned. I just don't see how. The part below I think I got figured out I just don't know how to make the class_nntp_in. Any help? <flow name="nntp_in" max-rate="24000" burst-rate="32000"> <queue prio="99" nfmark="101"> class_nntp_in </queue> </flow> |
From: <and...@sk...> - 2005-09-21 18:52:25
|
Hi all, Having heard good things about bwmtools I decided to give it a try. When attempting to compile as per the instructions in the README and INSTALL files i ran into the following error: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DCONFIG_FILE=\"/etc/bwm_tools/firewall.xml\" -DLOG_DIR=\"/var/bwm_tools\" -g -O2 -Wall -MT bwmd-autoclass.o -MD -MP -MF ".deps/bwmd-autoclass.Tpo" -c -o bwmd-autoclass.o `test -f 'autoclass.c' || echo './'`autoclass.c; \ then mv -f ".deps/bwmd-autoclass.Tpo" ".deps/bwmd-autoclass.Po"; else rm -f ".deps/bwmd-autoclass.Tpo"; exit 1; fi autoclass.c: In function autoClassify_port: autoclass.c:37: error: invalid storage class for function tcpPortToPrio autoclass.c:87: error: invalid storage class for function udpPortToPrio make[2]: *** [bwmd-autoclass.o] Error 1 make[2]: Leaving directory `/usr/src/bwm_tools-0.2.2/bwmd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/bwm_tools-0.2.2' make: *** [all] Error 2 The version I have is 0.2.2 and I'm trying to compile it on Fedora Core 4. Does anyone know what causes this and how it can be fixed? Any help would be appreciated. Thanks. |
From: Nigel K. <nk...@lb...> - 2005-09-06 08:46:14
|
Gianluca Francavilla wrote: >Hi folks, > >After a lot of time searching the web for a badwidth throttling system, I >found bwm_tools and I must admit I simply love this tool. I installed it on >my firewall and it worked perfectly. > > I'm glad :-) >This morning I found a bad surprise though, my firewall crashed and all I >have found in the logs are these entries: > >Sep 6 09:08:42 zizou bwmd: Failed to ACCEPT packet >Sep 6 09:09:13 zizou last message repeated 1325 times >Sep 6 09:09:15 zizou last message repeated 92 times > > > I saw this once aswell..... that is once few years! I think it could be related to packets with ECN bit set, bwm-tools tries to handle this... although I think that handling might be a bit b0rked. Someone else reported a similar problem, I therefore disabled ECN/QOS/PREC bit fiddling in the latest devel snapshot. Can you try the latest snapshot and see if it doesn't solve your problem? By the way, how often does it occur? Regards Nigel |
From: Gianluca F. <g.f...@io...> - 2005-09-06 08:06:48
|
Hi Nigel, Thanks a lot for your quick reply, I will download and istall the latest devel snapshot today and try it right out. The daemon was restarted this morning about a quarter to nine and as u saw the log reported the error about half an hour after. Yesterday the daemon ran for the whole day and the error occurred at night. It seems to be happening randomly. Best regards, Gianluca -----Original Message----- From: Nigel Kukard [mailto:nk...@lb...] Sent: Tuesday, September 06, 2005 9:46 AM To: g.f...@io... Cc: bwm...@li... Subject: Re: [bwm-tools-tech] Problems with bwmd Gianluca Francavilla wrote: >Hi folks, > >After a lot of time searching the web for a badwidth throttling system, I >found bwm_tools and I must admit I simply love this tool. I installed it on >my firewall and it worked perfectly. > > I'm glad :-) >This morning I found a bad surprise though, my firewall crashed and all I >have found in the logs are these entries: > >Sep 6 09:08:42 zizou bwmd: Failed to ACCEPT packet >Sep 6 09:09:13 zizou last message repeated 1325 times >Sep 6 09:09:15 zizou last message repeated 92 times > > > I saw this once aswell..... that is once few years! I think it could be related to packets with ECN bit set, bwm-tools tries to handle this... although I think that handling might be a bit b0rked. Someone else reported a similar problem, I therefore disabled ECN/QOS/PREC bit fiddling in the latest devel snapshot. Can you try the latest snapshot and see if it doesn't solve your problem? By the way, how often does it occur? Regards Nigel |
From: Gianluca F. <g.f...@io...> - 2005-09-06 07:37:55
|
Hi folks, After a lot of time searching the web for a badwidth throttling system, I found bwm_tools and I must admit I simply love this tool. I installed it on my firewall and it worked perfectly. This morning I found a bad surprise though, my firewall crashed and all I have found in the logs are these entries: Sep 6 09:08:42 zizou bwmd: Failed to ACCEPT packet Sep 6 09:09:13 zizou last message repeated 1325 times Sep 6 09:09:15 zizou last message repeated 92 times I'm running a SuSE Linux 9.2 - kernel 2.6.8-24-smp with bwm_tools vers. 0.2.1 and iptables 1.2.11 My bwmd config is rather simple, I only throttled incoming http: <firewall> <traffic> <flow name="http_in" max-rate="64000" burst-rate="64000" nfmark="100"/> </traffic> </firewall> I'm marking packets coming from the outside interface from port 80 in the prerouting chain of the mangle table, and enqueing them in the forward chain. The only strange thing that I've thought is that since I have set input, forward and output chain to DROP, maybe I'm missing some rules to allow traffic to and from the daemon itself. Anyone got a clue on this? Any help appreciated. Thxs, --------------------------------------- Gianluca Francavilla System Administrator ION Trading S.r.l Via San Martino, 52 - 56125 Pisa - Italy Tel. +39 050 220371 Email g.f...@io... --------------------------------------- |
From: bhaskar b. <bhe...@ya...> - 2005-09-02 11:37:16
|
hi, I'm getting the following error while starting the iptables with the rules made by bwm. Please guide. +++++++++++++++++++++++++++++++++++++++++++++ service iptables start Flushing all current rules and user defined chains: [ OK ] Clearing all current rules and user defined chains: [ OK ] Applying iptables firewall rules: /etc/init.d/iptables: line 205: 15919 Done grep -v "^[[:space:]]*#" $IPTABLES_CONFIG 15920 | grep -v '^[[:space:]]*$' 15921 Segmentation fault | /sbin/iptables-restore -c [FAILED] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ the file /etc/syconfig/iptables is as follows: # Generated using BWM Firewall v0.2.1: Fri Sep 2 16:37:18 2005 *mangle :OUTPUT ACCEPT :INPUT ACCEPT :FORWARD ACCEPT -A FORWARD --destination-port 80 --in-interface eth1 -j MARK --set-mark 200 -A FORWARD --destination-port 81 --in-interface eth1 -j MARK --set-mark 201 -A FORWARD --destination-port 25 --in-interface eth1 -j MARK --set-mark 202 -A FORWARD --in-interface eth1 -j MARK --set-mark 203 COMMIT *filter :OUTPUT ACCEPT :bwmd - :INPUT ACCEPT :FORWARD ACCEPT -A bwmd -m mark ! --mark 0 -j QUEUE COMMIT *nat :POSTROUTING ACCEPT -A POSTROUTING --source 192.168.1.0/24 -j MASQUERADE COMMIT ++++++++++++++++++++++++++++++++++++++++++++++++ Nigel Kukard <nk...@lb...> wrote: Quoting bhaskar baruah : > ++++++++++++++++++++++++++++++++++++ > * - ERROR - > * libxml >= 2.5.0 required, this includes the > development libraries and headers > ++++++++++++++++++++++++++++++++++++++++ > rpm -q libxml2 > libxml2-2.5.4-3.rh9 You need libxml2-devel installed aswell -Nigel __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: bhaskar b. <bhe...@ya...> - 2005-08-28 02:37:42
|
Hi, Thanks for your advice. Its installed now. Working on the configuration file for the moment. regards bheku --- Nigel Kukard <nk...@lb...> wrote: > Quoting bhaskar baruah <bhe...@ya...>: > > > ++++++++++++++++++++++++++++++++++++ > > * - ERROR - > > * libxml >= 2.5.0 required, this includes the > > development libraries and headers > > ++++++++++++++++++++++++++++++++++++++++ > > rpm -q libxml2 > > libxml2-2.5.4-3.rh9 > > You need libxml2-devel installed aswell > > > -Nigel > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Nigel K. <nk...@lb...> - 2005-08-27 13:34:27
|
Quoting bhaskar baruah <bhe...@ya...>: > ++++++++++++++++++++++++++++++++++++ > * - ERROR - > * libxml >= 2.5.0 required, this includes the > development libraries and headers > ++++++++++++++++++++++++++++++++++++++++ > rpm -q libxml2 > libxml2-2.5.4-3.rh9 You need libxml2-devel installed aswell -Nigel |
From: bhaskar b. <bhe...@ya...> - 2005-08-27 06:49:06
|
Hi, I'm getting the follwing error while trying to install the new version bwm. ++++++++++++++++++++++++++++++++++++ checking for libxml - version >= 2.5.0... no *** The xml2-config script installed by LIBXML could not be found *** If libxml was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the XML2_CONFIG environment variable to the *** full path to xml2-config. * - ERROR - * libxml >= 2.5.0 required, this includes the development libraries and headers ++++++++++++++++++++++++++++++++++++++++ when I check my system I find:: rpm -q libxml-devel libxml-devel-1.8.17-8 rpm -q libxml2 libxml2-2.5.4-3.rh9 rpm -q libxml libxml-1.8.17-8 Please guide how to overcome this error ? which package I need to install ?? you can mail to me to this id. Thanks with kind regards bheku __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Godfred Ofori-S. <go...@gh...> - 2005-08-12 14:51:41
|
Hello, i am trying to install version 2.1 on fedora core 4 with ./configure --with-rrdtool2 --with-rrdtool-source make and this is the error i get. can anyone help me ====================================== ../rrdtool/src/.libs/librrd.a(art_rgba_svp.o) (.text+0x7f3):/home/stapee/bwm_tools-0.2.1/rrdtool/src/art_rgba_svp.c:291: undefined reference to `art_svp_render_aa' collect2: ld returned 1 exit status make[2]: *** [bwm_graph] Error 1 make[2]: Leaving directory `/home/stapee/bwm_tools-0.2.1/bwm_graph' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/stapee/bwm_tools-0.2.1' make: *** [all] Error 2 ============================= regard godfred |
From: Kobe L. <ko...@mo...> - 2005-06-30 07:09:35
|
Hi, If you're just editing the rates you don't need to use bwm_firewall or so, since the rate control is purely in bwmd. So just restart bwmd and you're in business. Greetz Kobe Andrew Niemantsverdriet wrote: >A couple of questions, mostly because I don't have a test box setup >only a production one. > >When I edit firewall.xml to change a users max rate and reload it >using bwm_firewall -l do I also need to restart bwmd? Is there a built >in function to do this or is a script like this the best way: > >#!/bin/bash >PROG=bwmd >killall $PROG >./bwmd > >Also if a restart of bwmd is required it would be nice just to type >"bwmd restart" instead of a external script. > >Thanks, > > _ >/-\ ndrew > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >_______________________________________________ >bwm-tools-tech mailing list >bwm...@li... >https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > > > |
From: Kobe L. <ko...@mo...> - 2005-06-30 07:06:05
|
Hi, When you edit your xml file and only change the rates you don't need to use bwm_firewall, just restart bwmd and you're updated numbers are in effect. Greetz Kobe Andrew Niemantsverdriet wrote: >A couple of questions, mostly because I don't have a test box setup >only a production one. > >When I edit firewall.xml to change a users max rate and reload it >using bwm_firewall -l do I also need to restart bwmd? Is there a built >in function to do this or is a script like this the best way: > >#!/bin/bash >PROG=bwmd >killall $PROG >./bwmd > >Also if a restart of bwmd is required it would be nice just to type >"bwmd restart" instead of a external script. > >Thanks, > > _ >/-\ ndrew > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >_______________________________________________ >bwm-tools-tech mailing list >bwm...@li... >https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > > > |
From: Giang Hu <fre...@gm...> - 2005-06-30 02:51:38
|
Hi Andrew Niemantsverdriet, A web proxy could helps you, I think ;-) On 6/30/05, Andrew Niemantsverdriet <and...@gm...> wrote: >=20 > Hi, >=20 > On 6/29/05, Giang Hu <fre...@gm...> wrote: > > Hi Andrew Niemantsverdriet, > > > > > > On 6/30/05, Andrew Niemantsverdriet < and...@gm...> wrote: > > > Hi, > > > > > > On 6/28/05, Nigel Kukard < nk...@lb...> wrote: > > > > Hi Andrew, > > > > > > > > > > > > Andrew Niemantsverdriet wrote: > > > > > > > > >Is it possible to have the burst set for a period of time? Like I= =20 > want > > > > >to allow people to burst for 60 or so seconds and then get lowered > > > > >down to their set speed even if the pipe is not full. If not that= =20 > is a > > > > >feature that I would like to see some day. > > > > > > > > > > > > > > Hrmm, I think this is impossible for the following reason. > > > > > > > > Say user exceeds his bandwidth by 150%, after 60s you down his spee= d=20 > to > > > > 100% of his allowed rate, his speed them drops to 90% of his=20 > allowable > > > > rate, then increases again. > > > > > > > > 1. How will you know when to start the 60s timeout? When he hits=20 > 100%? > > > > what about drops in speed because of latency? > > > > > > > > 2. If you start the 60s timeout each time his usage hits 100% and= =20 > drop > > > > it after 60s, it could drop below 100% then rise again, triggering= =20 > the > > > > 60s timeout. > > > > > > > > 3. You could however have a grace period of say 1hr, after which he= =20 > can > > > > burst again for 60s? > > > > > > > > > > This is what I was thinking. Since most of traffic at least on my > > > network is web browsing and there for very bursty type traffic. > > > However people still do download stuff I don't want them to download > > > at the burst rate. So a person gets to burst for 60 seconds if after > > > that 60 seconds they are still using 100% of their allocated bandwidt= h > > > they enter a penalty period for a hour or so once they are in the > > > penalty period no bursting any longer just a hard set rate. After the= y > > > get out of the penalty period they are again allowed to burst until > > > they hit 100% for 60secs then back to the penalty box. > > > > I have few comments: > > 1. Its not easy to implement limitation to individual user traffic.=20 > AFAIK, > > current bwmd could only limit whole traffic. > > 2. Whats benifit you may gain from idea? Why dont you set burst rate to > > user rate? > > User does not gain much from 60s download except big huge bandwidth ;) >=20 >=20 > Mostly it is to benifit my network. I have mainly wireless customers > and the time that the customers "use the air" is at a preiumim. So if > I can provide fast speed for general browsing and then let downloads > run at a slower speed it will allow more air time for other clients. >=20 >=20 > > > > I don't understand how a 60s timeout could be implemented even if i= t > > > > were possible, if anyone can come up with a solution I'm more than > > > > willing to listen. > > > > > > I have no idea on how to implement this just an idea on how it should > > work. > > > > Could you implement your idea? I have few sugestion: > > 1. Add two field: lock_rate to traffic data > > 2. Change traffic rate checking to check lock_rate > > if (lock_rate < user_rate) > > go as normal > > else > > limit to lock_rate > > 3. Create a timer to check traffic rate (hardest). > > > > Just a thought, > > Giang Hu > > > > > > ;-) > > > > > > > > > > > > Kind regards > > > > Nigel > > > > > > > > > > Thanks, > > > _ > > > /-\ ndrew > > > > > > > > > -- > > You are in control of your own wonderful life :) > > > Thanks for the suggestions! > -- > _ > /-\ ndrew >=20 --=20 You are in control of your own wonderful life :) |
From: Andrew N. <and...@gm...> - 2005-06-29 18:44:33
|
Hi, On 6/28/05, Nigel Kukard <nk...@lb...> wrote: > Hi Andrew, >=20 >=20 > Andrew Niemantsverdriet wrote: >=20 > >Is it possible to have the burst set for a period of time? Like I want > >to allow people to burst for 60 or so seconds and then get lowered > >down to their set speed even if the pipe is not full. If not that is a > >feature that I would like to see some day. > > > > > Hrmm, I think this is impossible for the following reason. >=20 > Say user exceeds his bandwidth by 150%, after 60s you down his speed to > 100% of his allowed rate, his speed them drops to 90% of his allowable > rate, then increases again. >=20 > 1. How will you know when to start the 60s timeout? When he hits 100%? > what about drops in speed because of latency? >=20 > 2. If you start the 60s timeout each time his usage hits 100% and drop > it after 60s, it could drop below 100% then rise again, triggering the > 60s timeout. >=20 > 3. You could however have a grace period of say 1hr, after which he can > burst again for 60s? >=20 This is what I was thinking. Since most of traffic at least on my network is web browsing and there for very bursty type traffic. However people still do download stuff I don't want them to download at the burst rate. So a person gets to burst for 60 seconds if after that 60 seconds they are still using 100% of their allocated bandwidth they enter a penalty period for a hour or so once they are in the penalty period no bursting any longer just a hard set rate. After they get out of the penalty period they are again allowed to burst until they hit 100% for 60secs then back to the penalty box. > I don't understand how a 60s timeout could be implemented even if it > were possible, if anyone can come up with a solution I'm more than > willing to listen. I have no idea on how to implement this just an idea on how it should work.= =20 > ;-) >=20 >=20 > Kind regards > Nigel >=20 Thanks, _ /-\ ndrew |
From: Andrew N. <and...@gm...> - 2005-06-29 18:28:46
|
A couple of questions, mostly because I don't have a test box setup only a production one. When I edit firewall.xml to change a users max rate and reload it using bwm_firewall -l do I also need to restart bwmd? Is there a built in function to do this or is a script like this the best way: #!/bin/bash PROG=3Dbwmd killall $PROG ./bwmd Also if a restart of bwmd is required it would be nice just to type "bwmd restart" instead of a external script. Thanks, _ /-\ ndrew |
From: Nigel K. <nk...@lb...> - 2005-06-28 12:39:12
|
Hi Andrew, Andrew Niemantsverdriet wrote: >Is it possible to have the burst set for a period of time? Like I want >to allow people to burst for 60 or so seconds and then get lowered >down to their set speed even if the pipe is not full. If not that is a >feature that I would like to see some day. > > Hrmm, I think this is impossible for the following reason. Say user exceeds his bandwidth by 150%, after 60s you down his speed to 100% of his allowed rate, his speed them drops to 90% of his allowable rate, then increases again. 1. How will you know when to start the 60s timeout? When he hits 100%? what about drops in speed because of latency? 2. If you start the 60s timeout each time his usage hits 100% and drop it after 60s, it could drop below 100% then rise again, triggering the 60s timeout. 3. You could however have a grace period of say 1hr, after which he can burst again for 60s? I don't understand how a 60s timeout could be implemented even if it were possible, if anyone can come up with a solution I'm more than willing to listen. ;-) Kind regards Nigel |
From: Andrew N. <and...@gm...> - 2005-06-23 17:38:14
|
Is it possible to have the burst set for a period of time? Like I want to allow people to burst for 60 or so seconds and then get lowered down to their set speed even if the pipe is not full. If not that is a feature that I would like to see some day. |
From: gottfried h. <got...@on...> - 2005-06-21 10:01:44
|
thx a lot! this iptables-part made bwm "beep" ;) =2DN bwmd =2DA bwmd -m mark ! --mark 0 -j QUEUE =2DA bwmd -j ACCEPT =2DA INPUT -j bwmd i think this was pushing enough so i can take further steps. thx again! greetinx! gottfried On Tuesday 21 June 2005 11:53, Kobe Lenjou wrote: > Please include an 'iptables -L -nv' output. > > You probably haven't entered a QUEUE target, try this > > -N bwmd > -A bwmd -m mark ! --mark 0 -j QUEUE > -A bwmd -j ACCEPT > -A INPUT -j bwmd > > and possibly > -A FORWARD -j bwmd > > Greetz > Kobe > > gottfried hufnagel wrote: > >dear list! > > > >hope this one is not toooo annoying for you. > > > >i'm trying to get bwm_tools running/configured. > >i've tried to keep my config-file as simple as possible just to get a > > simple "beep" out of bwm ;) but no success .... ok ... this is, what i'= ve > > done so far: > > > > i have told iptables in the mangle-table to mark all incoming packets > > with "001" > >---> > >-A INPUT -i eth0 -j MARK --set-mark 001 > ><---- > > > >the bwm-config file looks like this > >----> > ><firewall> > > <global> > > <modules> > > <load name=3D"ip_queue"/> > > > > </modules> > > </global> > > > > <acl> > > </acl> > > > > <nat> > > </nat> > > > > # Traffic flows > > <traffic> > > <flow name=3D"flow_main" nfmark=3D"001"> > > </flow> > > <group name=3D"group_incoming" report-timeout=3D"30"> > > flow_main; > > </group> > > </traffic> > ></firewall> > ><---- > > > >so.. i have started the bwmd (using the -c option) > >when i start bwm_monitor it tells me that there is NO traffic. (i know it > > is) where have i gone wrong??? > > > >any help appreciated! > > > >greetinx > >gottfried > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclick > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech =2D-=20 Ing. Gottfried Hufnagel Systemadministrator Zentraler Informatikdienst =D6sterreichische Nationalbibliothek Josefsplatz 1, 1015 Wien Tel.: (+43 1) 53 410 - 607 =46ax: (+43 1) 53 410 - 610 Email: got...@on... Web: www.onb.ac.at |