Re: Rebuilding Net-SNMP 5.4 with IPv6

Alex Burger <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thomas Anders wrote:
> Kleffman, Justin (Mission Systems) wrote:
>> This new build with 5.4.1.pre1 yields "snmpget: Timeout" while my
>> regular 5.4 w/OpenSSL build works fine.
> 
> Strange enough. Can you rebuild w/o IPv6 support and re-test, please?

SVN (main and V5-4-patches) contains some fixes for building IPv6 on 
Windows.  STRUCT_SOCKADDR_STORAGE_HAS_SS_FAMILY had to be defined for 
SS_FAMILY to be defined.

I have not been able to get IPv6 to actually work though.  I start snmpd 
with:

  snmpd udpv6:161

and it starts fine.  I do an snmpwalk with:

  snmpwalk -v 1 -c public udpv6:[::1] system

and I get nothing back.

A -Dall for snmpwalk gives:

callback: END calling callbacks for maj=0 min=5 (1 called)
trace:  ..\..\snmplib\callback.c, 152:
9:callback:lock: unlocked (LIB,SESSION_INIT)
trace:  ..\..\snmplib\snmp_transport.c, 332:
tdomain: tdomain_transport_full("snmp", "udpv6:[::1]", 0, "udp", "[NIL]")
trace:  ..\..\snmplib\snmp_transport.c, 354:
tdomain: Found domain "udp6" from specifier "udpv6"
trace:  ..\..\snmplib\snmp_service.c, 335:
defaults: netsnmp_lookup_default_target("snmp", "udp6") -> "[NIL]"
trace:  ..\..\snmplib\snmp_transport.c, 419:
tdomain: domain "udp6" address "[::1]" default address "[NIL]"
trace:  ..\..\snmplib\snmpUDPIPv6Domain.c, 371:
netsnmp_sockaddr_in6: addr 0012F98C, peername "[::1]", default_target 
"[NIL]"
trace:  ..\..\snmplib\snmpUDPIPv6Domain.c, 371:

the last two lines are repeated 10000 times before it dies.

Alex




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.