All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennee" <alex@bennee.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Better filtering to a class
Date: Mon, 17 Jun 2002 10:31:05 +0000	[thread overview]
Message-ID: <marc-lartc-102430995706096@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102430870005044@msgid-missing>

Adi Nugroho said:
> Dear all,
>
> I want to make a filter for all IRC-Dalnet traffic, so I want to put
> all  traffic for port 6660, 6661, 6662, 6663, 6664, 6665, 6666, 6667,
> 6668, 6669,  7000, 7001, 7002, and 8000 to a class. So, I create a TC
> script as below.
>
> I'm sure, it is not effective, and we can write it in simpler.
> I need help, how to make my script below are simpler.
> The simpler, the better.

One approach would be to use iptables/ipchains to mark your packets and then
select the tc class based on the fw mark. There some examples posted in the
archives of this list or you could look as my firewall script (on my site)
for an example.

Alex
www.bennee.com/~alex/


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

  reply	other threads:[~2002-06-17 10:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-17 10:11 [LARTC] Better filtering to a class Adi Nugroho
2002-06-17 10:31 ` Alex Bennee [this message]
2002-06-17 15:30 ` mdew

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-102430995706096@msgid-missing \
    --to=alex@bennee.com \
    --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.