LARTC
[Top] [All Lists]

[LARTC] Re: what's wrong?

To: lartc@mailman.ds9a.nl
Subject: [LARTC] Re: what's wrong?
From: "francesco messineo" <francesco.messineo@gmail.com>
Date: Thu, 22 Feb 2007 14:30:03 +0100
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hSoEMpapQExpRVSUrdJoBpsDwXmJtVzAJz6BTA3yctBjLs+LZ0Vqe1D7NQ9/ItjgzqtPwQbUzFXNWAekLJZTNNP2urEFoTVTGs4nsQ5vtMfP6tXxiLjyIQHgZzvwV0G6Qc3IbfLmdwH/y4nrOfWBYlTauar6S8EQad8SmLmpL3w=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=c+SQfk/eTW2b8k0BxFbakvOEsIbvS8LSwUliNrKvPv6R0or4kyUEy8b68N3Ukh4OVqQFpOyz3vfRYJxvtCkJ2zaX0G9fVy6vrwIZzrelVKaO1EQgvbSNR878fYCwHDC0ov79harfwsptrMAKewiqX3onWk6x9+HQcqsXI0nMIoo=
In-reply-to: <d9f2bc20702220158w4376d77bv65e56023997b8c1a@mail.gmail.com>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <d9f2bc20702220158w4376d77bv65e56023997b8c1a@mail.gmail.com>
Sender: lartc-bounces@mailman.ds9a.nl
On 2/22/07, francesco messineo <francesco.messineo@gmail.com> wrote:
# iptables -t mangle -A POSTROUTING -m mark  --mark ! 0 -j ACCEPT

iptables v1.3.3: Bad MARK value `!'


I'm puzzled, what's wrong with this syntax?
kernel is 2.6.15.7-ubuntu1

also tried with a 2.6.20.1 compiled from source and same result.
I can't make also work these two rules:


iptables -t mangle -A POSTROUTING -j CONNMARK --save-mark

iptables -t mangle -A PREROUTING -j CONNMARK --restore-mark

both fail with:

iptables: Invalid argument

what's wrong?

Thanks
Francesco
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>