All of lore.kernel.org
 help / color / mirror / Atom feed
From: gt90bh@zipmail.com.br
To: lartc@vger.kernel.org
Subject: [LARTC] U32 Port Range
Date: Tue, 05 Oct 2004 11:06:13 +0000	[thread overview]
Message-ID: <416254870000037B@www.zipmail.com.br> (raw)

Hi all...
How do i set U32 to filter a port range, instead of a single port?
In normal use: source port 80 we use: "... match ip sport 80 0xffff ..."
- I know that is something about the 0xffff parameter....

I need to filter ports 1 ~ 1024 to a higher priority class... i tried with
IPTABLES MARK and TC FW, but it's not working....

(...)
# iptables -t mangle -A PREROUTING -p tcp -sport 10:1024 -j MARK --set-mark
2
# tc filter add dev eth1 protocol ip parent 1:0 prio 1 handle 2 fw classid
1:1
(...)







------------------------------------------
Use o melhor sistema de busca da Internet
Radar UOL - http://www.radaruol.com.br



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

             reply	other threads:[~2004-10-05 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-05 11:06 gt90bh [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-10-05 14:24 [LARTC] U32 Port Range Thilo Schulz
2004-10-06 11:44 ` Thilo Schulz

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=416254870000037B@www.zipmail.com.br \
    --to=gt90bh@zipmail.com.br \
    --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.