From: Luciano Ruete Date: Tue, 20 Jun 2006 02:55:48 +0000 Subject: Re: [LARTC] about fw classifier Message-Id: <200606192355.48442.luciano@lugmen.org.ar> List-Id: References: <200606192224.37853.frankabel@tesla.cujae.edu.cu> In-Reply-To: <200606192224.37853.frankabel@tesla.cujae.edu.cu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org El Monday 19 June 2006 23:24, Frank Abel Cancio Bello escribi=F3: > Hi all! > > On http://lartc.org/howto/lartc.adv-filter.html I read that a classifiers > available bases the decision on how the firewall has marked the packet and > on http://lartc.org/howto/lartc.qdisc.filters.html the following example: > > "tc filter add dev eth1 protocol ip parent 1:0 prio 1 handle 6 fw flowid > 1:1" "iptables -A PREROUTING -t mangle -i eth0 -j MARK --set-mark 6" > > My question is: > > In the actuality exist a way of build a classifier based on netfilter mark > value associated with a connection instead of netfilter mark value > associated with the packet? yes, iptables CONNMARK associate MARKs wtih conntrack'ed connections. It is in kernel's mainlin since 2.6.12, you can find some introductory=20 infromation[1] over internet or do man iptables for furter information.=20 [1]http://home.regit.org/?page_id=3D7 --=20 Luciano _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc