Re: Sharing modifications done in Net-SNMP source

This is a discussion on Re: Sharing modifications done in Net-SNMP source within the SNMP Coders forums, part of the Networking and Network Related category; >>>>> "ss" == santhosh sundarasamy <santhosh.sundarasamy@wipro.com> writes: ss> In ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-30-2007
Wes Hardaker
 
Posts: n/a
Default Re: Sharing modifications done in Net-SNMP source

>>>>> "ss" == santhosh sundarasamy <santhosh.sundarasamy@wipro.com> writes:

ss> In 5.2.1 source code
ss> (usmDHUserKeyTable/usmDHUserKeyTable_data_?et.c), I noticed that
ss> DH_generate_key() is called for both get & set request on
ss> usmDHUserKeyTable.

ss> GET:usmDHGetUserKeyChange()->usmDHGetUserDHptr()->DH_generate_key()

Sorry about the delay, but that is only called if the row didn't
previously have a value. So, it should be called on the first GET but
not the second (unless it's broken somehow).

ss> SET:usmDHUserCheckValue()->usmDHGetUserKeyChange()->usmDHGetUserDHptr()-
>> DH_generate_key()


ss> If I change apps/snmpusm.c to do set on usmUserTable, followed
ss> by get for published keys then final set as described in REC2786, will
ss> that be the proper key change with 5.2.1 agent?

If the code in snmpusm.c isn't doing the proper set of things as
described in 2786, please do submit a patch!
--
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:45 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0