buglwIP - A Lightweight TCP/IP stack - Bugs: bug #60715, SNMP 2c traps use incomplete OIDs

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #60715: SNMP 2c traps use incomplete OIDs

Submitter:  Tim Schendekehl <timschendekehl>
Submitted:  Tue 01 Jun 2021 09:30:08 AM UTC
Votes: 1
 
Category:  apps Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
lwIP version:  git head

Tue 01 Jun 2021 09:48:04 AM UTC, comment #1: 

Already fixed by patch #9908: SNMP: Fix SNMPv2 trap oids. But patch is not merged yet (you can vote for it).

Indan Zupancic <indan>
Tue 01 Jun 2021 09:30:08 AM UTC, original submission:  

From RFC3416 4.2.6. "The SNMPv2-Trap-PDU":
"The first two variable bindings in the variable binding list of an SNMPv2-Trap-PDU are sysUpTime.0 [RFC3418] and snmpTrapOID.0 [RFC3418] respectively."

The implementation in function snmp_send_trap_or_notification_or_inform_generic of file src/apps/snmp/snmp_traps.c is missing the last 0 of both OIDs. Instead it uses only sysUpTime and snmpTrapOID.

Tim Schendekehl <timschendekehl>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jan_breuer (Voted in favor of this item)
  • -email is unavailable- added by indan (Posted a comment)
  • -email is unavailable- added by timschendekehl (Submitted the item)
  •  

    There is 1 vote so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-02-10 jan_breuer Carbon-Copy- Added jan_breuer

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code