Posts: 284
Threads: 77
Joined: Nov 2013
Hello today i got this statstics.
http://s30.postimg.org/6srcr7l75/Scr...2_14_56_30.png
If this dos how to protect my server from??
Posts: 724
Threads: 14
Joined: Jul 2012
Reputation:
0
Short from paying money (and in some cases, a lot) all you can do is make sure your admins aren't doing things to brings these attacks on (being too harsh), and maybe setting up a software firewall like CSF on your server. This does look like an attack, but it's certainly not a large one.
Posts: 284
Threads: 77
Joined: Nov 2013
Quote:
Originally Posted by rymax99
Short from paying money (and in some cases, a lot) all you can do is make sure your admins aren't doing things to brings these attacks on (being too harsh), and maybe setting up a software firewall like CSF on your server. This does look like an attack, but it's certainly not a large one.
|
It's Stopped my server a while
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
Its a vps, so you can set up some iptables connection limiter. In your case it would have noticed the unusual high incoming data, and drop all future packets from that IP. Its about the best thing you can do yourself to protect the server, and its all free, just ask ****** for that.
Posts: 284
Threads: 77
Joined: Nov 2013
Quote:
Originally Posted by Mauzen
Its a vps, so you can set up some iptables connection limiter. In your case it would have noticed the unusual high incoming data, and drop all future packets from that IP. Its about the best thing you can do yourself to protect the server, and its all free, just ask ****** for that.
|
Good idea but i m not understanding about VPS scripts
, look this code
Код:
#!/bin/bash
IPT=/sbin/iptables
# Max connection in seconds
SECONDS=100
# Max connections per IP
BLOCKCOUNT=10
# ....
# ..
# default action can be DROP or REJECT
DACTION="DROP"
$IPT -A INPUT -p tcp --dport 80 -i eth0 -m state --state NEW -m recent --set
$IPT -A INPUT -p tcp --dport 80 -i eth0 -m state --state NEW -m recent --update --seconds ${SECONDS} --hitcount ${BLOCKCOUNT} -j ${DACTION}
# ....
# ..
Posts: 497
Threads: 68
Joined: Jul 2013
Remember to turn you 3G off.