For a few months now I've been running FreeBSD on a general purpose household server, shared between myself and my roommates. Recently, though, I noticed something worrisome:
Specifically the last 9 lines are troubling me. The computer has SSH, FTP, torrent (Deluge), and DLNA servers running, along with Deluge's web interface, and only Deluge should ever be connected to the outside world. I checked the torrent list and nothing seemed to be active, though, so I'm not sure what those other connections could be or why they don't have a command, user, PID, or FD listed. I hope I'm wrong, but I'm concerned that this may be indicative of some sort of security breach. Does anyone have any insight as to what else, if anything, could cause this? Is there any way to get more information on those connections?
The server is running FreeBSD 9.1-RELEASE-p5.
Code:
#sockstat -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
ftp ftpd 11315 0 tcp4 192.168.1.80:21 192.168.1.99:56050
ftp ftpd 11315 1 tcp4 192.168.1.80:21 192.168.1.99:56050
torrent_control python2.71160 3 tcp4 *:8112 *:*
root ftpd 1121 6 tcp4 *:21 *:*
root sendmail 1082 4 tcp4 127.0.0.1:25 *:*
root sshd 1079 4 tcp4 *:25094 *:*
torrent_control python2.71067 9 tcp4 127.0.0.1:58846 *:*
torrent_control python2.71067 10 udp4 *:60965 *:*
torrent_control python2.71067 11 udp4 *:14415 *:*
torrent_control python2.71067 12 udp4 *:6771 *:*
torrent_control python2.71067 15 udp4 192.168.1.80:6771 *:*
torrent_control python2.71067 16 udp4 192.168.1.80:63742 *:*
dlna minidlnad 1051 5 udp4 *:1900 *:*
dlna minidlnad 1051 6 tcp4 *:8200 *:*
dlna minidlnad 1051 7 udp4 192.168.1.80:22899 *:*
root syslogd 961 7 udp4 *:514 *:*
? ? ? ? tcp4 192.168.1.80:46445 81.17.19.117:65531
? ? ? ? tcp4 192.168.1.80:42007 81.17.19.117:65531
? ? ? ? tcp4 192.168.1.80:52315 96.252.188.5:40993
? ? ? ? tcp4 192.168.1.80:42640 14.201.155.217:50965
? ? ? ? tcp4 192.168.1.80:13073 76.120.18.153:22037
? ? ? ? tcp4 192.168.1.80:40680 76.120.18.153:22037
? ? ? ? tcp4 192.168.1.80:49013 14.201.155.217:50965
? ? ? ? tcp4 192.168.1.80:62308 76.120.18.153:22037
? ? ? ? tcp4 192.168.1.80:31896 14.201.155.217:50965
Specifically the last 9 lines are troubling me. The computer has SSH, FTP, torrent (Deluge), and DLNA servers running, along with Deluge's web interface, and only Deluge should ever be connected to the outside world. I checked the torrent list and nothing seemed to be active, though, so I'm not sure what those other connections could be or why they don't have a command, user, PID, or FD listed. I hope I'm wrong, but I'm concerned that this may be indicative of some sort of security breach. Does anyone have any insight as to what else, if anything, could cause this? Is there any way to get more information on those connections?
The server is running FreeBSD 9.1-RELEASE-p5.