On Fri, 19 Sep 2014, Reindl Harald wrote:
Am 19.09.2014 um 15:45 schrieb kqt4at5v@gmail.com:
I am running CentOS 6.5. I know this is not a CentOS specific problem. Netstat shows several open ports and no pid.
tcp 0 0 *:48720 *:* LISTEN - tcp 0 0 *:43422 *:* LISTEN - udp 0 0 *:50216 *:*
alias netstat='/bin/netstat --numeric-hosts --numeric-ports --notrim --programs -u -t' /bin/netstat
[root@openvas:~]$ /bin/netstat --numeric-hosts --numeric-ports --notrim --programs -u -t -l Aktive Internetverbindungen (Nur Server) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:9390 0.0.0.0:* LISTEN 5454/openvasmd tcp 0 0 127.0.0.1:9391 0.0.0.0:* LISTEN 5473/openvassd tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 5438/gsad tcp 0 0 0.0.0.0:10022 0.0.0.0:* LISTEN 1177/sshd
This netstat show exactly the same. Lsof does not show these ports.
On 09/19/2014 03:58 PM, kqt4at5v@gmail.com wrote:
On Fri, 19 Sep 2014, Reindl Harald wrote:
Am 19.09.2014 um 15:45 schrieb kqt4at5v@gmail.com:
I am running CentOS 6.5. I know this is not a CentOS specific problem. Netstat shows several open ports and no pid.
tcp 0 0 *:48720 *:* LISTEN - tcp 0 0 *:43422 *:* LISTEN - udp 0 0 *:50216 *:*
alias netstat='/bin/netstat --numeric-hosts --numeric-ports --notrim --programs -u -t' /bin/netstat
This netstat show exactly the same. Lsof does not show these ports.
This looks like these port are opened by kernel, not by a process, for example like nfs.
regards Ulf
On Fri, 19 Sep 2014, Ulf Volmer wrote:
On 09/19/2014 03:58 PM, kqt4at5v@gmail.com wrote:
On Fri, 19 Sep 2014, Reindl Harald wrote:
Am 19.09.2014 um 15:45 schrieb kqt4at5v@gmail.com:
I am running CentOS 6.5. I know this is not a CentOS specific problem. Netstat shows several open ports and no pid.
tcp 0 0 *:48720 *:* LISTEN - tcp 0 0 *:43422 *:* LISTEN - udp 0 0 *:50216 *:*
alias netstat='/bin/netstat --numeric-hosts --numeric-ports --notrim --programs -u -t' /bin/netstat
This netstat show exactly the same. Lsof does not show these ports.
This looks like these port are opened by kernel, not by a process, for example like nfs.
How can I know for sure?
On 09/19/2014 04:15 PM, Richard Ray wrote:
On Fri, 19 Sep 2014, Ulf Volmer wrote:
This looks like these port are opened by kernel, not by a process, for example like nfs.
How can I know for sure?
For NFS it is simple, use 'rpcinfo -p'.
regards Ulf
On Fri, 19 Sep 2014, Ulf Volmer wrote:
On 09/19/2014 04:15 PM, Richard Ray wrote:
On Fri, 19 Sep 2014, Ulf Volmer wrote:
This looks like these port are opened by kernel, not by a process, for example like nfs.
How can I know for sure?
For NFS it is simple, use 'rpcinfo -p'.
Great that shows 2 of them
$ sudo rpcinfo -p program vers proto port service 100000 4 tcp 111 portmapper 100000 3 tcp 111 portmapper 100000 2 tcp 111 portmapper 100000 4 udp 111 portmapper 100000 3 udp 111 portmapper 100000 2 udp 111 portmapper 100024 1 udp 55364 status 100024 1 tcp 38528 status 100021 1 udp 50216 nlockmgr 100021 3 udp 50216 nlockmgr 100021 4 udp 50216 nlockmgr 100021 1 tcp 48720 nlockmgr 100021 3 tcp 48720 nlockmgr 100021 4 tcp 48720 nlockmgr