Re: non-blocking v3 authentication?

Rob Bloodgood <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dave Shield wrote:
> On 17/10/2007, Rob Bloodgood <[email protected]> wrote:
>> However, if something entered the "official" module's source, I could
>> certainly take advantage of it when it was available.  Specifically, I
>> would like to be able to defer the probing in the constructor, then
>> probe asynchronously, even if I have to be extra careful not to issue
>> any queries until the probe is complete.
> 
> Well, if you manage to come up with code to handle this, do feel free
> to submit it to the project for inclusion in the main source tree.
> You've probably got more of a vested interest in providing this
> functionality than anybody else :-)

I've had my initial look at the code, and right at the core of 
snmpv3_engineID_probe() is a call to snmp_sess_synch_response().  Which 
suggests to me I'd have to write an async version of 
snmpv3_engine_ID_probe.  I might just do that.


>> And while I'm at it, A question for somebody who works on the Perl API:
>> Why is it so hard to get at the specific filehandle associated with a
>> given session object?  I finally realized I could take 'before' and
>> 'after' snapshots of the list of active filehandles when calling the
>> constructor... but a direct API call (with whitespace, I think 8 lines
>> of C) would have made more sense.
> 
>    Well write one, dear Rob, dear Rob, dear Rob
>    Well write one, dear Rob, dear Rob, my dear
> 
> Same comment applied - if you come up with code that you think
> could usefully be included in the project, simply submit it to the
> project 'patches' tracker.
>    It may take us a while to get round to looking as such submissions,
> but we *do* welcome contributions, and most of them will tend to be
> included in the official sources  (eventually).

OK, I'll get to it when I get a coupla tuits. :)

L8r,
Rob

-------------------------------------------------------------------------
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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
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.