[SNMP4J] possible bug with source address filtering enabled.

Frank Fock fock at agentpp.com
Mon Sep 11 09:10:36 CEST 2006


Hi Glenn,

This is a bug that I must have missed to fix.
There will be an update release today (v1.0a)
that fixes it.

Best regards,
Frank

Glenn Gerhardt (glgerhar) wrote:
>  
> Frank,  
> It appears that this change did not make it into the v1.0 Agent 
> release.  Source filtering is not working properly in the v1.0 agent
> without this change.
> -Glenn
> 
>> -----Original Message-----
>> From: snmp4j-bounces at agentpp.org 
>> [mailto:snmp4j-bounces at agentpp.org] On Behalf Of Glenn 
>> Gerhardt (glgerhar)
>> Sent: Wednesday, August 09, 2006 6:26 PM
>> To: snmp4j at agentpp.org
>> Subject: [SNMP4J] possible bug with source address filtering enabled.
>>
>>
>> Frank,
>>
>> I encountered an issue when running with source address 
>> filtering enabled.
>> After debugging the problem, I believe I have found the solution.
>>
>> In SnmpCommunityMIB.passesFilter(), I believe this line:
>>
>>       SnmpTargetAddrExtEntryRow extRow = (SnmpTargetAddrExtEntryRow)
>>           snmpCommunityEntryModel.getRow(row.getIndex());
>>
>> should instead be:
>>
>>       SnmpTargetAddrExtEntryRow extRow = (SnmpTargetAddrExtEntryRow)
>>           snmpTargetAddrExtEntryModel.getRow(row.getIndex());
>>
>> Please take a look and confirm that this is the appropriate change.
>> If so, it would be nice to see it in a future release.
>>
>> BTW, the proxy behaviour in snmp4j-agent-1.0b7 looks great!
>>
>> Thanks,   Glenn
>>
>> --------------------------------------------
>> Glenn Gerhardt glenn.gerhardt at cisco.com
>> Cisco Systems
>> 500 Beaver Brook
>> Boxborough, MA 01719
>> 978-936-0958
>> _______________________________________________
>> SNMP4J mailing list
>> SNMP4J at agentpp.org
>> http://lists.agentpp.org/mailman/listinfo/snmp4j
>>
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list