All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] How to mark and queue
@ 2000-10-19  8:15 Josip
  2000-10-19 11:41 ` bert
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Josip @ 2000-10-19  8:15 UTC (permalink / raw)
  To: lartc

<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>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-10-19 12:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-19  8:15 [LARTC] How to mark and queue Josip
2000-10-19 11:41 ` bert
2000-10-19 11:42 ` Josip
2000-10-19 12:06 ` Josip
2000-10-19 12:46 ` bert

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.