From: raptor Date: Tue, 03 Feb 2004 13:10:24 +0000 Subject: Re: [LARTC] port filtering for UDP packets? Message-Id: <20040203151024.030dbb13@bugs.tvskat.net> List-Id: References: <005501c3ea28$49f61000$2a21a8c0@qha> In-Reply-To: <005501c3ea28$49f61000$2a21a8c0@qha> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org opsi... i dont want u32 filter I need libpcap(tcpdump) expression so that i can watch to which direction these stuff goes from/to which address... et cetera.. |This is what I did to filter outbound UDP packets with the desination |port number 6003 thru HTB queue 1:1. | |tc filter add dev eth0 parent 1: protocol ip prio 1 \ |u32 match ip dport 6003 0xffff flowid 1:1 | |However, it only worked for TCP port, not UDP. Does anyone know why this |happens and how to solve it? | |Your help would be greatly appreciated.. thanks in advance! | |Q-ha Park | | | |_______________________________________________ |LARTC mailing list / LARTC@mailman.ds9a.nl |http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ | _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/