Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ETLegacyTeam opened this issue Mar 5, 2020 · 3 comments
Labels
🐞 Bug Something isn't working cat: server Category engine (server) ❓ Feedback Further information is requested P3: Normal Priority 3
Milestone

Comments

@ETLegacyTeam
Copy link
Member

ETLegacyTeam commented Mar 5, 2020

Author: @JanSimek (Radegast)
Date: 2014-05-24
Redmine Issue: 541, https://dev.etlegacy.com/issues/541


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

Setting @sv_protect@ to 0 lets clients connect again.

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


Related commit(s):
c5aa721 - misc: sv_protect default values - refs 541
4da5a39 - server: possibly fixed sv_protect 1 and added chan..
8120de3 - server: Never set lastTime=0 for leaky buckets as..

@ETLegacyTeam ETLegacyTeam added 🐞 Bug Something isn't working cat: server Category engine (server) ❓ Feedback Further information is requested P3: Normal Priority 3 labels Mar 5, 2020
@ETLegacyTeam ETLegacyTeam added this to the Future milestone Mar 5, 2020
@ETLegacyTeam
Copy link
Member Author

From: @IR4T4 (IR4T4)
Date: 2014-05-24T15:04:16Z


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

@ETLegacyTeam
Copy link
Member Author

From: @JanSimek (Radegast)
Date: 2014-05-24T22:25:39Z


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

@ETLegacyTeam
Copy link
Member Author

From: @jackeri (Jacker)
Date: 2014-12-29T20:10:20Z


This should now be fixed, please test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Something isn't working cat: server Category engine (server) ❓ Feedback Further information is requested P3: Normal Priority 3
Projects
None yet
Development

No branches or pull requests

1 participant