From: "francesco messineo" Date: Thu, 22 Feb 2007 13:30:03 +0000 Subject: [LARTC] Re: what's wrong? Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On 2/22/07, francesco messineo 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