View Single Post
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 11-10-2017 , 05:41   Re: ports open/close CSF
Reply With Quote #4

UDP_IN = "20,21,53,27015:28015" as example for port range, just add the last part no need to replace the whole thing
UDP_OUT = "20,21,53,113,123,334343523,27015:28015"

here's the flood settings I use which seem to work fine on a machine with several hlds server on it
it also stopped an ongoing DOS attack (some split packet bullshit)

CONNLIMIT = "27015;5"
I guess you wouldn't have more than 5 players from the same address

PORTFLOOD = "27015;udp;5;10"
nobody should connect more than 5 connections in 10 seconds, otherwise they get blocked for 10 seconds
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline