From: Danny Mayer Date: Thu, 17 Mar 2005 20:35:36 +0000 (-0500) Subject: Bug #396 - Disable wildcards for now to prevent this happening X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ac46b31de9d986c896d672eeeed78fdf6df7bb5;p=thirdparty%2Fntp.git Bug #396 - Disable wildcards for now to prevent this happening bk: 4239ea18SkZrCbyXpYBnxXQQ8N-1Rg --- diff --git a/ntpd/ntp_io.c b/ntpd/ntp_io.c index 1a1ef67e07..cf0011ac2a 100644 --- a/ntpd/ntp_io.c +++ b/ntpd/ntp_io.c @@ -554,10 +554,17 @@ create_sockets( netsyslog(LOG_ERR, "no IPv4 interfaces found"); #endif #ifdef UDP_WILDCARD_DELIVERY + /* + * Do not allow creation of wildcard address + * sockets since it appears that it could + * allow it to receive broadcast packets + * Further fix will be more comprehensive. + * PDMXXX + if (specific_interface == NULL) { nwilds = create_wildcards(port); idx = nwilds; - } + } */ #endif result = isc_interfaceiter_create(mctx, &iter);