All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] incoming traffic + iptable
@ 2007-02-28 14:39 mohican 542003
  2007-03-01  7:21 ` Nikolay Kichukov
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mohican 542003 @ 2007-02-28 14:39 UTC (permalink / raw)
  To: lartc


[-- Attachment #1.1: Type: text/plain, Size: 595 bytes --]

Hello,

i try to use iptables to mark packet and then to filter them with tc. Here
is my script:
  iptables -t mangle -A PREROUTING -s 172.28.54.41/32 -p tcp -j MARK
--set-mark 1
  tc qdisc add dev eth0 handle ffff: ingress
  tc filter add dev eth0 parent ffff: protocol ip prio 1 handle 1 fw police
rate 10000kbit burst 10000kbit mtu 1500k drop flowid :1

I can not use u32 because i have several filter with more than one IP
address in each.

Packets seem to be well marked (command:  iptables -t mangle -L -vnx)
but packets are not filtered with tc.

Can someone help me ?

Thanks,

Olivier.

[-- Attachment #1.2: Type: text/html, Size: 779 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-02 16:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-28 14:39 [LARTC] incoming traffic + iptable mohican 542003
2007-03-01  7:21 ` Nikolay Kichukov
2007-03-01 15:03 ` François Delawarde
2007-03-02  7:38 ` Nikolay Kichukov
2007-03-02 16:44 ` Nikolay Kichukov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.