comment about NATs

This commit is contained in:
Callan Bryant 2020-03-03 23:32:56 +00:00
parent dc703e20dc
commit d8bfa083d2
No known key found for this signature in database
GPG Key ID: C31FA9DF3ACBFFAA

View File

@ -9,7 +9,8 @@ const (
DEFAULT_REPORT_FILE = "/var/lib/dsnetreport.json"
DEFAULT_LISTEN_PORT = 51820
// keepalive always configured for everything
// keepalive always configured for everything. Set to a value likely to
// stop most NATs from dropping the connection.
KEEPALIVE_SECONDS = 21
// when is a peer considered gone forever? (could remove)