Hi Katsuhisa, I have applied the suggested patch as supplied to
snmpTCPIPv6Domain.c. 
Everything is working as expected.
Means one can specify:
Agent listen to any IPv6 address on port=161 and IPv4 traffic will be
refused as expected. Also now one may put all 4 transports on the command
line as follows:
./snmpd  udp:161    tcp6:161  udp6:161  tcp:161 -f -L -d

I assume that this may not be a Fedora/Linux specific bug (it depends on the
semantics of the bind for any IPv6 address).

I assume that this patch will be applied to a future release of Net-Snmp.
Let me know if you need more information.


Thanks very much for your help,
Shuki Sasson

-----Original Message-----
From: Katsuhisa ABE [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 26, 2005 4:35 AM
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: Using Net-Snmp for IPv6 and IPv4 simultaneously for both TCP
and UDP.

  I attach the patch of snmplib/snmpTCPIPv6Domain.c (for net-snmp 5.2).
  Please try it.

Katsuhisa ABE
Cyber Solutions Inc.

From: Katsuhisa ABE <[EMAIL PROTECTED]>
Subject: Re: Using Net-Snmp for IPv6 and IPv4 simultaneously for both TCP
and UDP.
Date: Wed, 26 Jan 2005 11:06:58 +0900 (JST)
Message-ID: <[EMAIL PROTECTED]>

abekatsu>   Hi, Sasson.
abekatsu> 
abekatsu>   I think, we need the following setsockopt option
abekatsu> in snmplib/snmpTCPIPv6Domin.c as the same as
snmplib/snmpUDPIPv6Domain.c.
(snip)
abekatsu> If possible, I will make a patch for snmplib/snmpTCPIPv6Domain.c.


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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

Reply via email to