From owner-freebsd-stable@FreeBSD.ORG Sun Mar 7 16:19:08 2010 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 B90F7106564A for ; Sun, 7 Mar 2010 16:19:08 +0000 (UTC) (envelope-from mailnull@mips.inka.de) Received: from mail-in-14.arcor-online.net (mail-in-14.arcor-online.net [151.189.21.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6F2508FC12 for ; Sun, 7 Mar 2010 16:19:08 +0000 (UTC) Received: from mail-in-20-z2.arcor-online.net (mail-in-20-z2.arcor-online.net [151.189.8.85]) by mx.arcor.de (Postfix) with ESMTP id CE2CB28B040 for ; Sun, 7 Mar 2010 17:19:06 +0100 (CET) Received: from mail-in-04.arcor-online.net (mail-in-04.arcor-online.net [151.189.21.44]) by mail-in-20-z2.arcor-online.net (Postfix) with ESMTP id C631D1080D0 for ; Sun, 7 Mar 2010 17:19:06 +0100 (CET) Received: from lorvorc.mips.inka.de (dslb-092-075-206-049.pools.arcor-ip.net [92.75.206.49]) by mail-in-04.arcor-online.net (Postfix) with ESMTPS id 91C7733AA15 for ; Sun, 7 Mar 2010 17:19:06 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-04.arcor-online.net 91C7733AA15 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.14.4/8.14.3) with ESMTP id o27GJ6gn006327 for ; Sun, 7 Mar 2010 17:19:06 +0100 (CET) (envelope-from mailnull@lorvorc.mips.inka.de) Received: (from mailnull@localhost) by lorvorc.mips.inka.de (8.14.4/8.14.4/Submit) id o27GJ5pD006326 for freebsd-stable@freebsd.org; Sun, 7 Mar 2010 17:19:05 +0100 (CET) (envelope-from mailnull) From: naddy@mips.inka.de (Christian Weisgerber) Date: Sun, 7 Mar 2010 16:19:05 +0000 (UTC) Message-ID: Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-stable@freebsd.org Subject: ntpd multicast TTL 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: Sun, 07 Mar 2010 16:19:08 -0000 ntpd is a convenient source of multicast packets for testing purposes. When I add broadcast 224.0.1.1 to my ntp.conf, ntpd sends a multicast packet with TTL 1 every 64 seconds. Just as expected. However, when I explicitly specify the TTL as in broadcast 224.0.1.1 ttl 1 it sends packets with TTL 32. Trying a few other numbers confirms that it multiplies the specified TTL by 32. That is not expected. (I also don't recall this happening the last time I tried it, but that may have been years ago.) Is this simply a bug in ntpd? 7.3-PRERELEASE from yesterday. -- Christian "naddy" Weisgerber naddy@mips.inka.de