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

Frank Fock fock at agentpp.com
Thu Aug 23 23:19:29 CEST 2007


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




More information about the SNMP4J mailing list