From owner-freebsd-questions@freebsd.org Thu Jul 30 20:54:34 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 80F2D3AECE2 for ; Thu, 30 Jul 2020 20:54:34 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BHjMY2BPDz3fs4 for ; Thu, 30 Jul 2020 20:54:32 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-qk1-x72e.google.com with SMTP id 2so22843083qkf.10 for ; Thu, 30 Jul 2020 13:54:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=040Aj7dPWHavjt2Omy3GzWSP8A1/yZvffn2112xiZ0I=; b=UGZXjGf3hlrMR14IMmDBSVMZHgMJeAg44PQrnyLw3smey+fmK/XWNE9Bv4MAWf9B/b Nqh9jNxPFlZKNKa4W6/AziX0DeUCzgHOw9TKhufJhPBxVWC1ektGGnobrFeSrduFB4cj +NPEuG9DqSbjHXWEplcshhVp67vFfr7TlOgnGYRXjw0BMbdF5YBpzC6Sslfns+0Z+XWG nvfe6/6P3YFRNDx9vKM0QEcJH37Ft7XjPdVX8LVjUsFMzsYqpXgD+rx35gAwBwVhWRdC sqLX6PEI0FazZ5udg90/UxCUhZSeg2vH5PoMf1K6T9bj0JpTwImpRVpTrbLkzfpVRSLf e7wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=040Aj7dPWHavjt2Omy3GzWSP8A1/yZvffn2112xiZ0I=; b=SKdO4gyzkLyISethSyWd06DeBg7F6D9AUdqQvh5HZJUWmthdJGAzhi281ZYYFRMuIz G1kn1DjilThwtTXV6pPaP4EQ0HNScdYOvoRf5LS7uC9Bt3JMjXHLDDbylAWKt/BoCUuF qCXbXBoMtgsBIN+B4vdDfJAjNh6CGhJA2eJwDa7rboUVbJV+PqZJQ7+Da+HpnsN12uf5 qoLNog5XstpMBXAE1WXhUxiOr2KVS6WAqApbzn971wgC6o661EUX9Ka/YjVzmIMCUbZ1 4YLJrJBEaZLV3NLZq8Pj6/bMChDvHL9yOnvK8jXAZOaOUr4EQiqmSuvYMB8w1vODbFAM 7hmQ== X-Gm-Message-State: AOAM530YBIGKSCFsTCdOhWrW84dJLB69hwQu1FIZ0BdMkrse/ifXzUA2 ip64CL1GaDT8FDNwo51v5vgucimFfShpbuJnaCM96C62Ho9OcQ== X-Google-Smtp-Source: ABdhPJyet/m2Hu2mgqXFGQqobKPB776WJwnL1soTWmY6kIO+1NdHP8Ul0ZRoVLtvIehySu/PldDpAl5GDiC3QOGPuTE= X-Received: by 2002:a37:a596:: with SMTP id o144mr1117270qke.30.1596142471964; Thu, 30 Jul 2020 13:54:31 -0700 (PDT) MIME-Version: 1.0 References: <62693624b2f310cc9683ed6b05d246b6.squirrel@webmail.harte-lyne.ca> In-Reply-To: From: Michael Sierchio Date: Thu, 30 Jul 2020 13:53:56 -0700 Message-ID: Subject: Re: Q. ntp pseudo service in a jail To: FreeBSD Questions X-Rspamd-Queue-Id: 4BHjMY2BPDz3fs4 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=UGZXjGf3; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2607:f8b0:4864:20::72e) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-0.38 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.21)[-0.213]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.55)[-0.551]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::72e:from]; NEURAL_SPAM_SHORT(0.69)[0.687]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2020 20:54:34 -0000 On Thu, Jul 30, 2020 at 1:45 PM Jon Radel wrote: > On 7/30/20 16:03, James B. Byrne via freebsd-questions wrote: > > I need a jail to provide responses to ntp queries. I do not need (or > want) the > > jail to adjust the system time. I just need it to provide whatever tim= e > the > > host OS has whenever it is queried. Can this requirement be met? > > > > > > > You can probably do what you want with the reference ntpd code if you > set it up to have only a LOCAL driver. This takes the system clock as > the source of truth. server 127.127.1.0 fudge 127.127.1.0 stratum 5 > > Make sure to set a really high stratum with fudge so that people don't > have to hate on you if you leak the quite possibly crap time further > than you expect. > > LOCAL is going to get time from the host, right? Clocks are shared. --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is = no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata