All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ed W <lists@wildgooses.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] They're killing me (the spammers)
Date: Thu, 16 Jun 2005 18:42:50 +0000	[thread overview]
Message-ID: <42B1C82A.1030405@wildgooses.com> (raw)
In-Reply-To: <5109032e0506151818226d201a@mail.gmail.com>


>4MBIT INPUT router ->   gw-iface  2mbit OUTPUT ->  MX-server
>
>If HTB (new verb) the interface that communicates with MX, say, 2mbit,
>what will occur to the Input queue of gw-router-iface? Will I still
>get the link full with 4mbit or will it get lower to 2mbit too, as the
>inner interface?
>  
>


I would suggest that a read of the LARTC FAQ would be very useful.  The 
main points to absorb would be about how TCP works under the bonnet.  
Everything else kind of falls out from that.

Basically you can't directly control how fast people throw data at 
you...  The only thing you can do is ignore what they are sending you 
"and hope they go away"... Well, its a bit more technical than that, but 
TCP has only one option and that it is to throw away data that you 
already downloaded over your congested 4mbit link and hope that as a 
result the sender will slow down

That doesn't quite answer your question, but it should give you hope 
that it will basically work

So in a nutshell, yes - if you use linux QOS to say that MX data can 
only use half of your available bandwidth, then that should be what you 
get (steady state).  But if you are seeing thousands of new connections 
per second remember that you can't control them except by ignoring them 
for a bit, so the startup process when they fling lots of data at you 
will still hurt quite a lot.

To get started I suggest that you use one of the pre-built scripts and 
work from there. (And read the FAQ! It's a great read actually!)

Good luck

Ed W
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  parent reply	other threads:[~2005-06-16 18:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-16  1:18 [LARTC] They're killing me (the spammers) Je Quitibah
2005-06-16 14:00 ` Ed W
2005-06-16 18:30 ` Je Quitibah
2005-06-16 18:42 ` Ed W [this message]
2005-06-16 18:58 ` Thomas Graf
2005-06-16 22:24 ` Je Quitibah

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=42B1C82A.1030405@wildgooses.com \
    --to=lists@wildgooses.com \
    --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.