problem with walk in SCO and ISC agents

Hans Bayle (hansb@aie.nl)
Sat, 22 Apr 1995 01:33:02 -0700

Hi,

I compiled tkined and scotty-1.2.3 on SCO ODT 3.0, and it looks impressive!
I have some problems with the SCO and Interactive agnets (SCO is using ISC's
smpd)
and a walk trough MIB tables.

here is a scotty session that queries an SCO agent:

scotty > set bla [snmp session]
s0
scotty > $bla get sysDescr.0
{1.3.6.1.2.1.1.1.0 {OCTET STRING} {SNMPD Version 4.0 For SCO UNIX}}
scotty > $bla get ip.20
Error : noSuchName 1 {1.3.6.1.2.1.4.20 {ASN1 NULL} {}}
scotty > $bla get ip.20.1.1
Error : noSuchName 1 {1.3.6.1.2.1.4.20.1.1 {ASN1 NULL} {}}
scotty > $bla get ipAdEntAddr.127.0.0.1
{1.3.6.1.2.1.4.20.1.1.127.0.0.1 IpAddress 127.0.0.1}
scotty >

And here is some output from snmpd -v during an attempt to get
the ipAddrTable (SNMP-Browser->MIB-2->ip->ipAddrTable (MIB-2).
It looks as if the requests/responses get out of sync. Would it help to
put a timer in between the SNMP_Encode() calls?

snmpd server initialized
System Description = SNMPD Version 4.0 For SCO UNIX
System Object Identifier = SCO.1.0

INCOMING PACKET : 193.78.1.15
in_packet_len = 40

Packet Dump:
30 26 02 01 00 04 06 70 75 62 6c 69 63 a1 19 02
02 46 6d 02 01 00 02 01 00 30 0d 30 0b 06 07 2b
06 01 02 01 04 14 05 00

THE VARIABLES IN REQUEST :

Name: ip.20
Value: NULL
Var requested: 1.3.6.1.2.1.4.20.1.1

THE VARIABLES IN RESPONSE :

Name: ipAdEntAddr.127.0.0.1
Value: 127.0.0.1

OUTGOING PACKET :
out_packet_len = 50

Packet Dump:
30 30 02 01 00 04 06 70 75 62 6c 69 63 a2 23 02
02 46 6d 02 01 00 02 01 00 30 17 30 15 06 0d 2b
06 01 02 01 04 14 01 01 7f 00 00 01 40 04 7f 00
00 01

INCOMING PACKET : 193.78.1.15
in_packet_len = 46

Packet Dump:
30 2c 02 01 00 04 06 70 75 62 6c 69 63 a1 1f 02
02 46 6e 02 01 00 02 01 10 30 13 30 11 06 0d 2b
06 01 02 01 04 14 01 01 7f 00 00 01 05 00

THE VARIABLES IN REQUEST :

Name: ipAdEntAddr.127.0.0.1
Value: NULL
Var requested: 1.3.6.1.2.1.4.20.1.1.127.0.0.1

THE VARIABLES IN RESPONSE :

Name: ipAdEntAddr.193.78.1.15
Value: 193.78.1.15

OUTGOING PACKET :
out_packet_len = 51

Packet Dump:
30 31 02 01 00 04 06 70 75 62 6c 69 63 a2 24 02
02 46 6e 02 01 00 02 01 00 30 18 30 16 06 0e 2b
06 01 02 01 04 14 01 01 81 41 4e 01 0f 40 04 c1
4e 01 0f

INCOMING PACKET : 193.78.1.15
in_packet_len = 50

Packet Dump:
30 30 02 01 00 04 06 70 75 62 6c 69 63 a1 23 02
02 46 6f 02 01 00 02 01 10 30 17 30 15 06 11 2b
06 01 02 01 04 14 01 01 80 80 80 80 00 4e 01 0f
05 00

THE VARIABLES IN REQUEST :

Name: ipAdEntAddr.0.78.1.15
Value: NULL
Var requested: 1.3.6.1.2.1.4.20.1.1.0.78.1.15

THE VARIABLES IN RESPONSE :

Name: ipAdEntAddr.127.0.0.1
Value: 127.0.0.1

OUTGOING PACKET :
out_packet_len = 50

Packet Dump:
30 30 02 01 00 04 06 70 75 62 6c 69 63 a2 23 02
02 46 6f 02 01 00 02 01 00 30 17 30 15 06 0d 2b
06 01 02 01 04 14 01 01 7f 00 00 01 40 04 7f 00
00 01

INCOMING PACKET : 193.78.1.15
in_packet_len = 46

Packet Dump:
30 2c 02 01 00 04 06 70 75 62 6c 69 63 a1 1f 02
02 46 70 02 01 00 02 01 10 30 13 30 11 06 0d 2b
06 01 02 01 04 14 01 01 7f 00 00 01 05 00

THE VARIABLES IN REQUEST :

Name: ipAdEntAddr.127.0.0.1
Value: NULL
Var requested: 1.3.6.1.2.1.4.20.1.1.127.0.0.1

THE VARIABLES IN RESPONSE :

Name: ipAdEntAddr.193.78.1.15
Value: 193.78.1.15

| Hans Bayle |
| hansb@aie.nl | Shut your mouth or unveil this mystery to me :)
| AI Engineering |
| +31 20 6750415 |