Sorry forget the patch. Here it is. -----Original Message----- From: Fong Tsui Sent: Friday, August 20, 2004 1:50 PM To: '[EMAIL PROTECTED]' Subject: IPv6 transport vs IPv4 access control
Hi, greetings, Currently if snmpd agent is launched on IPv6 transport, both IPv6 and IPv4 addresses can access it. However, access control in snmpd.conf distinguishes between IPv6 (eg. rwcommunity6) and IPv4(eg. rwcommunity). If snmpd is launched IPv6, for IPv4 access, access control needs to be defined in IPv6 format, which is rwcommunity6 ::ffff:x.x.x.x. To me, if it is accessible for both IPv4 and IPv6, for IPv4, it should look IPv4's access control(rwcommunity). Attached are changes for making IPv4 to read IPv4 access control. Also set SO_REUSEADDR for socket bind. Thanks, Fong
snmpUDPIPv6Domain.c.diff
Description: snmpUDPIPv6Domain.c.diff
