Regarding athentication and encryption

"anand anand" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

  My question is related to Authentication and encryption.

  I am using net-snmp version  :  5.2.1

  when i configured my net-snmp in the configure-summary file i get the
following
           *SNMP Versions Supported:    1 2c 3
           Net-SNMP Version:           5.2.1
           Building for:               solaris2
           Network transport support:  Callback Unix TCP UDP
           SNMPv3 Security Modules:    usm
           Agent MIB code:             mibII ucd_snmp snmpv3mibs
notification target agent_mibs agentx utilities wman wmanTable
wmanNotification
         SNMP Perl modules:          disabled
         Embedded perl support:    disabled
         Authentication support:     MD5 SHA1
         Encryption support:           DES AES*
This means that encryption and authentication is supported for my net-snmp (
I have openssl installed on my solaris Box).

So when the snmp manager sends a GET/SET request to the net-snmp, so will
there be authentication when the GET/SET request comes in and will the
packet which is sent in response to the GET/SET request be encrypted.

From my application code which is intializing the net-snmp by calling
functioncs like init_agent,init_vacm_vars,init_usmUser and init_snmp, do i
need to make any other function calls or will these take care of the
authentication and encryption.

My snmpd.conf file cotains the following entry :

  rwuser admin authPriv
  createUser "xxxxx" SHA "xxxxxxxxxxxxxxxxxxxxxx" AES


With Best Regards
-anand
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.