Hi Lukas,

i found a little problem in the snmpsend.pas
a lot of devices, linux also, will reply to the first request with an 
"1.3.6.1.6.3.15.1.1.4.0" wrong EngineID
with the right EngineID and EngineBots and EngineTime in the answer 
(report frame). In this case you hanlde everythink perfectly.
But some devices will answer just the right right EngineID and in the 
next Request the will answer with "1.3.6.1.6.3.15.1.1.2.0" wrong EngineTime
and here is the problem.
You check the EngineTime in line 1059, if it is 0 the you do the next 
request.
But the problem is you set the EngineTime on the first request to 
somethink other then 0

I discovered with wireshark that net-snmp get sets the EngineTime in the 
first packer to 0
i tried to change your code in line 805 to

//compute engine time difference
if FAuthEngineTimeStamp <> 0 then
     x := TickDelta(FAuthEngineTimeStamp, GetTick) div 1000
else
     x := 0;

after this change everythink works fine, i just want to set the 
EngineTime to 0 but just in the first request
i am sure you will find a more beautiful solution.

thanks lukas,
cheers peter



------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to