[lkml]   [2003]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: PTY DOS vulnerability?
On Tue, Jul 01, 2003 at 06:57:49AM -0500, Jesse Pollard wrote:
> One problem is that ptys are not just "used by the user". Every terminal
> window opened uses a pty. As does a network connection.
> As does "expect" - which is less visible to the user since it is intended
> to be invisible.
> The real question is "how many PTYs should a single user have?"
> Which then prompts the question "How many concurrent users should there be?"
> second, just providing a user limit doesn't prevent a denial of service..
> Just have more connections than ptys and you are in the same situation.

Isn't this something a improved sshd could do? I.e. if the
connection using up the last (or one of the last) pty's logs
in as non-root - just kill it.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:46    [W:0.058 / U:9.500 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site