buglwIP - A Lightweight TCP/IP stack - Bugs: bug #22070, MIB_OBJECT_WRITE_ONLY not...

 
 

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

bug #22070: MIB_OBJECT_WRITE_ONLY not implemented in SNMP

Submitted by:  Josh Strinch <mischief>
Submitted on:  Mon 21 Jan 2008 05:08:12 PM UTC  
 
Category: NoneSeverity: 2 - Minor
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: CVS Head

(Jump to the original submission Jump to the original submission)

Fri 13 Feb 2015 08:13:03 PM UTC, comment #7:

Finally fixed, turns out I just misunderstood the RFC back in 2010...

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Thu 12 Feb 2015 10:22:27 PM UTC, comment #6:

Back to the original summary: WRITEONLY is not implemented and the current implementation of getnext stops with NOSUCHNAME when iteration reaches a WRITEONLY value...

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Tue 04 May 2010 06:31:08 PM UTC, comment #5:

Updated summary and status/severity to reflect the changes

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Wed 21 Apr 2010 08:12:25 PM UTC, comment #4:

Removing the planned release 1.4.0 as I don't really need it and currently don't have the time.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Mon 25 Jan 2010 05:44:21 PM UTC, comment #3:

Partly fixed: write-only or not-accessible are still returned by getnext (though not by get any more).

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Sun 03 May 2009 03:45:19 PM UTC, comment #2:

Oh, and do we need to prevent reading from WRITE_ONLY nodes, too?

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Sat 02 May 2009 04:23:27 PM UTC, comment #1:

This response is also a little late and I think it's a pity noone from axxon replied so far.

But I guess this is fixed rather easily in snmp_msg_set_event(): just let MIB_OBJECT_WRITE_ONLY pass also in the two checks where we test for MIB_OBJECT_READ_WRITE and that should be it.

Unfortunately I cannot test it without a private MIB and thus I would just check it in unless there is someone seriously against it...

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Mon 21 Jan 2008 05:08:12 PM UTC, original submission:

MIB_OBJECT_WRITE_ONLY isn't implemented - just READ_ONLY and READ_WRITE.

Symptom is that SET on WRITE_ONLY object always fails with NOSUCHNAME.

Josh Strinch <mischief>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by kieranm (Updated the item)
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by mischief (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 11 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 13 Feb 2015 08:13:03 PM UTCgoldsimonStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Thu 12 Feb 2015 10:22:27 PM UTCgoldsimonSummarySNMP: MIB_OBJECT_WRITE_ONLY is readable for getnext=>MIB_OBJECT_WRITE_ONLY not implemented in SNMP
    Mon 14 Jan 2013 09:08:14 PM UTCgoldsimonCategoryContrib=>None
    Tue 04 May 2010 06:31:08 PM UTCgoldsimonSeverity3 - Normal=>2 - Minor
      StatusIn Progress=>Confirmed
      SummaryMIB_OBJECT_WRITE_ONLY not implemented in SNMP=>SNMP: MIB_OBJECT_WRITE_ONLY is readable for getnext
    Wed 21 Apr 2010 08:12:25 PM UTCgoldsimonPlanned Release1.4.0=>
    Thu 20 Aug 2009 02:18:08 PM UTCkieranmPlanned Release=>1.4.0
    Sat 02 May 2009 04:23:27 PM UTCgoldsimonStatusNone=>In Progress
      Assigned toNone=>goldsimon

    Back to the top


    Powered by Savane 3.1-cleanup1