Giorgos Keramidas wrote:
> On 2002-06-21 15:12 +0000, Terry Lambert wrote:
> > Someone made the comment about people sitting behind a NAT, so that
> > the number of connections from a given IP is actually legitimate
> > traffic.  This rate limitation is targetted at an attacker.
> 
> Actually I was thinking more of ReGet and Godzilla-style software used
> by some users to play unfair and suck more bandwidth out of an FTP
> server, by opening a zillion sockets and downloading a single file in
> chunks.

What a clever hack!

I don't know if I should revise my argument to include per-IP-per-file,
which would of necessity be user space, or just admire it and say they
*deserve* more bandwidth for being smart...

I guess I'll argue that it's a different problem space, and limiting
the number of connections for that reason is really easy to get
around:

1)      Open as many connections as you can
2)      Divide the download between the connections

In other words, your workaround only works if you take the file into
account, or if you set your per IP connection limit to "1 connection
per IP".  The former is a totally different problem, while the latter
can be done with ipfw or one of the other approaches already discussed.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to