Re: Rebuilding Net-SNMP 5.4 with IPv6

Alex Burger <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dave Shield wrote:
> On 26/05/07, Alex Burger <[email protected]> wrote:
>> 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.
> 
> What access control settings are you using?

I had rocommunity6 public defined in snmpd.conf.

The changes Magnus made (16455) fixed the problem.  I can now do a 
snmpwalk using the commands above.  I tested this with V5-4-patches.

Justin, have you tried with the latest code in V5-4-patches?

Dave, I had to put an #ifndef WIN32 around the feature code 1041888 in 
read_config.c:

if (!S_ISDIR(statbuf.st_mode)) {
.
.
}

Windows doesn't have S_ISDIR.  We need a proper fix, but that allowed me 
to compile to test IPv6.

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.