From: Frank Abel Cancio Bello Date: Tue, 20 Jun 2006 20:17:06 +0000 Subject: Re: [LARTC] about fw classifier Message-Id: <200606201617.06877.frankabel@tesla.cujae.edu.cu> 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 On Monday 19 June 2006 10:55 pm, Luciano Ruete wrote: > 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 classifie= rs > > 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 > infromation[1] over internet or do man iptables for furter information. > > [1]http://home.regit.org/?page_id=3D7 Thanks! All seem that is impossible make a tc filter with connmark directly. Salute Frank Abel __________________________________________ XIII Convenci=F3n Cient=EDfica de Ingenier=EDa y Arquitectura 28/noviembre al 1/diciembre de 2006 Cujae, Ciudad de la Habana, Cuba http://www.cujae.edu.cu/eventos/convencion _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc