All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Mueller <andreas@stapelspeicher.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Traffic shaper based on UIDs
Date: Fri, 08 Sep 2006 21:53:55 +0000	[thread overview]
Message-ID: <20060908215355.GA6760@lintera> (raw)
In-Reply-To: <20060902162323.GA2123@swdevel.local>

Hi,

vit@icebrains-soft.com wrote:
...
> But there is no filter based on unix user id (the reason is clear for 
> everybody -- ip packet doesn't contain this information).
> 
> I've found the very interesting netfilter patches at the patch-o-matic: 
...
There is no need for POM patches, you may use the "owner" match from
iptables. (see: man iptables)
> Am I on the right way?  How can I combine the power of netfilter and 
> traffic control systems to solve my problem?
...
You might match for each user and then set a mark or even classify directly
by iptables. (see man, too)

Howto mark: http://lartc.org/howto/lartc.qdisc.filters.html (9.6.2, fwmark)

Btw.. there is no best (classful) qdisc, this varies on your needs.
Nevertheless, I'd take htb because it's relativly simple to setup
(personally I like hfsc though).
You may just try them out. :)

Bye,
Andreas.

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  reply	other threads:[~2006-09-08 21:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-02 16:23 [LARTC] Traffic shaper based on UIDs vit
2006-09-08 21:53 ` Andreas Mueller [this message]
2006-09-08 22:09 ` vit

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=20060908215355.GA6760@lintera \
    --to=andreas@stapelspeicher.org \
    --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.