Re: [bwm-tools-tech] Re: Cannot run bwmd
Brought to you by:
nkukard
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... |