snmptrap fail on snmpv3 and without engine id

PoWah Wong <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Is there a way to use snmptrap on snmpv3 and without
engine id?

I setup /home/powah/snmp/snmptrapd.conf as follows:
createUser -e 0x8000000001020304050607 test_MD5_DES
MD5 12345678 DES 87654321
createUser -e 0x800000000102030405060708 test_MD5_AES
MD5 12345678 AES 87654321
createUser admin MD5 12345678 DES 87654321

authuser log test_MD5_DES
authuser log test_MD5_AES
authuser log admin

Send snmptraps:
$ snmptrap -v 3 -u test_MD5_DES -l authPriv -a MD5 -A
12345678 -x DES -X 87654321 -e
0x8000000001020304050607 localhost 0 linkUp.0
$ snmptrap -v 3 -u test_MD5_AES -l authPriv -a MD5 -A
12345678 -x AES -X 87654321 -e
0x800000000102030405060708 localhost 0 warmStart.0
$ snmptrap -v 3 -u admin -l authPriv -a MD5 -A
12345678 -x DES -X 87654321 localhost 0 linkDown.0

Trap is logged for engine id but not without engine
id:
# snmptrapd -f -C -c /home/tcma/snmp/snmptrapd.conf
-Le
2007-12-06 15:55:47 rose [UDP: [127.0.0.1]:32877]:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (0)
0:00:00.00 SNMPv2-MIB::snmpTrapOID.0 = OID:
IF-MIB::linkUp.0
2007-12-06 15:55:47 rose [UDP: [127.0.0.1]:32877]:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (0)
0:00:00.00 SNMPv2-MIB::snmpTrapOID.0 = OID:
SNMPv2-MIB::warmStart.0




      Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail.  Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca 

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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.