Re: [tkined] How to get the engineID?

From: Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Date: Tue Apr 04 2000 - 17:46:06 MET DST


>>>>> Sanapoori, Hari writes:

Hari> I tried the way you mentioned in your email. The output of the
Hari> catch {$s getnext 1.3} is

Hari> noResponse 0 {}

Hari> But, According to books, we need to send an empty request with
Hari> no user name, no variable bindings and noAuth/noPriv. Then the
Hari> agent will return the report with engineID and other stuff.

The session handle should contain the correct engineID after the
"noResponse" timeout. Please check. (You can do engineID discovery
without sending an empty request with no user name since you will get
back a report on any message which does not have the right engineID in
it.)

Hari> How to do that....? I am stuck at this level.... I want to
Hari> know whether the latest scotty package supports the discover of
Hari> SNMPv3 Engine ID. If not what is the possible date we can get
Hari> the package.

I think it does the discovery, but it returns a noResponse since it
caches the packet with the unknown engineID value for retransmissions.
This is what IMHO needs to get fixed - or we do explicit engineID
discovery. However, the strategy currently implemented will work with
any engineID which does not match, which is a bit friendlier in cases
where you have an existing session handle and you just change the
target IP address.

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>

-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.



This archive was generated by hypermail 2b29 : Mon Jan 08 2001 - 15:27:39 MET