1
0
Fork 0
forked from External/ergo

tweak some defaults

* Lower ident timeout to 1.5 seconds, as discussed in #oragono
* Enforce connection limits at the granularity of ipv4 /32's and ipv6 /64's
* Raise the limit on number of new connections to 64 every 10 minutes
  (for the benefit of people behind large IPv4 NATs)
This commit is contained in:
Shivaram Lingamneni 2017-10-01 23:59:02 -04:00
parent 58fb997e77
commit e66735619e
2 changed files with 4 additions and 4 deletions

View file

@ -29,7 +29,7 @@ const (
// QuitTimeout is how long without traffic (after they're considered idle) that clients are killed.
QuitTimeout = time.Minute
// IdentTimeoutSeconds is how many seconds before our ident (username) check times out.
IdentTimeoutSeconds = 5
IdentTimeoutSeconds = 1.5
)
var (