Skip to main content

NETSTAT not showing real IPs using Cloudflare

Comments

2 comments

  • cPanelMichael
    Hello, You may want to reach out to CloudFlare's support team for solutions to this issue, as the current solutions are designed for the Apache logs and not the netstat utility. A similar topic is discussed at: CloudFlare? - ConfigServer Community Forum Thank you.
    0
  • domainerq
    I am analyzing logs ,using the following commands has been enough . cat access.log | awk '{print $1 "->" $4"->" $6 " " $7}' | sort $1 cat access.log| awk '{print $1 " -> " $4" -> " $6 " " $7}' | grep x.x.x.x (to analize one ip) cat access.log| cut -d " " -f 1 | sort | uniq (unique ips that have accessed) cat access.log | cut -d " " -f 1 | sort | uniq | wc - (How many IPs have accessed in to your website today) cut -d " " -f 1 access.log | sort | uniq -c | sort -n (How many times each IP has accessed to your web) I hope it helps.
    0

Please sign in to leave a comment.