On 04/21/16 13:42, Wes
Hardaker wrote: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?2RFC3414 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). 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...
|
------------------------------------------------------------------------------ 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users