Archive for the ‘netstat’ Category

Watch activity on a port on a Windows box

Posted: 26th April 2010 by Valkyrka in netstat, windows

Here is how you can watch the activity on a certain port on a Windows box :

List all open ports on a Linux box

Posted: 18th April 2010 by Valkyrka in netstat

This command will list all open ports on your Linux box :

Small anti DDoS script

Posted: 27th March 2010 by Valkyrka in netstat

This a pretty cool script which blocks IPs having a certain number of connections: * get the script * grant execution rights * execute install script The configuration file for this script is located in /usr/local/ddos/ddos.conf. You would need to adjust it because by default, it uses APF ( Advanced Policy Firewall ) to ban [...]