Re: snmp only answering on localhost - but daemon is listening on all ports (no iptables rules either)

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGbrsa6J4KWT6ma=Uwr8gLSCJYQXitz26Z-eJR0_6ekzOQ@mail.gmail.com>
On 2 November 2012 23:18, Chris Bartram <[email protected]> wrote:
> $ cat /etc/sysconfig/snmpd.options
> # snmpd command line options
> OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a -x 0.0.0.0:161"

  $ man snmpd

  OPTIONS

    -x ADDRESS
        Listens for AgentX connections on the specified address ....


So although the agent is indeed listening on port 161, it is expecting
*AgentX*  requests on that port, rather than SNMP packets.

Though that doesn't actually explain why SNMP queries are working
when sent to localhost - I'd expect them to be discarded as malformed
as well.

Dave

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
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.