diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-06-11 00:52:52 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-06-11 00:52:52 +0200 |
commit | fa7a37dd1b971bfb7995dadce601c93854cfa2d5 (patch) | |
tree | abd0eececa4a074474c888d4c7546349eeb1f56b | |
parent | Check for 0xff before control char. (diff) | |
download | telnet-password-honeypot-fa7a37dd1b971bfb7995dadce601c93854cfa2d5.tar.xz telnet-password-honeypot-fa7a37dd1b971bfb7995dadce601c93854cfa2d5.zip |
Increase negotiation timeout.
-rw-r--r-- | honeypot.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -291,8 +291,8 @@ void negotiate_telnet() /* Set the default options. */ set_options(); - /* We will stop handling options after one second */ - alarm(1); + /* We will stop handling options after three seconds */ + alarm(3); /* Let's do this */ while (!feof(stdin) && done < 1) { |