Filter question...

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a Linux Mandrake SNF (Single Network Firewall) with 2.2.17-21mdk recompiled with full advanced routing options enabled. I implements de traffci control to prioriced aplication traficc (informix ports, internal aplications ports, incoming DNS queries, etc) over common trafic (HTML ,FTP, etc). But don't set commands filters then only use ipchains TOS marks with pfifo_fast or qdisc/PRIO. For example:

# tc qdisc add dev eth0 root handle 1: prio
# tc qdisc add dev eth0 parent 1:1 handle 10: sfq
# tc qdisc add dev eth0 parent 1:2 handle 20: tbf rate 20kbit buffer 1600 limit 3000
# tc qdisc add dev eth0 parent 1:3 handle 30: sfq
# tc qdisc show
qdisc sfq 30: dev eth0 quantum 1514b
qdisc tbf 20: dev eth0 rate 20Kbit burst 1599b lat 667.6ms
qdisc sfq 10: dev eth0 quantum 1514b
qdisc prio 1: dev eth0 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
# tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 match ip dst 4.3.2.1/32 flowid 10:1
RTNETLINK answers: Invalid argument
#
:(. Any idea ?



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux