NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
handy1
Mar 05, 2013Aspirant
[SOLVED] NTP-Server & Firewall port settings:
I need a little help with this one please? I've been using the NTP-Server add-on on my Duo v.1. for many months now. It serves my Linux boxes beautifully. Anyway, the problem(?): I just modi...
handy1
Mar 07, 2013Aspirant
Following is the output from 3 different commands - lsof -i , netstat -lptu , netstat -tulpn
[handy@jarmano ~]$ sudo lsof -i
[sudo] password for handy:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
cupsd 449 root 10u IPv6 8730 0t0 TCP localhost.localdomain:ipp (LISTEN)
cupsd 449 root 11u IPv4 8731 0t0 TCP localhost.localdomain:ipp (LISTEN)
ntpd 472 ntp 16u IPv4 13452 0t0 UDP *:ntp
ntpd 472 ntp 17u IPv6 13453 0t0 UDP *:ntp
ntpd 472 ntp 18u IPv4 13458 0t0 UDP localhost.localdomain:ntp
ntpd 472 ntp 19u IPv6 13459 0t0 UDP localhost.localdomain:ntp
ntpd 472 ntp 21u IPv6 11851 0t0 UDP jarmano:ntp
ntpd 472 ntp 22u IPv4 11873 0t0 UDP jarmano:ntp
rpcbind 495 root 6u IPv4 13408 0t0 UDP *:sunrpc
rpcbind 495 root 7u IPv4 13463 0t0 UDP *:dhcp-failover
rpcbind 495 root 8u IPv4 13464 0t0 TCP *:sunrpc (LISTEN)
rpcbind 495 root 9u IPv6 13465 0t0 UDP *:sunrpc
rpcbind 495 root 10u IPv6 13466 0t0 UDP *:dhcp-failover
rpcbind 495 root 11u IPv6 13467 0t0 TCP *:sunrpc (LISTEN)
dhclient 503 root 6u IPv4 8925 0t0 UDP *:bootpc
dhclient 503 root 20u IPv4 8918 0t0 UDP *:25021
dhclient 503 root 21u IPv6 8919 0t0 UDP *:bcs-broker
firefox 627 handy 50u IPv4 14324 0t0 TCP jarmano:43047->www.cyberciti.biz:https (SYN_SENT)
firefox 627 handy 64u IPv4 14323 0t0 TCP jarmano:59283->www.cyberciti.biz:http (ESTABLISHED)
firefox 627 handy 66u IPv4 14328 0t0 TCP jarmano:39451->files.cyberciti.biz:http (ESTABLISHED)
firefox 627 handy 67u IPv4 15411 0t0 TCP jarmano:43049->www.cyberciti.biz:https (SYN_SENT)
firefox 627 handy 84u IPv4 12913 0t0 TCP jarmano:58178->secure.imdb.com:https (ESTABLISHED)
firefox 627 handy 109u IPv4 12891 0t0 TCP jarmano:41624->forum.manjaro.org:http (ESTABLISHED)
[handy@jarmano ~]$ sudo netstat -lptu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:sunrpc *:* LISTEN 495/rpcbind
tcp 0 0 localhost.localdoma:ipp *:* LISTEN 449/cupsd
tcp6 0 0 [::]:sunrpc [::]:* LISTEN 495/rpcbind
tcp6 0 0 localhost.localdoma:ipp [::]:* LISTEN 449/cupsd
udp 0 0 *:bootpc *:* 503/dhclient
udp 0 0 *:sunrpc *:* 495/rpcbind
udp 0 0 jarmano:ntp *:* 472/ntpd
udp 0 0 localhost.localdoma:ntp *:* 472/ntpd
udp 0 0 *:ntp *:* 472/ntpd
udp 0 0 *:25021 *:* 503/dhclient
udp 0 0 *:dhcp-failover *:* 495/rpcbind
udp6 0 0 [::]:sunrpc [::]:* 495/rpcbind
udp6 0 0 jarmano:ntp [::]:* 472/ntpd
udp6 0 0 localhost.localdoma:ntp [::]:* 472/ntpd
udp6 0 0 [::]:ntp [::]:* 472/ntpd
udp6 0 0 [::]:dhcp-failover [::]:* 495/rpcbind
udp6 0 0 [::]:bcs-broker [::]:* 503/dhclient
[handy@jarmano ~]$ sudo netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 495/rpcbind
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 449/cupsd
tcp6 0 0 :::111 :::* LISTEN 495/rpcbind
tcp6 0 0 ::1:631 :::* LISTEN 449/cupsd
udp 0 0 0.0.0.0:68 0.0.0.0:* 503/dhclient
udp 0 0 0.0.0.0:111 0.0.0.0:* 495/rpcbind
udp 0 0 192.168.1.4:123 0.0.0.0:* 472/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 472/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 472/ntpd
udp 0 0 0.0.0.0:25021 0.0.0.0:* 503/dhclient
udp 0 0 0.0.0.0:647 0.0.0.0:* 495/rpcbind
udp6 0 0 :::111 :::* 495/rpcbind
udp6 0 0 fe80::fad1:11ff:fe0:123 :::* 472/ntpd
udp6 0 0 ::1:123 :::* 472/ntpd
udp6 0 0 :::123 :::* 472/ntpd
udp6 0 0 :::647 :::* 495/rpcbind
udp6 0 0 :::1704 :::* 503/dhclient
[handy@jarmano ~]$
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!