Bart Van Assche <bvanass...@acm.org> writes:

> Is there perhaps a list available of the MIBs that are compatible with
> --enable-read-only, --enable-mini-agent and --enable-minimalist?

They all do different things:

1) --enable-read-only has been around longer than snmpping.c, and it's
   clear that the person that Bill didn't test snmpping with all the
   configure options (not at all surprising; I would have likely missed
   it too).  This is something that we should fix as we move to github:
   ensure code does compile with various restrictive command line apps.

   [FYI, --enable-read-only really does remove write related defines
   from the cpp output code base to ensure there is no way write support
   can be complied in; it's for high-security or very-low-code-size
   platforms that really want read-only code; it was also designed to
   pass the output of cpp to an auditor who would have less "real code"
   to review and certify]

2) --enable-mini-agent really just drops out most of the default mib
   modules that we include.  IE, it drops the host resources mib and
   mibII trees for people that want to build an agent with just their
   enterprise specific things, etc.

3) --enable-minimalist is an interesting one that is also designed for
   code reduction in that one section of code can declare the need for a
   function, and if and only if that function is needed by something
   else will it be included.  If you want a really reduced code base for
   auditing, security, etc, this is the flag that will get you the
   farthest there.

> Is this a known issue?

So no.  But snmpping shouldn't be complied with --enable-read-only since
it requires SET support to operate.  It should be excluded in the same
way that snmpset is excluded.

-- 
Wes Hardaker
Please mail all replies to net-snmp-coders@lists.sourceforge.net

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to