summaryrefslogtreecommitdiffstats
path: root/honeypot.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-06-11 00:57:19 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-06-11 00:57:19 +0200
commit5c9654a622a70d31b354a9dc226384fdbbc42f39 (patch)
treef674ae00e5c0ff90c7bc36da71fd017f1001c8f8 /honeypot.c
parentIncrease negotiation timeout. (diff)
downloadtelnet-password-honeypot-5c9654a622a70d31b354a9dc226384fdbbc42f39.tar.xz
telnet-password-honeypot-5c9654a622a70d31b354a9dc226384fdbbc42f39.zip
Increase to 10 seconds.
Diffstat (limited to 'honeypot.c')
-rw-r--r--honeypot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/honeypot.c b/honeypot.c
index 2418c48..f170ef2 100644
--- a/honeypot.c
+++ b/honeypot.c
@@ -291,8 +291,8 @@ void negotiate_telnet()
/* Set the default options. */
set_options();
- /* We will stop handling options after three seconds */
- alarm(3);
+ /* We will stop handling options after ten seconds */
+ alarm(10);
/* Let's do this */
while (!feof(stdin) && done < 1) {