Bug #541

sv_protect 1 stops clients from connecting to the server after several days of uptime

Added by Radegast almost 5 years ago. Updated about 1 year ago.

Status:Feedback% Done:

90%

Priority:Normal
Assignee:-
Category:Server
Target version:2.78
OS: Arch:

Description

Any client trying to connect to the server will be dropped:

SVC_Info: rate limit from XXX.XXX.XXX.XXX:YYYY exceeded, dropping request

Setting sv_protect to 0 lets clients connect again.

This happens on our test server which is running 2.71rc3.


Related issues

Related to ET: Legacy Development - Feature #414: Add server /uptime cmd New 08.12.2013
Related to ET: Legacy Development - Bug #746: Server randomly freezes Fixed 27.12.2014
Duplicated by ET: Legacy Development - Bug #728: Issue with sv_protect [1/2] on Windows 7 Invalid 15.12.2014

Associated revisions

Revision c5aa7212
Added by IR4T4 almost 5 years ago

misc: sv_protect default values - refs #541

Revision 4da5a397
Added by Jacker over 4 years ago

server: possibly fixed sv_protect 1 and added chanllenge size check (Ensiform), refs #541

Revision 8120de3f
Added by Eugene C about 1 year ago

server: Never set lastTime=0 for leaky buckets as it may cause leaking
of leaky buckets refs #541

History

#1 Updated by IR4T4 almost 5 years ago

That bug doesn’t surprise me. See comment of linux Sys_Milliseconds() and usage of this function in SVC_RateLimit.

note: see if sv_protect 2 (OpenWolf style server protection) is also affected

#2 Updated by Radegast almost 5 years ago

sv_protect 2 works so far, but so does sv_protect 1 for several days (weeks) before it breaks. Just to be safe I’ll set sv_protect to default to 0 before tagging 2.70rc4

#3 Updated by IR4T4 almost 5 years ago

#4 Updated by Radegast over 4 years ago

  • Duplicated by Bug #728: Issue with sv_protect [1/2] on Windows 7 added

#5 Updated by Spyhawk over 4 years ago

  • Related to Bug #746: Server randomly freezes added

#6 Updated by Jacker over 4 years ago

  • Status changed from New to Feedback
  • Target version changed from 2.78 to 2.72
  • % Done changed from 0 to 100

This should now be fixed, please test.

#7 Updated by IR4T4 over 4 years ago

  • % Done changed from 100 to 90

#8 Updated by Spyhawk over 4 years ago

  • Target version changed from 2.72 to 2.78

#9 Updated by IR4T4 about 1 year ago

  • Target version changed from 2.78 to 2.76

#10 Updated by IR4T4 about 1 year ago

  • Target version changed from 2.76 to 2.78

Also available in: Atom PDF