All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] MARK & RETURN at once ?
@ 2004-05-05 20:01 raptor
  0 siblings, 0 replies; only message in thread
From: raptor @ 2004-05-05 20:01 UTC (permalink / raw)
  To: lartc

Is there some shortcut of MARK & RETURN at once , instead of doing this :

iptables -A FORWARD -t mangle -s x.x.x.x/24 -j MARK --set-mark 1
iptables -A FORWARD -t mangle -s y.y.y.y/24 -j MARK --set-mark 1
................................
iptables -A FORWARD -t mangle -s z.z.z.z/24 -j MARK --set-mark 1

the idea is that when a packet is marked I dont want further processing in this chain...
so that it "SOUNDS MORE" like this :

iptables -A FORWARD -t mangle -s x.x.x.x/24 -j MARK --set-mark 1 -j RETURN
iptables -A FORWARD -t mangle -s y.y.y.y/24 -j MARK --set-mark 1 -j RETURN
................................
iptables -A FORWARD -t mangle -s z.z.z.z/24 -j MARK --set-mark 1 -j RETURN

'cause there severel hundred of them .... and the further proceesing is unnececary once marked..

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-05 20:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-05 20:01 [LARTC] MARK & RETURN at once ? raptor

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.