You can check the user in top.
Find the domain owned by the user:
grep username /etc/userdomains
use the following command after you get the domain name:
less /usr/local/apache/domlogs/domain.com | awk ‘{print $1}’ | sort | uniq -c | sort -n
This will give the ip and number of connections in the descending order. For example:
109.87.146.129
177.103.142.33
199.15.233.164
5.249.162.52
199.115.229.73
In the above case we can see too many connections from those ips. This is surely abnormal. Immediately block such ips in the server using csf or block that ips in hosts.deny.
No comments:
Post a Comment