Forum

> > CS2D > Servers > Server firewall/lags
ForenübersichtCS2D-Übersicht Servers-ÜbersichtEinloggen, um zu antworten

Englisch Server firewall/lags

10 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Server firewall/lags

Near
User Off Offline

Zitieren
Hi all

I have a problem with my dedicated server which runs on a vps
So, i saw someone("logs")he spam my server with DDOS Attack or with his server cs2d and my server crash. But sometimes my server had laggs(with 8-10 players"") without ddos Attack
Whereas i have a very good vps (" 1gb Ram , 2 core and good connection")
So what can i do ? And someone know How to make a firewall on vps ("Debian") for stop the "unexptected message from xx"

Or Can i protect my server with iptables ?

Thanks for your answers
1× editiert, zuletzt 08.02.12 13:31:22

alt Re: Server firewall/lags

DannyDeth
User Off Offline

Zitieren
Make sure the players are actually near the servers. My server used to frequently get damaged packets from South America.

alt Re: Server firewall/lags

Near
User Off Offline

Zitieren
Yep the attacks come from south America. But what can i do ?
Have you got a link which Explain how to protect applications on a vps ?

alt Re: Server firewall/lags

DannyDeth
User Off Offline

Zitieren
It is because the of the disance from your server to South America. UDP is unreliable, meaning sometimes packets get damaged when going long distances. This isn't a DDoS attack. You don't need to worry.

alt Re: Server firewall/lags

DannyDeth
User Off Offline

Zitieren
Well, a simple explanation:
Guy from South America sends a "please can I connect to this server?" packet.
------ TRAVELS AND GETS DAMAGED ------
Server sees "pl 123 31rbn" says in it's logs, "Unexpected or damaged message from (IP ADDRESS)"
Guy from South America sends another "please kan konnekt??!" packet
----- TRAVEL + DMG ----
Server sees wierd thing, logs.

And so it continues.

alt Re: Server firewall/lags

DannyDeth
User Off Offline

Zitieren
There is no way to stop that unless you write a custom firewall, like I did a while back. It takes a lot of patience and skill.. more so the latter, as you have to monitor packets in passive mode which requires you to interface with your OS.

alt Re: Server firewall/lags

Apache uwu
User Off Offline

Zitieren
yeah I don't believe udp uses any checksum to verify, moreover it's not in order either.

If you turn on mp_floodprot I believe cs2d will ignore the ip after if has sent many "unexpected" messages

alt Re: Server firewall/lags

DannyDeth
User Off Offline

Zitieren
No, I wrote it on my own using the knowledge I gained from a collective 12 years of programming experience. No tutorials.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Servers-ÜbersichtCS2D-ÜbersichtForenübersicht