Hello there,
I am working on a datacollector using the Net-SNMP 5.4.1, programming is done 
in Perl using the SNMP.pm and SNMP::Multi.pm.

I found a Bug in Net-SNMP regarding the handling of recieving and matching 
Get-Response to the coresponding Get-Request. I am using SNMPv2C.

For me, it looks like that there is a problem when there are multiple 
snmp-packets on wire. If one get-response  packet is recieved by the agent
after the timeout for the coresponding get-request already had toke place. (the 
Agent will now start resending the request, with a new snmp request id). It 
will now collect the late packet, regardless of its request id.  Thats where 
the mess starts. Now we have the wrong (old) Get-Response packed to the new 
Get-request. On the lowlevel of the Net-SNMP Agent this is not noticed. But 
Perls SNMP.pm do. It gets the Info that there was a package recieved, and start 
to look up in the returned object (like structure) for the matching response, 
but cannot find it (because request-ids donŽt match I think). 

If this happens once, there is a Chainreaction. Each further get-response is 
bound to the wrong get request. And I endup with a bunch of data garbage.

I allready had this Bug in 5.1.4 and it is still there. (I had a hard time 
building net-snmp 5.4.1 on my aix, thought). If somebody is interessed in 
verifying or even fixing this Bug, I would send the Tracefiles (net:snmp 
debugging level 3 25mb and 35mb of iptrace udp) .
(The containing data represents our development network, so no security is 
violated. ) 

Thanks,
Boa
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to