commit | d8ceba959a9e8c6a62b20080bb745776e1644fb8 | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Wed Jul 30 06:56:07 2003 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Wed Jul 30 06:56:07 2003 +0000 |
tree | 2c03f03a698192213664f0d3998ab9591133c69a | |
parent | eef2317b9f5bdd362a7b8a0169c688245374f0f5 [diff] |
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.