snmp v3 traps in SNMP++v3.0h and AGENT++ API Version 3.4.1
Frank Fock
Frank.Fock____t-online.de
Wed Nov 15 00:15:27 CET 2000
Hi,
Tanks for the bug report!
A really unnecessary bug. I fixed it in SNMP++v3.0j which can
be downloaded from http://fock.de/agent++/snmp++v3.0j.tar.gz
(The check should have been executed for response messages only!)
Best regards,
Frank
bent-ivar.laholt____4tel.no wrote:
> Snmp v3 traps is not generated using SNMP++v3.0h and AGENT++ API Version
> 3.4.1
>
> The problem seems to be the following:
>
> >From SNMP++v3.0h to SNMP++v3.0f in
> snmpmsg.cpp:SnmpMessage::load
> you have added an extra check:
> ---diff begins---
> 450a452,462
> > if (status == SNMPv3_MP_OK) {
> > if (pdu.get_maxsize_scopedpdu() < bufflen) {
> ---diff ends-----
> At this point when we generate the trap the maxsize seems to be 0 (zero).
> How can we make sure that this maxsize is configured, for example in the
> add_v1_trap_destination method (or somewhere else)?
>
> Regards
>
> Bent Laholt
--
Frank Fock - AGENT++
Email: frank____fock.de
Fax: +49 7195 177108
More information about the AGENTPP
mailing list