Web Hosting Talk







View Full Version : apache listening on ports >20000?


Lem0nHead
07-23-2008, 05:59 PM
hello
any ideas why apache 2.2 may be listening on some weird ports?
apache httpd 29362 5 tcp4 *:* *:*
apache httpd 29362 7 tcp4 *:* *:*
apache httpd 29361 5 tcp4 *:* *:*

thanks

stephenM
07-23-2008, 06:09 PM
If you're the server admin, and haven't set up Apache to listen on those ports, then it sounds like your server has been hacked.

zacharooni
07-23-2008, 07:38 PM
Paste the output of:

for pid in `ps auxf | grep apache | awk '{print $2}'`; do ls -l /proc/$pid/cwd; done

Lem0nHead
07-24-2008, 01:52 AM
my bad
found out those numbers are PID, not ports :blush:

CoderJosh
07-24-2008, 02:36 AM
Well that explains a lot... ;)