From mboxrd@z Thu Jan 1 00:00:00 1970 From: gt90bh@zipmail.com.br Date: Tue, 05 Oct 2004 11:06:13 +0000 Subject: [LARTC] =?iso-8859-1?Q?U32=20Port=20Range?= Message-Id: <416254870000037B@www.zipmail.com.br> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi all... How do i set U32 to filter a port range, instead of a single port? In normal use: source port 80 we use: "... match ip sport 80 0xffff ..." - I know that is something about the 0xffff parameter.... I need to filter ports 1 ~ 1024 to a higher priority class... i tried with IPTABLES MARK and TC FW, but it's not working.... (...) # iptables -t mangle -A PREROUTING -p tcp -sport 10:1024 -j MARK --set-mark 2 # tc filter add dev eth1 protocol ip parent 1:0 prio 1 handle 2 fw classid 1:1 (...) ------------------------------------------ Use o melhor sistema de busca da Internet Radar UOL - http://www.radaruol.com.br _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/