lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #60715] SNMP 2c traps use incomplete OIDs


From: Tim Schendekehl
Subject: [lwip-devel] [bug #60715] SNMP 2c traps use incomplete OIDs
Date: Tue, 1 Jun 2021 05:30:10 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0

URL:
  <https://savannah.nongnu.org/bugs/?60715>

                 Summary: SNMP 2c traps use incomplete OIDs
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: 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
         Discussion Lock: Any
         Planned Release: None
            lwIP version: git head

    _______________________________________________________

Details:

>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.




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?60715>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]