[SNMP4J] About coexistenceInfo

Kanda Norimichi nkanda at fsi.co.jp
Wed Oct 24 11:04:21 CEST 2007


Dear Mr. Fock:

Context engine ID is used to identify source entity
by destination entity.
If destination is SNMPv3 entity, 
this context engine ID is sent on its own.

I think it's impossible to resolve without source address.

Sincerely.

Norimichi Kanda

> -----Original Message-----
> From: Frank Fock [mailto:fock at agentpp.com]
> Sent: Friday, October 19, 2007 7:05 AM
> To: Kanda Norimichi
> Cc: snmp4j at agentpp.org
> Subject: Re: [SNMP4J] About coexistenceInfo
> 
> 
> Hello Mr. Norimichi,
> 
> The coexistence provider is the
> SNMP-COMMUNITY-MIB which uses the community
> to map to the associated security name and
> context engine ID. It does not use the source
> address of the request.
> 
> Using the source address would further increase
> configuration complexity.
> 
> Best regards,
> Frank Fock
> 
> Kanda Norimichi wrote:
> > Dear Mr. Fock:
> > 
> > I'm making the NMS which manage multiple SNMPv2c Agent, now.
> > And, I hope the NMS forward Trap from Agent to another NMS using 
> > ForwardProxy.
> > 
> > But, when I register the second Agent on NMS, Trap from the first Agent 
> > couldn't be forwarded.
> > I traced and found that in org.snmp4j.agent.CommandProcessor 95th line,
> > result of coexistenceProvider.getCoexistenceInfo() is absolutely the second 
> > Agent information.
> > So, forwarding absolutely fails at coexistenceProvider.passesFilter() in 
> > 97th line.
> > 
> > I traced more, when I register the second Agent which has same 
> > CommunityName,
> > the first Agent information in SnmpCommunityMIB.coexistenceInfo was 
> > overwritten by the second Agent information.
> > I think that by right, it should be managed by CommunityName & PeerAddress.
> > 
> > Could you tell me how would you think about it ?
> > 
> > Sincerely.
> > 
> > Norimichi Kanda
> > 
> > _______________________________________________
> > 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