Thread: [bwm-tools-tech] Getting started
Brought to you by:
nkukard
From: Jon <bw...@pa...> - 2004-03-13 11:31:01
|
Hi Right, it's taken me a few days to get this installed (I think it's installed...heh) Some background info: Im running Gentoo Linux on a Athlon 1800+, 512mb RAM. --------------------------------------------------------------------------------- root@veritas ~/bwm_tools-0.1.8 $ls AUTHORS Makefile.in bwm_graph config.h.in depcomp ltmain.sh COPYING NEWS bwm_monitor config.log doc missing ChangeLog README bwmd config.status include stamp-h1 INSTALL TODO compile config.sub install-sh Makefile aclocal.m4 config.guess configure lib Makefile.am bwm_firewall config.h configure.ac libtool ---------------------------------------------------------------------------------- Above is pretty much my bwm_tools folder after 'make install' Below is, as you can see /usr/local/bin -------------------------------------------------------------------- root@veritas /usr/local/bin $ls autorespond bwm_firewall bwm_graph bwm_monitor bwmd -------------------------------------------------------------------- How does one get started? I have attempted to do ------------------------------------------------------------------------------ $./bwmd BWM Daemon v0.1.8 - Copyright (c) 2003 Linux Based Systems Design I/O warning : failed to load external entity "/usr/local/etc/bwm_tools/firewall.xml" Failed to load flow data from configuration file! ------------------------------------------------------------------------------ (a) I dont have a /usr/local/etc/ and (b) How do I go about generating the firewall.xml (which i'd presume to be the ruleset) ? Any help would be greatly appreciated. Many thanks, -- Jon |
From: Nigel K. <nk...@lb...> - 2004-03-15 06:12:41
|
> $./bwmd > BWM Daemon v0.1.8 - Copyright (c) 2003 Linux Based Systems Design >=20 > I/O warning : failed to load external entity=20 > "/usr/local/etc/bwm_tools/firewall.xml" > Failed to load flow data from configuration file! > -------------------------------------------------------------------------= ----- >=20 > (a) I dont have a /usr/local/etc/ > and > (b) How do I go about generating the firewall.xml (which i'd presume to= =20 > be the ruleset) ? >=20 > Any help would be greatly appreciated. >=20 > Many thanks, > -- Jon Hi Jon, Check in the doc directory in the source, there is an example .xml file there. You must create the above etc directory and put the configuration file there. bwm_firewall generates an iptables ruleset which can be loaded atomically with iptables-restore. Regards Nigel |
From: Kobe L. <ko...@pu...> - 2004-03-15 08:32:38
|
Maybe you can read http://www.murder4al.be about my own experience with bwm_tools. But in general it comes to this. - Open the example XML file located in /etc/bwm_tools and edit it to suit your needs. - Generate iptables ruleset from this xml file with bwm_firewall - Get that ruleset active (possible editing by hand to merge it with an existing ruleset) or by just loading it with iptables-restore - Start 'bwmd --config=/path/to/xml/file - Enjoy your shaping with bwm_monitor Greetz Kobe ----- Original Message ----- From: "Jon" <bw...@pa...> To: <bwm...@li...> Sent: Saturday, March 13, 2004 12:30 PM Subject: [bwm-tools-tech] Getting started > Hi > > Right, it's taken me a few days to get this installed (I think it's > installed...heh) > > Some background info: > > Im running Gentoo Linux on a Athlon 1800+, 512mb RAM. > > -------------------------------------------------------------------------- ------- > root@veritas ~/bwm_tools-0.1.8 > $ls > AUTHORS Makefile.in bwm_graph config.h.in depcomp > ltmain.sh > COPYING NEWS bwm_monitor config.log doc missing > ChangeLog README bwmd config.status include stamp-h1 > INSTALL TODO compile config.sub install-sh > Makefile aclocal.m4 config.guess configure lib > Makefile.am bwm_firewall config.h configure.ac libtool > -------------------------------------------------------------------------- -------- > > Above is pretty much my bwm_tools folder after 'make install' > > Below is, as you can see /usr/local/bin > -------------------------------------------------------------------- > root@veritas /usr/local/bin > $ls > autorespond bwm_firewall bwm_graph bwm_monitor bwmd > -------------------------------------------------------------------- > > How does one get started? > > I have attempted to do > -------------------------------------------------------------------------- ---- > $./bwmd > BWM Daemon v0.1.8 - Copyright (c) 2003 Linux Based Systems Design > > I/O warning : failed to load external entity > "/usr/local/etc/bwm_tools/firewall.xml" > Failed to load flow data from configuration file! > -------------------------------------------------------------------------- ---- > > (a) I dont have a /usr/local/etc/ > and > (b) How do I go about generating the firewall.xml (which i'd presume to > be the ruleset) ? > > Any help would be greatly appreciated. > > Many thanks, > > -- Jon > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > |
From: Nigel K. <nk...@lb...> - 2004-03-15 19:27:24
|
On Mon, Mar 15, 2004 at 09:32:28AM +0100, Kobe Lenjou wrote: > Maybe you can read http://www.murder4al.be about my own experience with > bwm_tools. >=20 > But in general it comes to this. > - Open the example XML file located in /etc/bwm_tools and edit it to suit > your needs. > - Generate iptables ruleset from this xml file with bwm_firewall > - Get that ruleset active (possible editing by hand to merge it with an > existing ruleset) or by just loading it with iptables-restore > - Start 'bwmd --config=3D/path/to/xml/file > - Enjoy your shaping with bwm_monitor >=20 > Greetz > Kobe Very much appreciated Kobe! Mind if I mention this in the documentation? Maybe i should also include the "Kobe 5 step way to get bwm-tools up" ... hehe :-) Regards Nigel |