connetctions_to_port
This is an old revision of the document!
Connections to port 80
This command will show all connections (including IP address) to port 80. You are able to change this port if your web server does not run on this by changing the |grep :80| section in the command below
1 |
while x=0; do clear ; date ; echo "" ; echo " [Count] | [IP ADDR]" ; echo "-------------------" ; netstat -np| grep :80| grep - v LISTEN| awk '{print $5}' | cut -d: -f1| uniq -c; sleep 5; done |
connetctions_to_port.1427913577.txt.gz · Last modified: 2024/05/23 07:26 (external edit)