chiark / gitweb /
server/keyexch.c: Lower the validity time for a challenge.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 20 Dec 2008 11:39:33 +0000 (11:39 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 20 Dec 2008 11:39:33 +0000 (11:39 +0000)
commit56516aeb66062dd8dd5b4225a67e24096cf3fe3f
tree4bc374e4a689ace073c4a9d2ac39d9c9890cd416
parent1e14551ab904b85db4e1f11c1a37c18ed0a0ac58
server/keyexch.c: Lower the validity time for a challenge.

If the server is busy dealing with LAN-speed traffic, it can easily
exhaust the 32 MB data limit within the 2 minutes allowed.  The result
of this is that another switch or switch-ok gets sent and ignored, and
no new keys are negotiated.  The only thing to do is lower the validity
time.  One key-exchange every 20 seconds isn't going to break the bank.
server/keyexch.c