IPs from Apache access logs…
[code]$ cat ./access_log | awk ‘{print $1}’ | sort -n | uniq -c | sort -nr | head -20[/code]
IPs that logged into server (via SSH, etc)…
[code]$ last[/code]
IPs from Apache access logs…
[code]$ cat ./access_log | awk ‘{print $1}’ | sort -n | uniq -c | sort -nr | head -20[/code]
IPs that logged into server (via SSH, etc)…
[code]$ last[/code]