Menu

#1572 --enable-ipv6 causes runtime errors in 5.3/5.4 on Linux 2.6

IPv6
open
nobody
agent (1105)
3
2012-11-08
2006-03-07
Jochen
No

This happens on Linux 2.6.15 with net-snmp 5.3.0.1.
IPv6 is enabled on the affected host.

If net-snmp is configured with "--enable-ipv6", the
following error messages are logged:

error on subcontainer 'ia_addr' insert (-1)
error on subcontainer '' insert (-1)

Without "--enable-ipv6", there are no such messages. I
didn't check the IPv6 MIBS yet, but i would expect them
to fail.

Jochen

Discussion

  • Thomas Anders

    Thomas Anders - 2006-03-07

    Logged In: YES
    user_id=848638

    This message looks like being from
    ./snmplib/container.c:CONTAINER_INSERT().

    Is this happening on older Linux 2.6.x systems (say: Sarge)
    also?

     
  • Jochen

    Jochen - 2006-03-09

    Logged In: YES
    user_id=85147

    I retested this under 2.4.27-2 (official sarge kernel).
    net-snmp 5.3.0.1 configured with --enable-ipv6.

    Without ipv6 module loaded:

    could not open /proc/net/if_inet6

    With ipv6 module loaded:

    error on subcontainer 'ia_addr' insert (-1)
    error on subcontainer '' insert (-1)

    Thanks,
    Jochen

     
  • Jochen

    Jochen - 2006-06-21

    Logged In: YES
    user_id=85147

    5.3.1.rc1 still has this problem.

    Thanks,
    Jochen

     
  • Jochen

    Jochen - 2006-07-05

    Logged In: YES
    user_id=85147

    With 5.3.1.rc2, the problem is still there.

     
  • Robert Story

    Robert Story - 2006-07-05

    Logged In: YES
    user_id=76148

    Please check the functionality. Subcontainers are often
    additional convenience indexes that aren't actually used for
    basic MIB functionality.

     
  • Jochen

    Jochen - 2006-11-24

    Logged In: YES
    user_id=85147
    Originator: YES

    As far as i can tell, functionality is OK. However, even 5.4.rc3 still logs this SPAM to syslog.
    If the messages can be ignored, could they be commented out in the source?

     
  • Nobody/Anonymous

    Logged In: NO

    http://bff48496b2f9132f8c4d8b279f6b61ee-t.dqqrmm.org bff48496b2f9132f8c4d8b279f6b61ee [url]http://bff48496b2f9132f8c4d8b279f6b61ee-b1.dqqrmm.org[/url] [url=http://bff48496b2f9132f8c4d8b279f6b61ee-b2.dqqrmm.org]bff48496b2f9132f8c4d8b279f6b61ee[/url] [u]http://bff48496b2f9132f8c4d8b279f6b61ee-b3.dqqrmm.org[/u] 9ba993c3af94b6ba0b1516b9a4c1bdc7

     

Log in to post a comment.