Please help me to mitigate DDoS attack. I used own script which parse access.log and block IPs in default way -
Code: Select all
"csf -d <IP>"
Code: Select all
--
deny failed: <IP> is in already in the deny file /etc/csf/csf.deny 1 times
--
Code: Select all
Chain num pkts bytes target prot opt in out source destination
DENYIN 259 0 0 DROP all -- !lo * 77.46.174.215 0.0.0.0/0
DENYOUT 259 0 0 LOGDROPOUT all -- * !lo 0.0.0.0/0 77.46.174.215
ip6tables:
Chain num pkts bytes target prot opt in out source destination
No matches found for 77.46.174.** in ip6tables
csf.deny: 77.46.174.215 # Manually denied: 77.46.174.2** (RS/Serbia/77-46-174-215.dynamic.isp.telekom.rs) - Wed Jul 6 14:02:06 2016
Thanks