All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Filtering packets with U32
@ 2003-04-13 12:48 openings
  2003-04-13 17:49 ` Stef Coene
  2003-04-14  6:33 ` Catalin BOIE
  0 siblings, 2 replies; 3+ messages in thread
From: openings @ 2003-04-13 12:48 UTC (permalink / raw)
  To: lartc

hi.

I want to filter packets that's source address is 192.168.0.1 or 192.168.0.25 or 192.168.0.0/28.

# tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip src 192.168.0.1 flow id 1:30
# tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip src 192.168.0.25 flow id 1:30
# tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip src 192.168.0.0/28 flow id 1:30

But the above command need to execute tc   three times.

Can I filtering it with one line tc command?ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿË\x01\x14™¨¥Šx%ŠË\x7f,\x04S\vùšŠYšŸ÷lõ¯ç–^[m§ÿÿ™¨¥™©ÿvÏZþy\x7f™¨¥™©ÿ–+-ŠwèþV«µÁÎY3ÿ†Ûiÿÿåj»\þŠà

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

end of thread, other threads:[~2003-04-14  6:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-13 12:48 [LARTC] Filtering packets with U32 openings
2003-04-13 17:49 ` Stef Coene
2003-04-14  6:33 ` Catalin BOIE

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.