Re: snmpnetstat/snmpwalk don't show all open ports

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 07/05/07, Manuel Diaz <[email protected]> wrote:
>  When I execute the command: snmpwalk -c public localhost tcp, don't show
> all open ports, like 22 (ssh), 80 (http).
>
>  If I execute the command nmap or netstat, show these ports (22, 80, ...)

What is the "netstat -a" output for the ports in question?
Does it look like:

    tcp        0      0 0.0.0.0:22                  0.0.0.0:*
         LISTEN
or
    tcp        0      0 :::22                       :::*
         LISTEN


The first is a TCP/IPv4 socket (which should appear in the tcpConnTable),
the second is a TCP/IPv6-style socket (which won't).

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.