Page MenuHomeVyOS Platform

Allow any character to be used in the SNMP community field
Open, Requires assessmentPublicFEATURE REQUEST

Description

According to the net-snmp source and RFC1157, SNMP community field has type OCTET STRING / char, so it may contain any of char symbols.
In the current CLI, a community name can use only the limited list of characters: https://github.com/vyos/vyos-1x/blob/846e306700af191d22dc874992bbf5f04d2799c4/interface-definitions/snmp.xml.in#L16.

We should review the possibility to extend it to the full set of supported characters

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Improvement (missing useful functionality)

Event Timeline

c-po added a subscriber: c-po.

What would be the "full set" up supported characters? If I remember correctly this regex is inherited from VyOS 1.1

erkin renamed this task from Allow to use in SNMP community all characters to Allow any character to be used in the SNMP community field.Aug 29 2021, 1:33 PM
erkin set Issue type to Improvement (missing useful functionality).
erkin removed a subscriber: Active contributors.