Check Connections To Port 80 On Linux
Page 1 of 1
Check Connections To Port 80 On Linux
- Code:
sudo netstat -anp | grep :80 | grep ESTABLISHED | wc -l
Another method
- Code:
sudo netstat -anp | grep -c 192.168.0.100:80
For Secure Traffic...
- Code:
sudo netstat -anp | grep :443 | grep ESTABLISHED | wc -l
- Code:
sudo netstat -anp | grep -c 192.168.0.5:443
For More
serverfault.com/questions/421310/check-the-number-of-active-connections-on-port-80
encrypted.google.com/search?q=linux+lisat+all+connections+to+port+80
Re: Check Connections To Port 80 On Linux
Talking Function To Do Above
Edit your .bashrc
Usage:
Edit your .bashrc
- Code:
sudo gedit .bashrc
- Code:
function webcount(){
echo -en "\e[92m\c"
sudo ballbags # to ask for password before it begins
clear
echo "Secure Web Connections " > webseccount.txt
cat webseccount.txt
cat webseccount.txt | espeak
sudo netstat -anp | grep :443 | grep ESTABLISHED | wc -l > webseccount.txt
cat webseccount.txt
cat webseccount.txt | espeak
echo "Standard Web Connections " > webcount.txt
cat webcount.txt
cat webcount.txt | espeak
sudo netstat -anp | grep :80 | grep ESTABLISHED | wc -l > webcount.txt
cat webcount.txt
cat webcount.txt | espeak
}
Usage:
- Code:
webcount
Similar topics
» Check Current SSH Connections On Linux With Bash
» port tunneling with linux
» linux commands for netstat looking at current connections active and domain servers etc and more
» Free Security Check Script For Linux
» Check whats running in your process list using htop in linux
» port tunneling with linux
» linux commands for netstat looking at current connections active and domain servers etc and more
» Free Security Check Script For Linux
» Check whats running in your process list using htop in linux
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum