Edit: The VPS OS is Debian 7 32 bit
Forum
CS2D Servers Server constantly crashing?Server constantly crashing?
16 replies 1
Edit: The VPS OS is Debian 7 32 bit
Get ddos protects, there are many solutions on the internet.
GeoB99 has written
The most probably your server is affected by DoS attacks. Did you setted up the iptables (the Linux firewall) rule or any protection against such attacks?
I use this IPTables rule
1
iptables -A INPUT -p udp -m length --length 0:28 -j DROP
Maybe you'd give a try this (D)DoS Deflate. My friend used it and he said that works very well against small and medium attacks. It already has a tutorial to install it on the VPS. Also you can search some threads about linux firewall. Having a high bandwith than attackers have is also a good thing.
P.S: Don't screw up the iptable rules, otherwise it won't work.
1
iptables -A INPUT -p udp -m length --length 0:28 -j DROP
1
iptables -A INPUT -p tcp --dport 22 --source Your-IP -j ACCEPT
1
iptables -A INPUT -p udp -m length --length 1500:65535 -j DROP
1
iptables -A INPUT --source unrealsoftware.de -j ACCEPT
1
2
3
2
3
iptables -A INPUT -p udp --dport Server1 -j ACCEPT iptables -A INPUT -p udp --dport Server2 -j ACCEPT iptables -A INPUT -p udp --dport Server3 -j ACCEPT
This is basic. Use search engine to find more help.
EDIT
Limited bandwidth is bad lal. few ddos attacks and you wont be able to use your vps for one month
For the past 5~ days this has been my bandwidth usage:
Idk if it's bad tho.
1
iptables -P INPUT DROP
But for this
1
iptables -A INPUT -p tcp --dport 22 --source Your-IP -j ACCEPT
[03:20:24] LUA ERROR: stack overflow [03:20:24] LUA ERROR: stack overflow [03:20:24] LUA ERROR: stack overflow [03:20:25] " (1x) [03:20:25] LUA ERROR: stack overflow
Edit: Yes I see it in the log files multiple times, what does that error mean?
1
2
3
4
2
3
4
function FunctionName() 	FunctionName() end FunctionName()
1
2
3
4
5
2
3
4
5
[13:34:04] LUA ERROR: -2.2421989468116e-42 [13:34:04] LUA ERROR: 1.1127188180641e-308 [13:34:04] LUA ERROR: 1.1127697459631e-308 [13:34:04] LUA ERROR: 1.1128206738621e-308 [13:34:04] LUA ERROR: 1.112871601761e-308
Also i contact starkks for the same,
He said to w8,
Yeh lets hope and wait!
Edit : Cs2d is updated therefore perhaps the error is fixed
1