Command to view external IP's connected to port 80

by Selva 2009-11-05 09:16:09

Sometimes apache may be loaded high,this may be due to hugh requset from external IP's to apache . At this time you can use the following command to view the extenal IP's connected to apache (port 80) :

netstat -anp | grep 'http'

When the above command is executed you will see list of IP's connected to apacahe ,when there is hugh number of request from a single IP ,this may considered as DDOS and you can block that IP using CSF

Tagged in:

1361
like
0
dislike
0
mail
flag

You must LOGIN to add comments