All of lore.kernel.org
 help / color / mirror / Atom feed
From: "René Serral" <rserral@ac.upc.es>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] kazaaa is making me crazy!
Date: Wed, 11 Jun 2003 07:02:31 +0000	[thread overview]
Message-ID: <marc-lartc-105531509520106@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105529169905447@msgid-missing>

May be I didn't understand you but I think you are wrong, in 1 Mbit you have:
((1/8)*1024*1024)/1500~ˆ 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 = 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/

-- 
---------------------------------------------------------------
 René Serral                 Universitat Politècnica de Catalunya
 rserral@ac.upc.es
 UPC Campus Nord, Ed. D4    Tel: +34 934 017 432
 Barcelona 08034
 ---------------------------------------------------------------
 

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2003-06-11  7:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-11  0:35 [LARTC] kazaaa is making me crazy! Esteban Ribicic
2003-06-11  0:35 ` Esteban Ribicic
2003-06-11  0:51 ` Robert Penz
2003-06-11  7:02 ` René Serral [this message]
2003-06-11 16:34 ` Stef Coene
2003-06-11 18:43 ` mikee
2003-06-11 19:25 ` Andre Lorenz
2003-06-17 18:56 ` Eric Leblond

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-105531509520106@msgid-missing \
    --to=rserral@ac.upc.es \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.