![]() Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name While true do netstat -pantu sleep 1 clear done # monitor programs ports and ip addresses, refresh screen every second # list all open ports and listening services/programsĬOMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME Other addresses for localhost (not scanned): 127.0.0.1 Nmap scan report for localhost (127.0.0.1) # -n = show numeric ip addresses, do not try to resolve dns-names of nmap localhost In the following example smtp and ipp are configured to accept only connections from localhost – not from outside. Nmap localhost will return different results than nmap 192.168.0.123 (actual ip of your host) – because not all services are allowed to be accessed from outside. Nmap returns a nice overview… but be aware! What service/program is using what port: # list all open ports and listening services/programs GNU Linux -> List all open ports and listening services /etc/services
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |