All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] They're killing me (the spammers)
@ 2005-06-16  1:18 Je Quitibah
  2005-06-16 14:00 ` Ed W
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Je Quitibah @ 2005-06-16  1:18 UTC (permalink / raw)
  To: lartc

Yes, last night it was 4Mbps the rate of incoming mails.
I was wondering if I apply HTB to the following scheme:

router ->   gw-iface ->  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 for 4mbit or will it get lower to 2mbit too, as the
inner interface?


Appreciate comments

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LARTC] They're killing me (the spammers)
  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
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Ed W @ 2005-06-16 14:00 UTC (permalink / raw)
  To: lartc


>Yes, last night it was 4Mbps the rate of incoming mails.
>I was wondering if I apply HTB to the following scheme:
>  
>

You might want to investigate other anti-spam techniques...

For example I find greylisting very effective, and several block lists 
have very low positives for my spam load.  See the mailing list for your 
MTA if you want to know more though.

If you are clever then I'm sure you can dream up even more clever ways 
to segregate spam senders from real email - in your position I would be 
blocking IP addresses by now... 

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LARTC] They're killing me (the spammers)
  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
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Je Quitibah @ 2005-06-16 18:30 UTC (permalink / raw)
  To: lartc

I appreciate you answer, Ed. Thank you. I already use some methods of
spam contention, such RBLs, filters and SPF checks.
But I really wanna know the answer for the question from my first
e-mail. Thank you.


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?

On 6/16/05, Ed W <lists@wildgooses.com> wrote:
> 
> >Yes, last night it was 4Mbps the rate of incoming mails.
> >I was wondering if I apply HTB to the following scheme:
> >
> >
> 
> You might want to investigate other anti-spam techniques...
> 
> For example I find greylisting very effective, and several block lists
> have very low positives for my spam load.  See the mailing list for your
> MTA if you want to know more though.
> 
> If you are clever then I'm sure you can dream up even more clever ways
> to segregate spam senders from real email - in your position I would be
> blocking IP addresses by now...
> 
> Ed
>
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LARTC] They're killing me (the spammers)
  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
  2005-06-16 18:58 ` Thomas Graf
  2005-06-16 22:24 ` Je Quitibah
  4 siblings, 0 replies; 6+ messages in thread
From: Ed W @ 2005-06-16 18:42 UTC (permalink / raw)
  To: lartc


>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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LARTC] They're killing me (the spammers)
  2005-06-16  1:18 [LARTC] They're killing me (the spammers) Je Quitibah
                   ` (2 preceding siblings ...)
  2005-06-16 18:42 ` Ed W
@ 2005-06-16 18:58 ` Thomas Graf
  2005-06-16 22:24 ` Je Quitibah
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Graf @ 2005-06-16 18:58 UTC (permalink / raw)
  To: lartc

> 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

Note quite true, there is ECN.

> 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.

Slow start handles this pretty well.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LARTC] They're killing me (the spammers)
  2005-06-16  1:18 [LARTC] They're killing me (the spammers) Je Quitibah
                   ` (3 preceding siblings ...)
  2005-06-16 18:58 ` Thomas Graf
@ 2005-06-16 22:24 ` Je Quitibah
  4 siblings, 0 replies; 6+ messages in thread
From: Je Quitibah @ 2005-06-16 22:24 UTC (permalink / raw)
  To: lartc

On 6/16/05, Thomas Graf <tgraf@suug.ch> wrote:

So, in a nutshell, it will work ?
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-06-16 22:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2005-06-16 18:58 ` Thomas Graf
2005-06-16 22:24 ` Je Quitibah

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.