| |
| |
| |
|
Comments:
<0> tc qdisc add dev eth2 root handle 1: htb default 12 <0> RTNETLINK answers: Invalid argument <0> what am I doing wrong? <1> maybe you don't have the htb module available ? <1> modprobe -l | grep htb
<0> /kernel/net/sched/sch_htb.ko <1> another problem could be that if you have a root qdisc already installed <0> how do I check if I do? <1> tc qdisc ls dev eth2 <0> qdisc pfifo_fast 0: bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 <1> ok then you don't <1> pfifo_fast is the default <1> can you try some other qdisc than htb ? <1> say sfq <1> (and leave out the default from that one, sfq doesn't have a default parameter) <0> hey actually that command works now. weird. <0> tc filter add dev eth2 protocol ip parent 1:0 prio 1 handle fw cl***id 1:11 -> RTNETLINK answers: Invalid argument <0> now i'm getting that error from this one :/ <0> tc filter add dev eth2 protocol ip parent 1:0 prio 1 handle 1 fw cl***id 1:11 <0> RTNETLINK answers: Invalid argument <0> We have an error talking to the kernel
<0> I'm actually using a tc script (shorewall) so I have no idea what I'm doing :/ I should probably learn something about tc but it's quite confusing for someone who doesn't know how tc basically works <0> which is why I'm using shorewall in the first place <1> intx, sorry for being away <1> intx, "that command works now" => you got htb to work ? <1> intx, do you have a cl*** 1:11 ? i.e. tc cl*** add dev eth2 parent x:y cl***id 1:11 htb ... ? <2> nobody has heard about a python wrapper to nfnetlink_queue mechanism ? <2> the http://woozle.org/~neale/src/ipqueue/ I use is kinda deprecated now <2> (s/nobody/anybody) <3> hi <4> Hi, I'm trying to make a web interface to manage my iptables. So i would like to know how can i launch /sbin/iptables with a safe way. I try chmod +s but i think it's the worst way to make my script. Someone have a solution ? Thanks ! Flav <5> no idea? Oo <6> you can try sudo <5> sudo is really a safe way? <6> yeah, you can specify what command a user or a group is allowed to run as root without giving that level of access <6> you just need to make sure your web code is solid and specify what the calls will be ahead of time <6> its safer than seting suid root <5> ok :) <7> re
Return to
#netfilter or Go to some related
logs:
#web bash scandic letters #linux packet pidgeon #perl wrong collation vim ubuntu sqlobject too many connections iptables -m recent syn flood gentoo libpangoxft firefox inurl:xorg ButtonMapping
|
|