--===============1943659939==
Content-type: multipart/alternative;
boundary="Boundary_(ID_yzDDCCanmVBrvk9MHSmr7w)"
Content-class: urn:content-classes:message
This is a multi-part message in MIME format.
--Boundary_(ID_yzDDCCanmVBrvk9MHSmr7w)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
I am currently trying to implement SNMPv3 encryption and decryption into
my existing application. My client needs to be able to send my
application SNMPv3 encrypted messages which will be authenticated and
decrypted for parsing by my software. The sc_decrypt() function looks to
be what I need but I am unsure how to acquire all of the necessary
parameters from the message itself. Can anyone tell me the best way for
my application to calculate the necessary keys and IV value for
decryption of the v3 message?
John D. Forbes II
Software Engineer Asc
Lockheed Martin IS&GS
--Boundary_(ID_yzDDCCanmVBrvk9MHSmr7w)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Book Antiqua";
panose-1:2 4 6 2 5 3 5 3 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:navy;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=navy>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am currently trying to implement SNMPv3 encryption and
decryption into my existing application. My client needs to be able to send my
application SNMPv3 encrypted messages which will be authenticated and decrypted
for parsing by my software. The sc_decrypt() function looks to be what I need
but I am unsure how to acquire all of the necessary parameters from the message
itself. Can anyone tell me the best way for my application to calculate the
necessary keys and IV value for decryption of the v3 message? <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face="Book Antiqua"><span
style='font-size:12.0pt;font-family:"Book Antiqua";color:blue'>John D. Forbes
II</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 color=blue face="Book Antiqua"><span
style='font-size:12.0pt;font-family:"Book Antiqua";color:blue'>Software
Engineer Asc</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 color=blue face="Book Antiqua"><span
style='font-size:12.0pt;font-family:"Book Antiqua";color:blue'>Lockheed Martin
IS&GS</span></font><o:p></o:p></p>
<p class=MsoNormal><u><font size=3 color=blue face="Book Antiqua"><span
style='font-size:12.0pt;font-family:"Book Antiqua";color:blue'>john.d.f...@lmco.com</span></font></u><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
--Boundary_(ID_yzDDCCanmVBrvk9MHSmr7w)--
--===============1943659939==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
--===============1943659939==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Net-snmp-users mailing list
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
--===============1943659939==--
The SNMP message will include the username for that particular message.
Your application will need a local database of configured users and their
associated keys. The IV value is calculated from the privParameters field
of the SNMP message, and the user's privacy key.
See the routine snmpusm.c:usm_process_in_msg() for details.
Dave
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4