[AGENT++] Privacy and authentication in traps

Michele Marcon M.Marcon at riello-ups.com
Tue Apr 19 14:52:11 CEST 2011


I'm sending SNMPv3 traps, but they don't have authentication nor privacy enabled, even though the MD5DES user has authentication and privacy working for get and set.

Here is the code:

UdpAddress dest("10.1.10.110/162");
no.add_v3_trap_destination(dest, "defaultV3Trap", "v3trap", "MD5DES");

Vbx* vbs = 0;
coldStartOid coldOid;
mib->notify("", coldOid, vbs, 0);
printfc("\nSend coldStart trap");

Am I doing something wrong?

Thanks a lot!




Michele Marcon
Centro Ricerche
RPS SpA
Viale Europa, 7
37045 Legnago (VR)
Tel. +39 0442 635811 - Fax. +39 0442 635934 - Mobile: +39 335 1233317
Skype Id:  - VoIp:
E-mail: M.Marcon at riello-ups.com
Web: http://www.riello-ups.com
 -----------------------------------------------------------------------------------------------------
Per favore non stampare questo messaggio se proprio non è necessario
Please consider the environment before printing this e-mail
-----------------------------------------------------------------------------------------------------
Chi riceve il presente messaggio e` tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e` pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilita` connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe.

The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof.







More information about the AGENTPP mailing list