From guofeng at radvision.com Wed Sep 5 16:04:03 2007 From: guofeng at radvision.com (Guofeng Zhang) Date: Wed Sep 5 10:12:51 2007 Subject: [snmp] How to broadcast trap messages Message-ID: <3DA49F4BC79C81499AAB3B352185BDDD6447DD@rvhk-mail.RADVISION.com> Hi, We are required to broadcast/multicast traps on the LAN, could anyone kindly tell us how to do it by Westhawk's SNMP stack. Is there any online document about it? Thanks. Guofeng From jbers at bbn.com Thu Sep 13 17:27:01 2007 From: jbers at bbn.com (Josh Bers) Date: Thu Sep 13 21:43:25 2007 Subject: [snmp] SNMP v3 discovery bug in 5.1 Message-ID: <005f01c7f644$746bf670$010010ac@JBERS2> Birgit, Here is output (tail end) from our run of a program that isolates the problem of SNMP v3 not working correctly when an agent that is unreachable, becomes reachable. We started with the network cable unplugged and tried to fetch sysUpTime from 128.89.68.66 , every 5 seconds we kick off a thread to fetch (authPriv enabled). Around request #35 we plug it back in (search for Thread 41 started at: 1189713664742) It seems that there is an issue with context being destroyed while still sending/receiving PDU's from the remote agent.... not clear. Why isn't the DiscoveryBean using the context pool mechanism and creating its own context directly? ps. this was run using westhawk 5.1 from a windows XP box with java 1.4.2 talking to a linux box: Linux toronto 2.4.21-37.EL #1 Wed Sep 7 13:35:21 EDT 2005 i686 i686 i386 GNU/Linux running net-snmp: net-snmp-5.0.9-2.30E.19 Josh ps. In the past, we have seen that the receiver thread to the snmp agent dies/is killed right after we plug the network cable back in. pps. we've attached the test program. You can reproduce by using command line args: v3 120 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 4A 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 74, retries 1 Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 4A 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 4A 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 74, retries 2 Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 4A 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 4A 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 74, retries 3 Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 4A 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 4A 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 74, retries 4 uk.co.westhawk.snmp.pdu.DiscoveryPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.DiscoveryPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.DiscoveryPdu.setResponseException(): Timed out uk.co.westhawk.snmp.pdu.DiscoveryPdu.waitForSelf(): true uk.co.westhawk.snmp.stack.SnmpContextv3.destroy(): Closing socket Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 48 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 48 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 72, retries 5 uk.co.westhawk.snmp.stack.PduException: Engine ID discovery: Timed out at uk.co.westhawk.snmp.beans.UsmDiscoveryBean.startDiscovery(UsmDiscoveryBean.j ava:167) at uk.co.westhawk.snmp.stack.SnmpContextv3Basis.discoverIfNeeded(SnmpContextv3B asis.java:953) at uk.co.westhawk.snmp.stack.SnmpContextv3Basis.addPdu(SnmpContextv3Basis.java: 566) at uk.co.westhawk.snmp.stack.SnmpContextv3Basis.addPdu(SnmpContextv3Basis.java: 480) at uk.co.westhawk.snmp.stack.SnmpContextv3Pool.addPdu(SnmpContextv3Pool.java:41 5) at uk.co.westhawk.snmp.stack.Pdu.send(Pdu.java:216) at uk.co.westhawk.snmp.stack.Pdu.send(Pdu.java:199) at external.jars.TestSnmpV3DiscoveryBug.fetchOid(TestSnmpV3DiscoveryBug.java:25 2) at external.jars.TestSnmpV3DiscoveryBug.access$1(TestSnmpV3DiscoveryBug.java:21 7) at external.jars.TestSnmpV3DiscoveryBug$TestRunner.run(TestSnmpV3DiscoveryBug.j ava:387) at java.lang.Thread.run(Unknown Source) couldn't send PDU: Engine ID discovery: Timed out uk.co.westhawk.snmp.pdu.OneGetPdu.waitForSelf(): false uk.co.westhawk.snmp.pdu.OneGetPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.OneGetPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.OneGetPdu.setResponseException(): Timed out got no response! Thread 33 finished at: 1189713643772 Elapsed time (secs): 19.037 Received value: null PDU timed out.Thread 37 started at: 1189713644744 uk.co.westhawk.snmp.stack.SnmpContextv3.addPdu(): msgId=75, Pdu reqId=75 AbstractSnmpContext.getSocket(): New socket uk.co.westhawk.snmp.net.StandardSocket uk.co.westhawk.snmp.stack.SnmpContextv3: soc.getLocalSocketAddress() = 0.0.0.0/0.0.0.0:4275 uk.co.westhawk.snmp.stack.SnmpContextv3: soc.getRemoteSocketAddress() = null uk.co.westhawk.snmp.beans.UsmDiscoveryBean.discoveryEngineId(): Starting discovery Engine ID ... Transmitter(): Made thread 128.89.68.66_161_null_v3_Trans0 uk.co.westhawk.snmp.stack.SnmpContextv3.addPdu(): msgId=76, Pdu reqId=76 uk.co.westhawk.snmp.stack.SnmpContextv3.actualEncodePacket(): msgId=76, Pdu reqId=76 Encode USM: node uk.co.westhawk.snmp.stack.TimeWindowNode[engineId=, engineBoots=0, engineTime=0, latestReceivedEngineTime=0] AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 14 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 2 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 4 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 7 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 10 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 12 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 14 AsnSequence.write(): end uk.co.westhawk.snmp.stack.AsnEncoderv3.EncodeSNMPv3(): AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 55 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 2 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 13 AsnSequence.write(): begin, startPos = 5 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 76, pos = 7 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 2 AsnInteger(): value = 1300, pos = 10 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 1 AsnOctets(): value = 0x04, pos = 14 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 17 AsnSequence.write(): end AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 16 AsnOctets(): value = 0x30:0E:04:00:02:01:00:02:01:00:04:00:04:00:04:00, pos = 20 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 17 AsnSequence.write(): begin, startPos = 38 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 40 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 42 AsnBuildHeader(): type = 0xA0, headerLength = 2, contentsLength = 11 AsnSequence.write(): begin, startPos = 44 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 76, pos = 46 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 49 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 52 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 0 AsnSequence.write(): begin, startPos = 55 AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 4C 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 4C 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 76, retries 1 Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 4C 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 4C 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 76, retries 2 Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 4C 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 4C 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 76, retries 3 Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 4C 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 4C 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 76, retries 4 uk.co.westhawk.snmp.pdu.DiscoveryPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.DiscoveryPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.DiscoveryPdu.setResponseException(): Timed out uk.co.westhawk.snmp.pdu.DiscoveryPdu.waitForSelf(): true uk.co.westhawk.snmp.stack.SnmpContextv3.destroy(): Closing socket Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 4A 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 4A 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 74, retries 5 uk.co.westhawk.snmp.stack.PduException: Engine ID discovery: Timed out at uk.co.westhawk.snmp.beans.UsmDiscoveryBean.startDiscovery(UsmDiscoveryBean.j ava:167) at uk.co.westhawk.snmp.stack.SnmpContextv3Basis.discoverIfNeeded(SnmpContextv3B asis.java:953) at uk.co.westhawk.snmp.stack.SnmpContextv3Basis.addPdu(SnmpContextv3Basis.java: 566) at uk.co.westhawk.snmp.stack.SnmpContextv3Basis.addPdu(SnmpContextv3Basis.java: 480) at uk.co.westhawk.snmp.stack.SnmpContextv3Pool.addPdu(SnmpContextv3Pool.java:41 5) at uk.co.westhawk.snmp.stack.Pdu.send(Pdu.java:216) at uk.co.westhawk.snmp.stack.Pdu.send(Pdu.java:199) at external.jars.TestSnmpV3DiscoveryBug.fetchOid(TestSnmpV3DiscoveryBug.java:25 2) at external.jars.TestSnmpV3DiscoveryBug.access$1(TestSnmpV3DiscoveryBug.java:21 7) at external.jars.TestSnmpV3DiscoveryBug$TestRunner.run(TestSnmpV3DiscoveryBug.j ava:387) at java.lang.Thread.run(Unknown Source) couldn't send PDU: Engine ID discovery: Timed out uk.co.westhawk.snmp.pdu.OneGetPdu.waitForSelf(): false uk.co.westhawk.snmp.pdu.OneGetPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.OneGetPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.OneGetPdu.setResponseException(): Timed out got no response! Thread 34 finished at: 1189713648779 Elapsed time (secs): 19.037 Received value: null PDU timed out.Thread 38 started at: 1189713649741 uk.co.westhawk.snmp.stack.SnmpContextv3.addPdu(): msgId=77, Pdu reqId=77 AbstractSnmpContext.getSocket(): New socket uk.co.westhawk.snmp.net.StandardSocket uk.co.westhawk.snmp.stack.SnmpContextv3: soc.getLocalSocketAddress() = 0.0.0.0/0.0.0.0:4281 uk.co.westhawk.snmp.stack.SnmpContextv3: soc.getRemoteSocketAddress() = null uk.co.westhawk.snmp.beans.UsmDiscoveryBean.discoveryEngineId(): Starting discovery Engine ID ... Transmitter(): Made thread 128.89.68.66_161_null_v3_Trans0 uk.co.westhawk.snmp.stack.SnmpContextv3.addPdu(): msgId=78, Pdu reqId=78 uk.co.westhawk.snmp.stack.SnmpContextv3.actualEncodePacket(): msgId=78, Pdu reqId=78 Encode USM: node uk.co.westhawk.snmp.stack.TimeWindowNode[engineId=, engineBoots=0, engineTime=0, latestReceivedEngineTime=0] AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 14 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 2 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 4 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 7 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 10 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 12 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 14 AsnSequence.write(): end uk.co.westhawk.snmp.stack.AsnEncoderv3.EncodeSNMPv3(): AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 55 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 2 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 13 AsnSequence.write(): begin, startPos = 5 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 78, pos = 7 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 2 AsnInteger(): value = 1300, pos = 10 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 1 AsnOctets(): value = 0x04, pos = 14 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 17 AsnSequence.write(): end AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 16 AsnOctets(): value = 0x30:0E:04:00:02:01:00:02:01:00:04:00:04:00:04:00, pos = 20 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 17 AsnSequence.write(): begin, startPos = 38 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 40 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 42 AsnBuildHeader(): type = 0xA0, headerLength = 2, contentsLength = 11 AsnSequence.write(): begin, startPos = 44 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 78, pos = 46 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 49 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 52 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 0 AsnSequence.write(): begin, startPos = 55 AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 4E 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 4E 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 78, retries 1 Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 4E 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 4E 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 78, retries 2 Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 4E 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 4E 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 78, retries 3 Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 4C 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 4C 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 76, retries 5 Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 4E 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 4E 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 78, retries 4 uk.co.westhawk.snmp.pdu.DiscoveryPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.DiscoveryPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.DiscoveryPdu.setResponseException(): Timed out uk.co.westhawk.snmp.pdu.DiscoveryPdu.waitForSelf(): true uk.co.westhawk.snmp.stack.SnmpContextv3.destroy(): Closing socket uk.co.westhawk.snmp.stack.PduException: Engine ID discovery: Timed out at uk.co.westhawk.snmp.beans.UsmDiscoveryBean.startDiscovery(UsmDiscoveryBean.j ava:167) at uk.co.westhawk.snmp.stack.SnmpContextv3Basis.discoverIfNeeded(SnmpContextv3B asis.java:953) at uk.co.westhawk.snmp.stack.SnmpContextv3Basis.addPdu(SnmpContextv3Basis.java: 566) at uk.co.westhawk.snmp.stack.SnmpContextv3Basis.addPdu(SnmpContextv3Basis.java: 480) at uk.co.westhawk.snmp.stack.SnmpContextv3Pool.addPdu(SnmpContextv3Pool.java:41 5) at uk.co.westhawk.snmp.stack.Pdu.send(Pdu.java:216) at uk.co.westhawk.snmp.stack.Pdu.send(Pdu.java:199) at external.jars.TestSnmpV3DiscoveryBug.fetchOid(TestSnmpV3DiscoveryBug.java:25 2) at external.jars.TestSnmpV3DiscoveryBug.access$1(TestSnmpV3DiscoveryBug.java:21 7) at external.jars.TestSnmpV3DiscoveryBug$TestRunner.run(TestSnmpV3DiscoveryBug.j ava:387) at java.lang.Thread.run(Unknown Source) couldn't send PDU: Engine ID discovery: Timed out uk.co.westhawk.snmp.pdu.OneGetPdu.waitForSelf(): false uk.co.westhawk.snmp.pdu.OneGetPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.OneGetPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.OneGetPdu.setResponseException(): Timed out got no response! Thread 35 finished at: 1189713653776 Elapsed time (secs): 19.037 Received value: null PDU timed out.Thread 39 started at: 1189713654738 uk.co.westhawk.snmp.stack.SnmpContextv3.addPdu(): msgId=79, Pdu reqId=79 AbstractSnmpContext.getSocket(): New socket uk.co.westhawk.snmp.net.StandardSocket uk.co.westhawk.snmp.stack.SnmpContextv3: soc.getLocalSocketAddress() = 0.0.0.0/0.0.0.0:4282 uk.co.westhawk.snmp.stack.SnmpContextv3: soc.getRemoteSocketAddress() = null uk.co.westhawk.snmp.beans.UsmDiscoveryBean.discoveryEngineId(): Starting discovery Engine ID ... Transmitter(): Made thread 128.89.68.66_161_null_v3_Trans0 uk.co.westhawk.snmp.stack.SnmpContextv3.addPdu(): msgId=80, Pdu reqId=80 uk.co.westhawk.snmp.stack.SnmpContextv3.actualEncodePacket(): msgId=80, Pdu reqId=80 Encode USM: node uk.co.westhawk.snmp.stack.TimeWindowNode[engineId=, engineBoots=0, engineTime=0, latestReceivedEngineTime=0] AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 14 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 2 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 4 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 7 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 10 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 12 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 14 AsnSequence.write(): end uk.co.westhawk.snmp.stack.AsnEncoderv3.EncodeSNMPv3(): AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 55 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 2 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 13 AsnSequence.write(): begin, startPos = 5 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 80, pos = 7 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 2 AsnInteger(): value = 1300, pos = 10 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 1 AsnOctets(): value = 0x04, pos = 14 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 17 AsnSequence.write(): end AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 16 AsnOctets(): value = 0x30:0E:04:00:02:01:00:02:01:00:04:00:04:00:04:00, pos = 20 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 17 AsnSequence.write(): begin, startPos = 38 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 40 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 42 AsnBuildHeader(): type = 0xA0, headerLength = 2, contentsLength = 11 AsnSequence.write(): begin, startPos = 44 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 80, pos = 46 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 49 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 52 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 0 AsnSequence.write(): begin, startPos = 55 AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 50 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 50 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 80, retries 1 Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 50 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 50 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 80, retries 2 Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 50 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 50 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 80, retries 3 Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 50 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 50 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 80, retries 4 uk.co.westhawk.snmp.pdu.DiscoveryPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.DiscoveryPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.DiscoveryPdu.setResponseException(): Timed out uk.co.westhawk.snmp.pdu.DiscoveryPdu.waitForSelf(): true uk.co.westhawk.snmp.stack.SnmpContextv3.destroy(): Closing socket Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 4E 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 4E 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 78, retries 5 uk.co.westhawk.snmp.stack.PduException: Engine ID discovery: Timed out at uk.co.westhawk.snmp.beans.UsmDiscoveryBean.startDiscovery(UsmDiscoveryBean.j ava:167) at uk.co.westhawk.snmp.stack.SnmpContextv3Basis.discoverIfNeeded(SnmpContextv3B asis.java:953) at uk.co.westhawk.snmp.stack.SnmpContextv3Basis.addPdu(SnmpContextv3Basis.java: 566) at uk.co.westhawk.snmp.stack.SnmpContextv3Basis.addPdu(SnmpContextv3Basis.java: 480) at uk.co.westhawk.snmp.stack.SnmpContextv3Pool.addPdu(SnmpContextv3Pool.java:41 5) at uk.co.westhawk.snmp.stack.Pdu.send(Pdu.java:216) at uk.co.westhawk.snmp.stack.Pdu.send(Pdu.java:199) at external.jars.TestSnmpV3DiscoveryBug.fetchOid(TestSnmpV3DiscoveryBug.java:25 2) at external.jars.TestSnmpV3DiscoveryBug.access$1(TestSnmpV3DiscoveryBug.java:21 7) at external.jars.TestSnmpV3DiscoveryBug$TestRunner.run(TestSnmpV3DiscoveryBug.j ava:387) at java.lang.Thread.run(Unknown Source) couldn't send PDU: Engine ID discovery: Timed out uk.co.westhawk.snmp.pdu.OneGetPdu.waitForSelf(): false uk.co.westhawk.snmp.pdu.OneGetPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.OneGetPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.OneGetPdu.setResponseException(): Timed out got no response! Thread 36 finished at: 1189713658784 Elapsed time (secs): 19.048 Received value: null PDU timed out.Thread 40 started at: 1189713659745 uk.co.westhawk.snmp.stack.SnmpContextv3.addPdu(): msgId=81, Pdu reqId=81 AbstractSnmpContext.getSocket(): New socket uk.co.westhawk.snmp.net.StandardSocket uk.co.westhawk.snmp.stack.SnmpContextv3: soc.getLocalSocketAddress() = 0.0.0.0/0.0.0.0:4284 uk.co.westhawk.snmp.stack.SnmpContextv3: soc.getRemoteSocketAddress() = null uk.co.westhawk.snmp.beans.UsmDiscoveryBean.discoveryEngineId(): Starting discovery Engine ID ... Transmitter(): Made thread 128.89.68.66_161_null_v3_Trans0 uk.co.westhawk.snmp.stack.SnmpContextv3.addPdu(): msgId=82, Pdu reqId=82 uk.co.westhawk.snmp.stack.SnmpContextv3.actualEncodePacket(): msgId=82, Pdu reqId=82 Encode USM: node uk.co.westhawk.snmp.stack.TimeWindowNode[engineId=, engineBoots=0, engineTime=0, latestReceivedEngineTime=0] AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 14 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 2 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 4 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 7 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 10 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 12 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 14 AsnSequence.write(): end uk.co.westhawk.snmp.stack.AsnEncoderv3.EncodeSNMPv3(): AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 55 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 2 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 13 AsnSequence.write(): begin, startPos = 5 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 82, pos = 7 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 2 AsnInteger(): value = 1300, pos = 10 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 1 AsnOctets(): value = 0x04, pos = 14 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 17 AsnSequence.write(): end AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 16 AsnOctets(): value = 0x30:0E:04:00:02:01:00:02:01:00:04:00:04:00:04:00, pos = 20 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 17 AsnSequence.write(): begin, startPos = 38 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 40 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 42 AsnBuildHeader(): type = 0xA0, headerLength = 2, contentsLength = 11 AsnSequence.write(): begin, startPos = 44 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 82, pos = 46 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 49 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 52 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 0 AsnSequence.write(): begin, startPos = 55 AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 52 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 52 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 82, retries 1 Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 52 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 52 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.sendPacket(): java.net.NoRouteToHostException No route to host: Datagram send failed uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 82, retries 2 Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 52 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 52 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 82, retries 3 uk.co.westhawk.snmp.stack.SnmpContextv3.run(): Received from 128.89.68.66, from port 161: bytes.length: 103 30 65 02 01 03 30 0E 02 01 52 02 03 00 FF E3 04 01 00 02 01 03 04 1F 30 1D 04 0D 80 00 07 E5 80 B0 66 D3 7A 03 A1 AF 46 02 01 07 02 03 06 9C 7A 04 00 04 00 04 00 30 2F 04 0D 80 00 07 E5 80 B0 66 D3 7A 03 A1 AF 46 04 00 A8 1C 02 01 52 02 01 00 02 01 00 30 11 30 0F 06 0A 2B 06 01 06 03 0F 01 01 04 00 41 01 6D AsnSequence(): Length = 101, Pos = 2 AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 3, startPos = 2, correct = true AsnSequence(): Length = 14, Pos = 7 AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 82, startPos = 7, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 3 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 65507, startPos = 10, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x04, ASN_OCTET_STR, uk.co.westhawk.snmp.stack.AsnOctets: value = , startPos = 15, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 3, startPos = 18, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 14 type = 0x30, CONS_SEQ, uk.co.westhawk.snmp.stack.AsnSequence: value = , startPos = 5, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 31 type = 0x04, ASN_OCTET_STR, uk.co.westhawk.snmp.stack.AsnOctets: value = 0x30:1D:04:0D:80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46:02:01:07:02:03:06:9C:7A :04:00:04:00:04:00, startPos = 21, correct = true AsnSequence(): Length = 47, Pos = 56 AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 13 type = 0x04, ASN_OCTET_STR, uk.co.westhawk.snmp.stack.AsnOctets: value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, startPos = 56, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 0 type = 0x04, ASN_OCTET_STR, uk.co.westhawk.snmp.stack.AsnOctets: value = , startPos = 71, correct = true AsnSequence(): Length = 28, Pos = 75 AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 82, startPos = 75, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 0, startPos = 78, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 0, startPos = 81, correct = true AsnSequence(): Length = 17, Pos = 86 AsnSequence(): Length = 15, Pos = 88 AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 10 type = 0x06, ASN_OBJECT_ID, uk.co.westhawk.snmp.stack.AsnObjectId: value = 1.3.6.1.6.3.15.1.1.4.0, startPos = 88, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x41, COUNTER, uk.co.westhawk.snmp.stack.AsnUnsInteger: value = 109, startPos = 100, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 15 type = 0x30, CONS_SEQ, uk.co.westhawk.snmp.stack.AsnSequence: value = , startPos = 86, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 17 type = 0x30, CONS_SEQ, uk.co.westhawk.snmp.stack.AsnSequence: value = , startPos = 84, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 28 type = 0xA8, GET_RPRT_MSG, uk.co.westhawk.snmp.stack.AsnPduSequence: value = , startPos = 73, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 47 type = 0x30, CONS_SEQ, uk.co.westhawk.snmp.stack.AsnSequence: value = , startPos = 54, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 101 type = 0x30, CONS_SEQ, uk.co.westhawk.snmp.stack.AsnSequence: value = , startPos = 0, correct = true uk.co.westhawk.snmp.stack.SnmpContextv3.processIncomingResponse(): msgId=82, Pdu reqId=82 Decoding USM: bytes.length: 31 30 1D 04 0D 80 00 07 E5 80 B0 66 D3 7A 03 A1 AF 46 02 01 07 02 03 06 9C 7A 04 00 04 00 04 00 AsnSequence(): Length = 31, Pos = 23 AsnSequence(): Length = 29, Pos = 25 AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 13 type = 0x04, ASN_OCTET_STR, uk.co.westhawk.snmp.stack.AsnOctets: value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, startPos = 25, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 7, startPos = 40, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 3 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 433274, startPos = 43, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 0 type = 0x04, ASN_OCTET_STR, uk.co.westhawk.snmp.stack.AsnOctets: value = , startPos = 48, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 0 type = 0x04, ASN_OCTET_STR, uk.co.westhawk.snmp.stack.AsnOctets: value = , startPos = 50, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 0 type = 0x04, ASN_OCTET_STR, uk.co.westhawk.snmp.stack.AsnOctets: value = , startPos = 52, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 29 type = 0x30, CONS_SEQ, uk.co.westhawk.snmp.stack.AsnSequence: value = , startPos = 23, correct = true uk.co.westhawk.snmp.stack.TimeWindow.setSnmpEngineId(): hostaddr '128.89.68.66', port '161', snmpEngineId '800007E580B066D37A03A1AF46'', key '128.89.68.66:161' uk.co.westhawk.snmp.stack.TimeWindow.isEngineIdOK(): hostaddr '128.89.68.66', port '161', snmpEngineId '800007E580B066D37A03A1AF46', ok true uk.co.westhawk.snmp.stack.TimeWindow.setTimeLine(): snmpEngineId 800007E580B066D37A03A1AF46, node uk.co.westhawk.snmp.stack.TimeWindowNode[engineId=800007E580B066D37A03A1AF46 , engineBoots=7, engineTime=433274, latestReceivedEngineTime=433274] uk.co.westhawk.snmp.stack.TimeWindow.updateTimeWindow(): snmpEngineId '800007E580B066D37A03A1AF46', bootsA 7, timeA 433274, isAuthentic false, updated false uk.co.westhawk.snmp.stack.SnmpContextv3.processIncomingResponse(): rid2=82 uk.co.westhawk.snmp.pdu.DiscoveryPdu.setErrorStatus(): 0 uk.co.westhawk.snmp.pdu.DiscoveryPdu.waitForSelf(): true uk.co.westhawk.snmp.beans.UsmDiscoveryBean.startDiscovery(): Done, context uk.co.westhawk.snmp.stack.SnmpContextv3[host=128.89.68.66, sendToHost=128.89.68.66, port=161, bindAddress=null, socketType=Standard, contextEngineId=, contextName=, userName=, useAuthentication=false, authenticationProtocol=MD5, userAuthenticationPassword=null, usePrivacy=false, userPrivacyPassword=null, #trapListeners=0, #pduListeners=0] uk.co.westhawk.snmp.stack.SnmpContextv3.destroy(): Closing socket uk.co.westhawk.snmp.stack.SnmpContextv3.actualEncodePacket(): msgId=81, Pdu reqId=81 Encode USM: node uk.co.westhawk.snmp.stack.TimeWindowNode[engineId=800007E580B066D37A03A1AF46 , engineBoots=7, engineTime=433274, latestReceivedEngineTime=433274] (Complex) pass to key takes 0.15 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 44 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 17 AsnBuildHeader(): type = 0xA0, headerLength = 2, contentsLength = 25 AsnSequence.write(): begin, startPos = 19 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 81, pos = 21 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 24 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 27 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 14 AsnSequence.write(): begin, startPos = 30 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 12 AsnSequence.write(): begin, startPos = 32 AsnBuildHeader(): type = 0x06, headerLength = 2, contentsLength = 8 AsnObjectId(): value = 1.3.6.1.2.1.1.3.0, pos = 34 AsnBuildHeader(): type = 0x05, headerLength = 2, contentsLength = 0 AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 56 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 7, pos = 17 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 3 AsnInteger(): value = 433274, pos = 20 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 7 AsnOctets(): value = nmsroot, pos = 25 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 12 AsnOctets(): value = , pos = 34 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 8 AsnOctets(): value = 0x00:00:00:07:6E:D8:40:8E, pos = 48 AsnSequence.write(): end uk.co.westhawk.snmp.stack.AsnEncoderv3.EncodeSNMPv3(): AsnBuildHeader(): type = 0x30, headerLength = 3, contentsLength = 128 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 3 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 13 AsnSequence.write(): begin, startPos = 6 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 81, pos = 8 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 2 AsnInteger(): value = 1300, pos = 11 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 1 AsnOctets(): value = 0x07, pos = 15 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 18 AsnSequence.write(): end AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 58 AsnOctets(): value = 0x30:38:04:0D:80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46:02:01:07:02:03:06:9C:7A :04:07:6E:6D:73:72:6F:6F:74:04:0C:00:00:00:00:00:00:00:00:00:00:00:00:04:08: 00:00:00:07:6E:D8:40:8E, pos = 21 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 48 AsnOctets(): value = 0x65:BC:91:8F:61:86:28:2E:F9:DF:9D:FD:F5:EF:C8:F6:34:83:58:48:E0:4A:20:2A:23 :9B:02:8A:23:81:5F:B2:A7:89:FD:DB:E6:4D:58:06:53:77:07:B4:C0:6D:8D:5F, pos = 81 AsnSequence.write(): end (Complex) pass to key takes 0.1 Pos finger print = 59, len = 12 bytes.length: 12 54 21 A8 DE 22 7F 03 F0 3D 95 C2 9D Sending to 128.89.68.66: bytes.length: 57 30 37 02 01 03 30 0D 02 01 50 02 02 05 14 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 00 02 01 00 04 00 04 00 04 00 30 11 04 00 04 00 A0 0B 02 01 50 02 01 00 02 01 00 30 00 uk.co.westhawk.snmp.stack.SnmpContextv3.run(): Received from 128.89.68.66, from port 161: bytes.length: 103 30 65 02 01 03 30 0E 02 01 50 02 03 00 FF E3 04 01 00 02 01 03 04 1F 30 1D 04 0D 80 00 07 E5 80 B0 66 D3 7A 03 A1 AF 46 02 01 07 02 03 06 9C 7B 04 00 04 00 04 00 30 2F 04 0D 80 00 07 E5 80 B0 66 D3 7A 03 A1 AF 46 04 00 A8 1C 02 01 50 02 01 00 02 01 00 30 11 30 0F 06 0A 2B 06 01 06 03 0F 01 01 04 00 41 01 6E AsnSequence(): Length = 101, Pos = 2 AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 3, startPos = 2, correct = true AsnSequence(): Length = 14, Pos = 7 AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 80, startPos = 7, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 3 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 65507, startPos = 10, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x04, ASN_OCTET_STR, uk.co.westhawk.snmp.stack.AsnOctets: value = , startPos = 15, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 3, startPos = 18, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 14 type = 0x30, CONS_SEQ, uk.co.westhawk.snmp.stack.AsnSequence: value = , startPos = 5, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 31 type = 0x04, ASN_OCTET_STR, uk.co.westhawk.snmp.stack.AsnOctets: value = 0x30:1D:04:0D:80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46:02:01:07:02:03:06:9C:7B :04:00:04:00:04:00, startPos = 21, correct = true AsnSequence(): Length = 47, Pos = 56 AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 13 type = 0x04, ASN_OCTET_STR, uk.co.westhawk.snmp.stack.AsnOctets: value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, startPos = 56, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 0 type = 0x04, ASN_OCTET_STR, uk.co.westhawk.snmp.stack.AsnOctets: value = , startPos = 71, correct = true AsnSequence(): Length = 28, Pos = 75 AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 80, startPos = 75, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 0, startPos = 78, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 0, startPos = 81, correct = true AsnSequence(): Length = 17, Pos = 86 AsnSequence(): Length = 15, Pos = 88 AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 10 type = 0x06, ASN_OBJECT_ID, uk.co.westhawk.snmp.stack.AsnObjectId: value = 1.3.6.1.6.3.15.1.1.4.0, startPos = 88, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x41, COUNTER, uk.co.westhawk.snmp.stack.AsnUnsInteger: value = 110, startPos = 100, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 15 type = 0x30, CONS_SEQ, uk.co.westhawk.snmp.stack.AsnSequence: value = , startPos = 86, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 17 type = 0x30, CONS_SEQ, uk.co.westhawk.snmp.stack.AsnSequence: value = , startPos = 84, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 28 type = 0xA8, GET_RPRT_MSG, uk.co.westhawk.snmp.stack.AsnPduSequence: value = , startPos = 73, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 47 type = 0x30, CONS_SEQ, uk.co.westhawk.snmp.stack.AsnSequence: value = , startPos = 54, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 101 type = 0x30, CONS_SEQ, uk.co.westhawk.snmp.stack.AsnSequence: value = , startPos = 0, correct = true uk.co.westhawk.snmp.stack.SnmpContextv3.processIncomingResponse(): msgId=80, Pdu reqId=80 Decoding USM: bytes.length: 31 30 1D 04 0D 80 00 07 E5 80 B0 66 D3 7A 03 A1 AF 46 02 01 07 02 03 06 9C 7B 04 00 04 00 04 00 AsnSequence(): Length = 31, Pos = 23 AsnSequence(): Length = 29, Pos = 25 AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 13 type = 0x04, ASN_OCTET_STR, uk.co.westhawk.snmp.stack.AsnOctets: value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, startPos = 25, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 1 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 7, startPos = 40, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 3 type = 0x02, ASN_INTEGER, uk.co.westhawk.snmp.stack.AsnInteger: value = 433275, startPos = 43, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 0 type = 0x04, ASN_OCTET_STR, uk.co.westhawk.snmp.stack.AsnOctets: value = , startPos = 48, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 0 uk.co.westhawk.snmp.pdu.DiscoveryPdu.handleNoAnswer() type = 0x04, ASN_OCTET_STR, uk.co.westhawk.snmp.stack.AsnOctets: value = , startPos = 50, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 0 type = 0x04, ASN_OCTET_STR, uk.co.westhawk.snmp.stack.AsnOctets: value = , startPos = 52, correct = true AsnObject.AsnMakeMe(): headerLength = 2, contentsLength = 29 type = 0x30, CONS_SEQ, uk.co.westhawk.snmp.stack.AsnSequence: value = , startPos = 23, correct = true uk.co.westhawk.snmp.stack.TimeWindow.isEngineIdOK(): hostaddr '128.89.68.66', port '161', snmpEngineId '800007E580B066D37A03A1AF46', ok true uk.co.westhawk.snmp.pdu.DiscoveryPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.stack.TimeWindow.updateTimeWindow(): snmpEngineId '800007E580B066D37A03A1AF46', bootsA 7, timeA 433275, isAuthentic false, updated false uk.co.westhawk.snmp.stack.SnmpContextv3.processIncomingResponse(): rid2=80 uk.co.westhawk.snmp.pdu.DiscoveryPdu.setErrorStatus(): 0 uk.co.westhawk.snmp.pdu.DiscoveryPdu.waitForSelf(): true uk.co.westhawk.snmp.beans.UsmDiscoveryBean.startDiscovery(): Done, context uk.co.westhawk.snmp.stack.SnmpContextv3[host=128.89.68.66, sendToHost=128.89.68.66, port=161, bindAddress=null, socketType=Standard, contextEngineId=, contextName=, userName=, useAuthentication=false, authenticationProtocol=MD5, userAuthenticationPassword=null, usePrivacy=false, userPrivacyPassword=null, #trapListeners=0, #pduListeners=0] uk.co.westhawk.snmp.pdu.DiscoveryPdu.setResponseException(): Timed out uk.co.westhawk.snmp.pdu.DiscoveryPdu.waitForSelf(): true uk.co.westhawk.snmp.stack.SnmpContextv3.destroy(): Closing socket uk.co.westhawk.snmp.stack.SnmpContextv3.destroy(): Closing socket uk.co.westhawk.snmp.pdu.DiscoveryPdu.sendme(): Sent Pdu reqId 80, retries 5 uk.co.westhawk.snmp.stack.PduException: Engine ID discovery: Timed out at uk.co.westhawk.snmp.beans.UsmDiscoveryBean.startDiscovery(UsmDiscoveryBean.j ava:167) at uk.co.westhawk.snmp.stack.SnmpContextv3Basis.discoverIfNeeded(SnmpContextv3B asis.java:953) at uk.co.westhawk.snmp.stack.SnmpContextv3Basis.addPdu(SnmpContextv3Basis.java: 566) at uk.co.westhawk.snmp.stack.SnmpContextv3Basis.addPdu(SnmpContextv3Basis.java: 480) at uk.co.westhawk.snmp.stack.SnmpContextv3Pool.addPdu(SnmpContextv3Pool.java:41 5) at uk.co.westhawk.snmp.stack.Pdu.send(Pdu.java:216) at uk.co.westhawk.snmp.stack.Pdu.send(Pdu.java:199)uk.co.westhawk.snmp.stack.Sn mpContextv3.actualEncodePacket(): msgId=79, Pdu reqId=79 Encode USM: node uk.co.westhawk.snmp.stack.TimeWindowNode[engineId=800007E580B066D37A03A1AF46 , engineBoots=7, engineTime=433275, latestReceivedEngineTime=433274] AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 44 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 17 AsnBuildHeader(): type = 0xA0, headerLength = 2, contentsLength = 25 AsnSequence.write(): begin, startPos = 19 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 79, pos = 21 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 24 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 27 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 14 AsnSequence.write(): begin, startPos = 30 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 12 AsnSequence.write(): begin, startPos = 32 AsnBuildHeader(): type = 0x06, headerLength = 2, contentsLength = 8 AsnObjectId(): value = 1.3.6.1.2.1.1.3.0, pos = 34 AsnBuildHeader(): type = 0x05, headerLength = 2, contentsLength = 0 AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 56 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 7, pos = 17 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 3 AsnInteger(): value = 433275, pos = 20 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 7 AsnOctets(): value = nmsroot, pos = 25 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 12 AsnOctets(): value = , pos = 34 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 8 AsnOctets(): value = 0x00:00:00:07:6E:D8:40:8F, pos = 48 AsnSequence.write(): end uk.co.westhawk.snmp.stack.AsnEncoderv3.EncodeSNMPv3(): AsnBuildHeader(): type = 0x30, headerLength = 3, contentsLength = 128 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 3 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 13 AsnSequence.write(): begin, startPos = 6 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 79, pos = 8 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 2 AsnInteger(): value = 1300, pos = 11 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 1 AsnOctets(): value = 0x07, pos = 15 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 18 AsnSequence.write(): end AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 58 AsnOctets(): value = 0x30:38:04:0D:80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46:02:01:07:02:03:06:9C:7B :04:07:6E:6D:73:72:6F:6F:74:04:0C:00:00:00:00:00:00:00:00:00:00:00:00:04:08: 00:00:00:07:6E:D8:40:8F, pos = 21 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 48 AsnOctets(): value = 0xEC:2D:76:04:C3:C3:EF:CF:BD:88:8C:21:8B:AB:1D:C4:FA:BD:80:89:17:94:DA:4B:2B :F5:18:23:A6:88:9D:C2:01:19:96:B3:1F:12:B1:56:DD:6A:07:2E:3C:74:70:1D, pos = 81 AsnSequence.write(): end Pos finger print = 59, len = 12 bytes.length: 12 6A 42 7F 4E DC 29 68 A2 81 C7 6F 15 at external.jars.TestSnmpV3DiscoveryBug.fetchOid(TestSnmpV3DiscoveryBug.java:25 2) at external.jars.TestSnmpV3DiscoveryBug.access$1(TestSnmpV3DiscoveryBug.java:21 7) at external.jars.TestSnmpV3DiscoveryBug$TestRunner.run(TestSnmpV3DiscoveryBug.j ava:387) at java.lang.Thread.run(Unknown Source) couldn't send PDU: Engine ID discovery: Timed out uk.co.westhawk.snmp.pdu.OneGetPdu.waitForSelf(): false uk.co.westhawk.snmp.pdu.OneGetPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.OneGetPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.OneGetPdu.setResponseException(): Timed out got no response! Thread 37 finished at: 1189713663781 Elapsed time (secs): 19.037 Received value: null PDU timed out.Thread 41 started at: 1189713664742 uk.co.westhawk.snmp.stack.SnmpContextv3.addPdu(): msgId=83, Pdu reqId=83 uk.co.westhawk.snmp.stack.SnmpContextv3.actualEncodePacket(): msgId=83, Pdu reqId=83 Encode USM: node uk.co.westhawk.snmp.stack.TimeWindowNode[engineId=800007E580B066D37A03A1AF46 , engineBoots=7, engineTime=433277, latestReceivedEngineTime=433274] AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 44 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 17 AsnBuildHeader(): type = 0xA0, headerLength = 2, contentsLength = 25 AsnSequence.write(): begin, startPos = 19 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 83, pos = 21 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 24 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 27 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 14 AsnSequence.write(): begin, startPos = 30 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 12 AsnSequence.write(): begin, startPos = 32 AsnBuildHeader(): type = 0x06, headerLength = 2, contentsLength = 8 AsnObjectId(): value = 1.3.6.1.2.1.1.3.0, pos = 34 AsnBuildHeader(): type = 0x05, headerLength = 2, contentsLength = 0 AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 56 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 7, pos = 17 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 3 AsnInteger(): value = 433277, pos = 20 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 7 AsnOctets(): value = nmsroot, pos = 25 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 12 AsnOctets(): value = , pos = 34 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 8 AsnOctets(): value = 0x00:00:00:07:6E:D8:40:90, pos = 48 AsnSequence.write(): end uk.co.westhawk.snmp.stack.AsnEncoderv3.EncodeSNMPv3(): AsnBuildHeader(): type = 0x30, headerLength = 3, contentsLength = 128 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 3 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 13 AsnSequence.write(): begin, startPos = 6 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 83, pos = 8 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 2 AsnInteger(): value = 1300, pos = 11 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 1 AsnOctets(): value = 0x07, pos = 15 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 18 AsnSequence.write(): end AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 58 AsnOctets(): value = 0x30:38:04:0D:80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46:02:01:07:02:03:06:9C:7D :04:07:6E:6D:73:72:6F:6F:74:04:0C:00:00:00:00:00:00:00:00:00:00:00:00:04:08: 00:00:00:07:6E:D8:40:90, pos = 21 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 48 AsnOctets(): value = 0xAA:49:91:D3:8E:38:4D:1E:12:B6:4B:83:44:49:45:D0:43:5F:72:34:72:44:20:F7:49 :E1:B3:4C:A1:53:DF:36:0E:89:F7:F7:E4:74:16:88:7A:DD:C1:22:64:BE:8D:56, pos = 81 AsnSequence.write(): end Pos finger print = 59, len = 12 bytes.length: 12 84 BA 0E C9 8F F8 3F 57 5A 18 AB D4 uk.co.westhawk.snmp.pdu.OneGetPdu.waitForSelf(): false uk.co.westhawk.snmp.pdu.OneGetPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.OneGetPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.OneGetPdu.setResponseException(): Timed out got no response! Thread 40 finished at: 1189713667857 Elapsed time (secs): 8.112 Received value: null PDU timed out.uk.co.westhawk.snmp.pdu.OneGetPdu.waitForSelf(): false uk.co.westhawk.snmp.pdu.OneGetPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.OneGetPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.OneGetPdu.setResponseException(): Timed out got no response! Thread 38 finished at: 1189713668778 Elapsed time (secs): 19.037 Received value: null PDU timed out.uk.co.westhawk.snmp.pdu.OneGetPdu.waitForSelf(): false uk.co.westhawk.snmp.pdu.OneGetPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.OneGetPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.OneGetPdu.setResponseException(): Timed out got no response! Thread 39 finished at: 1189713668788 Elapsed time (secs): 14.05 Received value: null PDU timed out.Thread 42 started at: 1189713669749 uk.co.westhawk.snmp.stack.SnmpContextv3.addPdu(): msgId=84, Pdu reqId=84 uk.co.westhawk.snmp.stack.SnmpContextv3.actualEncodePacket(): msgId=84, Pdu reqId=84 Encode USM: node uk.co.westhawk.snmp.stack.TimeWindowNode[engineId=800007E580B066D37A03A1AF46 , engineBoots=7, engineTime=433282, latestReceivedEngineTime=433274] AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 44 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 17 AsnBuildHeader(): type = 0xA0, headerLength = 2, contentsLength = 25 AsnSequence.write(): begin, startPos = 19 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 84, pos = 21 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 24 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 27 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 14 AsnSequence.write(): begin, startPos = 30 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 12 AsnSequence.write(): begin, startPos = 32 AsnBuildHeader(): type = 0x06, headerLength = 2, contentsLength = 8 AsnObjectId(): value = 1.3.6.1.2.1.1.3.0, pos = 34 AsnBuildHeader(): type = 0x05, headerLength = 2, contentsLength = 0 AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 56 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 7, pos = 17 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 3 AsnInteger(): value = 433282, pos = 20 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 7 AsnOctets(): value = nmsroot, pos = 25 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 12 AsnOctets(): value = , pos = 34 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 8 AsnOctets(): value = 0x00:00:00:07:6E:D8:40:91, pos = 48 AsnSequence.write(): end uk.co.westhawk.snmp.stack.AsnEncoderv3.EncodeSNMPv3(): AsnBuildHeader(): type = 0x30, headerLength = 3, contentsLength = 128 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 3 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 13 AsnSequence.write(): begin, startPos = 6 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 84, pos = 8 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 2 AsnInteger(): value = 1300, pos = 11 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 1 AsnOctets(): value = 0x07, pos = 15 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 18 AsnSequence.write(): end AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 58 AsnOctets(): value = 0x30:38:04:0D:80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46:02:01:07:02:03:06:9C:82 :04:07:6E:6D:73:72:6F:6F:74:04:0C:00:00:00:00:00:00:00:00:00:00:00:00:04:08: 00:00:00:07:6E:D8:40:91, pos = 21 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 48 AsnOctets(): value = 0x7A:4D:9A:71:03:6C:1D:20:61:C3:02:31:19:EC:EA:AB:CB:9C:9A:27:72:CF:49:06:F8 :3B:97:52:BB:0A:AC:59:35:C0:7E:6F:2F:D3:FA:0A:96:91:37:0A:3D:2F:4E:96, pos = 81 AsnSequence.write(): end Pos finger print = 59, len = 12 bytes.length: 12 74 B7 BB 85 1B 5A DC C0 36 A8 08 00 uk.co.westhawk.snmp.pdu.OneGetPdu.waitForSelf(): false uk.co.westhawk.snmp.pdu.OneGetPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.OneGetPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.OneGetPdu.setResponseException(): Timed out got no response! Thread 41 finished at: 1189713670260 Elapsed time (secs): 5.518 Received value: null PDU timed out.Thread 43 started at: 1189713674747 uk.co.westhawk.snmp.stack.SnmpContextv3.addPdu(): msgId=85, Pdu reqId=85 uk.co.westhawk.snmp.stack.SnmpContextv3.actualEncodePacket(): msgId=85, Pdu reqId=85 Encode USM: node uk.co.westhawk.snmp.stack.TimeWindowNode[engineId=800007E580B066D37A03A1AF46 , engineBoots=7, engineTime=433287, latestReceivedEngineTime=433274] AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 44 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 17 AsnBuildHeader(): type = 0xA0, headerLength = 2, contentsLength = 25 AsnSequence.write(): begin, startPos = 19 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 85, pos = 21 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 24 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 27 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 14 AsnSequence.write(): begin, startPos = 30 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 12 AsnSequence.write(): begin, startPos = 32 AsnBuildHeader(): type = 0x06, headerLength = 2, contentsLength = 8 AsnObjectId(): value = 1.3.6.1.2.1.1.3.0, pos = 34 AsnBuildHeader(): type = 0x05, headerLength = 2, contentsLength = 0 AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 56 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 7, pos = 17 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 3 AsnInteger(): value = 433287, pos = 20 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 7 AsnOctets(): value = nmsroot, pos = 25 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 12 AsnOctets(): value = , pos = 34 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 8 AsnOctets(): value = 0x00:00:00:07:6E:D8:40:92, pos = 48 AsnSequence.write(): end uk.co.westhawk.snmp.stack.AsnEncoderv3.EncodeSNMPv3(): AsnBuildHeader(): type = 0x30, headerLength = 3, contentsLength = 128 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 3 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 13 AsnSequence.write(): begin, startPos = 6 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 85, pos = 8 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 2 AsnInteger(): value = 1300, pos = 11 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 1 AsnOctets(): value = 0x07, pos = 15 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 18 AsnSequence.write(): end AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 58 AsnOctets(): value = 0x30:38:04:0D:80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46:02:01:07:02:03:06:9C:87 :04:07:6E:6D:73:72:6F:6F:74:04:0C:00:00:00:00:00:00:00:00:00:00:00:00:04:08: 00:00:00:07:6E:D8:40:92, pos = 21 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 48 AsnOctets(): value = 0x55:F3:1B:04:3D:4F:3A:0F:51:80:B0:0D:E4:4F:0B:46:E9:B6:8B:25:8D:80:E7:C7:CA :23:E6:39:31:74:38:55:06:72:5C:1A:29:2F:83:9B:5C:55:01:CE:44:CC:B3:CD, pos = 81 AsnSequence.write(): end Pos finger print = 59, len = 12 bytes.length: 12 73 D9 4B 1F 41 5B 6C 3C AB F0 AB 66 uk.co.westhawk.snmp.pdu.OneGetPdu.waitForSelf(): false uk.co.westhawk.snmp.pdu.OneGetPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.OneGetPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.OneGetPdu.setResponseException(): Timed out got no response! Thread 42 finished at: 1189713675257 Elapsed time (secs): 5.508 Received value: null PDU timed out.Thread 44 started at: 1189713679744 uk.co.westhawk.snmp.stack.SnmpContextv3.addPdu(): msgId=86, Pdu reqId=86 uk.co.westhawk.snmp.stack.SnmpContextv3.actualEncodePacket(): msgId=86, Pdu reqId=86 Encode USM: node uk.co.westhawk.snmp.stack.TimeWindowNode[engineId=800007E580B066D37A03A1AF46 , engineBoots=7, engineTime=433292, latestReceivedEngineTime=433274] AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 44 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 17 AsnBuildHeader(): type = 0xA0, headerLength = 2, contentsLength = 25 AsnSequence.write(): begin, startPos = 19 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 86, pos = 21 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 24 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 27 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 14 AsnSequence.write(): begin, startPos = 30 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 12 AsnSequence.write(): begin, startPos = 32 AsnBuildHeader(): type = 0x06, headerLength = 2, contentsLength = 8 AsnObjectId(): value = 1.3.6.1.2.1.1.3.0, pos = 34 AsnBuildHeader(): type = 0x05, headerLength = 2, contentsLength = 0 AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 56 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 7, pos = 17 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 3 AsnInteger(): value = 433292, pos = 20 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 7 AsnOctets(): value = nmsroot, pos = 25 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 12 AsnOctets(): value = , pos = 34 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 8 AsnOctets(): value = 0x00:00:00:07:6E:D8:40:93, pos = 48 AsnSequence.write(): end uk.co.westhawk.snmp.stack.AsnEncoderv3.EncodeSNMPv3(): AsnBuildHeader(): type = 0x30, headerLength = 3, contentsLength = 128 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 3 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 13 AsnSequence.write(): begin, startPos = 6 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 86, pos = 8 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 2 AsnInteger(): value = 1300, pos = 11 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 1 AsnOctets(): value = 0x07, pos = 15 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 18 AsnSequence.write(): end AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 58 AsnOctets(): value = 0x30:38:04:0D:80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46:02:01:07:02:03:06:9C:8C :04:07:6E:6D:73:72:6F:6F:74:04:0C:00:00:00:00:00:00:00:00:00:00:00:00:04:08: 00:00:00:07:6E:D8:40:93, pos = 21 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 48 AsnOctets(): value = 0x6A:5E:4F:85:A3:70:6D:CD:F0:E4:6D:D4:9A:61:00:F9:67:FF:0D:39:AC:98:AF:81:02 :1B:8D:75:F8:45:2B:FB:C1:2C:2C:A3:37:7C:B4:2A:F3:A8:8F:33:4A:1E:34:95, pos = 81 AsnSequence.write(): end Pos finger print = 59, len = 12 bytes.length: 12 ED 5B EA F9 2E 31 15 4D DE 1F D3 DA uk.co.westhawk.snmp.pdu.OneGetPdu.waitForSelf(): false uk.co.westhawk.snmp.pdu.OneGetPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.OneGetPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.OneGetPdu.setResponseException(): Timed out got no response! Thread 43 finished at: 1189713680255 Elapsed time (secs): 5.508 Received value: null PDU timed out.Thread 45 started at: 1189713684751 uk.co.westhawk.snmp.stack.SnmpContextv3.addPdu(): msgId=87, Pdu reqId=87 uk.co.westhawk.snmp.stack.SnmpContextv3.actualEncodePacket(): msgId=87, Pdu reqId=87 Encode USM: node uk.co.westhawk.snmp.stack.TimeWindowNode[engineId=800007E580B066D37A03A1AF46 , engineBoots=7, engineTime=433297, latestReceivedEngineTime=433274] AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 44 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 17 AsnBuildHeader(): type = 0xA0, headerLength = 2, contentsLength = 25 AsnSequence.write(): begin, startPos = 19 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 87, pos = 21 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 24 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 27 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 14 AsnSequence.write(): begin, startPos = 30 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 12 AsnSequence.write(): begin, startPos = 32 AsnBuildHeader(): type = 0x06, headerLength = 2, contentsLength = 8 AsnObjectId(): value = 1.3.6.1.2.1.1.3.0, pos = 34 AsnBuildHeader(): type = 0x05, headerLength = 2, contentsLength = 0 AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 56 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 7, pos = 17 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 3 AsnInteger(): value = 433297, pos = 20 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 7 AsnOctets(): value = nmsroot, pos = 25 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 12 AsnOctets(): value = , pos = 34 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 8 AsnOctets(): value = 0x00:00:00:07:6E:D8:40:94, pos = 48 AsnSequence.write(): end uk.co.westhawk.snmp.stack.AsnEncoderv3.EncodeSNMPv3(): AsnBuildHeader(): type = 0x30, headerLength = 3, contentsLength = 128 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 3 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 13 AsnSequence.write(): begin, startPos = 6 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 87, pos = 8 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 2 AsnInteger(): value = 1300, pos = 11 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 1 AsnOctets(): value = 0x07, pos = 15 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 18 AsnSequence.write(): end AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 58 AsnOctets(): value = 0x30:38:04:0D:80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46:02:01:07:02:03:06:9C:91 :04:07:6E:6D:73:72:6F:6F:74:04:0C:00:00:00:00:00:00:00:00:00:00:00:00:04:08: 00:00:00:07:6E:D8:40:94, pos = 21 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 48 AsnOctets(): value = 0x5A:E7:2F:6D:92:5F:56:AA:4A:34:75:43:76:37:A9:07:3D:85:18:60:7D:DC:E6:06:62 :19:9C:16:4E:2A:11:40:B5:2A:21:E7:D7:BE:5D:F0:5C:C4:12:99:B3:C5:F6:17, pos = 81 AsnSequence.write(): end Pos finger print = 59, len = 12 bytes.length: 12 F6 E9 60 32 91 8F D7 2B 09 8D E8 81 uk.co.westhawk.snmp.pdu.OneGetPdu.waitForSelf(): false uk.co.westhawk.snmp.pdu.OneGetPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.OneGetPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.OneGetPdu.setResponseException(): Timed out got no response! Thread 44 finished at: 1189713685262 Elapsed time (secs): 5.518 Received value: null PDU timed out.Thread 46 started at: 1189713689748 uk.co.westhawk.snmp.stack.SnmpContextv3.addPdu(): msgId=88, Pdu reqId=88 uk.co.westhawk.snmp.stack.SnmpContextv3.actualEncodePacket(): msgId=88, Pdu reqId=88 Encode USM: node uk.co.westhawk.snmp.stack.TimeWindowNode[engineId=800007E580B066D37A03A1AF46 , engineBoots=7, engineTime=433302, latestReceivedEngineTime=433274] AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 44 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 17 AsnBuildHeader(): type = 0xA0, headerLength = 2, contentsLength = 25 AsnSequence.write(): begin, startPos = 19 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 88, pos = 21 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 24 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 27 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 14 AsnSequence.write(): begin, startPos = 30 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 12 AsnSequence.write(): begin, startPos = 32 AsnBuildHeader(): type = 0x06, headerLength = 2, contentsLength = 8 AsnObjectId(): value = 1.3.6.1.2.1.1.3.0, pos = 34 AsnBuildHeader(): type = 0x05, headerLength = 2, contentsLength = 0 AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 56 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 7, pos = 17 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 3 AsnInteger(): value = 433302, pos = 20 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 7 AsnOctets(): value = nmsroot, pos = 25 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 12 AsnOctets(): value = , pos = 34 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 8 AsnOctets(): value = 0x00:00:00:07:6E:D8:40:95, pos = 48 AsnSequence.write(): end uk.co.westhawk.snmp.stack.AsnEncoderv3.EncodeSNMPv3(): AsnBuildHeader(): type = 0x30, headerLength = 3, contentsLength = 128 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 3 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 13 AsnSequence.write(): begin, startPos = 6 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 88, pos = 8 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 2 AsnInteger(): value = 1300, pos = 11 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 1 AsnOctets(): value = 0x07, pos = 15 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 18 AsnSequence.write(): end AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 58 AsnOctets(): value = 0x30:38:04:0D:80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46:02:01:07:02:03:06:9C:96 :04:07:6E:6D:73:72:6F:6F:74:04:0C:00:00:00:00:00:00:00:00:00:00:00:00:04:08: 00:00:00:07:6E:D8:40:95, pos = 21 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 48 AsnOctets(): value = 0x2F:F8:52:06:53:F9:2A:82:27:4E:C0:B3:48:4D:B8:E9:F1:11:9F:25:9C:B2:8B:CB:AD :C6:4D:84:58:E9:5B:AA:50:B7:C0:12:02:EF:1F:35:00:EA:05:FC:EE:E2:BE:40, pos = 81 AsnSequence.write(): end Pos finger print = 59, len = 12 bytes.length: 12 90 01 E4 30 A4 B3 26 5D A6 E2 09 ED uk.co.westhawk.snmp.pdu.OneGetPdu.waitForSelf(): false uk.co.westhawk.snmp.pdu.OneGetPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.OneGetPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.OneGetPdu.setResponseException(): Timed out got no response! Thread 45 finished at: 1189713690259 Elapsed time (secs): 5.508 Received value: null PDU timed out.Thread 47 started at: 1189713694755 uk.co.westhawk.snmp.stack.SnmpContextv3.addPdu(): msgId=89, Pdu reqId=89 uk.co.westhawk.snmp.stack.SnmpContextv3.actualEncodePacket(): msgId=89, Pdu reqId=89 Encode USM: node uk.co.westhawk.snmp.stack.TimeWindowNode[engineId=800007E580B066D37A03A1AF46 , engineBoots=7, engineTime=433307, latestReceivedEngineTime=433274] AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 44 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 0 AsnOctets(): value = , pos = 17 AsnBuildHeader(): type = 0xA0, headerLength = 2, contentsLength = 25 AsnSequence.write(): begin, startPos = 19 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 89, pos = 21 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 24 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 0, pos = 27 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 14 AsnSequence.write(): begin, startPos = 30 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 12 AsnSequence.write(): begin, startPos = 32 AsnBuildHeader(): type = 0x06, headerLength = 2, contentsLength = 8 AsnObjectId(): value = 1.3.6.1.2.1.1.3.0, pos = 34 AsnBuildHeader(): type = 0x05, headerLength = 2, contentsLength = 0 AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnSequence.write(): end AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 56 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 13 AsnOctets(): value = 0x80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46, pos = 2 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 7, pos = 17 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 3 AsnInteger(): value = 433307, pos = 20 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 7 AsnOctets(): value = nmsroot, pos = 25 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 12 AsnOctets(): value = , pos = 34 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 8 AsnOctets(): value = 0x00:00:00:07:6E:D8:40:96, pos = 48 AsnSequence.write(): end uk.co.westhawk.snmp.stack.AsnEncoderv3.EncodeSNMPv3(): AsnBuildHeader(): type = 0x30, headerLength = 3, contentsLength = 128 AsnSequence.write(): begin, startPos = 0 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 3 AsnBuildHeader(): type = 0x30, headerLength = 2, contentsLength = 13 AsnSequence.write(): begin, startPos = 6 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 89, pos = 8 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 2 AsnInteger(): value = 1300, pos = 11 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 1 AsnOctets(): value = 0x07, pos = 15 AsnBuildHeader(): type = 0x02, headerLength = 2, contentsLength = 1 AsnInteger(): value = 3, pos = 18 AsnSequence.write(): end AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 58 AsnOctets(): value = 0x30:38:04:0D:80:00:07:E5:80:B0:66:D3:7A:03:A1:AF:46:02:01:07:02:03:06:9C:9B :04:07:6E:6D:73:72:6F:6F:74:04:0C:00:00:00:00:00:00:00:00:00:00:00:00:04:08: 00:00:00:07:6E:D8:40:96, pos = 21 AsnBuildHeader(): type = 0x04, headerLength = 2, contentsLength = 48 AsnOctets(): value = 0xCA:EC:59:0C:33:3B:D5:7C:73:51:CE:23:AA:4A:C6:95:0B:A8:FA:2F:CE:50:2C:71:BE :97:CF:17:5E:7E:F7:45:D4:8D:FB:31:2B:14:2C:62:76:EB:19:DA:C0:54:84:08, pos = 81 AsnSequence.write(): end Pos finger print = 59, len = 12 bytes.length: 12 C5 B3 9B EA DD B6 06 7C D8 1A 1E B0 uk.co.westhawk.snmp.pdu.OneGetPdu.waitForSelf(): false uk.co.westhawk.snmp.pdu.OneGetPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.OneGetPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.OneGetPdu.setResponseException(): Timed out got no response! Thread 46 finished at: 1189713695256 Elapsed time (secs): 5.508 Received value: null PDU timed out.Test complete: Success count: 0; Error count: 47 Bringing down loopback alias: 192.168.91.1 java.io.IOException: CreateProcess: sudo /sbin/ifconfig lo:0 down error=2 at java.lang.Win32Process.create(Native Method) at java.lang.Win32Process.(Unknown Source) at java.lang.Runtime.execInternal(Native Method) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at external.jars.TestSnmpV3DiscoveryBug.bringUpLoopBackAliasIf(TestSnmpV3Discov eryBug.java:145) at external.jars.TestSnmpV3DiscoveryBug.main(TestSnmpV3DiscoveryBug.java:350) Failed. uk.co.westhawk.snmp.stack.SnmpContextv3.destroy(): Closing socket uk.co.westhawk.snmp.pdu.OneGetPdu.waitForSelf(): false uk.co.westhawk.snmp.pdu.OneGetPdu.handleNoAnswer() uk.co.westhawk.snmp.pdu.OneGetPdu.setErrorStatus(): 5 uk.co.westhawk.snmp.pdu.OneGetPdu.setResponseException(): Timed out got no response! Thread 47 finished at: 1189713700253 Elapsed time (secs): 5.498 Received value: null PDU timed out. From thp at westhawk.co.uk Fri Sep 14 11:03:35 2007 From: thp at westhawk.co.uk (Tim Panton) Date: Fri Sep 14 10:05:30 2007 Subject: [snmp] SNMP v3 discovery bug in 5.1 In-Reply-To: <005f01c7f644$746bf670$010010ac@JBERS2> References: <005f01c7f644$746bf670$010010ac@JBERS2> Message-ID: <19A97DEB-2244-419C-A346-11B0A3B3F450@westhawk.co.uk> On 13 Sep 2007, at 21:27, Josh Bers wrote: > Birgit, > > Here is output (tail end) from our run of a program that isolates the > problem of SNMP v3 not working correctly when an agent that is > unreachable, > becomes reachable. We started with the network cable unplugged and > tried to > fetch sysUpTime from 128.89.68.66 , every 5 seconds we kick off a > thread to > fetch (authPriv enabled). Around request #35 we plug it back in > > (search for Thread 41 started at: 1189713664742) > > It seems that there is an issue with context being destroyed while > still > sending/receiving PDU's from the remote agent.... not clear. Why > isn't the > DiscoveryBean using the context pool mechanism and creating its own > context > directly? > > ps. this was run using westhawk 5.1 from a windows XP box with java > 1.4.2 > talking to a linux box: Hi, I think this bug is fixed in the current CVS - see : http://westhawksnmp.cvs.sourceforge.net/westhawksnmp/westhawksnmp/src/ uk/co/westhawk/snmp/beans/UsmDiscoveryBean.java?r1=1.16&r2=1.17 Tim. From jbers at bbn.com Fri Sep 14 12:41:09 2007 From: jbers at bbn.com (Josh Bers) Date: Fri Sep 14 16:41:53 2007 Subject: [snmp] SNMP v3 discovery bug in 5.1 In-Reply-To: <19A97DEB-2244-419C-A346-11B0A3B3F450@westhawk.co.uk> Message-ID: <004c01c7f6e5$acf6af20$010010ac@JBERS2> Tim and Birgit, I don't think that the latest code will fix it since 5.1 includes version 1.17 of UsmDiscoveryBean.java. However, I believe that I have found the problem. It is in SnmpContextv3Basis.java#addPdu(Pdu, boolean). Here is the problem (it is one of transmitter thread starvation): This method first calls super.addPdu(pdu). The parent method reserves a Transmitter, however, this is risky since discovery has yet to be performed. When discovery is performed, a timeout PduException is thrown, however, it is not caught by the stack to clean up the transmitter assignment with removePdu(reqId). So the fix could be: 1. Move discovery in front of calling super.addPdu that way an exception will not result in a tied up transmitter in the context. 2. Catch the PduException thrown by discovery and call removePdu(reqId)... My preference is toward 1, where the ordering of creating and sending out a req id is consistent: discovery req id is < original PDU req id. The way the code currently operates it sends out the discovery req with id > original req id which is then sent later... Somewhat confusing. What do you think? Josh > -----Original Message----- > From: Tim Panton [mailto:thp@westhawk.co.uk] > Sent: Friday, September 14, 2007 5:04 AM > To: List for discussion of the Westhawk SNMP stack; Josh Bers > Cc: 'Birgit Arkesteijn'; 'Jonathan Tung'; 'Stephane Blais' > Subject: Re: [snmp] SNMP v3 discovery bug in 5.1 > > > > On 13 Sep 2007, at 21:27, Josh Bers wrote: > > > Birgit, > > > > Here is output (tail end) from our run of a program that > isolates the > > problem of SNMP v3 not working correctly when an agent that is > > unreachable, > > becomes reachable. We started with the network cable unplugged and > > tried to > > fetch sysUpTime from 128.89.68.66 , every 5 seconds we kick off a > > thread to > > fetch (authPriv enabled). Around request #35 we plug it back in > > > > (search for Thread 41 started at: 1189713664742) > > > > It seems that there is an issue with context being destroyed while > > still > > sending/receiving PDU's from the remote agent.... not clear. Why > > isn't the > > DiscoveryBean using the context pool mechanism and creating > its own > > context > > directly? > > > > ps. this was run using westhawk 5.1 from a windows XP box with java > > 1.4.2 > > talking to a linux box: > > Hi, > I think this bug is fixed in the current CVS - > see : > > http://westhawksnmp.cvs.sourceforge.net/westhawksnmp/westhawks nmp/src/ uk/co/westhawk/snmp/beans/UsmDiscoveryBean.java?r1=1.16&r2=1.17 Tim. From thp at westhawk.co.uk Fri Sep 14 18:14:00 2007 From: thp at westhawk.co.uk (Tim Panton) Date: Fri Sep 14 17:15:44 2007 Subject: [snmp] SNMP v3 discovery bug in 5.1 In-Reply-To: <004c01c7f6e5$acf6af20$010010ac@JBERS2> References: <004c01c7f6e5$acf6af20$010010ac@JBERS2> Message-ID: Ah, that sounds right (it is definitely running out of transmitters). Thanks! I'll look at your options, but I think 1 looks better at first glance. I'll discuss it with Birgit when she is back on Monday. For future reference, there is function I use to debug transmitter problems, AbstractContext.getDebugString() here's a snippet from the javadoc. * Returns the thread usage of the AbstractSnmpContext. * It returns a String in the form of =PO=QR--------------0. * *

* The String represents the array of transmitters. * Each character represents a transmitter slot. * The transmitters form a thread pool of a maximum size, MAXPDU. * Each transmitter is used to wait for one PDU response at a given * moment in time. * When the response is received the transmitter will stop running, but * is not destroyed. It will be reused. *

I'm not sure how much this would have helped you, but it can save a lot of stepping through in the debugger. Tim. On 14 Sep 2007, at 16:41, Josh Bers wrote: > Tim and Birgit, > > I don't think that the latest code will fix it since 5.1 includes > version > 1.17 of UsmDiscoveryBean.java. > > However, I believe that I have found the problem. It is in > SnmpContextv3Basis.java#addPdu(Pdu, boolean). > Here is the problem (it is one of transmitter thread starvation): > > This method first calls super.addPdu(pdu). The parent method > reserves a > Transmitter, however, this is risky since discovery has yet to be > performed. > When discovery is performed, a timeout PduException is thrown, > however, it > is not caught by the stack to clean up the transmitter assignment with > removePdu(reqId). > > So the fix could be: > > 1. Move discovery in front of calling super.addPdu that way an > exception > will not result in a tied up transmitter in the context. > > 2. Catch the PduException thrown by discovery and call removePdu > (reqId)... > > My preference is toward 1, where the ordering of creating and > sending out a > req id is consistent: discovery req id is < original PDU req id. > The way the > code currently operates it sends out the discovery req with id > > original > req id which is then sent later... Somewhat confusing. > > What do you think? > > Josh > >> -----Original Message----- >> From: Tim Panton [mailto:thp@westhawk.co.uk] >> Sent: Friday, September 14, 2007 5:04 AM >> To: List for discussion of the Westhawk SNMP stack; Josh Bers >> Cc: 'Birgit Arkesteijn'; 'Jonathan Tung'; 'Stephane Blais' >> Subject: Re: [snmp] SNMP v3 discovery bug in 5.1 >> >> >> >> On 13 Sep 2007, at 21:27, Josh Bers wrote: >> >>> Birgit, >>> >>> Here is output (tail end) from our run of a program that >> isolates the >>> problem of SNMP v3 not working correctly when an agent that is >>> unreachable, >>> becomes reachable. We started with the network cable unplugged and >>> tried to >>> fetch sysUpTime from 128.89.68.66 , every 5 seconds we kick off a >>> thread to >>> fetch (authPriv enabled). Around request #35 we plug it back in >>> >>> (search for Thread 41 started at: 1189713664742) >>> >>> It seems that there is an issue with context being destroyed while >>> still >>> sending/receiving PDU's from the remote agent.... not clear. Why >>> isn't the >>> DiscoveryBean using the context pool mechanism and creating >> its own >>> context >>> directly? >>> >>> ps. this was run using westhawk 5.1 from a windows XP box with java >>> 1.4.2 >>> talking to a linux box: >> >> Hi, >> I think this bug is fixed in the current CVS - >> see : >> >> http://westhawksnmp.cvs.sourceforge.net/westhawksnmp/westhawks > nmp/src/ > uk/co/westhawk/snmp/beans/UsmDiscoveryBean.java?r1=1.16&r2=1.17 > > Tim. > > From birgit at westhawk.co.uk Mon Sep 17 15:06:53 2007 From: birgit at westhawk.co.uk (Birgit Arkesteijn) Date: Mon Sep 17 14:08:11 2007 Subject: [snmp] SNMP v3 discovery bug in 5.1 In-Reply-To: References: <004c01c7f6e5$acf6af20$010010ac@JBERS2> Message-ID: <46EE7BED.7020303@westhawk.co.uk> Hi Josh, I agree with you (and Tim) that option 1 seems better, i.e. "Move discovery in front of calling super.addPdu that way an exception will not result in a tied up transmitter in the context." As to "Why isn't the DiscoveryBean using the context pool mechanism and creating its own context directly?" I think that's a good point as well. It really should use the pool. I'll start working on it. However, I'm not sure how much time I'll have to change & test the code. Next week I'm off for two weeks. Oh, and thanks for the good detective work! Cheers, Birgit -- -- Birgit Arkesteijn, birgit@westhawk.co.uk, -- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK -- Company no: 1769350 -- Registered Office: -- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK. -- tel.: +44 (0)161 237 0660 -- From birgit at westhawk.co.uk Mon Sep 17 16:18:51 2007 From: birgit at westhawk.co.uk (Birgit Arkesteijn) Date: Mon Sep 17 15:20:09 2007 Subject: [snmp] SNMP v3 discovery bug in 5.1 In-Reply-To: <46EE7BED.7020303@westhawk.co.uk> References: <004c01c7f6e5$acf6af20$010010ac@JBERS2> <46EE7BED.7020303@westhawk.co.uk> Message-ID: <46EE8CCB.8010606@westhawk.co.uk> Hi Josh, I made the two changes to the stack and checked them in to cvs on SourceForge: UsmDiscoveryBean.java - new revision: 1.20 SnmpContextv3Basis.java - new revision: 3.14 I tested that normal SNMPv3 requests still work OK. I'm a little uncomfortable running your TestSnmpV3DiscoveryBug.java on my development system, with bringing interfaces up and down and (dis)connecting network cables. Would you mind testing the changes yourself? Thanks, Birgit On 17/09/07 14:06, Birgit Arkesteijn wrote: > Hi Josh, > > I agree with you (and Tim) that option 1 seems better, i.e. > "Move discovery in front of calling super.addPdu that way an exception > will not result in a tied up transmitter in the context." > > As to > "Why isn't the DiscoveryBean using the context pool mechanism and > creating its own context directly?" > I think that's a good point as well. It really should use the pool. > > I'll start working on it. However, I'm not sure how much time I'll have > to change & test the code. Next week I'm off for two weeks. > > Oh, and thanks for the good detective work! > > Cheers, Birgit > -- -- Birgit Arkesteijn, birgit@westhawk.co.uk, -- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK -- Company no: 1769350 -- Registered Office: -- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK. -- tel.: +44 (0)161 237 0660 -- From birgit at westhawk.co.uk Tue Sep 18 16:18:18 2007 From: birgit at westhawk.co.uk (Birgit Arkesteijn) Date: Tue Sep 18 15:19:36 2007 Subject: [snmp] SNMP v3 discovery bug in 5.1 In-Reply-To: <46EEB348.5040309@bbn.com> References: <004c01c7f6e5$acf6af20$010010ac@JBERS2> <46EE7BED.7020303@westhawk.co.uk> <46EE8CCB.8010606@westhawk.co.uk> <46EEB348.5040309@bbn.com> Message-ID: <46EFDE2A.60701@westhawk.co.uk> Hi Jonathan, Thanks for trying the new code. I hope that Josh will be able to confirm the fix when he returns. Thanks, Birgit On 17/09/07 18:03, Jonathan Tung wrote: > Hi, > > Josh is on business travel. > > I ran his test with the new code, and it seems the bug is fixed, pending > verification when he returns. > > Thanks, > > Jonathan Tung > >> Hi Josh, >> >> I made the two changes to the stack and checked them in to cvs on >> SourceForge: >> UsmDiscoveryBean.java - new revision: 1.20 >> SnmpContextv3Basis.java - new revision: 3.14 >> >> I tested that normal SNMPv3 requests still work OK. >> >> I'm a little uncomfortable running your TestSnmpV3DiscoveryBug.java on >> my development system, with bringing interfaces up and down and >> (dis)connecting network cables. >> >> Would you mind testing the changes yourself? >> >> Thanks, Birgit >> >> On 17/09/07 14:06, Birgit Arkesteijn wrote: >>> Hi Josh, >>> >>> I agree with you (and Tim) that option 1 seems better, i.e. >>> "Move discovery in front of calling super.addPdu that way an exception >>> will not result in a tied up transmitter in the context." >>> >>> As to >>> "Why isn't the DiscoveryBean using the context pool mechanism and >>> creating its own context directly?" >>> I think that's a good point as well. It really should use the pool. >>> >>> I'll start working on it. However, I'm not sure how much time I'll >>> have to change & test the code. Next week I'm off for two weeks. >>> >>> Oh, and thanks for the good detective work! >>> >>> Cheers, Birgit >>> >> > > -- -- Birgit Arkesteijn, birgit@westhawk.co.uk, -- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK -- Company no: 1769350 -- Registered Office: -- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK. -- tel.: +44 (0)161 237 0660 -- From jbers at bbn.com Fri Sep 28 18:45:45 2007 From: jbers at bbn.com (Josh Bers) Date: Fri Sep 28 22:46:29 2007 Subject: [snmp] SNMP v3 discovery bug in 5.1 In-Reply-To: <46EFDE2A.60701@westhawk.co.uk> References: <004c01c7f6e5$acf6af20$010010ac@JBERS2> <46EE7BED.7020303@westhawk.co.uk> <46EE8CCB.8010606@westhawk.co.uk> <46EEB348.5040309@bbn.com> <46EFDE2A.60701@westhawk.co.uk> Message-ID: Birgit, I have confirmed the success of the fix. One strange behavior: On failure when disconnected, it takes about 10 seconds for the discovery timeout to happen even though my retry array is [750, 1500, 2250]. Does discovery try twice per retry? We would like to get a new release of the stack with this fix in place as it makes SNMPv3 usable for our application. Can you give me an estimate for when the next release will be available? Regards, Josh On Tue, 18 Sep 2007, Birgit Arkesteijn wrote: > Hi Jonathan, > > Thanks for trying the new code. I hope that Josh will be able to confirm > the fix when he returns. > > Thanks, Birgit > > On 17/09/07 18:03, Jonathan Tung wrote: > > Hi, > > > > Josh is on business travel. > > > > I ran his test with the new code, and it seems the bug is fixed, pending > > verification when he returns. > > > > Thanks, > > > > Jonathan Tung > > > >> Hi Josh, > >> > >> I made the two changes to the stack and checked them in to cvs on > >> SourceForge: > >> UsmDiscoveryBean.java - new revision: 1.20 > >> SnmpContextv3Basis.java - new revision: 3.14 > >> > >> I tested that normal SNMPv3 requests still work OK. > >> > >> I'm a little uncomfortable running your TestSnmpV3DiscoveryBug.java on > >> my development system, with bringing interfaces up and down and > >> (dis)connecting network cables. > >> > >> Would you mind testing the changes yourself? > >> > >> Thanks, Birgit > >> > >> On 17/09/07 14:06, Birgit Arkesteijn wrote: > >>> Hi Josh, > >>> > >>> I agree with you (and Tim) that option 1 seems better, i.e. > >>> "Move discovery in front of calling super.addPdu that way an exception > >>> will not result in a tied up transmitter in the context." > >>> > >>> As to > >>> "Why isn't the DiscoveryBean using the context pool mechanism and > >>> creating its own context directly?" > >>> I think that's a good point as well. It really should use the pool. > >>> > >>> I'll start working on it. However, I'm not sure how much time I'll > >>> have to change & test the code. Next week I'm off for two weeks. > >>> > >>> Oh, and thanks for the good detective work! > >>> > >>> Cheers, Birgit > >>> > >> > > > > > >