patchlwIP - A Lightweight TCP/IP stack - Patches: patch #9908, SNMP: Fix SNMPv2 trap oids

 
 

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

patch #9908: SNMP: Fix SNMPv2 trap oids

Submitter:  Harrold <harrold68>
Submitted:  Thu 19 Mar 2020 08:20:16 AM UTC
Votes:  1  
 
Category:  apps Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

Thu 10 Feb 2022 01:14:30 PM UTC, comment #3: 

Hi Harrold,
you are right.

There ware so "much" reformating in you patch that I missed it so it was the reasont also to clarify the change to myself.

Thank you. Corrected.

Jan

(file #52841)

Jan Breuer <jan_breuer>
Thu 10 Feb 2022 12:47:59 PM UTC, comment #2: 

Hi Jan,

Your current patch does not update the oid_len for stsUpTime.0 and snmpTrapOID.0. I assume this is required.

Best regards,
Harrold

comment #1:

> Current implementation is really violating RFC 3416
>
> Just sending alternative patch
>  - doing less reformating
>  - fix all comments around the code
>
> (file #52838)

Harrold <harrold68>
Thu 10 Feb 2022 12:22:08 PM UTC, comment #1: 

Current implementation is really violating RFC 3416

Just sending alternative patch
 - doing less reformating
 - fix all comments around the code

(file #52838)

Jan Breuer <jan_breuer>
Thu 19 Mar 2020 08:20:16 AM UTC, original submission:  

According to rfc3416, paragraph 4.2.6, The first two variable bindings in the variable binding list of an SNMPv2-Trap-PDU should be sysUpTime.0 and snmpTrapOID.0.

So both oids should be extend with a ".0".

Harrold <harrold68>

 

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

Attach Files:
   
   
Comment:
   

 

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 (Updated the item)
  • -email is unavailable- added by jan_breuer (Voted in favor of this item)
  • -email is unavailable- added by harrold68 (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.

    Only logged-in users can vote.

     

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-02-10 jan_breuer Attached File- Added 0001-snmp-fix-trap-varbind-oid-instance.patch, #52841
    2022-02-10 jan_breuer Attached File- Added 0001-snmp-fix-trap-varbind-oid-instance.patch, #52838
        Carbon-Copy- Added jan_breuer
    2020-03-19 harrold68 Attached File- Added fix_snmpv2_trap_variable_oids.patch, #48625

    Back to the top


    Powered by Savane 3.9