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

Submitted by:  Tim Schendekehl <timschendekehl>
Submitted on:  Tue 01 Jun 2021 09:30:08 AM UTC  
 
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>

 

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 indan (Posted a comment)
  • -email is unavailable- added by timschendekehl (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.7