# netstat -tlnup | egrep -v "ntp|openvpn|tinc|egg|smtp|9987"                                                                   
Connexions Internet actives (seulement serveurs)
Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat        PID/Program name
tcp        0      0 0.0.0.0:179             0.0.0.0:*               LISTEN      5385/bgpd       
tcp        0      0 127.0.0.1:4949          0.0.0.0:*               LISTEN      5642/perl       
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      5367/unbound    
tcp        0      0 172.22.151.128:53       0.0.0.0:*               LISTEN      4450/nsd        
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      30376/sshd      
tcp6       0      0 :::80                   :::*                    LISTEN      877/apache2     
tcp6       0      0 :::179                  :::*                    LISTEN      5385/bgpd       
tcp6       0      0 ::1:53                  :::*                    LISTEN      5367/unbound    
tcp6       0      0 2001:41d0:a:1066::1:53  :::*                    LISTEN      4450/nsd        
tcp6       0      0 :::22                   :::*                    LISTEN      30376/sshd      
tcp6       0      0 :::23                   :::*                    LISTEN      5412/xinetd     
tcp6       0      0 :::443                  :::*                    LISTEN      877/apache2     
udp        0      0 127.0.0.1:53            0.0.0.0:*                           5367/unbound    
udp        0      0 172.22.151.128:53       0.0.0.0:*                           4450/nsd        
udp        0      0 37.187.16.102:53        0.0.0.0:*                           4450/nsd        
udp6       0      0 ::1:53                  :::*                                5367/unbound    
udp6       0      0 2001:41d0:a:1066::1:53  :::*                                4450/nsd        

$ sudo netstat -an            
Active Internet connections (including servers)
Proto   Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp          0     36  195.154.110.100.22     78.232.192.24.57412    ESTABLISHED
tcp          0      0  127.0.0.1.587          *.*                    LISTEN
tcp          0      0  127.0.0.1.25           *.*                    LISTEN
tcp          0      0  *.22                   *.*                    LISTEN
Active Internet connections (including servers)
Proto   Recv-Q Send-Q  Local Address          Foreign Address        (state)
udp          0      0  195.154.110.100.24592  188.138.75.207.123    
udp          0      0  195.154.110.100.6054   193.55.167.1.123      
udp          0      0  195.154.110.100.30165  129.250.35.251.123    
udp          0      0  195.154.110.100.8440   37.59.25.31.123       
udp          0      0  *.514                  *.*                   
Active Internet connections (including servers)
Proto   Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp6         0      0  ::1.587                *.*                    LISTEN
tcp6         0      0  ::1.25                 *.*                    LISTEN
tcp6         0      0  *.22                   *.*                    LISTEN