All of lore.kernel.org
 help / color / mirror / Atom feed
From: "ewan" <ewan@fragworld.co.uk>
To: lartc@vger.kernel.org
Subject: [LARTC] filters with multiple sport matches
Date: Tue, 30 Apr 2002 15:54:38 +0000	[thread overview]
Message-ID: <marc-lartc-102018219607298@msgid-missing> (raw)

I want to filter traffic from source ports X and Y into a filter I try

tc filter add dev eth0 parent 1: protocol ip prio 9 u32 \
   match ip sport X 0xffff \
   flow id 1:30

and it works fine but when i add

tc filter add dev eth0 parent 1: protocol ip prio 9 u32 \
   match ip sport X 0xffff \
   match ip sport Y 0xffff \
   flow id 1:30

I get and illegal match error. whats going wrong and how to i do it
properly?

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

             reply	other threads:[~2002-04-30 15:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-30 15:54 ewan [this message]
2002-04-30 16:21 ` [LARTC] filters with multiple sport matches Nils Lichtenfeld
2002-04-30 16:25 ` ewan
2002-04-30 16:43 ` Nils Lichtenfeld

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-102018219607298@msgid-missing \
    --to=ewan@fragworld.co.uk \
    --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.