Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2002 11:51:03 -0700 (PDT)
From:      "Michael R. Wayne" <wayne@staff.msen.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/43938: ntpd binds to local aliases
Message-ID:  <200210111851.g9BIp35F004761@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210111851.g9BIp35F004761>