while diving into the networks, with command
Code:
$ sudo nmap -sUT -O localhost
Starting Nmap 7.60 ( https://nmap.org ) at 2019-05-05 23:48 CEST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00040s latency).
Other addresses for localhost (not scanned): ::1
Not shown: 1988 closed ports
PORT STATE SERVICE
22/tcp open ssh
111/tcp open rpcbind
139/tcp open netbios-ssn
445/tcp open microsoft-ds
631/tcp open ipp
68/udp open|filtered dhcpc
111/udp open rpcbind
123/udp open ntp
137/udp open netbios-ns
138/udp open|filtered netbios-dgm
631/udp open|filtered ipp
5353/udp open|filtered zeroconf
Device type: general purpose
Running: Linux 3.X
OS CPE: cpe:/o:linux:linux_kernel:3
OS details: Linux 3.7 - 3.10
Network Distance: 0 hops
i found a list of few ports which are open, which is great
Now considering security purposes,
should i keep all of them open, or close some of them as unnecessary?
Thanks