Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Axel Loewe <axel@lk2k.myip.org>
To: lartc@vger.kernel.org
Subject: [LARTC] shaping marked packets
Date: Fri, 25 Oct 2002 22:25:56 +0000	[thread overview]
Message-ID: <marc-lartc-103558480315330@msgid-missing> (raw)

hi,

i want to decrease the upload-bandwith used by a user with the uid xyz
(only one programm running under this user), so i mark the packets with
iptables by adding the following rule:
iptables -A OUTPUT -t mangle -m owner --uid-owner xxx -j MARK --set-mark 1
now my problem is what to do after this ;) catch all the packets in an
extra table but what then? to me it doesn't matter wheter to use cbq or
htb, but htb seems easier to me ;) how do i add a qdisc that only
applies to the packets in this special table?

greets axel

p.s. sorry for my poor english

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

             reply	other threads:[~2002-10-25 22:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-25 22:25 Axel Loewe [this message]
2002-10-26  8:19 ` [LARTC] shaping marked packets Stef Coene
2004-07-28  0:07 ` nix4me
2004-07-28  3:15 ` George Alexandru Dragoi

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-103558480315330@msgid-missing \
    --to=axel@lk2k.myip.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox