Subject: Re: stupid questions about sendmail and mutt
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Denis Lagno <dlagno@mail.ru>
List: netbsd-users
Date: 02/07/2005 01:04:40
> what does 'netstat -anf inet' show?

# netstat -anf inet
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        State
tcp        0     48  192.168.0.11.22        192.168.0.22.61089     ESTABLISHED
tcp        0      0  127.0.0.1.22           127.0.0.1.65502        ESTABLISHED
tcp        0      0  127.0.0.1.65502        127.0.0.1.22           ESTABLISHED
tcp        0      0  127.0.0.1.25           *.*                    LISTEN
tcp        0      0  *.17                   *.*                    LISTEN
tcp        0      0  *.37                   *.*                    LISTEN
tcp        0      0  *.13                   *.*                    LISTEN
tcp        0      0  *.540                  *.*                    LISTEN
tcp        0      0  *.513                  *.*                    LISTEN
tcp        0      0  *.514                  *.*                    LISTEN
tcp        0      0  *.23                   *.*                    LISTEN
tcp        0      0  *.21                   *.*                    LISTEN
tcp        0      0  *.22                   *.*                    LISTEN
tcp        0      0  *.2049                 *.*                    LISTEN
tcp        0      0  *.1022                 *.*                    LISTEN
tcp        0      0  *.111                  *.*                    LISTEN
udp        0      0  *.*                    *.*                   
udp        0      0  *.37                   *.*                   
udp        0      0  *.13                   *.*
udp        0      0  *.518                  *.*
udp        0      0  *.525                  *.*
udp        0      0  *.2049                 *.*
udp        0      0  *.1020                 *.*
udp        0      0  *.1021                 *.*
udp        0      0  *.111                  *.*