> I would like to know if there is any restriction on the length of community
> string and also the characters that comprise a community string.

Nothing inherent in SNMP, no.
Assorted MIB tables make various assumptions, so I'd certainly avoid
anything longer than 255 characters (DisplayString, SnmpAdminString)
and the RMON-MIB seems to limit this to 127 characters.
  Plus if a community string is ever used as a table index, then you've
got an overall limit of a valid OID of 128 subidentifiers.

Embedded '\0' characters will almost certainly break quite a lot of
things, and whitespace may cause some confusion if you're not careful.
And there are often assumptions that a community string will be
consist of printable characters.

But in theory, the SNMP protocol ought to be capable of handling a
community string consisting of 1024 null bytes!

Dave



-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to