首页 > 技术文章 > linux 用tcpdump查看80端口访问有哪些IP

pzzning 原文

linux 用tcpdump查看80端口访问有哪些IP:

tcpdump -i eth0 -tnn dst port 80 -c 1000|awk -F"." '{print $1"."$2"."$3"."$4}'|sort|uniq -c|sort -rn|head -n20

推荐阅读