[erlang-bugs] SNMP get-request failure

Stefan Zegenhagen stefan.zegenhagen@REDACTED
Tue Apr 8 16:01:24 CEST 2014


Dear Raimo,

> 
> I'd say alternative 3: both.
> 
> Moving the error atom clauses to the top in snmp_pdus:enc_value/2 should
> be sufficient, but the agent should ignore any types and values in
> the get-request and the manager should set them to 'NULL'; so pretending
> that the get-request contained 'NULL' for type and value ought to be
> a safe strategy.
> 
> So we need to set #varbind.variabletype to 'NULL' in
> snmp_agent:check_all_table_vbs/4, snmp_agent:get_var_value_from_ivb/2
> and snmp_agent:next_loop_varbinds/6 for #me.access ==
> 'not-accessible', 'write-only' and 'accessible-for-notify'
> (note the reverse logic in the last function).
> 
> I will write an internal ticket for this that will probably result
> in a patch for R16B03 and be included in 17.1.
> 
> Thank you for an excellent problem report!


Thank you for the fast response. I'm looking forward to the fix.

Kind regards,

-- 
Dr. Stefan Zegenhagen

arcutronix GmbH
Garbsener Landstr. 10
30419 Hannover
Germany

Tel:   +49 511 277-2734
Fax:   +49 511 277-2709
Email: stefan.zegenhagen@REDACTED
Web:   www.arcutronix.com

*Synchronize the Ethernet*

General Managers: Dipl. Ing. Juergen Schroeder, Dr. Josef Gfrerer -
Legal Form: GmbH, Registered office: Hannover, HRB 202442, Amtsgericht
Hannover; Ust-Id: DE257551767.

Please consider the environment before printing this message.




More information about the erlang-bugs mailing list