[SNMP4J] General SNMP Question: Is it valid for the Read/WriteCommunity Name to be empty (i.e. "")?

PHIL BERGSTRESSER phil.bergstresser at adtran.com
Fri Aug 24 15:13:57 CEST 2007


    And the answer to the other part of the question of content. There
is no limitation on character content of the community name. It does not
have to be readable/displayable.
    HTH,
Phil

> -----Original Message-----
> From: snmp4j-bounces at agentpp.org 
> [mailto:snmp4j-bounces at agentpp.org] On Behalf Of Frank Fock
> Sent: Thursday, August 23, 2007 4:19 PM
> To: Jamie Bisotti
> Cc: snmp4j at agentpp.org
> Subject: Re: [SNMP4J] General SNMP Question: Is it valid for 
> the Read/WriteCommunity Name to be empty (i.e. "")?
> 
> Hi Jamie,
> 
> there is no maximum length for a community string, but you 
> should have in mind MTU and the maximum UDP packet length 
> (64K). So it should not be that long if you cannot make sure 
> that MTU and transport packet length do not limit functionality.
> 
> Best regards,
> Frank
> 
> Jamie Bisotti wrote:
> > On 8/15/07, Jamie Bisotti <jbisotti at gmail.com> wrote:
> >> On 8/14/07, Frank Fock <fock at agentpp.com> wrote:
> >>> Hi,
> >>>
> >>> Yes, an empty (= zero length) community name is valid.
> >>>
> >>> Best regards,
> >>> Frank
> >>>
> >>> Jamie Bisotti wrote:
> >>>> All,
> >>>>
> >>>> I guess my real question is what denotes a valid 
> Community Name?  
> >>>> Is
> >>> there a
> >>>> min/max length?  Limited valid characters?  Etc.?
> >>>>
> >>>> Thanks.
> >>>>
> >>>
> >>>
> >> Frank, can you tell me if there's a maximum length?  What 
> about valid 
> >> characters?  Actually, if you'd point me to the approriate 
> document 
> >> (RFC?, code?), I'd be happy to dig around and find out for myself.
> >>
> >> Does SNMP4J do any validation on CommunityTarget?
> >>
> >> --
> >> Jamie Bisotti
> >>
> >>
> > Accidentally responded just to Frank instead of the mailing 
> list last 
> > time...Frank?  Anyone?  Thanks.
> > 
> 
> -- 
> AGENT++
> http://www.agentpp.com
> http://www.mibexplorer.com
> http://www.mibdesigner.com
> 
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
> 



More information about the SNMP4J mailing list