From: vit@icebrains-soft.com
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Traffic shaper based on UIDs
Date: Fri, 08 Sep 2006 22:09:53 +0000 [thread overview]
Message-ID: <20060908220953.GA17229@swdevel.local> (raw)
In-Reply-To: <20060902162323.GA2123@swdevel.local>
Hello, Andreas!
Yes, the owner match is great. But I can mark only outgoing packets
this way. And as far as I know, traffic shaper needs to know who is
the owner of the incoming packets to do the shaper job.
And that's why it is required to patch the kernel, it seems to me.
Have I misunderstood something?
But I've recently sent to this mailing list another letter related
to this problem. It seems to me, if each unix user would use the
different IP address, it is not a problem to do the shaping.
Thank you for your response.
> 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
--
Sincerely yours, Vitaly Repin
Ice Brains Software, ltd
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2006-09-08 22:09 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
2006-09-08 22:09 ` vit [this message]
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=20060908220953.GA17229@swdevel.local \
--to=vit@icebrains-soft.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.