I asked a week or so ago what restrictions, if any, there were on community strings and didn't see an answer. I've since poked around the MIBs and such and believe I've determined that a community string is a 256-octet string. That is, it can be up to 256 8-bit characters including, in the extreme, nul, Unicode, etc. So, I tried things like:
Foo$Bar & Grill and #<b>Hi!</b> These strings look find in my snmpd.conf: # rocommunity: a SNMPv1/SNMPv2c read-only access community name # arguments: community [default|hostname|network/bits] [oid] rocommunity Foo$Bar & Grill # rwcommunity: a SNMPv1/SNMPv2c read-write access community name # arguments: community [default|hostname|network/bits] [oid] rwcommunity #<b>Hi!</b> but my clients time out: snmpget -v 2c -c 'Foo$Bar & Grill' myserver system.sysDescr Timeout: No Response from myserver. It's not just shell quoting, I've done this in C, too. Am I missing something here? Shouldn't these strings work? TIA. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
