Menu

#289 4.2.3: snmpwalk "OID not increasing" in ipv6 suppo

IPv6
closed
agent (1105)
2
2012-11-08
2002-01-11
Anonymous
No

with certain pcb (socket connection table) settings,
4.2.3 snmpwalk will fail to go through MIBsand dies
with the following error, during tcpv6 MIB printing.

Error: OID not increasing:

snmpwalk from 4.1.2 does not exhibit the problem.

the attached tar.gz file contains two files:
- output-4.2.3, which is output from "snmpwalk -On
localhost public" with 4.2.3 snmpwalk and 4.2.3 snmpd
- output-4.1.2, which is output from the same command
with 4.1.2 snmpwalk and 4.2.3 snmpd

the platform I have is as follows (netbsd-current as of
jan 9, 2002)

NetBSD starfruit.itojun.org 1.5ZA NetBSD 1.5ZA
(STARFRUIT) #: Wed Jan 9 15:16:48 JST 2002
itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT
i386

Discussion

  • Niels Baggesen

    Niels Baggesen - 2002-01-11

    Logged In: YES
    user_id=88647

    No file is attached :-(

    Isn't snmpwalk right, so that the problem is in the agent
    returning oids out of order?

     
  • John Naylon

    John Naylon - 2002-01-11

    Output from 4.1.2 and 4.2.3 snmpwalk

     
  • Niels Baggesen

    Niels Baggesen - 2002-01-14

    Logged In: YES
    user_id=88647

    Checking the end of your output-4.2.3:

    .1.3.6.1.2.1.6.15.0 = Counter32: 2965
    .1.3.6.1.2.1.6.16.1.1.63.254.128.32.0.0.0.1.2.144.39.255.254.150.28.225.51124.63.254.128.32.0.0.0.1.2.8.199.255.254.164.156.150.22.0.5
    = 3ffe:8020:0:1:290:27ff:fe96:1ce1
    .1.3.6.1.2.1.6.16.1.1.63.254.128.32.0.0.0.1.2.144.39.255.254.150.28.225.50478.63.254.128.32.16.255.0.1.2.174.208.255.254.0.0.59.22.0.5
    = 3ffe:8020:0:1:290:27ff:fe96:1ce1

    these two are clearly out of order lexicographically (51124
    > 50478), so the bug is at the agent side. The 4.1.2 version
    shows the same error in returned data, it is just that
    snmpwalk ignores the error.
    You can make the 4.2.3 version ignore the problem too, by
    using the -Cc option.

    If you could fix the bug in the agent, it would be even
    better. We dont really do more with the IPv6 module than
    check if it compiles.

    /Niels

     
  • Nobody/Anonymous

    Logged In: NO

    I have the same problem with version 5.0.6 on FreeBSD
    4.5-RELEASE-p16, net-snmp port version from 23.10.2002. -Cc
    helps.

    snmpwalk -v 1 -c private localhost
    .....
    UDP-MIB::udpLocalPort.0.0.0.0.161 = INTEGER: 161
    UDP-MIB::udpLocalPort.0.0.0.0.4813 = INTEGER: 4813
    IPV6-UDP-MIB::ipv6UdpLocalAddress.'................'.4813.0
    = STRING: 0:0:0:0:0:0:0:0
    IPV6-UDP-MIB::ipv6UdpLocalAddress.'................'.161.0 =
    STRING: 0:0:0:0:0:0:0:0
    Error: OID not increasing:
    IPV6-UDP-MIB::ipv6UdpLocalAddress.'................'.4813.0
    >= IPV6-UDP-MIB::ipv6UdpLocalAddress.'................'.161.0

     
  • Mike Slifcak

    Mike Slifcak - 2004-06-29

    Logged In: YES
    user_id=88697

    If you can extract the V5-1-patches branch, that source base
    has *BSD fixes applied which appear to work.

    Your input is welcomed.

     
  • Mike Slifcak

    Mike Slifcak - 2004-06-30

    Logged In: YES
    user_id=88697

    The suggested code is attached here for review.

     
  • Mike Slifcak

    Mike Slifcak - 2004-06-30

    describes the patch

     
  • Mike Slifcak

    Mike Slifcak - 2004-06-30
     
  • Mike Slifcak

    Mike Slifcak - 2004-06-30

    Logged In: YES
    user_id=88697

    Thanks for the bug report! We've fixed the problem in the
    5.1.x code branch and the main development tree,
    so it should be fixed in future releases of the net-snmp package.

     
  • Mike Slifcak

    Mike Slifcak - 2004-06-30

    Logged In: YES
    user_id=88697

    Status is pending as problem may still exist for 4.2 and 5.0
    branches.

     

Log in to post a comment.