]> git.ipfire.org Git - thirdparty/ntp.git/commit
[Bug 1741] Enable multicast reception on each address (Windows).
authorDave Hart <hart@ntp.org>
Sun, 12 Dec 2010 07:11:37 +0000 (07:11 +0000)
committerDave Hart <hart@ntp.org>
Sun, 12 Dec 2010 07:11:37 +0000 (07:11 +0000)
commit5d288a445d90692ee32d3555012539e313f7bf22
tree393a7867dc8ff7641c254a1fe5bead7b10d4499c
parent4bbc983ebaa261e8e1a067eda06d6a52413f3daa
[Bug 1741] Enable multicast reception on each address (Windows).
Minimize local address flip-flopping by avoiding peer_refresh_allinterfaces()
  if nothing has changed in the interface list since the last scan.
Separate handling of scope ID embedded in many in6_addr from ifindex used
  for IPv6 multicasting ioctls.
Add INT_PRIVACY endpt bit flag for IPv6 RFC 4941 privacy addresses.
Enable outbound multicast from only one address per interface in the same
  subnet, and in that case prefer embedded MAC address modified EUI-64 IPv6
  addresses first, then static, and last RFC 4941 privacy addresses.
Use setsockopt(IP[V6]_MULTICAST_IF) before each send to multicast to select
  the local source address, using the correct socket isn't enough.

bk: 4d0475a9Ar3OmzQDf-G6MvbiNEAhbA
21 files changed:
ChangeLog
include/isc/mem.h
include/ntp.h
include/ntp_control.h
include/ntp_io.h
include/ntp_net.h
include/ntp_stdlib.h
include/ntpd.h
lib/isc/include/isc/interfaceiter.h
lib/isc/unix/ifiter_ioctl.c
lib/isc/unix/ifiter_sysctl.c
lib/isc/unix/interfaceiter.c
lib/isc/win32/include/isc/ipv6.h
lib/isc/win32/interfaceiter.c
libntp/socktoa.c
libntp/socktohost.c
ntpd/ntp_control.c
ntpd/ntp_io.c
ntpd/ntp_peer.c
ntpd/ntp_request.c
ntpd/ntpd.c