Hello,

i would like to use snmpv3 with Sec-Level authPriv. Are there any
api-Samples available?

Because, the snmpdemoapp.c - Sample uses only SNMP_SEC_LEVEL_AUTHNOPRIV.

I think, only setting session.securityLevel = SNMP_SEC_LEVEL_AUTHPRIV and
calling the function generate_Ku isn't enough for encryption. Which
functions do i have to call additionally to the functions in snmpdemoapp.c?

On the agent side, i have created this agent with the mib2c-Tool and added
the following two lines in snmpd.conf:
rwuser myuser priv
createUser myuser MD5 "my_password" DES

When i try to get some variables with an snmpget v 2c - command this works.
And from my point of view, this shouldn't work, because snmpv2c is not able
to handle authentication or encryption. 

Net-Snmp is installed with the parameter "--with-openssl".

Can anybody help me, please?

Kind regards,

Sven

-- 
Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD
++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to