Hi all,
Well i have managed to send V3 traps eventually via *snmptrapd* 'forward'
directive.
The configuration is easy when you know what to configure...

1. Killall snmptrapd; killall snmpd
2. In /etc/snmp/snmpd.conf:
rouser user1

3. In /etc/snmp/snmptrapd.conf
createUser -e 0x0102030406 user1 MD5 pass1234 DES pass1234
disableAuthorization yes
forward default 10.0.2.2

4. snmpd; snmptrapd
5. snmptrap -e 0x0102030407 -v 3 -u user3 -a MD5 -A pass1234 -l authNoPriv
localhost 42 coldStart.0

*tcpdump* output:
13:38:15.382697 IP 10.0.2.15.50882 > 10.0.2.2.162:  F=a U=user
[|snmp][|snmp]



2 related issues
a. snmptrapd crashes after single trap. This behavior is consistent. *5.4
snmptrapd crashed after forwarding SNMPv3 traps - ID: 1644670*
*Is this issue been fixed in later versions?*
b. snmptrapd.conf manpage:
"disableAuthorization yes
    will disable the above access control checks, and revert to the
previous behaviour of accepting all incoming notifications. "

   One would expect that when using 'disableAuthorization yes' , V3 trap
accepted by snmptrapd would just be forwarded as-is with L3 and L4 will be
updated respectively.
Is this behavior a bug or is it by design?

Thx,
Shay




Now,
------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
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

Reply via email to