From owner-freebsd-bugs Fri Oct 11 12: 0:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D41937B406 for ; Fri, 11 Oct 2002 12:00:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B3F443E9E for ; Fri, 11 Oct 2002 12:00:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9BJ07Co089029 for ; Fri, 11 Oct 2002 12:00:07 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9BJ079c089028; Fri, 11 Oct 2002 12:00:07 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 538ED37B401 for ; Fri, 11 Oct 2002 11:51:04 -0700 (PDT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1419943E7B for ; Fri, 11 Oct 2002 11:51:04 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9BIp37R004762 for ; Fri, 11 Oct 2002 11:51:03 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.6/8.12.6/Submit) id g9BIp35F004761; Fri, 11 Oct 2002 11:51:03 -0700 (PDT) Message-Id: <200210111851.g9BIp35F004761@www.freebsd.org> Date: Fri, 11 Oct 2002 11:51:03 -0700 (PDT) From: "Michael R. Wayne" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/43938: ntpd binds to local aliases Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43938 >Category: bin >Synopsis: ntpd binds to local aliases >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 11 12:00:07 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Michael R. Wayne >Release: 4.5, 4.7 >Organization: Msen, Inc. >Environment: 4.5-RELEASE-p20, 4.7-RC >Description: Using a virtual web server, with lines like: ifconfig_lo0_alias19="inet 148.59.66.19 netmask 255.255.255.255 " in /etc/rc, ntpd will bind to each of the virtual interfaces. There is an (undocumented) option, -L, which purports to enable this behaviour, but on our systems we found no way to disable it. Further, there is a but in code prior to that which is testing a value that has never been set. Does not seem to be a problem under FreeBSD but is a bug nontheless. >How-To-Repeat: Enable virtual interfaces, start ntpd. >Fix: I have a 25 line patch which corrects the problem, including printing debug information where appropriate and documenting the other issue. I'm not about to post it into a web form though. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message