From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?q?Ren=E9=20Serral?= Date: Wed, 11 Jun 2003 07:02:31 +0000 Subject: Re: [LARTC] kazaaa is making me crazy! Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org May be I didn't understand you but I think you are wrong, in 1 Mbit you hav= e: ((1/8)*1024*1024)/1500~=88 packets isn't it?? On Wednesday 11 June 2003 02:35, Esteban Ribicic wrote: > im trying to debug how cpu consuming could be the string match. > is it a lineal function? i mean.. > > 1 Mbit -> 1024/8 Kbytes > > supossaing mtu payload is 1500 bytes, i have in 1 megabit > [(1024/8)*1000]*1500 =3D 1920000000 packets > > anorther thing..this rule just filter the initial download request..that > would be okay if oyu want filter completely, but if you want to slwo > down (i mean using tc/htb/fwmarks) you wouldnt be matching the hole > download, only the request... > > iptables -t mangle -A PREROUTING -p tcp -m --string "Kazaa" -j DROP > > > any comment, any idea? > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ --=20 --------------------------------------------------------------- Ren=E9 Serral Universitat Polit=E8cnica de Catalunya rserral@ac.upc.es UPC Campus Nord, Ed. D4 Tel: +34 934 017 432 Barcelona 08034 --------------------------------------------------------------- =20 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/