RE: Rebuilding Net-SNMP 5.4 with IPv6

"Kleffman, Justin (Mission Systems)" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Very sorry, I didn't see this message fly by.

Alex,
You have IPv6 built & working with an snmpwalk using V5-4-patches?  This
is great news, and I'll go back and retest early next week.  I assume if
I download V5-4-patches from SVN that those projects include all of the
source code for the full build?

I'll update when I see if I can get it working.  I'm not sure if I have
an IPv6 machine to test on but I just want to be able to build with IPv6
support turned on and have my IPv4 SNMP app still work.  Only then can I
move on to test actual IPv6 communication.

- Justin

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Alex
Burger
Sent: Wednesday, June 06, 2007 6:07 PM
To: Dave Shield
Cc: Kleffman, Justin (Mission Systems);
[email protected]
Subject: Re: Rebuilding Net-SNMP 5.4 with IPv6

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

-------------------------------------------------------------------------
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.