On Tue, Nov 23, 2010 at 04:29:31PM +0100, Quagga Snmp wrote:
> In this situation, in PC(1) is necessary to install two things: quagga AND
> stock snmpd. I understand what you say.
> I have to do this project to finish my university studies, if I wanted to do
> this, I ´d use your idea.
> 
> Quagga is constructed in modules ( rip daemon, bgp daemon, etc...). In my
> project, I want the snmp daemon into quagga.
> 
> I need install only one thing: quagga, and then I can obtein OID variables
> from another PC.
> 
> I wish you understand me.

I do understand you: you wish to install only one thing.

And I have wishes too: that I were dating Heidi Klum and that I had as much
money as Bill Gates. But they aren't likely.

Trying to incorporate SNMPD into your own project seems like a really poor
idea even though I see why you would want this.

But I recommend that you take a different approach. You may decide someday
that you really really do have to include snmpd with your project, but you
do not have to make that decision now.

Break the project into two parts.

FIRST: do the SMUX interface with a separate install of SNMPD. You have to do
        this anyway in order to provide the functionality, so you may as well
        work on the part you cannot avoid.

SECOND: if you really feel like you must package snmpd with quagga, then do
        that AFTER you have the SMUX functionality working.

This way you spend your time working on the part you must have, and you might
change your mind on the packaging part later.

Good luck.

Steve

> 2010/11/23 Steve Friedl <st...@unixwiz.net>
> 
> > On Tue, Nov 23, 2010 at 03:18:03PM +0100, Quagga Snmp wrote:
> > > But, with SMUX I need a intermediary, or not?
> >
> > I guess so, depending on what you mean.
> >
> > It's been a while since I worked on this, but if I recall correctly you'd
> > need
> > two things:
> >
> > * Stock snmpd, the same one that ships with the distro (assuming it's been
> >  compiled with SMUX support - I don't know if that's the default). This is
> >  installed and configured in the usual way.
> >
> > * SMUX agent piece that bolts directly onto Quagga.
> >
> > The config for snmpd identifies the SMUX agent and which part of the OID
> > tree
> > it serves up, and then standard SNMP queries to the daemon will serve up
> > the
> > proper answers, either from your SMUX agent or from other parts of the MIB
> > tree supported by the agent.
> >
> > Is this not your understanding?
> >
> > Steve
> >
> >
> >
> > > For example, I want to ask which is the value of "ip_forward" in PC(1)
> > from
> > > PC(2).
> >
> >
> > >
> > > Thanks.
> > >
> > > 2010/11/23 Steve Friedl <st...@unixwiz.net>
> > >
> > > > On Tue, Nov 23, 2010 at 02:48:13PM +0100, Quagga Snmp wrote:
> > > > > Quagga itself does not support SNMP agent (server daemon)
> > functionality
> > > > but
> > > > > is able to connect to a SNMP agent using the SMUX protocol.
> > > > >
> > > > > I want that quagga support SNMP agent (daemon snmpd) without
> > installing
> > > > > other software, I mean, if you install Quagga software in a PC,
> > > > immediately you
> > > > > can send "snmpget" or "snmpwalk" to that PC and receive the answer.
> > > >
> > > > This is a bad idea if for no other reason that running Quagga's
> > > > built-in SNMP daemon would prevent somebody from running the real
> > > > one, perhaps with additional MIBs.
> > > >
> > > > I do understand the nice notion of having things all-in-one, but I
> > believe
> > > > it comes at too high a cost in lost modularity.
> > > >
> > > > Doing this via an SMUX plugin is really, really the right way to do
> > this.
> > > >
> > > > Steve (who's done a Quagga SMUX plugin before)
> > > >
> > > > > 2010/11/23 Dave Shield <d.t.shi...@liverpool.ac.uk>
> > > > >
> > > > > > On 23 November 2010 12:09, Quagga Snmp <quaggas...@gmail.com>
> > wrote:
> > > > > > > I´m working in a project of my university. The tarjet is to
> > insert a
> > > > snmp
> > > > > > > daemon in Quagga (routing suite).
> > > > > > >
> > > > > > > Is anyone working in this?
> > > > > >
> > > > > > I'm no expert on Quagga, but I believe it already has SNMP support
> > > > > > (running as a SMUX subagent)
> > > > > >
> > > > > > See http://www.quagga.net/docs/docs-info.php#SEC143
> > > > > >
> > > > > > Dave
> > > >
> > > >
> > > > --
> > > > Stephen J Friedl  | Security Consultant |  UNIX Wizard  | 714 694-0494
> > > > st...@unixwiz.net | Orange County, CA   | Microsoft MVP |  unixwiz.net
> > > >
> >
> > >
> > ------------------------------------------------------------------------------
> > > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> > > Tap into the largest installed PC base & get more eyes on your game by
> > > optimizing for Intel(R) Graphics Technology. Get started today with the
> > > Intel(R) Software Partner Program. Five $500 cash prizes are up for
> > grabs.
> > > http://p.sf.net/sfu/intelisp-dev2dev
> > > _______________________________________________
> > > Net-snmp-coders mailing list
> > > Net-snmp-coders@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
> >
> >
> > --
> > Stephen J Friedl  | Security Consultant |  UNIX Wizard  | 714 694-0494
> > st...@unixwiz.net | Orange County, CA   | Microsoft MVP |  unixwiz.net
> >

> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Net-snmp-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


-- 
Stephen J Friedl  | Security Consultant |  UNIX Wizard  | 714 694-0494
st...@unixwiz.net | Orange County, CA   | Microsoft MVP |  unixwiz.net

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to