Re: HELP !!! I'm buried in noise!!

Dan Miller <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 04/21/16 13:42, Wes
Hardaker wrote:

RFC3414 is indeed the exact document you need to read if you're
implementing things by hand.

Though I might wonder why you're implementing it by hand rather than
using something existing (since you're already using net-snmp).

Well, because I'm using
the utilities from net-snmp (under Win7/64) to test our agent, but
the agent itself is running on an ARM9 core, with 96KB RAM and
512KB FLASH.聛0聞2 I had hand-coded all our existing snmp v1 and v2
support by reverse-engineering Wireshark packet dumps of
interactions between net-snmp utilities and net-snmp snmpd running
on another machine.聛0聞2

Unfortunately, that isn't so simple with the
authentication/encryption requirements of v3!!聛0聞2 So my current plan
is to identify the minimum set of functions that I need to extract
from net-snmp into our firmware to get this job done.

I have merged snmplib/openssl into our firmware, which takes up
about 31KB.聛0聞2 But I definitely cannot pull in all of snmplib itself
(over 66,000 lines).聛0聞2 So I'm tracing snmpget.c, along with the
agent, to figure out what the minimum set of functionality that I
need to pull in, to handle the auth/encryption, and then link them
to my existing hand-coded snmp packet handlers.

My current theory is that I should be able to extract
generate_Ku() and whatever function it calls, to handle the tasks
that I don't already know how to handle, but I've got some further
analysis of the agent to go before I'll know if that is
reasonable...

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon
Virus-free. www.avast.com

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.