Hello, I´m trying to run traffic shaping on my router (kernel 2.6.15.4, iptables 1.3.5, shorewall 2.2.3, debian sarge). I´ve created necessary files: tcdevices: #INTERFACE IN-BANDWITH OUT-BANDWIDTH eth1 110mbit 10mbit tcclasses: #INTERFACE MARK RATE CEIL PRIORITY OPTIONS eth1 1 1mbit 10mbit 1 #servery&admins eth1 2 full full 1 tcp-ack,tos-minimize-delay eth1 3 1mbit 3mbit 2 #operativ eth1 4 1mbit 3mbit 2 #teachers eth1 5 512kbit 1500kbit 3 #studenti¬ebooky eth1 6 512kbit 1500kbit 3 #wifi eth1 7 256kbit 1000kbit 4 #dhcp eth1 8 256kbit 512kbit 5 default tcrules: #MARK SOURCE DEST PROTO PORT(S) CLIENT USER # PORT(S) #1:P 0.0.0.0/0 0.0.0.0/0 icmp echo-request #1:P 0.0.0.0/0 0.0.0.0/0 icmp echo-reply 1:P 172.16.0.0/24 0.0.0.0/0 all 3:P 172.16.3.0/24 0.0.0.0/0 all 4:P 172.16.26.0/24 0.0.0.0/0 all 5:P 172.16.8.0/24 0.0.0.0/0 all 5:P 172.16.16.0/24 0.0.0.0/0 all 5:P 172.16.17.0/24 0.0.0.0/0 all 5:P 172.16.18.0/24 0.0.0.0/0 all 5:P 172.16.19.0/24 0.0.0.0/0 all 5:P 172.16.20.0/24 0.0.0.0/0 all 5:P 172.16.21.0/24 0.0.0.0/0 all 5:P 172.16.22.0/24 0.0.0.0/0 all 5:P 172.16.23.0/24 0.0.0.0/0 all 5:P 172.16.24.0/24 0.0.0.0/0 all 5:P 172.16.25.0/24 0.0.0.0/0 all 6:P 172.16.9.0/24 0.0.0.0/0 all 7:P 172.16.31.0/24 0.0.0.0/0 all Everythink is configured according this document http://www.shorewall.net/traffic_shaping.htm and all modules are loaded in kernel. Problem is that everything seems to work fine but in fact no traffic shaping is happennig. Can someone try to tell me where can be the problem? Thanks for help. Jiri ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Jiří Červenka escribió:> Hello, > I´m trying to run traffic shaping on my router (kernel 2.6.15.4, > iptables 1.3.5, shorewall 2.2.3, debian sarge). > I´ve created necessary files:shorewall 2.2.3 doesn''t have TS capabilities. :P 2.5.5 or later, in debian sarge, you need to PIN to testing to get a current version of shorewall. http://linuxman.wikispaces.com/PPPPPPS
Cristian Rodriguez napsal(a):> Jiří Červenka escribió: > >> Hello, >> I´m trying to run traffic shaping on my router (kernel 2.6.15.4, >> iptables 1.3.5, shorewall 2.2.3, debian sarge). >> I´ve created necessary files: >> > > shorewall 2.2.3 doesn''t have TS capabilities. :P > > 2.5.5 or later, in debian sarge, you need to PIN to testing to get a > current version of shorewall. > > http://linuxman.wikispaces.com/PPPPPPS >Hello, I´ve upgraded to shorewall 3.0.5. And I´ve finished with this error: Setting up Traffic Control Rules... TC Rule "1:P 172.16.0.0/24 0.0.0.0/0 all " added TC Rule "3:P 172.16.3.0/24 0.0.0.0/0 all " added TC Rule "4:P 172.16.26.0/24 0.0.0.0/0 all " added TC Rule "5:P 172.16.8.0/24 0.0.0.0/0 all " added TC Rule "5:P 172.16.16.0/24 0.0.0.0/0 all " added TC Rule "5:P 172.16.17.0/24 0.0.0.0/0 all " added TC Rule "5:P 172.16.18.0/24 0.0.0.0/0 all " added TC Rule "5:P 172.16.19.0/24 0.0.0.0/0 all " added TC Rule "5:P 172.16.20.0/24 0.0.0.0/0 all " added TC Rule "5:P 172.16.21.0/24 0.0.0.0/0 all " added TC Rule "5:P 172.16.22.0/24 0.0.0.0/0 all " added TC Rule "5:P 172.16.23.0/24 0.0.0.0/0 all " added TC Rule "5:P 172.16.24.0/24 0.0.0.0/0 all " added TC Rule "5:P 172.16.25.0/24 0.0.0.0/0 all " added TC Rule "6:P 172.16.9.0/24 0.0.0.0/0 all " added TC Rule "7:P 172.16.31.0/24 0.0.0.0/0 all " added Validating /etc/shorewall/tcdevices... Validating /etc/shorewall/tcclasses... Processing /etc/shorewall/tcdevices... RTNETLINK answers: Invalid argument We have an error talking to the kernel Processing /etc/shorewall/stop ... Disabling IPV6... Processing /etc/shorewall/stopped ... Terminated Where can be the problem. Thaks for reply. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
On Monday 10 April 2006 02:51, Jiří Červenka wrote:> Processing /etc/shorewall/tcdevices... > RTNETLINK answers: Invalid argument > We have an error talking to the kernel > Processing /etc/shorewall/stop ... > Disabling IPV6... > Processing /etc/shorewall/stopped ... > TerminatedPlease read http://www.shorewall.net/troubleshoot.htm for information about how to troubleshoot this sort of problem and see http://www.shorewall.net/support.htm for information about how to ask for help with such problems. I suspect that your kernel doesn''t have the required traffic-shaping support but that''s just a guess. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
Debian ???? Try modprobe cls_fw Harry Regards....> > > Cristian Rodriguez napsal(a): > >> Ji�à �ervenka escribió: >> >>> Hello, >>> I´m trying to run traffic shaping on my router (kernel 2.6.15.4, >>> iptables 1.3.5, shorewall 2.2.3, debian sarge). >>> I´ve created necessary files: >> >> >> shorewall 2.2.3 doesn''t have TS capabilities. :P >> >> 2.5.5 or later, in debian sarge, you need to PIN to testing to get a >> current version of shorewall. >> >> http://linuxman.wikispaces.com/PPPPPPS > > Hello, > I´ve upgraded to shorewall 3.0.5. And I´ve finished with this error: > > Setting up Traffic Control Rules... > TC Rule "1:P 172.16.0.0/24 0.0.0.0/0 all " added > TC Rule "3:P 172.16.3.0/24 0.0.0.0/0 all " added > TC Rule "4:P 172.16.26.0/24 0.0.0.0/0 all " added > TC Rule "5:P 172.16.8.0/24 0.0.0.0/0 all " added > TC Rule "5:P 172.16.16.0/24 0.0.0.0/0 all " added > TC Rule "5:P 172.16.17.0/24 0.0.0.0/0 all " added > TC Rule "5:P 172.16.18.0/24 0.0.0.0/0 all " added > TC Rule "5:P 172.16.19.0/24 0.0.0.0/0 all " added > TC Rule "5:P 172.16.20.0/24 0.0.0.0/0 all " added > TC Rule "5:P 172.16.21.0/24 0.0.0.0/0 all " added > TC Rule "5:P 172.16.22.0/24 0.0.0.0/0 all " added > TC Rule "5:P 172.16.23.0/24 0.0.0.0/0 all " added > TC Rule "5:P 172.16.24.0/24 0.0.0.0/0 all " added > TC Rule "5:P 172.16.25.0/24 0.0.0.0/0 all " added > TC Rule "6:P 172.16.9.0/24 0.0.0.0/0 all " added > TC Rule "7:P 172.16.31.0/24 0.0.0.0/0 all " added > Validating /etc/shorewall/tcdevices... > Validating /etc/shorewall/tcclasses... > Processing /etc/shorewall/tcdevices... > RTNETLINK answers: Invalid argument > We have an error talking to the kernel > Processing /etc/shorewall/stop ... > Disabling IPV6... > Processing /etc/shorewall/stopped ... > Terminated > > Where can be the problem. > > Thaks for reply. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users >------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642