status netstat

Display the current network connections

User Privileges

Users with the following privileges can perform this command:

>Admin

>Operator

>Monitor

Syntax

status netstat

Luna Appliance Software 7.8.5 and Newer Example

lunash:>status netstat


Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:8443            0.0.0.0:*               LISTEN      2151/nginx: master  
tcp        0      0 127.0.0.1:443           0.0.0.0:*               LISTEN      1460/./websrv       
tcp        0      0 127.0.0.1:1501          0.0.0.0:*               LISTEN      2268/pedClient      
tcp        0      0 127.0.0.1:1502          0.0.0.0:*               LISTEN      1396/PedServer      
tcp        0      0 127.0.0.1:1503          0.0.0.0:*               LISTEN      1396/PedServer      
tcp        0      0 0.0.0.0:1792            0.0.0.0:*               LISTEN      2200/ntls_vtsd      
tcp        0      0 0.0.0.0:9697            0.0.0.0:*               LISTEN      2268/pedClient      
tcp        0      0 127.0.0.1:199           0.0.0.0:*               LISTEN      1291/snmpd          
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      2260/sshd           
tcp        0      0 0.0.0.0:5656            0.0.0.0:*               LISTEN      2250/stcd_vtsd      
tcp        0      0 10.124.139.214:38480    10.124.139.170:514      ESTABLISHED 1300/rsyslogd       
tcp        0      0 10.124.139.214:22       10.124.93.174:47036     ESTABLISHED 4835/sshd: root@pts 
tcp        0      0 10.124.139.214:38486    10.124.139.170:514      ESTABLISHED 1300/rsyslogd       
tcp        0      0 10.124.139.214:38482    10.124.139.170:514      ESTABLISHED 1300/rsyslogd       
tcp        0      0 10.124.139.214:38484    10.124.139.170:514      ESTABLISHED 1300/rsyslogd       
tcp6       0      0 :::22                   :::*                    LISTEN      2260/sshd           
udp        0      0 0.0.0.0:68              0.0.0.0:*                           1236/dhclient       
udp        0      0 0.0.0.0:161             0.0.0.0:*                           1291/snmpd          
udp        0      0 127.0.0.1:514           0.0.0.0:*                           1300/rsyslogd       
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node   PID/Program name     Path
unix  2      [ ACC ]     STREAM     LISTENING     21509    1/systemd            /run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     21512    1/systemd            /run/docker.sock
unix  2      [ ACC ]     STREAM     LISTENING     28450    1291/snmpd           /var/agentx/master
unix  2      [ ACC ]     STREAM     LISTENING     31798    1317/dockerd         /var/run/docker/metrics.sock
unix  2      [ ACC ]     STREAM     LISTENING     11335    1/systemd            /run/systemd/private
unix  2      [ ACC ]     SEQPACKET  LISTENING     8782     1/systemd            /run/udev/control
unix  2      [ ACC ]     STREAM     LISTENING     26447    1149/containerd      /run/containerd/containerd.sock.ttrpc
unix  2      [ ACC ]     STREAM     LISTENING     26451    1149/containerd      /run/containerd/containerd.sock
unix  2      [ ACC ]     STREAM     LISTENING     26466    961/NetworkManager   /var/run/NetworkManager/private-dhcp
unix  3      [ ]         DGRAM                    1403     1/systemd            /run/systemd/notify
unix  2      [ ]         DGRAM                    1405     1/systemd            /run/systemd/cgroups-agent
unix  2      [ ACC ]     STREAM     LISTENING     1419     1/systemd            /run/systemd/journal/stdout
unix  5      [ ]         DGRAM                    1422     1/systemd            /run/systemd/journal/socket
unix  19     [ ]         DGRAM                    1424     1/systemd            /dev/log
unix  2      [ ]         DGRAM                    12695    1/systemd            /run/systemd/shutdownd
unix  2      [ ACC ]     STREAM     LISTENING     28575    1317/dockerd         /var/run/docker/libnetwork/79787aad65dc.sock
unix  2      [ ACC ]     STREAM     LISTENING     32244    2127/containerd-shi  /run/containerd/s/0ec98232930540a072c3790274944abd27f2148251080edd76e69202d2be9f8a
unix  3      [ ]         STREAM     CONNECTED     23795    1/systemd            /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     26954    1291/snmpd           
unix  3      [ ]         STREAM     CONNECTED     32502    1/systemd            /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     19158    1/systemd            /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     22550    656/systemd-logind   
unix  2      [ ]         DGRAM                    27435    1460/./websrv        
unix  3      [ ]         STREAM     CONNECTED     35436    2254/luna-snmp       
unix  2      [ ]         DGRAM                    27514    1300/rsyslogd        
unix  2      [ ]         DGRAM                    21252    657/dbus-daemon      
unix  3      [ ]         STREAM     CONNECTED     19156    1/systemd            /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     26195    657/dbus-daemon      /run/dbus/system_bus_socket
unix  2      [ ]         DGRAM                    26469    1236/dhclient        
unix  3      [ ]         STREAM     CONNECTED     22785    676/lcdController    
unix  2      [ ]         DGRAM                    12270    436/systemd-udevd    
unix  3      [ ]         STREAM     CONNECTED     21248    657/dbus-daemon      
unix  3      [ ]         STREAM     CONNECTED     21095    626/auditd           
unix  2      [ ]         DGRAM                    33392    2268/pedClient       
unix  2      [ ]         DGRAM                    33391    2254/luna-snmp       
unix  2      [ ]         DGRAM                    24810    683/crond            
unix  3      [ ]         STREAM     CONNECTED     21094    626/auditd           
unix  2      [ ]         DGRAM                    25063    961/NetworkManager   
unix  3      [ ]         STREAM     CONNECTED     32606    2250/stcd_vtsd       
unix  2      [ ]         DGRAM                    9639     397/systemd-journal  
unix  3      [ ]         STREAM     CONNECTED     23219    666/polkitd          
unix  3      [ ]         STREAM     CONNECTED     22253    1/systemd            
unix  2      [ ]         DGRAM                    34893    2250/stcd_vtsd       
unix  3      [ ]         STREAM     CONNECTED     23277    1/systemd            /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     29866    1/systemd            /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     33279    1/systemd            /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     26457    657/dbus-daemon      /run/dbus/system_bus_socket
unix  2      [ ]         DGRAM                    24627    676/lcdController    
unix  3      [ ]         STREAM     CONNECTED     25525    1/systemd            /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     30761    1149/containerd      /run/containerd/containerd.sock
unix  3      [ ]         STREAM     CONNECTED     30252    1317/dockerd         
unix  3      [ ]         STREAM     CONNECTED     34862    2254/luna-snmp       
unix  3      [ ]         STREAM     CONNECTED     30590    2127/containerd-shi  /run/containerd/s/0ec98232930540a072c3790274944abd27f2148251080edd76e69202d2be9f8a
unix  3      [ ]         STREAM     CONNECTED     26752    1129/python2         
unix  3      [ ]         STREAM     CONNECTED     34594    1/systemd            /run/systemd/journal/stdout
unix  2      [ ]         DGRAM                    56405    4835/sshd: root@pts  
unix  3      [ ]         STREAM     CONNECTED     25524    1149/containerd      
unix  3      [ ]         DGRAM                    12283    436/systemd-udevd    
unix  3      [ ]         STREAM     CONNECTED     23145    1/systemd            /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     21247    657/dbus-daemon      
unix  3      [ ]         STREAM     CONNECTED     36820    1291/snmpd           /var/agentx/master
unix  3      [ ]         STREAM     CONNECTED     32965    1149/containerd      
unix  3      [ ]         STREAM     CONNECTED     27190    1317/dockerd         
unix  2      [ ]         DGRAM                    13295    1/systemd            
unix  3      [ ]         DGRAM                    12282    436/systemd-udevd    
unix  3      [ ]         STREAM     CONNECTED     30612    2127/containerd-shi  
unix  3      [ ]         STREAM     CONNECTED     34891    1/systemd            /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     34593    2260/sshd            
unix  3      [ ]         STREAM     CONNECTED     30759    1149/containerd      /run/containerd/containerd.sock
unix  3      [ ]         STREAM     CONNECTED     21249    657/dbus-daemon      /run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     30698    2200/ntls_vtsd       
unix  3      [ ]         STREAM     CONNECTED     33161    2151/nginx: master   
unix  3      [ ]         STREAM     CONNECTED     33062    1149/containerd      /run/containerd/containerd.sock.ttrpc
unix  3      [ ]         STREAM     CONNECTED     26194    961/NetworkManager   
unix  2      [ ]         DGRAM                    34260    2200/ntls_vtsd       
unix  3      [ ]         STREAM     CONNECTED     25055    657/dbus-daemon      /run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     24144    961/NetworkManager   
unix  3      [ ]         STREAM     CONNECTED     13730    1/systemd            /run/systemd/journal/stdout
unix  2      [ ]         DGRAM                    22254    656/systemd-logind   
unix  2      [ ]         DGRAM                    28448    1291/snmpd           
unix  3      [ ]         STREAM     CONNECTED     26371    657/dbus-daemon      /run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     24361    961/NetworkManager   
unix  3      [ ]         STREAM     CONNECTED     22592    657/dbus-daemon      
unix  3      [ ]         STREAM     CONNECTED     12268    436/systemd-udevd    
unix  2      [ ]         DGRAM                    25957    691/sysstatd         
unix  3      [ ]         STREAM     CONNECTED     22786    1/systemd            /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     26567    1/systemd            /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     26760    1/systemd            /run/systemd/journal/stdout
unix  2      [ ]         DGRAM                    25057    666/polkitd          
unix  3      [ ]         STREAM     CONNECTED     19140    1/systemd            /run/systemd/journal/stdout
unix  2      [ ]         DGRAM                    21093    626/auditd           
unix  3      [ ]         STREAM     CONNECTED     24747    683/crond            
unix  2      [ ]         DGRAM                    22599    660/ipmievd          
unix  3      [ ]         STREAM     CONNECTED     21250    657/dbus-daemon      /run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     18236    649/irqbalance       
unix  3      [ ]         STREAM     CONNECTED     25144    1129/python2         
unix  3      [ ]         STREAM     CONNECTED     21238    656/systemd-logind   
unix  3      [ ]         STREAM     CONNECTED     24496    1153/bash            
unix  3      [ ]         STREAM     CONNECTED     28507    1317/dockerd         
unix  3      [ ]         STREAM     CONNECTED     33160    2151/nginx: master   

Command Result : 0 (Success)

Luna Appliance Software 7.8.4 and Older Example

lunash:>status netstat

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:8443            0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:443           0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:1501          0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:1502          0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:1503          0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:1792            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:9697            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:5656            0.0.0.0:*               LISTEN
tcp        0    320 10.124.143.156:22       10.105.187.172:63240    ESTABLISHED
tcp6       0      0 :::22                   :::*                    LISTEN
udp        0      0 0.0.0.0:68              0.0.0.0:*
udp        0      0 127.0.0.1:514           0.0.0.0:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node   Path
unix  2      [ ACC ]     STREAM     LISTENING     9733     /run/systemd/private
unix  2      [ ACC ]     STREAM     LISTENING     23046    /run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     23049    /run/docker.sock
unix  2      [ ACC ]     SEQPACKET  LISTENING     13853    /run/udev/control
unix  2      [ ]         DGRAM                    13855    /run/systemd/shutdownd
unix  3      [ ]         DGRAM                    1603     /run/systemd/notify
unix  2      [ ]         DGRAM                    1605     /run/systemd/cgroups-agent
unix  2      [ ACC ]     STREAM     LISTENING     1623     /run/systemd/journal/stdout
unix  5      [ ]         DGRAM                    1626     /run/systemd/journal/socket
unix  18     [ ]         DGRAM                    1628     /dev/log
unix  2      [ ACC ]     STREAM     LISTENING     30328    /var/run/docker/libnetwork/8115501f92e0.sock
unix  2      [ ACC ]     STREAM     LISTENING     29310    /run/containerd/s/66d65a708f91ff34101944436d238dec94bb85dd72a75d0a77dfa958476fd088
unix  2      [ ACC ]     STREAM     LISTENING     25989    /run/containerd/containerd.sock.ttrpc
unix  2      [ ACC ]     STREAM     LISTENING     25993    /run/containerd/containerd.sock
unix  2      [ ACC ]     STREAM     LISTENING     29103    /var/run/NetworkManager/private-dhcp
unix  2      [ ACC ]     STREAM     LISTENING     29168    /var/run/docker/metrics.sock
unix  2      [ ]         DGRAM                    24353
unix  3      [ ]         STREAM     CONNECTED     27451
unix  2      [ ]         DGRAM                    12308
unix  3      [ ]         STREAM     CONNECTED     25770    /run/dbus/system_bus_socket
unix  2      [ ]         DGRAM                    24362
unix  3      [ ]         STREAM     CONNECTED     31871    /run/containerd/containerd.sock.ttrpc
unix  3      [ ]         STREAM     CONNECTED     12734
unix  3      [ ]         STREAM     CONNECTED     25771    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     28039    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     28026
unix  3      [ ]         STREAM     CONNECTED     33481
unix  3      [ ]         STREAM     CONNECTED     25235
unix  2      [ ]         DGRAM                    22434
unix  3      [ ]         STREAM     CONNECTED     30253    /run/containerd/containerd.sock
unix  2      [ ]         DGRAM                    470667356
unix  3      [ ]         STREAM     CONNECTED     22298
unix  3      [ ]         STREAM     CONNECTED     27886
unix  2      [ ]         DGRAM                    34681
unix  3      [ ]         STREAM     CONNECTED     27452    /run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     20631
unix  3      [ ]         STREAM     CONNECTED     34468    /run/systemd/journal/stdout
unix  2      [ ]         DGRAM                    22433
unix  2      [ ]         DGRAM                    22285
unix  2      [ ]         DGRAM                    279585
unix  2      [ ]         DGRAM                    15911
unix  3      [ ]         STREAM     CONNECTED     20632
unix  2      [ ]         DGRAM                    20630
unix  3      [ ]         STREAM     CONNECTED     20965    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     22273
unix  3      [ ]         STREAM     CONNECTED     21290
unix  3      [ ]         STREAM     CONNECTED     22300    /run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     28344    /run/containerd/containerd.sock
unix  2      [ ]         DGRAM                    470666541
unix  3      [ ]         STREAM     CONNECTED     21190
unix  3      [ ]         STREAM     CONNECTED     22299
unix  3      [ ]         STREAM     CONNECTED     8966     /run/systemd/journal/stdout
unix  3      [ ]         DGRAM                    12747
unix  2      [ ]         DGRAM                    14773
unix  3      [ ]         STREAM     CONNECTED     23768    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     29676
unix  2      [ ]         DGRAM                    28190
unix  2      [ ]         DGRAM                    23814
unix  2      [ ]         DGRAM                    23771
unix  3      [ ]         STREAM     CONNECTED     28346
unix  3      [ ]         DGRAM                    12746
unix  3      [ ]         STREAM     CONNECTED     22370
unix  3      [ ]         STREAM     CONNECTED     22056
unix  2      [ ]         DGRAM                    35370
unix  2      [ ]         DGRAM                    22303
unix  3      [ ]         STREAM     CONNECTED     23781
unix  3      [ ]         STREAM     CONNECTED     30252
unix  3      [ ]         STREAM     CONNECTED     32628    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     32627
unix  3      [ ]         STREAM     CONNECTED     25688    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     22306    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     29677
unix  3      [ ]         STREAM     CONNECTED     23764    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     23744    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     25301
unix  3      [ ]         STREAM     CONNECTED     22301    /run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     31851
unix  3      [ ]         STREAM     CONNECTED     34679    /run/systemd/journal/stdout
unix  2      [ ]         DGRAM                    32634
unix  3      [ ]         STREAM     CONNECTED     25681
unix  3      [ ]         STREAM     CONNECTED     21349    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     21112
unix  2      [ ]         DGRAM                    31524
unix  3      [ ]         STREAM     CONNECTED     33597
unix  3      [ ]         STREAM     CONNECTED     27600    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     31855    /run/containerd/s/66d65a708f91ff34101944436d238dec94bb85dd72a75d0a77dfa958476fd088
unix  3      [ ]         STREAM     CONNECTED     22493    /run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     28914
unix  3      [ ]         STREAM     CONNECTED     27546    /run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     25986
unix  3      [ ]         STREAM     CONNECTED     29654
unix  3      [ ]         STREAM     CONNECTED     20775

Command Result : 0 (Success)