On 5 January 2013 03:41, Zheng, Wenjie (Barclay)
<barclay.zh...@alcatel-lucent.com> wrote:
>  But when this process re-started, and there is another request comes in,
> SNMP agent will replies error:usmstatus not in timewindow.

That is correct - an SNMPv3 request will fail if the boot time/count
values in the
request don't match the agent's idea of the current values.   I
believe this is to
avoid replay attacks.


> I learnt that SNMP agent should increase the engineboot if agent restarted,
> how should I implement this function that SNMP Manager don't
> need do a handshake again if SNMP agent restarted?

The manager will need to resend the request, with updated boot
count/time values.
These can be taken from the "not in timewindow" Report message that was
sent by the agent.
   If the manager is written using the Net-SNMP libraries, then I'd expect this
to happen automatically.   If it's using a different toolkit, then you'd need to
talk to the appropriate vendor to find out how to handle this with their code.

Dave

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
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