Ronny L Nilsson writes:
authorEric Andersen <andersen@codepoet.org>
Wed, 30 Jul 2003 06:56:07 +0000 (06:56 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 30 Jul 2003 06:56:07 +0000 (06:56 -0000)
commitd8ceba959a9e8c6a62b20080bb745776e1644fb8
tree2c03f03a698192213664f0d3998ab9591133c69a
parenteef2317b9f5bdd362a7b8a0169c688245374f0f5
Ronny L Nilsson writes:

The login process should always timeout if user don't login sucessfully within
reasonable time. Otherwise we're sensetive to a DOS attack by simply doing a
bunch of simultaneous telnet connections (deploys all availible TTY's).

This patch make login.c terminate the connection after  "TIMEOUT" seconds.
loginutils/login.c