[lug] Who is listening?
Daniel Webb
lists at danielwebb.us
Sun Jan 14 01:07:17 MST 2007
I have been securing my sytems a bit, and noticed this:
$ netstat -lnp
<...>
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN -
<...>
tcp 0 0 0.0.0.0:38574 0.0.0.0:* LISTEN -
<...>
$ lsof -i TCP:2049
$ lsof -i TCP:38574
The -p option to netstat gives the PID and process name for all other
listeners. How do I find out what these listeners are for? On another system
I have:
tcp 0 0 0.0.0.0:2494 0.0.0.0:* LISTEN -
More information about the LUG
mailing list