#2409 read-only nsModuleName is writable

open
nobody
agent (1103)
1
2012-11-08
2012-09-04
Finzel Stefan
No

net-snmp-5-7-2-rc2

read-only nsModuleName is writable within all instances, but at least does not keep the written values

nsModuleName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The module name that registered this OID."
::= { nsModuleEntry 4 }

example

snmpget -v2c -cprivate 192.168.0.39 1.3.6.1.4.1.8072.1.2.1.1.4.0.1.0.0
iso.3.6.1.4.1.8072.1.2.1.1.4.0.1.0.0 = ""

snmpset -v2c -cprivate 192.168.0.39 1.3.6.1.4.1.8072.1.2.1.1.4.0.1.0.0 s test
iso.3.6.1.4.1.8072.1.2.1.1.4.0.1.0.0 = STRING: "test"

snmpget -v2c -cprivate 192.168.0.39 1.3.6.1.4.1.8072.1.2.1.1.4.0.1.0.0
iso.3.6.1.4.1.8072.1.2.1.1.4.0.1.0.0 = ""

Discussion

  • Finzel Stefan
    Finzel Stefan
    2012-09-17

    fixed:

    As all entries of nsModuleTable are not-accessible/read-only it seems this was a copy and paste error only. This is also evident as not SET_xxx action are within the source file

     
  • Finzel Stefan
    Finzel Stefan
    2012-09-17

     
    Attachments