mpd listening on any ipv6
Hi-
my postgres listens on 127.0.0.1:5432 but mpd is like this in netstat:
tcp6 :::6600 :::* LISTEN -
lsof -i TCP:6600
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
cantata 16346 myusername 19u IPv4 1053330 0t0 TCP localhost:44386->localhost:6600 (ESTABLISHED)
The lsof command shows what I want it to do correctly.
I read that the OS will drop packets on a port if nothing is listening in netstat.
How come that port 6600 is showing open in TCP6?
Not shown: 65535 closed ports
PORT STATE SERVICE VERSION
6600/tcp open mpd Music Player Daemon 0.20.0
Is anyone out there using mpd, and were you able to get that port closed in nmap? I did an nmap scan on my private IP address.
Edit: systemctl stop mpd
Warning: Stopping mpd.service, but it can still be activated by:
mpd.socket
I figured something else out. It is auto restarting.
I tried systemctl stop mpd.
Then I tried systemctl disable mpd.
Jun 24 16:40:33 mylaptop systemd[1]: Started Music Player Daemon.
Jun 24 16:40:33 mylaptop libsmbclient[21618]: client: [0] opened from myip
It just restarts after a minute or two. When I do :
systemctl status mpd it lists it as active after i stopped and disabled it.
Short of uninstalling it, I don't know how to keep it from reactivating itself and showing up in the list of open ports on nmap -p 6600 myip scan.
Have a cool day.
thanks,
roboloki
Last edited by mtdew3q; 06-24-2020 at 11:53 AM.
|