Re: Speeding Up SNMPv3 / C Net-SNMP-v5.4.1

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Tue, 4 Aug 2009 21:56:27 -0700, "Mike Ayers" <[email protected]> said:

MA> It may be possible to tune up your plugin so that it runs much more
MA> efficiently than it does now, but to help with that we need details
MA> of how it works: Is it a wrapper for the command line tools?  Is it
MA> long lived?  Details, please.

If you have a plugin that is continually launching a net-snmp
application to do v3 and the application needs to convert a password to
a key then yes, that'll be a slow startup because of the generateKu
algorithm and the key localization algorithm (generatKul).

To get around that you can specify keys directly using the
--defAuthMasterKey, --defPrivMasterKey or even faster would be the
direct localized keys: --defAuthLocalizedKey, --defPrivLocalizedKey

-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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.