RE: using trapsess to send authPriv v3 traps (hashing passwords)

"Hammond, Steven" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <D97933926A67E94DAC10D51E2011C29D3F9F4759C5@CRPMBOXPRD03.polycom.com>
Thank you, I do see now that that works.  I must have had something in error in previous testing, I got the packet, but I could not decrypt it.  This round of testing all is working.


From: sarath azad [mailto:[email protected]]
Sent: Thursday, November 28, 2013 2:03 AM
To: Hammond, Steven; [email protected]
Subject: Re: using trapsess to send authPriv v3 traps (hashing passwords)

Hello Steve,

I have used trapsess on net-snmp v5.4.2.1. It works for me with out giving the user name in the command in snmpd.conf file.
Below are the contents of my snmpd.conf file:
            trapsess -e <engine-id> -l authPriv -u u1 1.2.3.4:162
            view  full-view  included  1
            view  none-view  excluded  1
            access  g1 "" any priv exact full-view none-view full-view
            group  g1  usm  u1

here we have created a user "u1" under the group "g1". This configuration is working well for traps. No need to give the user credentials in the trapsess command.

Please let me know if it helps or if you need any other info.

thanks and regards
S Sarath

On Wednesday, November 27, 2013 2:31 AM, "Hammond, Steven" <[email protected]<mailto:[email protected]>> wrote:
Hello,

I am configuring net-snmp, I am on CentOS rpm and therefore on net-snmp V 5.5.4.

I assumed that if I made createUser lines in /var/lib/net-snmp/snmpd.conf and these users were pulled in and hashed, that then I could use trapsess lines and use the same user, and net-snmp would pull these users and find their hashed passwords.

No it seems that the createUser lines have nothing to do with traps.

So I created the trapsess line with user, auth type, auth pass… and it works, but these passwords are in clear text.  I see there is a -3M parameter option to trapsess (and snmptrap), but how do I hash the passwords to make them correct for that parameter?  I cannot find that detail anywhere.

Thank you,
Steve

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
[email protected]<mailto:[email protected]>
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk

_______________________________________________
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.