From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Leblond Subject: Re: How to debug nfmarking Date: Mon, 15 Nov 2004 21:44:10 +0100 Message-ID: <1100551451.3612.2.camel@coati> References: <1100540726.2796.23.camel@laserite> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1100540726.2796.23.camel@laserite> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="iso-8859-1" To: netfilter@lists.netfilter.org On Mon, 2004-11-15 at 18:45 +0100, Eduardo Fern=E1ndez wrote: > Hi all, >=20 > i'm trying to debug packet marking like this: >=20 > iptables -t mangle -A PREROUTING -p icmp -j MARK --set-mark 0x1 > (...) > But I don't know how to check if the packets are really being marked. > ip_conntrack shows all packets with mark=3D0, and that's not possible. yes, you need to explicitly save mark with CONNMARK to have the mark being propagated through the connection. See http://home.regit.org/connmark.html for details. BR, --=20 Eric Leblond INL