4

Update:

The port was opened by NFS. I figured this out by configuring NFS to listen on a known port.


Using Ubuntu 18.04

I want to know which process or kernel function listens on UDP port 38637.

I have researched this problem and found similar questions:

I have tried all remedies I could find...

  • Unmounted all network drives
  • Rebooted. After reboot the same port listens.
  • Ran virus/trojan scans with clamav and sophos-av
  • nmap and nc both successfully connect on the port
  • Tried all the following inspections:

netstat

Shows no process ID

➜ sudo netstat -ulpen | grep 38637
udp        0      0 0.0.0.0:38637           0.0.0.0:*                           0          36601      -
udp6       0      0 :::38637                :::*                                0          36602      -

lsof

Shows nothing at all

➜ sudo lsof -i udp:38637
➜ echo $?
1

rpcinfo

Doesn't list the port of interest

➜ sudo rpcinfo -p | grep 38637
➜ echo $?
1

fuser

Troubling?

➜ sudo fuser -n udp 38637
Cannot stat file /proc/16147/fd/1023: Permission denied
Cannot stat file /proc/16374/fd/1023: Permission denied
Cannot stat file /proc/16375/fd/1023: Permission denied
Cannot stat file /proc/16380/fd/1023: Permission denied
Cannot stat file /proc/16381/fd/1023: Permission denied
Cannot stat file /proc/16382/fd/1023: Permission denied
Cannot stat file /proc/18061/fd/1023: Permission denied
Cannot stat file /proc/18177/fd/1023: Permission denied
Cannot stat file /proc/18183/fd/1023: Permission denied
Cannot stat file /proc/18188/fd/1023: Permission denied
Cannot stat file /proc/18189/fd/1023: Permission denied
Cannot stat file /proc/18190/fd/1023: Permission denied

inode doesn't give me anything either

➜ sudo fuser --inode 36601
Specified filename 36601 does not exist.

debugfs

Nada.

➜ sudo debugfs -R 'ncheck 36601' /dev/sda1
debugfs 1.44.1 (24-Mar-2018)
Inode   Pathname

I would appreciate any other suggestions on where to look for answers on why this port listens.

0

You must log in to answer this question.

Browse other questions tagged .