[Freeciv-Dev] Re: connection problem (PR#358)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, 04 May 2000, Falk Hueffner wrote:
> Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxxx> writes:
>
> > Now how should we solve this problem (the send buffer gets filled
> > and the client doesn't reply fast enough)?
> >
> > 1) increase the buffer dynamically forever? (vulnerable to DoS
> > attacks)
>
> Well, I'm convinced I could come up with about 100.000 ways to DoS a
> freeciv server. So this isn't really an arugment.
Agreed.
> > 2) just discard those packets (it's what we are doing now)
> > 3) close the client connection and clean up the buffer?
> >
> > I'm in favour of 3. Any objections? :)
>
> One could also increase the static buffer for now and see if the
> problem goes away.
>
> Falk
Yes; closing the connection is not nice if I have understod what it means
correctly. Since the bug shoved up in the first place it must happen
pretty frequently.
2) is not nice either, of course.
-Thue
|
|