All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] masquerade and tc problem
@ 2003-07-17  8:23 Balint Laszlo BILLER
  0 siblings, 0 replies; only message in thread
From: Balint Laszlo BILLER @ 2003-07-17  8:23 UTC (permalink / raw)
  To: lartc

Hi,

My friend uses ipchains with kernel 2.4.21 :) It's funny but it's true. The
problem is that he marks the packets and after this the tc filter doesn't
catch them.
ipchains -A input   -s 192.168.1.41/28 -j ACCEPT -m 0x2 -t 0xff 0x2
ipchains -A forward -s 192.168.1.41/28 -j MASQ  -m 0x2
ipchains -A input   -s 192.168.1.240 -j ACCEPT -m  0x3
ipchains -A forward -s 192.168.1.240 -j MASQ -m  0x3
And the filter:
tc filter add dev eth0 protocol ip parent 1:0 handle 2 fw classid 1:2
And after all no packets traverse the following class:
tc class add dev eth0 parent 1:0 classid 1:2 htb rate 1kbit ceil 2kbit prio
20
(rates are examples only for testing).
Any ideas?
Thanks,
Balint Laszlo BILLER, .:[=SysNet=]:.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-17  8:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-17  8:23 [LARTC] masquerade and tc problem Balint Laszlo BILLER

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.