Re: [PATCH] Let Perl access the security engine ID

2014-10-19 Thread Bill Fenner
Hi Steinar, Thanks for the patches. Could you please submit them at http://www.net-snmp.org/patches/ so that we don't lose track of them? Thanks, Bill On Sun, Oct 19, 2014 at 4:29 PM, Steinar H. Gunderson < [email protected]> wrote: > Hi, > > When using SNMP::Session->new() without a S

[PATCH] Let Perl access the security engine ID

2014-10-19 Thread Steinar H. Gunderson
Hi, When using SNMP::Session->new() without a SecEngineId, it is probed. However, there's no way to actually find the probed value from Perl (which would be useful for e.g. storing it for faster later reconnect; the probing is synchronous and can take a long time, especially if the host is done).

[PATCH] Fix doubled calls to callback for SNMPv3 reports

2014-10-19 Thread Steinar H. Gunderson
Hi, I've been bothered with my Perl scripts segfaulting due to use of freed data; it seems that under certain circumstances (e.g., when retries are needed), you can get callbacks for SNMP reports multiple times, and there is no way that I can see for the script to know which one is the last one or