LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-21-2018, 09:21 PM   #1
Skippy23
LQ Newbie
 
Registered: Mar 2018
Posts: 11

Rep: Reputation: Disabled
Open ports


Hey guys

Does anything look unusual to you guys as far as open ports on my linux box?
As far as what you guys are used to seeing? Thanks.

Foreign Address State
tcp 0 0 System:domain *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 localhost:ipp *:* LISTEN
tcp6 0 0 [::]:1716 [::]:* LISTEN
tcp6 0 0 ip6-localhost:ipp [::]:* LISTEN
udp 0 0 *:mdns *:*
udp 0 0 System:domain *:*
udp 0 0 *:bootpc *:*
udp 0 0 System.hitronhub.ho:ntp *:*
udp 0 0 localhost:ntp *:*
udp 0 0 *:ntp *:*
udp 0 0 *:49733 *:*
udp 0 0 *:ipp *:*
udp 0 0 *:46133 *:*
udp6 0 0 [::]:mdns [::]:*
udp6 0 0 [::]:1716 [::]:*
udp6 0 0 fe80::11c8:2dde:f69:ntp [::]:*
udp6 0 0 fd00:ac20:2e1e:f492:ntp [::]:*
udp6 0 0 fd00:ac20:2e1e:f492:ntp [::]:*
udp6 0 0 ip6-localhost:ntp [::]:*
udp6 0 0 [::]:ntp [::]:*
udp6 0 0 [::]:45589 [::]:*
raw6 0 0 [::]:ipv6-icmp [::]:* 7
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 26196 /run/user/1000/systemd/private
unix 2 [ ACC ] STREAM LISTENING 27144 /run/user/122/systemd/private
unix 2 [ ACC ] SEQPACKET LISTENING 12696 /run/udev/control
unix 2 [ ACC ] STREAM LISTENING 27596 /run/user/1000/kdeinit5__0
unix 2 [ ACC ] STREAM LISTENING 28243 /run/user/1000/klauncherTJ1710.1.slave-socket
unix 2 [ ACC ] STREAM LISTENING 26207 /tmp/kwallet_user.socket
unix 2 [ ACC ] STREAM LISTENING 27536 /tmp/kwallet5_user.socket
unix 2 [ ACC ] STREAM LISTENING 25323 /tmp/sddm-authfa6edf7f-7faf-4690-bb50-dca5eeba8221
unix 2 [ ACC ] STREAM LISTENING 25331 /tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 24048 /tmp/HfoNd1/s
unix 2 [ ACC ] STREAM LISTENING 26212 /tmp/ssh-bbNNEW67BQjc/agent.1535
unix 2 [ ACC ] STREAM LISTENING 28988 /run/user/1000/pulse/native
unix 2 [ ACC ] STREAM LISTENING 29757 /tmp/.ICE-unix/1736
unix 2 [ ACC ] STREAM LISTENING 25619 /sys/fs/cgroup/cgmanager/sock
unix 2 [ ACC ] STREAM LISTENING 31914 /run/user/1000/ksocket-user/kdeinit4__0
unix 2 [ ACC ] STREAM LISTENING 31920 /run/user/1000/ksocket-user/klauncherhX1990.slave-socket
unix 2 [ ACC ] STREAM LISTENING 29756 @/tmp/.ICE-unix/1736
unix 2 [ ACC ] STREAM LISTENING 26240 @/tmp/dbus-WPo9iLMMEk
unix 2 [ ACC ] STREAM LISTENING 30820 /tmp/akonadi-user.GGdVML/akonadiserver.socket
unix 2 [ ACC ] STREAM LISTENING 25330 @/tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 29177 /tmp/akonadi-user.GGdVML/mysql.socket
unix 2 [ ACC ] STREAM LISTENING 14601 /run/systemd/private
unix 2 [ ACC ] STREAM LISTENING 12684 /run/systemd/fsck.progress
unix 2 [ ACC ] STREAM LISTENING 12685 /run/systemd/journal/stdout
unix 2 [ ACC ] STREAM LISTENING 12702 /run/lvm/lvmpolld.socket
unix 2 [ ACC ] STREAM LISTENING 25482 @/tmp/dbus-bxUonDBzx6
unix 2 [ ACC ] STREAM LISTENING 13843 /run/lvm/lvmetad.socket
unix 2 [ ACC ] STREAM LISTENING 46691 @/tmp/dbus-MIRZ7ii5X6
unix 2 [ ACC ] STREAM LISTENING 22162 /run/acpid.socket
unix 2 [ ACC ] STREAM LISTENING 22163 /var/run/dbus/system_bus_socket
unix 2 [ ACC ] STREAM LISTENING 22164 /var/run/cups/cups.sock
unix 2 [ ACC ] STREAM LISTENING 22165 /run/uuidd/request
unix 2 [ ACC ] STREAM LISTENING 22166 /var/run/avahi-daemon/socket
unix 2 [ ACC ] STREAM LISTENING 29035 @/tmp/dbus-HR4XXjnP08
unix 2 [ ACC ] STREAM LISTENING 30574 /var/run/NetworkManager/private-dhcp
 
Old 03-22-2018, 03:30 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,167
Blog Entries: 1

Rep: Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038
Hi,

You can use the following to identify also the services that use those ports and see if there is something suspicious:
Code:
netstat -tupl
You didn't say your distro, but from the listening ports and sockets of the netstat output, I guess you're running KDE on whatever distro it is, so it's normal to see various strange ports and/or port ranges open.


Regards
 
Old 03-22-2018, 04:13 AM   #3
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,161

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
First, why are you asking whether there's anything suspicious?

You should tell us, whether there's something out of normal that you think is happening to your computer.

Is the firewall running? Did you open any ports in your firewall or router?

Is it a server distro or a client OS?

Have you checked your CPU usage, by using top command to check if it is spiking up out of range?
 
Old 03-22-2018, 08:09 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,349
Blog Entries: 28

Rep: Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147
Please use "code tags," which become available when you click the "Go Advanced" button under the compose post window, when posting the output of terminal commands or posting text files.

It makes the information much easier to read.

You may find this article interesting: https://www.tecmint.com/find-open-ports-in-linux/
 
Old 03-23-2018, 11:15 AM   #5
Skippy23
LQ Newbie
 
Registered: Mar 2018
Posts: 11

Original Poster
Rep: Reputation: Disabled
Ah...ok. Thanks guys.

I'll give that revised netstat command a try...and utilize the code tags from here on in, if needed.

Yeah, I'm just concerned about who is connecting to this machine and why...where my routes are going and why...etc.

All of that.
 
Old 03-23-2018, 03:47 PM   #6
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
It looks OK.
 
Old 03-23-2018, 04:32 PM   #7
Skippy23
LQ Newbie
 
Registered: Mar 2018
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks. That helps...

As I get further reacquainted with Linux, I'll tend to feel better about unknowns and oddities that are in fact processes simply doing their jobs. I have gone ahead and installed Rkhunter - updated and added a tcp package that let's it see into hidden ports, etc. Fun stuff. Cheers.
 
Old 03-23-2018, 08:33 PM   #8
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
When I was first learning Linux I looked at everything thoroughly; log files, dmesg, printk, netstat, etc, just so I would know what a normal system looks like. You can also run 'unhide' every so often. Run every type of test. I've found systems with a hidden process corresponding to every visible process, basically controlled by a malware hypervisor.

Last edited by AwesomeMachine; 03-23-2018 at 08:36 PM.
 
Old 03-24-2018, 09:09 AM   #9
Skippy23
LQ Newbie
 
Registered: Mar 2018
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks for your advice. Gives me a few things to look into/look up.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: What Are Ports? How To Find Open Ports In Linux? LXer Syndicated Linux News 0 07-01-2017 11:51 PM
[SOLVED] checking for open ports need ports 5198, 5199 open for UDP raypsi Linux - Security 9 05-22-2012 06:51 PM
Need to block all ports and open only select ports on Ubuntu 7.1 Mr.J Linux - Networking 1 11-18-2008 02:45 AM
open ports for utorrent using iptables n close smpt to that ports shtorrent00 Linux - Networking 2 09-30-2008 03:34 PM
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration