All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josip Gracin gracin@tel.fer.hr
To: lartc@vger.kernel.org
Subject: [LARTC] How to mark and queue
Date: Thu, 19 Oct 2000 08:15:28 +0000	[thread overview]
Message-ID: <marc-lartc-98373938216813@msgid-missing> (raw)

<PRE>Hello!

I would like to set up a machine to introduce random (but controllable)
dropping of packets that are being forwarded.  I also need to classify the
traffic because I want some traffic shaping.  The obvious solution is to
QUEUE packets to user level and if they are ACCEPTed, put a MARK
(--set-mark) on them for classifying.  This would seem logical:

iptables -A FORWARD -j QUEUE -j MARK

Of course, it is not possible.  How do I do this than?  That is, how to do
it without using two identical rules, one with QUEUE action and another
with MARK action which does not seem to be a nice solution.

Thanks!
Josip


</PRE>

             reply	other threads:[~2000-10-19  8:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-19  8:15 Josip [this message]
2000-10-19 11:41 ` [LARTC] How to mark and queue bert
2000-10-19 11:42 ` Josip
2000-10-19 12:06 ` Josip
2000-10-19 12:46 ` bert

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-98373938216813@msgid-missing \
    --to=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.