From: "openings" <openings@palgong.knu.ac.kr>
To: lartc@vger.kernel.org
Subject: [LARTC] Filtering packets with U32
Date: Sun, 13 Apr 2003 12:48:40 +0000 [thread overview]
Message-ID: <marc-lartc-105023829508535@msgid-missing> (raw)
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»\þŠà
next reply other threads:[~2003-04-13 12:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-13 12:48 openings [this message]
2003-04-13 17:49 ` [LARTC] Filtering packets with U32 Stef Coene
2003-04-14 6:33 ` Catalin BOIE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-105023829508535@msgid-missing \
--to=openings@palgong.knu.ac.kr \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.