[31498] in bugtraq

home help back first fref pref prev next nref lref last post

RE: 11 years of inetd default insecurity?

daemon@ATHENA.MIT.EDU (bjornar.bjorgum.larsen@ementor.no)
Tue Sep 9 14:44:18 2003

content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Date: Tue, 9 Sep 2003 19:25:59 +0200
Message-ID: <FD72AF7813F1294C95279EC6D9784A2F46BCF0@100NOOSLMSG004.common.alpharoot.net>
From: <bjornar.bjorgum.larsen@ementor.no>
To: <bugtraq@securityfocus.com>
Content-Transfer-Encoding: 8bit

Dan Stromberg wrote:
> So DJB's program basically has a large listen queue, and goes 
> into queue-only mode after 40 concurrent connections?

tcpserver -c n ...
where n is the number of simultaneous connections. Defaults to 40.

> If that's the case, then there's still a DOS
> - just fill the listen queue with so much stuff
> that connections aren't serviced for a long time.

IMHO we do want a limit on simultaneous connections and a queue after the limit's reached: 
No limit => Attacker may make one service eat all resources on your system.
No queue => Your system will be intolerant of sudden bursts: When the limit's reached new connections will be dropped even when there's no real DoS. 

If your limit is not based on maximum simultaneous connections, but on eg. maximum resource concumption, the queue argument still holds.

:) Bjørnar

home help back first fref pref prev next nref lref last post