From owner-freebsd-stable@FreeBSD.ORG Tue Oct 4 21:07:32 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B26531065688 for ; Tue, 4 Oct 2011 21:07:32 +0000 (UTC) (envelope-from pol@leissner.se) Received: from mailgate.leissner.se (mailgate.leissner.se [212.3.1.210]) by mx1.freebsd.org (Postfix) with ESMTP id 445F38FC0A for ; Tue, 4 Oct 2011 21:07:31 +0000 (UTC) Received: from mailgate.leissner.se (localhost [127.0.0.1]) by mailgate.leissner.se (8.14.5/8.14.5) with ESMTP id p94KbreS004590 for ; Tue, 4 Oct 2011 22:37:53 +0200 (CEST) (envelope-from pol@leissner.se) Received: (from uucp@localhost) by mailgate.leissner.se (8.14.5/8.14.5/Submit) id p94Kbruf004589 for ; Tue, 4 Oct 2011 22:37:53 +0200 (CEST) (envelope-from pol@leissner.se) Received: from pol.leissner.se(192.71.29.17), claiming to be "pol-server.leissner.se" via SMTP by mailgate.leissner.se, id smtpdMUVCVR; Tue Oct 4 22:37:44 2011 Received: from pol by pol-server.leissner.se with local (Exim 4.72) (envelope-from ) id 1RBBkF-0002Zb-VP for freebsd-stable@freebsd.org; Tue, 04 Oct 2011 22:37:43 +0200 Date: Tue, 4 Oct 2011 22:37:43 +0200 From: Peter Olsson To: freebsd-stable@freebsd.org Message-ID: <20111004203743.GM23883@pol.leissner.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: How disable ntpd on IPv6 adresses? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2011 21:07:32 -0000 Hello! I hope this is the right list for this question. In FreeBSD 8.2, how do I make ntpd not open any IPv6 ports? I have searched man pages and google, but haven't found the answer. Some ntpd have the command line option -4, but that doesn't seem to be the case with FreeBSD ntpd. The server runs IPv6, but ntpd will only ever be used with IPv4 servers, so I don't want any unnecessary open IPv6 ports for ntpd. "Use restrict" or "Use a firewall" is not the answer. I just don't want this junk in netstat -an: udp6 0 0 fe80:3::1.123 *.* udp6 0 0 ::1.123 *.* udp6 0 0 x:x:x:x.123 *.* udp6 0 0 fe80:2::219:bbff.123 *.* udp6 0 0 fe80:1::219:bbff.123 *.* udp6 0 0 *.123 *.* Thanks! -- Peter Olsson pol@leissner.se