From mboxrd@z Thu Jan 1 00:00:00 1970 From: raptor Date: Wed, 05 May 2004 20:01:57 +0000 Subject: [LARTC] MARK & RETURN at once ? Message-Id: <20040506011356.4a0c778c@vr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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/