Re: snmpd crash after "response to proxy request illegal. We're screwed"

Tomasz Chmielewski <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 30.03.2011 12:09, Dave Shield wrote:
> On 30 March 2011 10:49, Tomasz Chmielewski<[email protected]>  wrote:
>> But - thanks for your help - I think we found a bug in the application and it now replies:
>>
>> # snmpget -v 2c -c public  localhost:1611 .1.3.6.1.4.1.34039.10.9 .1.3.6.1.4.1.34039.10.2
>> SNMPv2-SMI::enterprises.34039.10.9 = INTEGER: 0
>> SNMPv2-SMI::enterprises.34039.10.2 = No Such Instance currently exists at this OID
>>
>>
>> snmpd does not crash anymore. Could it be it was the cause for snmpd crashing?
>
> Yes - an incomplete response might well result in the Net-SNMP agent crashing.
> I'll look to see if I can spot how to protect against this.

Thanks for your help.

It looks the applications we've been using had a number of bugs related 
to SNMP and your input helped find and fix some of them.

If you do any changes which protect against such application errors, 
I'll be happy to test them - instead of crashing, some logging would be 
more appropriate ;)

-- 
Tomasz Chmielewski
http://wpkg.org

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
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.