Re: SNMP Agent engineboot

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <CAKoMtGaLp4bvA4FRVzQp1YOchYHZGvJ4Gy-jN+avjqrJXv07DA@mail.gmail.com>
On 5 January 2013 03:41, Zheng, Wenjie (Barclay)
<[email protected]> 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
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.