From owner-freebsd-questions@freebsd.org Sun Aug 15 23:28:41 2021 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 C04FF667FC5 for ; Sun, 15 Aug 2021 23:28:41 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 4GntlX6F3sz4p2w for ; Sun, 15 Aug 2021 23:28:40 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-wr1-x42d.google.com with SMTP id k29so21100766wrd.7 for ; Sun, 15 Aug 2021 16:28:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JuFKCcjxvTqQ/6gSM0782Za09Qnw4Qeo9S2P3OMK5+g=; b=ARk+IaNzHt/dESqLoqH8pYoQL9Tx7NGhmeOmvV4Krp00S9YfgTbvt4TZ1Cq3XxZWXh iXrPjwkooKnShunLjyJFjKI2tFLuPzyCIaaUtYvfLF9o4yCaFgmitH1B/D1t9VZCoXAR QexEuvfX7EXMbZg6Z7uJHOfzo05OOSLdomc5cgNgN+5e6u/+6byGz2cZ/rY9Jn3msGEH QVz+diX46igJJpHqwfdHqr9MarGnc0n0SyJT4rPe+6xe2ks7aH878VBxP4pJuap5tuwO wME50h9WZngKDE5+aJ0q8dspvCMxFyqH1Qi/9A6uP2AST1nnDvz6w73YrzV2b3cokoWE mzVA== 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:cc; bh=JuFKCcjxvTqQ/6gSM0782Za09Qnw4Qeo9S2P3OMK5+g=; b=AbuBQ3oJwvb62w9EyUukqJPlC0L/g/YJ2/F2zK1HLxTJZ8frxbGo6YXV+d4V3b3HiT +gOIKUK41SLy6A56WeOHV+ggQB8MXN4ru3/2ckY2OPxJnlstY4UhSQD+Jn4EP3A7xM52 d9+PTcKOtafs5jX82iUqRxLJIIo+RHVBjNKVWwjwuNr7r4nPCYsMqroDYhk5uVH7DqG6 3XLX0+UFW+OTz+7dzGUA60HdG5hUIu1OEt6bmxtIdHP2piClBXx1wb2YuAYFTqIzDyD1 4vnTW6ECco9+Q4+WyDeGSS8eQmn51SR4NafjLR5O0pQDJuQ5ZTQfQmwEFXso5xgbtr42 huVg== X-Gm-Message-State: AOAM533Yrfkyq/FMfxGpTCqvOv1oiOhreeV5kK5mZh1DwX+oPOeG11pv tiix6fzXMa0yEQR3blBlYIs6ueU4XLkk/DjLF3M= X-Google-Smtp-Source: ABdhPJyDgKSfnfhbUbxJ9bHx024Nvs5qetkzbag6e0NNfVnlZilqyjfkdPKUk5ZcOa5rfsGih70SEDrpev1yXFkp0F0= X-Received: by 2002:adf:cd8e:: with SMTP id q14mr15193379wrj.410.1629070114358; Sun, 15 Aug 2021 16:28:34 -0700 (PDT) MIME-Version: 1.0 References: <20210812125424.47ab3bb9@dismail.de> <5562216.8T7jmnknE8@curlew> <20210814081410.0e6e2a12@dismail.de> In-Reply-To: <20210814081410.0e6e2a12@dismail.de> From: Kevin Oberman Date: Sun, 15 Aug 2021 16:28:18 -0700 Message-ID: Subject: Re: pkg lock To: LuMiWa Cc: Mike Clarke , FreeBSD Questions X-Rspamd-Queue-Id: 4GntlX6F3sz4p2w X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ARk+IaNz; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-3.70 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42d:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2021 23:28:41 -0000 On Sat, Aug 14, 2021 at 5:14 AM LuMiWa via freebsd-questions < freebsd-questions@freebsd.org> wrote: > On Sat, 14 Aug 2021 11:14:52 +0100 > Mike Clarke wrote: > > > On Thursday, 12 August 2021 17:54:24 BST LuMiWa via freebsd- > > questions wrote: > > > > > I am using binary packages (latest) on FreeBSD 13.0-RELEASE. > > > I have 8 applications where I have my own settings. Is it correct > > when > > > I built the and install that I should use "pkg lock name" of > > > port/package, please? Or is something other. > > > > Yes, that's the way to go but if you rebuild the port for any reason > > you will need to unlock it for the duration of the build otherwise > > the final stage of installing the package will fail. > > > > Thank you, I did and I wrote which ports I locked :). > If you build ports with portmaster, it will report the locked port if it attempts to rebuild it and ask if you want to update anyway. If you reply 'Y', it will unlock the port, rebuild and install it and re-lock the port. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 From owner-freebsd-questions@freebsd.org Mon Aug 16 08:56:19 2021 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 2B7E966FE24 for ; Mon, 16 Aug 2021 08:56:19 +0000 (UTC) (envelope-from administrator@freebsd.org) Received: from f.tbmnza.buzz (hp0.f.tbmnza.buzz [206.189.101.164]) by mx1.freebsd.org (Postfix) with ESMTP id 4Gp7LV3ZQ8z3QkH for ; Mon, 16 Aug 2021 08:56:18 +0000 (UTC) (envelope-from administrator@freebsd.org) Received: from freebsd.org (unknown [193.142.59.133]) (Authenticated sender: vip) by f.tbmnza.buzz (Postfix) with ESMTPA id 71088620E44E for ; Sun, 15 Aug 2021 23:48:52 -0500 (CDT) From: freebsd.org To: freebsd-questions@freebsd.org Subject: Verify Your Account freebsd-questions@freebsd.org Date: 15 Aug 2021 21:48:52 -0700 Message-ID: <20210815214852.BE14C862950FEA43@freebsd.org> X-Rspamd-Queue-Id: 4Gp7LV3ZQ8z3QkH X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:14061, ipnet:206.189.96.0/20, country:US] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2021 08:56:19 -0000 From owner-freebsd-questions@freebsd.org Mon Aug 16 11:13:12 2021 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 2AD7A67255F for ; Mon, 16 Aug 2021 11:13:12 +0000 (UTC) (envelope-from noreply-security@freebsd.org) Received: from freebsd.org (pppoe-static.82.209.221.201.telecom.mogilev.by [82.209.221.201]) by mx1.freebsd.org (Postfix) with ESMTP id 4GpBNR5TrXz3pL9 for ; Mon, 16 Aug 2021 11:13:11 +0000 (UTC) (envelope-from noreply-security@freebsd.org) From: freebsd.org Administrator To: freebsd-questions@freebsd.org Subject: freebsd-questions@freebsd.org Security Alert Date: 16 Aug 2021 14:13:11 +0300 Message-ID: <20210816141311.1ADAD58EEA66AC23@freebsd.org> X-Rspamd-Queue-Id: 4GpBNR5TrXz3pL9 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:6697, ipnet:82.209.192.0/18, country:BY]; local_wl_from(0.00)[freebsd.org] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2021 11:13:12 -0000 From owner-freebsd-questions@freebsd.org Mon Aug 16 21:31:13 2021 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 06C486555B4 for ; Mon, 16 Aug 2021 21:31:13 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4GpS5X215Bz3jsL for ; Mon, 16 Aug 2021 21:31:12 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 499434E46C for ; Mon, 16 Aug 2021 16:31:06 -0500 (CDT) To: FreeBSD Mailing List From: Valeri Galtsev Subject: Jails: pf blocks access to localhost of host system Message-ID: <8f6aa4f4-f361-e6eb-985b-291b7be631e0@kicp.uchicago.edu> Date: Mon, 16 Aug 2021 16:31:06 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4GpS5X215Bz3jsL X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [-0.89 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.994]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2021 21:31:13 -0000 Dear Experts in pf and jails. I was recent refugee from to pf from ipfw which I was happily using for decade (why is different story). I seem to be able to configure all I need from pf, except one thing, which is jail access to localhost of host system. I configure jails "by the book" (i.e FreeBSD handbook), I do not use any scripts facilitating simple enough for me process. My jail configuration is like the following: # cat /etc/jail.conf jailname { host.hostname = "hostname.domainname"; ip4.addr = X.Y.Z.W; # address on public address space devfs_ruleset=7; // integer number of devfsrules_jail_bpf ruleset // in /etc/devfs.rules persist; // Required because there are no processes exec.start = "/etc/rc.d/cron start; /etc/rc.d/syslogd start; /usr/local/etc/rc.d/apache24 start"; exec.stop = "/usr/local/etc/rc.d/apache24 stop; /etc/rc.d/syslogd stop; /etc/rc.d/cron stop"; } As you see, there is no lo0 configured in jail. (I do have lo0 configured in jails on some machines, but I do not feel it necessary in this case). Now if script from apache in that jail connects port 25 on localhost to send email, the connection goes ho postfix I run on host system. While I was using ipfw having the rule allowing all traffic on lo0 to pass (I figure) at the top of rules did the trick. I can not achieve the same with pf. Searching on we web didn't help either. Here if my simplified to necessary minimum for debugging pf.conf: # cat /etc/pf.conf ##################### BEGIN # macro name(s) for external interface(s). ext_if = "bce0" int_if = "bce1" services = "{ 80 443 3306 5432 9102 }" icmp_types = "{ echoreq unreach }" # set a default deny everything policy. block all # Allow all traffic on trusted interfaces pass quick from { lo0 $int_if } to any keep state # keep state on any outbound tcp, udp or icmp traffic. # modulate the isn of # outgoing packets. (initial sequence number) broken operating systems # sometimes don’t randomize this number, making it guessable. pass out on $ext_if proto { tcp, udp, icmp } from any to any \ modulate state # set a rule that allows inbound ssh traffic pass in on $ext_if proto tcp to port { 22 } \ keep state # On workstation we will pass all outgoing traffic pass out all keep state # We pass what comes to our services (but DHCP taken care os above) pass in on $ext_if proto { tcp udp } to port $services # and icmp types we want pass inet proto icmp icmp-type $icmp_types ##################### END If I am inside jail the command telnet localhost 25 successfully connects to postfix run on host system. When I enable pf with rules as above, similar connection from inside jail just hangs. I was assuming the rule: pass quick from { lo0 $int_if } to any keep state will do the trick, but no, the connection from inside jail to host system localhost port 25 is blocked by pf. Can someone give me any pointers for this particular case? Thanks a lot in advance for your pointers! Valeri PS I know, I can do the following and it will work: configure lo0 in jail (splitting part of 127.0.0.0/8 away from host to guest/jail) and run postfix is jail. But being able to tell pf what I want it to [not] do will be preferable. -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Mon Aug 16 21:41:24 2021 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 76EA96556DF for ; Mon, 16 Aug 2021 21:41:24 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GpSKJ2gm1z3kk4 for ; Mon, 16 Aug 2021 21:41:24 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "R3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 06A397409 for ; Mon, 16 Aug 2021 21:41:24 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from misophist.local (unknown [IPv6:2001:8b0:151:1:44f7:bc5d:f1b5:8bfd]) (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) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id D09FC1B725 for ; Mon, 16 Aug 2021 21:41:21 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/D09FC1B725; dkim=none; dkim-atps=neutral Subject: Re: Jails: pf blocks access to localhost of host system To: freebsd-questions@freebsd.org References: <8f6aa4f4-f361-e6eb-985b-291b7be631e0@kicp.uchicago.edu> From: Matthew Seaman Message-ID: Date: Mon, 16 Aug 2021 22:41:21 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <8f6aa4f4-f361-e6eb-985b-291b7be631e0@kicp.uchicago.edu> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1uJFmbBjEh8CbFE6FtDIsbMFz2bjJkOjR" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2021 21:41:24 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --1uJFmbBjEh8CbFE6FtDIsbMFz2bjJkOjR Content-Type: multipart/mixed; boundary="gtTYZIBAYlw0hAoTOTc0nVdb87ed4AQaB"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: Subject: Re: Jails: pf blocks access to localhost of host system References: <8f6aa4f4-f361-e6eb-985b-291b7be631e0@kicp.uchicago.edu> In-Reply-To: <8f6aa4f4-f361-e6eb-985b-291b7be631e0@kicp.uchicago.edu> --gtTYZIBAYlw0hAoTOTc0nVdb87ed4AQaB Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 16/08/2021 22:31, Valeri Galtsev wrote: > Dear Experts in pf and jails. >=20 > I was recent refugee from to pf from ipfw which I was happily using for= =20 > decade (why is different story). I seem to be able to configure all I=20 > need from pf, except one thing, which is jail access to localhost of=20 > host system. >=20 > I configure jails "by the book" (i.e FreeBSD handbook), I do not use an= y=20 > scripts facilitating simple enough for me process. My jail configuratio= n=20 > is like the following: >=20 > # cat /etc/jail.conf >=20 > jailname { > =C2=A0=C2=A0=C2=A0 host.hostname =3D "hostname.domainname"; > =C2=A0=C2=A0=C2=A0 ip4.addr =3D X.Y.Z.W; # address on public address s= pace > =C2=A0=C2=A0=C2=A0 devfs_ruleset=3D7;=C2=A0 // integer number of devfs= rules_jail_bpf ruleset > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 // in /etc/devfs.r= ules > =C2=A0=C2=A0=C2=A0 persist;=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = // Required because there are no processes > =C2=A0=C2=A0=C2=A0 exec.start =3D "/etc/rc.d/cron start; /etc/rc.d/sys= logd start;=20 > /usr/local/etc/rc.d/apache24 start"; > =C2=A0=C2=A0=C2=A0 exec.stop =3D "/usr/local/etc/rc.d/apache24 stop; /= etc/rc.d/syslogd=20 > stop; /etc/rc.d/cron stop"; > } >=20 > As you see, there is no lo0 configured in jail. (I do have lo0=20 > configured in jails on some machines, but I do not feel it necessary in= =20 > this case). Now if script from apache in that jail connects port 25 on = > localhost to send email, the connection goes ho postfix I run on host=20 > system. >=20 > While I was using ipfw having the rule allowing all traffic on lo0 to=20 > pass (I figure) at the top of rules did the trick. I can not achieve th= e=20 > same with pf. Searching on we web didn't help either. >=20 > Here if my simplified to necessary minimum for debugging pf.conf: >=20 >=20 > # cat /etc/pf.conf > ##################### BEGIN > # macro name(s) for external interface(s). > ext_if =3D "bce0" > int_if =3D "bce1" >=20 > services =3D "{ 80 443 3306 5432 9102 }" >=20 > icmp_types =3D "{ echoreq unreach }" >=20 > # set a default deny everything policy. > block all >=20 > # Allow all traffic on trusted interfaces > pass quick from { lo0 $int_if } to any keep state >=20 > # keep state on any outbound tcp, udp or icmp traffic. > # modulate the isn of > # outgoing packets. (initial sequence number) broken operating systems > # sometimes don=E2=80=99t randomize this number, making it guessable. > pass out on $ext_if proto { tcp, udp, icmp } from any to any \ > =C2=A0=C2=A0=C2=A0 modulate state >=20 > # set a rule that allows inbound ssh traffic > pass in on $ext_if proto tcp to port { 22 } \ > =C2=A0=C2=A0=C2=A0 keep state >=20 > # On workstation we will pass all outgoing traffic > pass out all keep state >=20 > #=C2=A0 We pass what comes to our services (but DHCP taken care os abov= e) > pass in on $ext_if proto { tcp udp } to port $services >=20 > # and icmp types we want > pass inet proto icmp icmp-type $icmp_types >=20 > ##################### END >=20 >=20 > If I am inside jail the command >=20 > telnet localhost 25 >=20 > successfully connects to postfix run on host system. When I enable pf=20 > with rules as above, similar connection from inside jail just hangs. >=20 > I was assuming the rule: >=20 > pass quick from { lo0 $int_if } to any keep state >=20 > will do the trick, but no, the connection from inside jail to host=20 > system localhost port 25 is blocked by pf. >=20 >=20 > Can someone give me any pointers for this particular case? >=20 > Thanks a lot in advance for your pointers! >=20 > Valeri >=20 >=20 > PS I know, I can do the following and it will work: configure lo0 in=20 > jail (splitting part of 127.0.0.0/8 away from host to guest/jail) and=20 > run postfix is jail. But being able to tell pf what I want it to [not] = > do will be preferable. >=20 Try: set skip on { lo0 $int_if } (and delete any filtering rules on lo0 or $int_if) which says to pf not to touch any packets traversing those interfaces. Cheers, Matthew --gtTYZIBAYlw0hAoTOTc0nVdb87ed4AQaB-- --1uJFmbBjEh8CbFE6FtDIsbMFz2bjJkOjR Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAmEa24EFAwAAAAAACgkQAFE/EOCp5OcN xw/+NLbCLwSrIda2bSldM08ZSfnkyS+BY5Sigb2DSqSusWGugQ8hGcJ86yNkXBnN3QAjJ/h2D1yB M6KBAnnhy76yvah/TakjhQ+ek4I+DDYR8fz3XeLZhRpU5dZy3fvzLbbFgwoKoZbpMw+sEerEuunH UFNWIOh+3vRznaFJiHDxeTHt2V1FNx2FuSwNl49ZYMlrjpfOUz1RYFylx4x8VP3OUuU4KktYzT06 Tm2N5NbQNb1RFiXIlLOYs13rV0jPdIqBkgq1PXowiIOxU+mOj1s3AjALkK9puSyA7iZQZs+fpOeE gxmdCNtKEUaI9rRpZA3ymI674KVC9boV9Vp4zFUgeGuwN4NkcQnfPVRSyGP1zAEjFkQaJOcpwVlw ed65S4ufNsvmMs83G+7PxIrhMB1v+k2bV6t2jACYLGvEKMCXXBpJjpPljw4EFZsO15pZ2VwiJWkZ 8AJySWSVULqfhLBHlpUYUDcNIC2rgH7ctOWK8MreGEpjY8JAEYUXN9hxgT01CZ+Fo19x/0I9YmHQ 6yGvlCWdZ0epJAO8oNmyjrWKejSqMlMiK5Qr1lXitz3XNCgG8TBSY8yrIkKiXqfGNMhf8k8W1WBE vCItb8i9n9T4omCbbC0OgwE8aYmo2tWVHYSLgMgREsMQeSJn7g3UzPx4CiaSrGw9ad33+M1EVHzW oDM= =LGhK -----END PGP SIGNATURE----- --1uJFmbBjEh8CbFE6FtDIsbMFz2bjJkOjR-- From owner-freebsd-questions@freebsd.org Mon Aug 16 21:54:20 2021 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 7B120655C2E for ; Mon, 16 Aug 2021 21:54:20 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4GpScC5mWTz3lFX for ; Mon, 16 Aug 2021 21:54:19 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 6F6EC4E498 for ; Mon, 16 Aug 2021 16:54:19 -0500 (CDT) Subject: Re: Jails: pf blocks access to localhost of host system To: freebsd-questions@freebsd.org References: <8f6aa4f4-f361-e6eb-985b-291b7be631e0@kicp.uchicago.edu> From: Valeri Galtsev Message-ID: <8a330aeb-fccf-f8bd-1154-15288e3f0a9d@kicp.uchicago.edu> Date: Mon, 16 Aug 2021 16:54:17 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4GpScC5mWTz3lFX X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [-0.91 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_SPAM_SHORT(0.99)[0.992]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2021 21:54:20 -0000 On 8/16/21 4:41 PM, Matthew Seaman wrote: > On 16/08/2021 22:31, Valeri Galtsev wrote: >> Dear Experts in pf and jails. >> >> I was recent refugee from to pf from ipfw which I was happily using >> for decade (why is different story). I seem to be able to configure >> all I need from pf, except one thing, which is jail access to >> localhost of host system. >> >> I configure jails "by the book" (i.e FreeBSD handbook), I do not use >> any scripts facilitating simple enough for me process. My jail >> configuration is like the following: >> >> # cat /etc/jail.conf >> >> jailname { >>      host.hostname = "hostname.domainname"; >>      ip4.addr = X.Y.Z.W; # address on public address space >>      devfs_ruleset=7;  // integer number of devfsrules_jail_bpf ruleset >>                        // in /etc/devfs.rules >>      persist;        // Required because there are no processes >>      exec.start = "/etc/rc.d/cron start; /etc/rc.d/syslogd start; >> /usr/local/etc/rc.d/apache24 start"; >>      exec.stop = "/usr/local/etc/rc.d/apache24 stop; /etc/rc.d/syslogd >> stop; /etc/rc.d/cron stop"; >> } >> >> As you see, there is no lo0 configured in jail. (I do have lo0 >> configured in jails on some machines, but I do not feel it necessary >> in this case). Now if script from apache in that jail connects port 25 >> on localhost to send email, the connection goes ho postfix I run on >> host system. >> >> While I was using ipfw having the rule allowing all traffic on lo0 to >> pass (I figure) at the top of rules did the trick. I can not achieve >> the same with pf. Searching on we web didn't help either. >> >> Here if my simplified to necessary minimum for debugging pf.conf: >> >> >> # cat /etc/pf.conf >> ##################### BEGIN >> # macro name(s) for external interface(s). >> ext_if = "bce0" >> int_if = "bce1" >> >> services = "{ 80 443 3306 5432 9102 }" >> >> icmp_types = "{ echoreq unreach }" >> >> # set a default deny everything policy. >> block all >> >> # Allow all traffic on trusted interfaces >> pass quick from { lo0 $int_if } to any keep state >> >> # keep state on any outbound tcp, udp or icmp traffic. >> # modulate the isn of >> # outgoing packets. (initial sequence number) broken operating systems >> # sometimes don’t randomize this number, making it guessable. >> pass out on $ext_if proto { tcp, udp, icmp } from any to any \ >>      modulate state >> >> # set a rule that allows inbound ssh traffic >> pass in on $ext_if proto tcp to port { 22 } \ >>      keep state >> >> # On workstation we will pass all outgoing traffic >> pass out all keep state >> >> #  We pass what comes to our services (but DHCP taken care os above) >> pass in on $ext_if proto { tcp udp } to port $services >> >> # and icmp types we want >> pass inet proto icmp icmp-type $icmp_types >> >> ##################### END >> >> >> If I am inside jail the command >> >> telnet localhost 25 >> >> successfully connects to postfix run on host system. When I enable pf >> with rules as above, similar connection from inside jail just hangs. >> >> I was assuming the rule: >> >> pass quick from { lo0 $int_if } to any keep state >> >> will do the trick, but no, the connection from inside jail to host >> system localhost port 25 is blocked by pf. >> >> >> Can someone give me any pointers for this particular case? >> >> Thanks a lot in advance for your pointers! >> >> Valeri >> >> >> PS I know, I can do the following and it will work: configure lo0 in >> jail (splitting part of 127.0.0.0/8 away from host to guest/jail) and >> run postfix is jail. But being able to tell pf what I want it to [not] >> do will be preferable. >> > > Try: > > set skip on { lo0 $int_if } > Tried that (replaced what I had for lo0 with): set skip on { lo0 $int_if } Does not help: the connection from inside jail to localhost:25 [on host system] still hangs after I enable pf. I figure, the order of statements in pf.conf shouldn't matter, right? Thanks anyway. I have a feeling that _I_ do something gravely wrong, but... Valeri > (and delete any filtering rules on lo0 or $int_if) > > which says to pf not to touch any packets traversing those interfaces. > >     Cheers, > >     Matthew > > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Mon Aug 16 22:07:18 2021 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 89A6F6561C0 for ; Mon, 16 Aug 2021 22:07:18 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx1.dismail.de (mx1.dismail.de [78.46.223.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mx1.dismail.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GpSv84f8Bz3p35 for ; Mon, 16 Aug 2021 22:07:16 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 30bf2b5b; Tue, 17 Aug 2021 00:07:09 +0200 (CEST) Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 8db6f113; Tue, 17 Aug 2021 00:07:08 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 74b342bf; Tue, 17 Aug 2021 00:07:08 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 34feaeac (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 17 Aug 2021 00:07:07 +0200 (CEST) Date: Mon, 16 Aug 2021 18:07:05 -0400 From: LuMiWa To: Kevin Oberman Cc: Mike Clarke , FreeBSD Questions Subject: Re: pkg lock Message-ID: <20210816180705.32f2a461@dismail.de> In-Reply-To: References: <20210812125424.47ab3bb9@dismail.de> <5562216.8T7jmnknE8@curlew> <20210814081410.0e6e2a12@dismail.de> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4GpSv84f8Bz3p35 X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.10 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[dismail.de:s=20190914]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:78.46.223.134]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_LOW(-1.00)[dismail.de:dkim]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[dismail.de:+]; DMARC_POLICY_ALLOW(-0.50)[dismail.de,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:78.46.0.0/15, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[78.46.223.134:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2021 22:07:18 -0000 On Sun, 15 Aug 2021 16:28:18 -0700 Kevin Oberman wrote: > On Sat, Aug 14, 2021 at 5:14 AM LuMiWa via freebsd-questions < > freebsd-questions@freebsd.org> wrote: >=20 > > On Sat, 14 Aug 2021 11:14:52 +0100 > > Mike Clarke wrote: > > > > > On Thursday, 12 August 2021 17:54:24 BST LuMiWa via freebsd- > > > questions wrote: > > > > > > > I am using binary packages (latest) on FreeBSD 13.0-RELEASE. > > > > I have 8 applications where I have my own settings. Is it > > > > correct > > > when > > > > I built the and install that I should use "pkg lock name" of > > > > port/package, please? Or is something other. > > > > > > Yes, that's the way to go but if you rebuild the port for any > > > reason you will need to unlock it for the duration of the build > > > otherwise the final stage of installing the package will fail. > > > > > > > Thank you, I did and I wrote which ports I locked :). > > > If you build ports with portmaster, it will report the locked port if > it attempts to rebuild it and ask if you want to update anyway. If > you reply 'Y', it will unlock the port, rebuild and install it and > re-lock the port. -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 Thank you. Yes, I am a portmaster user :). --=20 "Everyone thinks of changing the world, but no one thinks of changing himself.=E2=80=9D Leo Tolstoy From owner-freebsd-questions@freebsd.org Tue Aug 17 00:36:44 2021 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 387B66582F7 for ; Tue, 17 Aug 2021 00:36:44 +0000 (UTC) (envelope-from wa5qjh@xmission.com) Received: from out02.mta.xmission.com (out02.mta.xmission.com [166.70.13.232]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GpXCb2FNQz4Tq7 for ; Tue, 17 Aug 2021 00:36:43 +0000 (UTC) (envelope-from wa5qjh@xmission.com) Received: from in01.mta.xmission.com ([166.70.13.51]:37974) by out02.mta.xmission.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mFn5n-009lNt-8l for freebsd-questions@freebsd.org; Mon, 16 Aug 2021 18:36:35 -0600 Received: from [175.176.70.2] (port=52718 helo=[192.168.5.100]) by in01.mta.xmission.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1mFn5m-007DPU-A0 for freebsd-questions@freebsd.org; Mon, 16 Aug 2021 18:36:34 -0600 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: wa5qjh Mime-Version: 1.0 (1.0) Date: Tue, 17 Aug 2021 08:36:28 +0800 Message-Id: <690EA13D-0354-4699-896B-A45C1E53E702@xmission.com> To: freebsd-questions@freebsd.org X-Mailer: iPad Mail (18B92) X-XM-SPF: eid=1mFn5m-007DPU-A0; ; ; mid=<690EA13D-0354-4699-896B-A45C1E53E702@xmission.com>; ; ; hst=in01.mta.xmission.com; ; ; ip=175.176.70.2; ; ; frm=wa5qjh@xmission.com; ; ; spf=neutral X-XM-AID: U2FsdGVkX1/GDX7EPAsxtUxtQaJ6kEel X-SA-Exim-Connect-IP: 175.176.70.2 X-SA-Exim-Mail-From: wa5qjh@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on sa07.xmission.com X-Spam-Level: *** X-Spam-Status: No, score=3.5 required=8.0 tests=ALL_TRUSTED,BAYES_95, DCC_CHECK_NEGATIVE,TR_XM_PhishingBody,XMPhish11 autolearn=disabled version=3.4.2 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 3.0 BAYES_95 BODY: Bayes spam probability is 95 to 99% * [score: 0.9763] * 1.5 XMPhish11 BODY: Confirm email account/addy * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa07 1397; Body=1 Fuz1=1 Fuz2=1] * 0.0 TR_XM_PhishingBody Phishing flag in body of message X-Spam-DCC: XMission; sa07 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ***;freebsd-questions@freebsd.org X-Spam-Relay-Country: X-Spam-Timing: total 174 ms - load_scoreonly_sql: 0.08 (0.0%), signal_user_changed: 12 (7.0%), b_tie_ro: 10 (5.9%), parse: 1.14 (0.7%), extract_message_metadata: 3.1 (1.8%), get_uri_detail_list: 0.26 (0.1%), tests_pri_-1000: 4.1 (2.3%), tests_pri_-950: 1.39 (0.8%), tests_pri_-900: 1.10 (0.6%), tests_pri_-90: 44 (25.3%), check_bayes: 42 (24.3%), b_tokenize: 2.8 (1.6%), b_tok_get_all: 2.9 (1.7%), b_comp_prob: 1.25 (0.7%), b_tok_touch_all: 32 (18.5%), b_finish: 1.01 (0.6%), tests_pri_0: 80 (45.9%), check_dkim_signature: 0.53 (0.3%), check_dkim_adsp: 3.0 (1.7%), poll_dns_idle: 1.12 (0.6%), tests_pri_10: 3.0 (1.7%), tests_pri_500: 14 (7.8%), rewrite_mail: 0.00 (0.0%) Subject: what is this "verify your account? X-SA-Exim-Version: 4.2.1 (built Sat, 08 Feb 2020 21:53:50 +0000) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) X-Rspamd-Queue-Id: 4GpXCb2FNQz4Tq7 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=xmission.com; spf=pass (mx1.freebsd.org: domain of wa5qjh@xmission.com designates 166.70.13.232 as permitted sender) smtp.mailfrom=wa5qjh@xmission.com X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[166.70.13.232:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+ip4:166.70.13.0/24]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[xmission.com,none]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6315, ipnet:166.70.0.0/16, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.20)[166.70.13.51:received,166.70.13.232:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2021 00:36:44 -0000 does this suffice? Gary Corell Ya gotta see time beyond the end of your nose From owner-freebsd-questions@freebsd.org Tue Aug 17 01:55:12 2021 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 34A1665A306 for ; Tue, 17 Aug 2021 01:55:12 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (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 4GpYy745K7z4fHN for ; Tue, 17 Aug 2021 01:55:11 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-wm1-x32d.google.com with SMTP id k4so12709620wms.3 for ; Mon, 16 Aug 2021 18:55:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=O2nzDaWJyloKt2MKDOFyAEWcypnToF3A6OxfZTTwguw=; b=AHj84dN6ysF5phmzEc831sD0CmoV/NZkpNC7dTFMazUmjiWCKOitVARKxL7u2xobD3 p947M4ZzoferKQmo9DkeUQ3mzkWWRuXfaCyokKapserJCJGd+xpPvz7BYeNGJEicbjHz jQRVr1E1nA6pNXMCsxWHs1m2e0aUwhByIwUqMZppNZJwJP5KP2Ab0h6iysnEUrSHVyup wE7p/E/n298x/l4faAlu68nlIA8UooDRIrMrgx+tDADn9oM7yrLxQN8RrcuE+ypzDmfO JDzWjcTExI/FrtrideN0aVU11A0qBj7WvCTSRSq/oIlu2le/eCzpfSwy41GuAMT6du8B o0EQ== 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:cc; bh=O2nzDaWJyloKt2MKDOFyAEWcypnToF3A6OxfZTTwguw=; b=tIAG11OUrsYxbG5xVvG9qHZ+P9EaBV1oH22ooYqrF0d4QkXjRQvFgtGqKg4COTdVIc 1GyPVMZpR9EpDLivkGBKpXB4OUfrGH3LGof+gnWhTf44t7dgg5AlmEA6Do5h1ivYM5Xy JiMl77VeIdPLLrEgaqCQ5aHRtVwwBQk+uYg4oxdmPSM0mmQiWIvYYbXez+MVNzeGX11L Tj+YSf3GuOxXSLyo2Xv0f545jymjTAfFzjPiomTKy1uwkumwbjHi0U/bJKFZ1DL5bGu4 I6LQBWnSwbmZo0u3xVff2YBJ+6X6BZq9/7oUEzEuyKwCMTwdRKKoDFETtf6YqB47w9f6 DAjw== X-Gm-Message-State: AOAM531ZDd9VPQGFk8ZWQyQT3WXqCoPsnrN/W6SvXRKxob05TaBmqQ7v Il5eYXCKmOeIcgqT7kmcWq71dP5h0Ygx3GHchDXmmYQQHLQ= X-Google-Smtp-Source: ABdhPJzVbShR2BQ08aK2zaToVNh4uodiLDEHzf2CW1kFYqryUePZ2q6fqkszOxBTRX03bqH4A9/83Sg88MKOsSDb2vE= X-Received: by 2002:a05:600c:4ca9:: with SMTP id g41mr801884wmp.110.1629165310439; Mon, 16 Aug 2021 18:55:10 -0700 (PDT) MIME-Version: 1.0 References: <690EA13D-0354-4699-896B-A45C1E53E702@xmission.com> In-Reply-To: <690EA13D-0354-4699-896B-A45C1E53E702@xmission.com> From: Tomasz CEDRO Date: Tue, 17 Aug 2021 03:54:46 +0200 Message-ID: Subject: Re: what is this "verify your account? To: wa5qjh Cc: FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4GpYy745K7z4fHN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=AHj84dN6; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2a00:1450:4864:20::32d) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-2.07 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32d:from]; NEURAL_HAM_SHORT(-0.77)[-0.766]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2021 01:55:12 -0000 On Tue, Aug 17, 2021 at 2:37 AM wa5qjh wrote: > does this suffice? > Gary Corell You are here :-) Welcome! :-) VY 73 SQ7MHZ -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Tue Aug 17 03:31:07 2021 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 5F09365B7D6 for ; Tue, 17 Aug 2021 03:31:07 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (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 4Gpc4n6cGMz3Nv4 for ; Tue, 17 Aug 2021 03:31:05 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: by mail-ej1-x632.google.com with SMTP id bq25so25723373ejb.11 for ; Mon, 16 Aug 2021 20:31:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=029XmfG/yt/JgEsT1hOF8l9mLxczaTngFcNrtlxl+rA=; b=BjCJMccG+gz26sleZz01Edgtres7a5RqyPGHCbA6p/NjYS7qoFwIChm3COZ/LxzGxK XMJsUBkVV/rBMUmxKO1LTEeZudCLRn9fzB3tbnCseG+07IWk/T2vR7H6hUcY26Uszjty yOBp+TMkZ04PIHCShknO1BF8/mpkOY2urL48nL4imIPT4lM+iRNt3r7JufVVIPOihfpB VVblLsCobUW9y2lV6THtS2QAH2emqm8e8SqYuADisJNp6tOoWxc1SBUDIEZgUA6coc83 CXuutCu/Vu1+bvqpAlpJKKeWjQm1lPIL5gclhUaI8lNdd9xNciK6zN6y0PVnQ0zGchV7 xE3A== 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:cc; bh=029XmfG/yt/JgEsT1hOF8l9mLxczaTngFcNrtlxl+rA=; b=UHIIPfXwOac8er54qiyfT4qd73GqJISRLQH5bDdeL2rxiOAObCpRqVNDWTGqdqvQsD mp6P53FZYudFuv2266esJFtixxD83PHIbpYPtLfRrvqAefbJJdPmrbNw7InnEAK92p+A Cn++Q4fBtnt+Lt0EjyBvUkdhSkAUOrN2YUkKu3G+LlHmj6AKEuifLwL4Mq+WkbLpEcTm baZF1V+AHdgV8hvtCn98S7g6Y/Mue1ZDmuU39jzpK28fvL15iUM5Tr6UwhjtVOgYbgAD fyxoKONLLKJkaTTklFHcItFENoGtnl+mAOmpzziXInvdMtZ93zejH3RvUn7aIjIfNVRx gyzw== X-Gm-Message-State: AOAM53233e9b5VJxds8QHZoiXWsgE78dJsxtdsSGaSlhgntcdUCOI+x3 eYTSaw2Pikm8SXIencFWAI881Z6mUac03nRofIQ= X-Google-Smtp-Source: ABdhPJzyYreIYCOyWpyNgjrwQ+jXZCfbliOP4mnK4YgQcndKkRAlz9cmnG000o2rgxfSUHbglZEGqlddrevmmL0k+Lw= X-Received: by 2002:a17:906:b18c:: with SMTP id w12mr1489895ejy.534.1629171064167; Mon, 16 Aug 2021 20:31:04 -0700 (PDT) MIME-Version: 1.0 References: <690EA13D-0354-4699-896B-A45C1E53E702@xmission.com> In-Reply-To: <690EA13D-0354-4699-896B-A45C1E53E702@xmission.com> From: "Jack L." Date: Mon, 16 Aug 2021 20:30:28 -0700 Message-ID: Subject: Re: what is this "verify your account? To: wa5qjh Cc: freebsd Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Gpc4n6cGMz3Nv4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=BjCJMccG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of xxjack12xx@gmail.com designates 2a00:1450:4864:20::632 as permitted sender) smtp.mailfrom=xxjack12xx@gmail.com X-Spamd-Result: default: False [-2.99 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.99)[-0.995]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::632:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2021 03:31:07 -0000 it's spam On Mon, Aug 16, 2021 at 5:36 PM wa5qjh wrote: > > does this suffice? > > Gary Corell > Ya gotta see time beyond the end of your nose > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Tue Aug 17 05:24:28 2021 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 D950265CACC for ; Tue, 17 Aug 2021 05:24:28 +0000 (UTC) (envelope-from Admin@freebsd.org) Received: from inbox0.petrochlna-hfy.com (bizcloud-inbox.petrochlna-hfy.com [139.59.10.94]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gpfbc2J9Dz3knn for ; Tue, 17 Aug 2021 05:24:28 +0000 (UTC) (envelope-from Admin@freebsd.org) Reply-To: Email Support From: Email Support To: freebsd-questions@freebsd.org Subject: Update Your Email< freebsd-questions@freebsd.org> Date: 16 Aug 2021 22:24:21 -0700 Message-ID: <20210816222421.6779C6FE8D8EA8C4@freebsd.org> X-Rspamd-Queue-Id: 4Gpfbc2J9Dz3knn X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:14061, ipnet:139.59.0.0/20, country:US]; local_wl_from(0.00)[freebsd.org] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2021 05:24:28 -0000 From owner-freebsd-questions@freebsd.org Tue Aug 17 10:58:57 2021 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 A48B9661DEA for ; Tue, 17 Aug 2021 10:58:57 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gpp1X29JQz4dDN for ; Tue, 17 Aug 2021 10:58:56 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 8D2203200A4C; Tue, 17 Aug 2021 06:58:48 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute4.internal (MEProxy); Tue, 17 Aug 2021 06:58:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type; s=fm3; bh=YX8kfY2SlYiHudMpTAMSUaLEWTJT UuDpYCZTY4BtPZE=; b=igsM9BUC5i1DVYGFWZMp5fVIOzvcnnMumeYJUQ1iBP3x fghbwqumS3Cc/E6hoD1oi9dshOq+mU7BdlKcMxrUm5Fmc3DHqk+GUDuY2ej9Sl7F zWcfx5a8zDdsFQLM3BpVqtL+sxmWqfLoae7y3MTAs/M1109wxGo4gfbmIRLUXHcZ 8wkArQdjywIzYcr560sS8xz39beIZO+QbmNjseE4IlhrEDA0N+nKO8XuhO1rRfE+ lh72afa5Q3Pe4W0ctYw32VgRhrOOznHp5XOA3PNxt6pyK7MOMPA7TsDOyiC49B4O 56tghJURUWN41zJRhyAlSH6dJ57MtQcS2gcBNaDpOQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=YX8kfY 2SlYiHudMpTAMSUaLEWTJTUuDpYCZTY4BtPZE=; b=IHSw3lVlbbP5FlzPGyrM7e Rf8mA/tuIrsZIC0FHH8sqNykRt03AKy+8fMEkkkE9FiZHt+1zQs7gAI02FaZ4i5r D5taUstvUtPJUPljFNz+bROwJC973yU5no3Cv5bbS/b8LjdycTmkYzjufmnN9/0S xEVJ7x0f8umhWbMD9eDodLTFrnKnOnla7dsDb6rUZCvQjwZTYaNjMQ1gisa+U/US UINnqDDVIuKFQ5b3AILfgJudinJoTyn6ZW6lpqWdhYzgOEuWuu6mKY7nms8o1xO1 TbVOoO8CTcA9LmDvm+mIHqYJKxpNUvj9Bsp9nkFmes9pvChcOMF5iwpkC0/dxo2g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrleefgdefiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedfffgrvhgv ucevohhtthhlvghhuhgsvghrfdcuoegutghhsehskhhunhhkfigvrhhkshdrrghtqeenuc ggtffrrghtthgvrhhnpeehuedtheefhffgiefhkeeiheetueeghfegjefhtedtteeujeff leehjeelkeevvdenucffohhmrghinhepnhhuuhhgrdhnohenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegutghhsehskhhunhhkfigvrhhkshdr rght X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id A0B02FA0AA4; Tue, 17 Aug 2021 06:58:47 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-1118-g75eff666e5-fm-20210816.002-g75eff666 Mime-Version: 1.0 Message-Id: <521aab6b-eab0-460b-8fcc-a432bfd9b135@www.fastmail.com> In-Reply-To: <8a330aeb-fccf-f8bd-1154-15288e3f0a9d@kicp.uchicago.edu> References: <8f6aa4f4-f361-e6eb-985b-291b7be631e0@kicp.uchicago.edu> <8a330aeb-fccf-f8bd-1154-15288e3f0a9d@kicp.uchicago.edu> Date: Tue, 17 Aug 2021 10:58:25 +0000 From: "Dave Cottlehuber" To: "Valeri Galtsev" Cc: freebsd-questions Subject: Re: Jails: pf blocks access to localhost of host system Content-Type: text/plain X-Rspamd-Queue-Id: 4Gpp1X29JQz4dDN X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=skunkwerks.at header.s=fm3 header.b=igsM9BUC; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=IHSw3lVl; dmarc=none; spf=pass (mx1.freebsd.org: domain of dch@skunkwerks.at designates 64.147.123.19 as permitted sender) smtp.mailfrom=dch@skunkwerks.at X-Spamd-Result: default: False [-3.59 / 15.00]; XM_UA_NO_VERSION(0.01)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.19]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[skunkwerks.at:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.19:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[skunkwerks.at:s=fm3,messagingengine.com:s=fm3]; FREEFALL_USER(0.00)[dch]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[skunkwerks.at]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[64.147.123.19:from]; MAILMAN_DEST(0.00)[freebsd-questions]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2021 10:58:57 -0000 On Mon, 16 Aug 2021, at 21:54, Valeri Galtsev wrote: > Here if my simplified to necessary minimum for debugging pf.conf: A very helpful trick for debugging pf rules is to temporarily switch to logging blocks, and then use tcpdump or wireshark on the pflog interface to show exactly which rule is blocking your traffic. # use `block log all` temporarily in your pf.conf $ sudo service pflog onestart $ sudo tcpdump -i pflog0 -o -ttt -vv -e -n ... 00:00:00.000000 rule 6/0(match): block in on wlan0: (tos 0x0, ttl 28, id 10175, offset 0, flags [DF], proto TCP (6), length 52) 18.135.227.37.443 > 172.17.29.35.41193: Flags [.], cksum 0xcd79 (correct), seq 2375471224, ack 432893548, win 8, options [nop,nop,TS val 2577574610 ecr 2828825691], length 0 in particular note the rule 6 listed. When you run `pfctl -vvv -f /etc/pf.conf | egrep '^@6 ' you'll see what rules those are, and then you can add a pass rule as appropriate from tcpdump info. This would be a great addition to the handbook, I think. There is already `31.3. PF` which alludes to this but doesn't link all the bits together for a newcomer to pf. Read pflog(4) and specifically this in pf.conf(5): log In addition to the action specified, a log message is generated. Only the packet that establishes the state is logged, unless the no state option is specified. The logged packets are sent to a pflog(4) interface, by default pflog0. This interface is monitored by the pflogd(8) logging daemon, which dumps the logged packets to the file /var/log/pflog in pcap(3) binary format. You can attach logging to almost any rule in pf.conf, not just blocking ones. Finally, remember to clean up pcap junk: sudo service pflog onestop sudo rm /var/log/pflog As a general pointer, I tend to use `pass in quick ...` for rules, I was once told that speeds things up but I forget the details. https://home.nuug.no/~peter/pftutorial/ if you haven't already found it, is invaluable. There is a version somewhere with a freebsd specific section in it, if somebody has a link to this please share. A+ Dave From owner-freebsd-questions@freebsd.org Tue Aug 17 13:51:09 2021 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 2DDCC664D23 for ; Tue, 17 Aug 2021 13:51:09 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GpsrD2Vxbz4pCl for ; Tue, 17 Aug 2021 13:51:08 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id AA0DF5C0187 for ; Tue, 17 Aug 2021 09:50:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 17 Aug 2021 09:50:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=q5O/BAnP5k/IvWmK209osUjfclX Q1TG5oLWqtNnnYSs=; b=CYactYtMO+8ejbegPQCY1kn6MlrCREUHvdBeJh2s8Gl OdS4q37ieAn1715yDIJsdFI0aBvBQolm6D+4bjX9ZzAUtWI1HXMB1zMuX2a7OPgC W3HkpJWgCtYGvwYdoQSOS4h7kjJVTKUjYG+SZgy37A3po6uivpU9vfgJa4BZjxVg Ab7cNGcQTfWrF6nSua+AZxot/61cCG/o/oXkSOvy5d6Mf4yQtKcQ7YRwEVam/TQ2 EZGUV47ll0Ebiv4nYYtmeiK5TLIsFVg3e8fTBDpMpeGCWADvJAl0IRQWrJxWcwWa tvoO19QY2A94jPJ8Ydb8XzrLdUZyQ5Ue92NztR8RxcQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=q5O/BA nP5k/IvWmK209osUjfclXQ1TG5oLWqtNnnYSs=; b=t1Gjx8pA0fcaX32VsYkxmR n9UVJbA9Xf7sHV+27tUSZRYKrSYCena1Swj9ZvNNmi/otR7wDpRm/ygRK0JqxV4W kOtuIUC02xB2G4kqfi9si8YPPJMI9UwdwA6zxGLg7rZKC4g42ZwarGr1Itiemk2E +UBMkgNyDimJTK6XOgfOjwLohVmQ9CU5o7LzyRIL/KuAht/NPZOZ30ABomeQlXZy RTejhQ5aGJYD27Xk8K1Thi6ARxe5SDtNsn/+u1bPI8oc05A8djdS5JQs1w9/whvq AtX/Gw+gOUQ0yEfl/bTL6rbaykxlnuibTlFTTR9FFOUCd27QDsRgOvXkXiZCURMg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrleefgdejtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtderre dttddvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshesiiih gihsthdrnhgvtheqnecuggftrfgrthhtvghrnheptdehiefgvddufeekkedvtdefvdettd dtkeduvdegveelffdtkeffudejvdfhudetnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepthgvtghhqdhlihhsthhsseiihiigshhtrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 17 Aug 2021 09:50:53 -0400 (EDT) Date: Tue, 17 Aug 2021 14:50:51 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: dma: could not open flush file: Permission denied Message-ID: Mail-Followup-To: freebsd-questions@freebsd.org References: <6746c30a-53c7-7e84-3840-d2ff692af4a5@langille.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uoTFp38VYRc2oMM8" Content-Disposition: inline In-Reply-To: <6746c30a-53c7-7e84-3840-d2ff692af4a5@langille.org> X-Rspamd-Queue-Id: 4GpsrD2Vxbz4pCl X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=CYactYtM; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=t1Gjx8pA; dmarc=none; spf=none (mx1.freebsd.org: domain of tech-lists@zyxst.net has no SPF policy when checking 66.111.4.29) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-6.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.0.0/20, country:US]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[zyxst.net]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.111.4.29:from]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2021 13:51:09 -0000 --uoTFp38VYRc2oMM8 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Sun, Aug 08, 2021 at 10:54:32AM -0400, Dan Langille wrote: >I recently switched from postfix to dma on some servers which don't need >incoming smtp. On 4 of those 6 servers, I'm seeing this nightly: Aug 7 >03:02:15 stage-nginx01 dma[dma][79633]: could not open flush file: Permis= sion denied > >I can't see a difference between the hosts. But I'm sure it's something in= periodic daily >Thank you which dma do you use - the one in base or the one in ports? version info: % pkg info dma dma-0.13.20210614,1 Name : dma Version : 0.13.20210614,1 Installed on : Thu Jul 1 04:19:51 2021 BST Origin : mail/dma Architecture : FreeBSD:13:amd64 I *think* the one in base is v0.11 I have this in /etc/crontab : */5 * * * * root /usr/local/libexec/dma -q % less /etc/periodic.conf daily_status_include_submit_mailq=3D"NO" daily_clean_hoststat_enable=3D"NO" daily_queuerun_enable=3D"NO" daily_submit_queuerun=3D"NO" daily_status_mail_rejects_enable=3D"NO" % less /etc/mail/mailer.conf sendmail /usr/local/libexec/dma send-mail /usr/local/libexec/dma mailq /usr/local/libexec/dma newaliases /usr/local/libexec/dma hoststat /usr/local/libexec/dma purgestat /usr/local/libexec/dma --=20 J. --uoTFp38VYRc2oMM8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmEbvq8ACgkQs8o7QhFz NAXPAxAAo9lAlfW97hxsXKMndmanviv5+6upX4SOvppIR4kttLVvb6f9CF2IP0w3 379mGJ2LyqRUV2aatJO9UVG75QpwBD6DlJWs1zwY6MhNOdkXCWFgrb2d2oEBZNfu FzyOiEvVMM0SA6M5vkaEB8jeWOW6hKE+6PGh0StY1rPFdDD0mFJmf0LNX593zXvJ +ID6XmC/DdwTfNjMO4NjUuydjBhVBHGcP/Czr+vP/Cy2yy/A0Dp2BsJs3cLYjeaT XpN/NHyaEy7CZT/xaZw/B0kakS/yM5xTVAAGhNwdhlttkbk0S82mJwE3SadDbrqA /n21I6/2PE6NbPBiB+3HJdixe3l9VJngQF6ZNvpDQJzC+4sej56/9v9cW+gSf4Pd zNBEsw/pXbye6ozjJ88QWIA46vvLxfL20TMyTXSUlSLkTzlLNtpZ22nyLrPrrrsv aHfTZzFbOKSTcDoTe+7um78nFf+9jfcJ8UC/ZqgtFs5h9Rl5Q9bcC2IuDl136T0H AqfSbaAWRTpg05+g6Ndrcd0CRVGovGa9z1S2gbB2ginMiL1u7ObEXXgpsaAMirsG XhbIPvHump+lmcseqLFWqa7ww6x1+CSWKS1qg4qfO+PAvpOHSGlAi3+cF8hKXk4B AMftTVIHPdSUSgRQOU8bnhhHeHVdVDEya6GRmjkm60z50vut9ZA= =qlNv -----END PGP SIGNATURE----- --uoTFp38VYRc2oMM8-- From owner-freebsd-questions@freebsd.org Tue Aug 17 13:53:07 2021 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 C237F664E11 for ; Tue, 17 Aug 2021 13:53:07 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GpstW1ZrDz4pd7 for ; Tue, 17 Aug 2021 13:53:07 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 16BAC5C0072 for ; Tue, 17 Aug 2021 09:53:07 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 17 Aug 2021 09:53:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=dgv5AOKSmnxippqkgyTXyYuEV5y NI6+y5H5A+Xv8g4w=; b=YrB121G6C0vfNM92BiXs3rlEVVjFS4TFyu51cc44foL 9BQR2+k9S1/e6rLN9Oe48i5ZhnemdahZMaKu7RXgxiSIk/vlhpub3w8DWTdrrhbR VUWhIBhppccCAOX4U+qfVQnPfVdlutZug7M4dLlJwCfOu1Yaq9ldhhlMlpMBbuZr P2eEMAYs0gWamklfZalyhRvsb1uiJnh4NiQbbQqT/edyrYxIasl3rT9YHjB0VKjZ SobsQPnPSX1TUurmQ0ba8Pjk6x8phwtNxoXRKvXg/E49/OwApwL7NRZ0lSEYeR17 qKj4lFqyLXQR2DL800AXyot4VoLaZkNohiPHRmqkT2g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=dgv5AO KSmnxippqkgyTXyYuEV5yNI6+y5H5A+Xv8g4w=; b=gITsXMeLFxPvENj7e+/6zZ MadEYGH0YBrXIGV88aBLj4O7foy2hgwtf4VP61IBYtxr87z51d53Oj2lMXGYdpyJ 6gKvxY0RP4QyimUdq5Vh4MZGpw6N9C7XBG59SkZ28LCe4RPoxVoNSfSix1Qd1UKq SrNO0cvkvkPItqBtSGB+BhY3FsRccnjJx4EtvLdE6pxf1Ys1SYM8VSTE/FOixjlb xydUKIUp/uBJWVGDzEi9oqhgsgHn+75p5le/9DW0l9nqcYS7i2GGqBlZOF77LAMM RtFlV0TtFeVQfTdYv2KTU1+nlwCbZTnT0+R+u/5oppdYKwGGl1KdYSsllIhyFgng == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrleefgdejtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtderre dttddvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshesiiih gihsthdrnhgvtheqnecuggftrfgrthhtvghrnheptdehiefgvddufeekkedvtdefvdettd dtkeduvdegveelffdtkeffudejvdfhudetnecuvehluhhsthgvrhfuihiivgepudenucfr rghrrghmpehmrghilhhfrhhomhepthgvtghhqdhlihhsthhsseiihiigshhtrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 17 Aug 2021 09:53:06 -0400 (EDT) Date: Tue, 17 Aug 2021 14:53:04 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: dma: could not open flush file: Permission denied Message-ID: Mail-Followup-To: freebsd-questions@freebsd.org References: <6746c30a-53c7-7e84-3840-d2ff692af4a5@langille.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lZpUbvVWvLIVf7ty" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4GpstW1ZrDz4pd7 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=YrB121G6; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=gITsXMeL; dmarc=none; spf=none (mx1.freebsd.org: domain of tech-lists@zyxst.net has no SPF policy when checking 66.111.4.29) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-6.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.0.0/20, country:US]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[zyxst.net]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.111.4.29:from]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2021 13:53:07 -0000 --lZpUbvVWvLIVf7ty Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 17, 2021 at 02:50:51PM +0100, tech-lists wrote: >which dma do you use - the one in base or the one in ports? whoops I see now you're using the one in base. I'm using the one in ports and I'm not seeing any issue --=20 J. --lZpUbvVWvLIVf7ty Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmEbv0AACgkQs8o7QhFz NAUTag//SpSauOKOShEMGsRegnyq1pXiwYeMm3V753mPQNw6l2hnHDLlmitv7ROe NWGwEMeZ7JqUmvt4wYZeBhNIp4KtzQq1COIC7EdJ6zvmnc64EmDLYroLaZ15vuBO sBxj/RYO9ZU6PY4Ml7YOBFhz4COAbgdy2WxyD5Bv3yBesy4mpu6DNLUFc1I+CblU iBDVAMv8knmm5W1y5G994kwWifYKWXmkyKS0jCS9kaz4VGLz4Eqc2VeZ4JeXEQqs uXBwf4/OpLTxLrrn0rweX3/hhhcR16r3s6WBajFQux+UlzWyaXcg3MOcabDLfhRa uSLI6QlIguXmaI21mFSf+Lczo9f1R5FCoXUeoXmcw+N5y843X+3JGJ/87AcUm7cO 2wcKQagIRUe/S2wAkwM4OG5sHz1P2ChuD3Bmcj5w1dOjNgJ8UjnSzoEAAyH5Vhn+ PcocdEQijynIKtbI3KSLoG9dkVJvuxOzmike5OGaVOBYr+fc7vYA89k7Mxy9W6TV dHI7cnxZcrzMCDdztT0ZE1sqLUwKuTZQLHAbjWZ2LNv8a8mscA5XFRvXoKArUVi7 XXmlmOCQkpV2VI7LVbTWleqie7HQtTLS18OxI7oDnOw9L/OmoQXoC4roPMFCE/I+ njLNyzC1r6iRe1OtZ1JxBzHtSXscUoxgI9K0XDVvVy3DaeKmPXg= =H1VM -----END PGP SIGNATURE----- --lZpUbvVWvLIVf7ty-- From owner-freebsd-questions@freebsd.org Tue Aug 17 15:41:09 2021 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 55074666413 for ; Tue, 17 Aug 2021 15:41:09 +0000 (UTC) (envelope-from dan@langille.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GpwH82r4Fz3FSl for ; Tue, 17 Aug 2021 15:41:08 +0000 (UTC) (envelope-from dan@langille.org) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 9343D5C00EC for ; Tue, 17 Aug 2021 11:22:26 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 17 Aug 2021 11:22:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=G qOnHBgxTumdbw9ld3SfVsQvMpHPMWREfUuRu/DTdDw=; b=YDjo3e5mu6cNy+tqb g3i2QB1uZ+dcos2hPrpOj4Sb1E/eHQvKQZKSBrL5/aAoXL2FGrpFNYUFWaaY6Fnn FXFVaCV/3HzlgRU1uw8fYIqHzNhgpTHSQQrN0zEitN70PYLaQw6x7uW+oogkzdtR OlZZcwUnfScvCHKxS5aTzYRVgkaK/nfL3XmiC5gYtiptFuY8M1CtU/QabUW4I2Xv 7OGk/mlcXr74H4Pyec1MP7j7z6gjVtaKjmi6nEEyycPHhFa1g82EpyBul/lpgF9Q OFxsdkEZ3Mxe5URmPuSasgkyhkq7qoV38ucu++H2VrDGxyfFZxn2VNvFaVmV7jl4 1VuIQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=GqOnHBgxTumdbw9ld3SfVsQvMpHPMWREfUuRu/DTd Dw=; b=sJ5M+w8sNLLZqv+X2vyNi3w1vkCVjnl5hAnbgz/zHhtz2ezvEqX+dbLur CNG+Lkl4Cl/RoJ0hIe5AuZjOcwmB2gy/hqNtThBb+b3rE24quDfSbsltbByRpjIb T7MDmY9OhorOwleHhHc0Kf8JgPr1Ds9dN3Wm6v7quXYQLAZ8nDnTBK/8wEsu/sOD iJ0fylawFeBF2lddy37sNLF5YbXF1h8pLYvkfEqd1S372vBfP9ATRfpn44421cB5 PK75B3jR/OJ6oWbz8oM2CO//coI+Kewi/H9F2KegJLRLNEdZ+dUOjCiDbMrtebKm j2eHxW8K3HhpXcmI8CHyPF3QX1VSQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrleefgdekkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekre dttdefjeenucfhrhhomhepffgrnhcunfgrnhhgihhllhgvuceouggrnheslhgrnhhgihhl lhgvrdhorhhgqeenucggtffrrghtthgvrhhnpeffjeffffegueeitddvhfehjeejtdettd efgedtfefhjeeiueevvdeukeeltddtleenucffohhmrghinheplhgrnhhgihhllhgvrdho rhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug grnheslhgrnhhgihhllhgvrdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 17 Aug 2021 11:22:26 -0400 (EDT) Subject: Re: dma: could not open flush file: Permission denied To: freebsd-questions@freebsd.org References: <6746c30a-53c7-7e84-3840-d2ff692af4a5@langille.org> From: Dan Langille Message-ID: <3da63ae4-ce3b-c080-df92-59e3d8d74ff3@langille.org> Date: Tue, 17 Aug 2021 11:22:25 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:52.0) Gecko/20100101 PostboxApp/7.0.48 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4GpwH82r4Fz3FSl X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm2 header.b=YDjo3e5m; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=sJ5M+w8s; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 66.111.4.25 as permitted sender) smtp.mailfrom=dan@langille.org X-Spamd-Result: default: False [-5.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.25:from]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.25]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.0.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.25:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm2,messagingengine.com:s=fm3]; FREEFALL_USER(0.00)[dan]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2021 15:41:09 -0000 tech-lists wrote on 8/17/21 9:50 AM: > Hi, > > On Sun, Aug 08, 2021 at 10:54:32AM -0400, Dan Langille wrote: >> I recently switched from postfix to dma on some servers which don't need >> incoming smtp. On 4 of those 6 servers, I'm seeing this nightly: Aug 7 >> 03:02:15  stage-nginx01 dma[dma][79633]: could not open flush file: >> Permission denied >> >> I can't see a difference between the hosts. But I'm sure it's >> something in periodic daily >> Thank you > > which dma do you use - the one in base or the one in ports? From base. > > version info: > > % pkg info dma > dma-0.13.20210614,1 > Name           : dma > Version        : 0.13.20210614,1 > Installed on   : Thu Jul  1 04:19:51 2021 BST > Origin         : mail/dma > Architecture   : FreeBSD:13:amd64 > > I *think* the one in base is v0.11 > > I have this in /etc/crontab : > > */5     *       *       *       *       root    /usr/local/libexec/dma -q I don't have that. > > % less /etc/periodic.conf > > daily_status_include_submit_mailq="NO" > daily_clean_hoststat_enable="NO" > daily_queuerun_enable="NO" > daily_submit_queuerun="NO" > daily_status_mail_rejects_enable="NO" I have added the above to one host (test-ingress01) for comparison. > > % less /etc/mail/mailer.conf > sendmail        /usr/local/libexec/dma > send-mail       /usr/local/libexec/dma > mailq           /usr/local/libexec/dma > newaliases      /usr/local/libexec/dma > hoststat        /usr/local/libexec/dma > purgestat       /usr/local/libexec/dma I do not have the send-mail, hoststat, & purgestat entries.  I bet those last two are relevant. I have added those two entries to another host (test-nginx01), removing the 'local' directory, because I am using base, not ports. Thank you.  I'll report back tomorrow. -- Dan Langille dan@langille.org : https://langille.org/ From owner-freebsd-questions@freebsd.org Wed Aug 18 00:10:17 2021 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 EB56166D66E for ; Wed, 18 Aug 2021 00:10:17 +0000 (UTC) (envelope-from account-team@freebsd.org) Received: from freebsd.org (pppoe-static.82.209.221.201.telecom.mogilev.by [82.209.221.201]) by mx1.freebsd.org (Postfix) with ESMTP id 4Gq7Zd3l2Fz4f9b for ; Wed, 18 Aug 2021 00:10:17 +0000 (UTC) (envelope-from account-team@freebsd.org) From: Microsoft account team To: freebsd-questions@freebsd.org Subject: Warning freebsd-questions@freebsd.org You Have Pending Microsoft Office UNSYNC Messages Date: 18 Aug 2021 03:10:16 +0300 Message-ID: <20210818031016.977F96FDD4572A0C@freebsd.org> X-Rspamd-Queue-Id: 4Gq7Zd3l2Fz4f9b X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:6697, ipnet:82.209.192.0/18, country:BY]; local_wl_from(0.00)[freebsd.org] MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2021 00:10:18 -0000 From owner-freebsd-questions@freebsd.org Wed Aug 18 12:46:30 2021 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 291096770C1 for ; Wed, 18 Aug 2021 12:46:30 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wnew3-smtp.messagingengine.com (wnew3-smtp.messagingengine.com [64.147.123.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GqSM912Rvz4S96 for ; Wed, 18 Aug 2021 12:46:29 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.west.internal (Postfix) with ESMTP id BFD842B0071E for ; Wed, 18 Aug 2021 08:21:14 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 18 Aug 2021 08:21:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=+QtztTTriT5E1iOQ8bgG2Wm5qWF aCPtGN2Ooca5nmp8=; b=3h5uI0SoFDJCAKiP31iexQv4t1dUJZI3CW+7Hlm6XOo WcePZ7AVUN+GEbu5HmYoNHSi7sK+kk/NByMczyBrVjeK0M/eHdGucP+eu5TfO5WQ 9++OBBlr9pZan7OfsnHs4UTJTQxkmiajlNq+1xBEuveU6jIuIv6DJl8Ocrbxx3qb 21U8D7A1mW2YmaeUKIHcXJRwHULLIjKrsnlE5RrILo6cAuMPjG+fY4+35vgVnhiS d5qms0tDvmyjsquumL4TH60dbMzhdXGwanMmZ8oqoGMZPaAPvRr9DrzP2JxPBBfo CJp+4J8L+fnlLJxabqJDmJpUa82WLHL03ZPgvzWrJ+w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=+QtztT TriT5E1iOQ8bgG2Wm5qWFaCPtGN2Ooca5nmp8=; b=JDw+Gn8eNMFlkM2K4UQ9m5 eib+GwbvLeS7KBJMy6wUp6HSYRxppFxCPX9CIqTbPMs4UFJe/o11KMm052CZaaCc TDp71pUCpbuTaCbw87agt/uid4wGlE3UPU3kGBJ+65QScRiapthdntzirsHYLRnM vwihai2G4aMlwNJ27PCFaXiubyyYK3dHWGti76INijcCoaR0JlXnOP4R1nEZJ03J f9Ia5N/xplu22RPelubVHDU9pGp3FxsqbSLGT1BkVCzjQX+UGw1OJ6ZuOXtq75IJ SPOWrBWen1m86tuBkUtx9OTy2SCGeiKQyyUdbhihRPx8O/XOuplQpz1XKTsfgT9g == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrleehgdehtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtderre dttddvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshesiiih gihsthdrnhgvtheqnecuggftrfgrthhtvghrnheptdehiefgvddufeekkedvtdefvdettd dtkeduvdegveelffdtkeffudejvdfhudetnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepthgvtghhqdhlihhsthhsseiihiigshhtrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 18 Aug 2021 08:21:07 -0400 (EDT) Date: Wed, 18 Aug 2021 13:21:05 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: gitup is dumping core Message-ID: Mail-Followup-To: freebsd-questions@freebsd.org References: <20210812230535.89ca0a1e6133b1330840d10c@optonline.net> <20210813133202.200858a5f2ffd59177d96a13@optonline.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Q6aYHos+SYjaC+mk" Content-Disposition: inline In-Reply-To: <20210813133202.200858a5f2ffd59177d96a13@optonline.net> X-Rspamd-Queue-Id: 4GqSM912Rvz4S96 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=3h5uI0So; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=JDw+Gn8e; dmarc=none; spf=none (mx1.freebsd.org: domain of tech-lists@zyxst.net has no SPF policy when checking 64.147.123.17) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-6.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; RCVD_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[zyxst.net]; SIGNED_PGP(-2.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.17:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2021 12:46:30 -0000 --Q6aYHos+SYjaC+mk Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 13, 2021 at 01:32:02PM -0400, Vlad Markov wrote: >FreeBSD happy 13.0-RELEASE-p3 FreeBSD 13.0-RELEASE-p3 #0: Tue Jun 29 19:46= :20 UTC 2021 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.= amd64/sys/GENERIC amd64 > >I deinstalled and then installed gitup after the update. > >It still core dumps.=20 What method did you use to deinstall and reinstall gitup? --=20 J. --Q6aYHos+SYjaC+mk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmEc+ykACgkQs8o7QhFz NAXLUxAApBev52BSj3aJZhuw2eavVcyJSihaLzkpn94reGjWjDV/6lESatYfqKRm 4RI6HXTgr+/2wTbJVPPeSnoxny1L+owZCPqDXO+l4/BFXAFldfDa12YCUWdDABMC U/uEGrdTS1mQYATT0WQ7/1ruWtK72vRYuVYSJhsjIWABIGSJpcon6jEeEazeE+Ks eLK7qArlcjjFEuqVp4ME+mbEpRXieHClcBxhOHqNoKjee1XkuHo7ct1P54OUwo0L qOCJUc7UJ5QBTRRlUdDkfUScM2YDMiufUTYy4Hb2Va659Eq3clc1D/Uh2RI+w+PU LSKRYADMHrYWlFILE4Byf2jiqUIuT3YJMX3fAdhCpbr9j325pzLtW6gtOdpDMIRL jnFdISGikTn48+QeRdujLyH5GX2jFiHwskSiuJshTpS4w5NCxIHKrKMO6CMzmiz8 5Xd89Wb1aFaHFnoaUkIEXKR25Im56/cw+yzJ8xbfPGHd62c/TV8AttfU1wgs5qDD z4Rg98HDYHnCZMfwwhYl1VQ8mcX9B5YSO0DAdqspqG24x9X2033g8lRH9KsG3rr1 J4CnHMaDF7McQhZdCb2ZOfjSa1CBszpOaas/UwPFAgdwjdnGiFJyfC9KvpU0rIrF /J23nvfgZtWuwF5X5kmRv2IheggnAzppD7TfDuviq0LXhdQgDqc= =Odc4 -----END PGP SIGNATURE----- --Q6aYHos+SYjaC+mk-- From owner-freebsd-questions@freebsd.org Wed Aug 18 13:46:08 2021 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 0BAE4677C12 for ; Wed, 18 Aug 2021 13:46:08 +0000 (UTC) (envelope-from dvoich@optonline.net) Received: from mta1.srv.hcvlny.cv.net (mta1.srv.hcvlny.cv.net [167.206.4.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mail.optonline.net", Issuer "DigiCert Global CA G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GqTgz25R5z4WZT for ; Wed, 18 Aug 2021 13:46:07 +0000 (UTC) (envelope-from dvoich@optonline.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=optonline.net; s=dkim-001; t=1629294361; bh=mvxfTEvNJgSL0MZlgaPi8CQkXJvpSVTuLHcVfbNoRu8=; h=Date:From:To:Subject:Message-Id; b=dcJ9hCrPXmgYxmL51/pghqAPg7pL/bO81oDWp6pAQC3or9cj9BQvVGsfWeMyXDBLx NDKA6tZdCw1vrYYYEvbCSrlb2s3Zl4VOaF6ty0Y+hYDz52rYtW+VFv0DiYKlA5XGUb 6GcujbO+7Bm/yUn/c/H/KMnKP+zvLRDX/NE3w4E8tvHnQQTW5b4R0A0WzuzDrUbEwd rqJ7NzkcwrH8t+spE8zX6mQKk8+lFxcbP0Rb7jw2UlsjtpSd0zrud5RviL5RlNw4y+ J7DYJKBqeCPHIyw0JE8oUYs0m8snusLtzzNr6oSOTZug60Ktcahjz82N0F3JL7KIQM EhQx44C7+JZ6g== X-Content-Analysis: v=2.3 cv=KI3B8GNo c=1 sm=1 tr=0 a=HwdfnXRxwAscIlw0plT8Bw==:117 a=HwdfnXRxwAscIlw0plT8Bw==:17 a=8nJEP1OIZ-IA:10 a=vxP3BzG0AAAA:8 a=s9oXJcMGAAAA:8 a=TeQylPnhDPUrKlR7afsA:9 a=wPNLvfGTeEIA:10 a=4tHceQipB5Rc01mo_vQZ:22 a=cNNliUDrGJfcKjVfkxUC:22 Received: from [24.185.145.223] ([24.185.145.223:48774] helo=happy.dwarf7.net) by mta1.srv.hcvlny.cv.net (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id 48/B0-01746-91F0D116; Wed, 18 Aug 2021 09:46:01 -0400 Date: Wed, 18 Aug 2021 09:46:00 -0400 From: Vlad Markov To: freebsd-questions@freebsd.org Subject: Re: gitup is dumping core Message-Id: <20210818094600.bf2194df7e435c2eb6480b5f@optonline.net> In-Reply-To: References: <20210812230535.89ca0a1e6133b1330840d10c@optonline.net> <20210813133202.200858a5f2ffd59177d96a13@optonline.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4GqTgz25R5z4WZT X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=optonline.net header.s=dkim-001 header.b=dcJ9hCrP; dmarc=none; spf=pass (mx1.freebsd.org: domain of dvoich@optonline.net designates 167.206.4.196 as permitted sender) smtp.mailfrom=dvoich@optonline.net X-Spamd-Result: default: False [-4.10 / 15.00]; FREEMAIL_FROM(0.00)[optonline.net]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:167.206.4.192/27]; DKIM_TRACE(0.00)[optonline.net:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[24.185.145.223:received]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[optonline.net]; ASN(0.00)[asn:6128, ipnet:167.206.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[optonline.net:s=dkim-001]; RCVD_IN_DNSWL_LOW(-0.10)[167.206.4.196:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[optonline.net]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[optonline.net:dkim]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2021 13:46:08 -0000 On Wed, 18 Aug 2021 13:21:05 +0100 tech-lists wrote: > On Fri, Aug 13, 2021 at 01:32:02PM -0400, Vlad Markov wrote: > >FreeBSD happy 13.0-RELEASE-p3 FreeBSD 13.0-RELEASE-p3 #0: Tue Jun 29 19:= 46:20 UTC 2021 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd6= 4.amd64/sys/GENERIC amd64 > > > >I deinstalled and then installed gitup after the update. > > > >It still core dumps.=20 >=20 > What method did you use to deinstall and reinstall gitup? >=20 > --=20 > J. make deinstall;make install clean --=20 I dream of a better tomorrow, where chickens can cross the road and not be = questioned about their motives.? ? Ralph Waldo Emerson From owner-freebsd-questions@freebsd.org Wed Aug 18 16:33:18 2021 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 9445065261D for ; Wed, 18 Aug 2021 16:33:18 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wnew4-smtp.messagingengine.com (wnew4-smtp.messagingengine.com [64.147.123.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GqYNs2rzkz4jQg for ; Wed, 18 Aug 2021 16:33:17 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.west.internal (Postfix) with ESMTP id 107122B007AB for ; Wed, 18 Aug 2021 12:32:54 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 18 Aug 2021 12:32:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=GtPa/QlqemnpUoNcs9hnrmRoJTn JW2zi2qJyNv7wua4=; b=o6r/gpAxsXGsKs5fFWdb3OVtj2BXDGP3Rh42tANcBTF IIfcfcHTMheaFOYTUmWwNgIzCfRazg+xULbB7DzEKu5/V4M8hP8u+310o0Xbe1gr qylpeCYhjGMcvPg0ouPp4nRAkGrolQkyUFESN0PXLYw1aYCatVBiA/j+K6ufXOOJ iJogiq4JJV0lQVOTplZ5+ZAh/oYoO5TgYwOxxyV8znDDNdBqHZKbNCljOlHMmX5w Z58aGNsl5NOwzzUDXRX82BWCnKd2ofMKj1Y7XUnB7TXeuRSeSAJx0CHdCcYVEdrC TJOmBOywv0GYLguQwXg4Am4nnZeyvO7CYf38fDdg9mw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=GtPa/Q lqemnpUoNcs9hnrmRoJTnJW2zi2qJyNv7wua4=; b=KcNytVi7snjKAkXh5bSgvA yMxZRiIHkXlrDLNO8EnkjdwdqXdqNrPgszP6myW16KBjFfXdOnLOtD2ZvOZw1B/b sa5W+10EHGXowZj5tg7mVYCiRBvZs0sIACuaTqM7CXaaHSy8e20aVQSYEC91scyo gHCkiTs3LVPecYZO8L3yF1/iaEJwTyBN9uH1gSnZ8RcNNiM4IU6g0dlgirlXNsMk lNxJ2pfnOrl7qD0ZeR6mtvNhrV1bZEddQb+MYzZuJ9Bio1bI36D4hFV7djME6N7r dK6gVOL2PLG77a9Qqq23orvM4iDYDg/ppk2sy4lcyuzHvg1aKdMqqHymEptyqGow == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrleehgddutdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpeettddtudeugfeggefhkeekteekje elfeffleehjeffgffftdeffedtjeegueeiffenucffohhmrghinhepfhhrvggvsghsugdr ohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe htvggthhdqlhhishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 18 Aug 2021 12:32:48 -0400 (EDT) Date: Wed, 18 Aug 2021 17:32:46 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: gitup is dumping core Message-ID: Mail-Followup-To: freebsd-questions@freebsd.org References: <20210812230535.89ca0a1e6133b1330840d10c@optonline.net> <20210813133202.200858a5f2ffd59177d96a13@optonline.net> <20210818094600.bf2194df7e435c2eb6480b5f@optonline.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jpCtWWRMTt6Gf6zP" Content-Disposition: inline In-Reply-To: <20210818094600.bf2194df7e435c2eb6480b5f@optonline.net> X-Rspamd-Queue-Id: 4GqYNs2rzkz4jQg X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b="o6r/gpAx"; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=KcNytVi7; dmarc=none; spf=none (mx1.freebsd.org: domain of tech-lists@zyxst.net has no SPF policy when checking 64.147.123.18) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-6.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; RCVD_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[zyxst.net]; SIGNED_PGP(-2.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.18:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2021 16:33:18 -0000 --jpCtWWRMTt6Gf6zP Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I notice your gitup is using github.com. Not sure if it's depreciated yet, but that came along before the full switch to git. But I know git.freebsd.org is the source-of-truth now. On a system without gitup installed, I compiled from /usr/ports and found it was using git.freebsd.org: # gitup -v1 ports # Scanning local repository... # Host: git.freebsd.org # Port: 443 # Repository Path: /ports.git # Target Directory: /usr/ports # Commit History: yes # Have: 3ce250411435a87f521197a1d825ebd5873007ed # Want: 3b74adda76a8a7a6cbdc0cfe7ea52f48bf2ed2f4 # Branch: main # Action: pull * /usr/ports/ftp/R-cran-RCurl/Makefile * /usr/ports/ftp/R-cran-RCurl/distinfo # Done. If this is the problem, you'll need to change it in /usr/local/etc/gitup.co= nf --=20 J. --jpCtWWRMTt6Gf6zP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmEdNiQACgkQs8o7QhFz NAVFoQ//SRVhAKR9pgvgzh9xFWDjsxwBFqB942sjBmUPfjQ2blMCmCwGWJuR/Ax8 w1OGsJtceCRPfH7XIqqqI9E9R7rFBwXGibP2V5/ynJKsETQ1AknwqWIVLf0apYVF biAgcODWUvA24CQiJu5lUg/Qr29l7e2soU+LOyC3XIJKAVXR2aBP7+wlrupFkRLD sLCe6vA3lTLuXZrmU56jsN/JaXTcjb9S1YHv7Jpil/I5NhfOSdLz0ZQCM4hNPm8Y WtSfZjjm4ZIaAP+jUKfbjQTNhIMd47g8dtQr7iz8Amx5kCB4Dc8WUeGWEK74s46O 5w/5qoS9uULxJXO/7xug84v/xf6dbZ7wd6dT6YE5jCjzixlG1PFT81ihbjBC2c3d XWcFDKI3IqNhW9XH9t00Cg28SzjG3Cy5ObEpkbSshbJ5YV34aMb8B4SxxsoQKVC0 3FVROfAVoIKU0Ile1wvBzmbMQkXKPBDHEGSIJPjpp6BAmKziy5znVyH6jX6bYPmV jsZP9457T1664ldD3qHeMGuVkF9dvqZbnfYGwE1nt45L79piJYz5sCe5LuiWmq7w 1QZRttnXxIM7ldFqpSewMcPadloZzIxKxRUVp0T+Km8N9sax/fEjMDuUBp8VWAai CoaH1XmhZT33PbesI++J49jNp+pYiSNHBLiTwwjDNwHv0BZ1TNw= =c84U -----END PGP SIGNATURE----- --jpCtWWRMTt6Gf6zP-- From owner-freebsd-questions@freebsd.org Wed Aug 18 17:12:10 2021 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 1CE71653187 for ; Wed, 18 Aug 2021 17:12:10 +0000 (UTC) (envelope-from dvoich@optonline.net) Received: from mta9.srv.hcvlny.cv.net (mta9.srv.hcvlny.cv.net [167.206.4.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mail.optonline.net", Issuer "DigiCert Global CA G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GqZFj1ChVz4lD0 for ; Wed, 18 Aug 2021 17:12:09 +0000 (UTC) (envelope-from dvoich@optonline.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=optonline.net; s=dkim-001; t=1629306723; bh=WHHdlNa1iJRbMlKkEdW1guOJidl9YqETYuNnmDrwWpk=; h=Date:From:To:Subject:Message-Id; b=IL91VTpSXToXAISEwZXGNJMZvO05GbUH5N3gapKfjzmyRfAnJTmTAIdkeBLFixmgr 6OagcoI5rwuxLWF9tEUy12c2wTDCwZbydVEwzohy0R9uLXzDFX3WBontHWEbV1ecoz chJNiKWzdVVFLEHLS5G6+40XSYEOji4zkBuTlyb2BdLQ/savKyZD5xzuBs1Ee1X573 hd07FHz9PPtINsCHI9Z8bXYu6ajqQXU0fZKmMcd8VC5Fyz6oakimYHl+4gTei5UCoT A3oN7tYzhOqGz2VazPAdDw6EqkZfVo5evhy4r2mYe33dxyUxSKsFsYMrpmxpCMx272 kvNVB0YSmB5Uw== X-Content-Analysis: v=2.3 cv=KI3B8GNo c=1 sm=1 tr=0 a=HwdfnXRxwAscIlw0plT8Bw==:117 a=HwdfnXRxwAscIlw0plT8Bw==:17 a=8nJEP1OIZ-IA:10 a=vxP3BzG0AAAA:8 a=NEAV23lmAAAA:8 a=6I5d2MoRAAAA:8 a=x7A_4hYtLZs78kwPh9IA:9 a=wPNLvfGTeEIA:10 a=4tHceQipB5Rc01mo_vQZ:22 a=IjZwj45LgO3ly-622nXo:22 Received: from [24.185.145.223] ([24.185.145.223:20122] helo=happy.dwarf7.net) by mta1.srv.hcvlny.cv.net (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id D6/DA-01746-26F3D116; Wed, 18 Aug 2021 13:12:03 -0400 Date: Wed, 18 Aug 2021 13:12:01 -0400 From: Vlad Markov To: freebsd-questions@freebsd.org Subject: Re: gitup is dumping core Message-Id: <20210818131201.7e9615b5046452f2e56f6b65@optonline.net> In-Reply-To: References: <20210812230535.89ca0a1e6133b1330840d10c@optonline.net> <20210813133202.200858a5f2ffd59177d96a13@optonline.net> <20210818094600.bf2194df7e435c2eb6480b5f@optonline.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4GqZFj1ChVz4lD0 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=optonline.net header.s=dkim-001 header.b=IL91VTpS; dmarc=none; spf=pass (mx1.freebsd.org: domain of dvoich@optonline.net designates 167.206.4.204 as permitted sender) smtp.mailfrom=dvoich@optonline.net X-Spamd-Result: default: False [-4.10 / 15.00]; RWL_MAILSPIKE_GOOD(0.00)[167.206.4.204:from]; FREEMAIL_FROM(0.00)[optonline.net]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:167.206.4.192/27]; DKIM_TRACE(0.00)[optonline.net:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[24.185.145.223:received]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[optonline.net]; ASN(0.00)[asn:6128, ipnet:167.206.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[optonline.net:s=dkim-001]; RCVD_IN_DNSWL_LOW(-0.10)[167.206.4.204:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[optonline.net]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[optonline.net:dkim]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2021 17:12:10 -0000 On Wed, 18 Aug 2021 17:32:46 +0100 tech-lists wrote: > I notice your gitup is using github.com. Not sure if it's depreciated > yet, but that came along before the full switch to git. But I know > git.freebsd.org is the source-of-truth now. >=20 > On a system without gitup installed, I compiled from /usr/ports and found= it > was using git.freebsd.org: >=20 > # gitup -v1 ports > # Scanning local repository... > # Host: git.freebsd.org > # Port: 443 > # Repository Path: /ports.git > # Target Directory: /usr/ports > # Commit History: yes > # Have: 3ce250411435a87f521197a1d825ebd5873007ed > # Want: 3b74adda76a8a7a6cbdc0cfe7ea52f48bf2ed2f4 > # Branch: main > # Action: pull > * /usr/ports/ftp/R-cran-RCurl/Makefile > * /usr/ports/ftp/R-cran-RCurl/distinfo > # Done. >=20 > If this is the problem, you'll need to change it in /usr/local/etc/gitup.= conf > --=20 > J. That change fixed my problem. All is again well. Vlad --=20 I dream of a better tomorrow, where chickens can cross the road and not be = questioned about their motives.? ? Ralph Waldo Emerson From owner-freebsd-questions@freebsd.org Wed Aug 18 22:52:11 2021 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 ED8BD657EFB for ; Wed, 18 Aug 2021 22:52:11 +0000 (UTC) (envelope-from freebsd-database@pp.dyndns.biz) Received: from keymaster.local (ns1.xn--wesstrm-f1a.se [81.4.102.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "keymaster.pp.dyndns.biz", Issuer "keymaster.pp.dyndns.biz" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gqjp26bD4z3Pm5 for ; Wed, 18 Aug 2021 22:52:10 +0000 (UTC) (envelope-from freebsd-database@pp.dyndns.biz) Received: from [192.168.69.69] ([192.168.69.69]) by keymaster.local (8.16.1/8.16.1) with ESMTP id 17IMojN6097991 for ; Thu, 19 Aug 2021 00:50:47 +0200 (CEST) (envelope-from freebsd-database@pp.dyndns.biz) To: freebsd-questions@freebsd.org From: =?UTF-8?Q?Morgan_Wesstr=c3=b6m?= Subject: Static route and arp problem in FreeBSD 13.0 Message-ID: <7fab4cb0-8045-fc8d-7bfd-887495dc00ff@pp.dyndns.biz> Date: Thu, 19 Aug 2021 00:50:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Gqjp26bD4z3Pm5 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-database@pp.dyndns.biz has no SPF policy when checking 81.4.102.176) smtp.mailfrom=freebsd-database@pp.dyndns.biz X-Spamd-Result: default: False [-0.80 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; HFILTER_HELO_IP_A(1.00)[keymaster.local]; NEURAL_HAM_SHORT(-1.00)[-1.000]; HFILTER_HELO_NORES_A_OR_MX(0.30)[keymaster.local]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; DMARC_NA(0.00)[pp.dyndns.biz]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:198203, ipnet:81.4.100.0/22, country:NL]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2021 22:52:12 -0000 Hi, I have my stupid hat close, ready to put on because I've most likely missed something obvious and I need your help to point it out. :) I've been using FreeBSD as my router/firewall for 15 years and it's a simple and straight setup: +--------------+ +-------------+ | | | | LAN em1| FreeBSD 12.2 |em0 | Cable modem | Internet ---------------+ +-----------------------+ +--------- 192.168.69.0/24| router |DHCP 192.168.0.1| bridge mode | | |public ip | | +--------------+ +-------------+ To access the cable modem's web interface, which has a private ip on the public facing side of the router, I add the following static route and arp entry in the router's /etc/rc.conf: route_cable="-host 192.168.0.1 -link em0:d8:d7:75:f3:9b:14 -iface -static" static_routes="cable" static_arp_cable="192.168.0.1 d8:d7:75:f3:9b:14 pub only" static_arp_pairs="cable" The MAC address is the router facing interface on the cable modem. I can now access 192.168.0.1 from my LAN and this has worked perfectly for many years until I try it on FreeBSD 13.0. The route/arp is not registered at startup and trying to add the route manually results in the following message: # route add -host 192.168.0.1 -link em0:d8:d7:75:f3:9b:14 -iface -static route: writing to routing socket: Network is unreachable add host 192.168.0.1: gateway em0:d8:d7:75:f3:9b:14 fib 0: Network is unreachable Adding the arp record doesn't work either but that was expected since it requires the route to be added first. The most likely scenario is that I missed something fundamental in my 13.0 setup but I can't figure out what and the error message isn't really helpful. The less likely reason is that something changed between FreeBSD 12.2 and 13.0 but I can't spot any changes in the man pages. Any pointers would be greatly appreciated. Regards Morgan Wesström From owner-freebsd-questions@freebsd.org Thu Aug 19 03:46:49 2021 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 B377565C5C1 for ; Thu, 19 Aug 2021 03:46:49 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (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 4GqrL10PqPz4rLV for ; Thu, 19 Aug 2021 03:46:49 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x42a.google.com with SMTP id r7so6833005wrs.0 for ; Wed, 18 Aug 2021 20:46:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=P6XhKhZot07D7odz7lwmize4sneKXAxiTLoHZ0euW50=; b=Sc8A97tNbfKxqj/e8HEL+ZlLzkNfA+FYFSbXV+MTsslGv7GsRTL+LH6DXnjEZE+cju vVCbuQ4aG+xRJhuN3dneBth2PQ2k5oco0owDhcBS+VAGZeW8ZqT33wXXaM5vh3wja2QJ sgUF9m4SRQAX51FvinydQxZqF8bVQ+zAuP6V94gBG9v12G11i1190XoRt/75HXomY7JO gSS3rPgvngOt2PTUsohwuY1ipTtVH4NcPwAH9i76kkAd9InRVAy7C3P7UNjiJuaa+kNl YGLc3vwKO0b3kSnNBsT/k5pF85R7n8E2s0hCQD2bQi1TgtpTlFbvoBv/r+J2+W88xQ6+ SctA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=P6XhKhZot07D7odz7lwmize4sneKXAxiTLoHZ0euW50=; b=L3NqWUplDw1KRjNGLD9Kjn09ZI2NyRmc1pH4fPnbLMM0pEuj4QUeFy9w7eAU3fIilj 9Em8hpuXjqUSKwjoaiw/mB6OCwOepJIga8KstLy5+3qjR2mDlBiq+RhMxj3R0i6oZHfb lD4TLPbEyLY58gxNMqS26b4Tl0LITxmaQqUe035vz64rEMwzuMN5XqgTQH5KbJsWs4PV 67W7G7OgkldJvsPZpeF9b73Za2rNNDL5ql9ouXMGQm/GdbqczY44xCyUGA2XtdL98WCB GgMBe6+Y9o6wRoa/7W3wK+gqVsGe1evdV2E/T8O+CWGbffYBWlRCqaaOzytZz5mHFsqk VFTQ== X-Gm-Message-State: AOAM531HpcUZnvWpduSGBJ6ZTqA6XhV8pDt0D3j7o72/GEbySxqoWjc/ BkY8hbnyldyI93UvN0vAofvCGN0UvKn2jg== X-Google-Smtp-Source: ABdhPJwOMxOg0N0rJZt08Bx4ErGIHb43QC8eIlX2O7zpj/pAsD2bfk5gPUVPvoQnOhPPtWj64Y9Ucw== X-Received: by 2002:a5d:6b92:: with SMTP id n18mr964203wrx.343.1629344807861; Wed, 18 Aug 2021 20:46:47 -0700 (PDT) Received: from ?IPv6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id y10sm7083853wmo.18.2021.08.18.20.46.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Aug 2021 20:46:47 -0700 (PDT) Subject: Re: nvme detached To: Dan Langille References: <3b332fd8-24be-5a2f-15a8-630edb2a7226@gmail.com> <5ff30e22-d355-4a0c-b13b-02ac709f0fbc@www.fastmail.com> Cc: FreeBSD questions From: Graham Perrin Message-ID: <93a02a57-9f7b-473a-a63f-1c541fdd2225@gmail.com> Date: Thu, 19 Aug 2021 04:46:46 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Rspamd-Queue-Id: 4GqrL10PqPz4rLV X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Sc8A97tN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::42a as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42a:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2021 03:46:49 -0000 On 17/08/2021 16:12, Dan Langille wrote: > Dan Langille wrote: >> >> On Wed, Aug 4, 2021, at 2:04 PM, Graham Perrin wrote: >>> >>> On 04/08/2021 18:45, Dan Langille wrote: >>> >>>> >>>> On Wed, Aug 4, 2021, at 1:35 PM, Graham Perrin wrote: >>>> >>>>> >>>>> A normal run of StressDesk might be enough to expose a problem; I >>>>> recently had a new drive (less than 100 hours' use) that failed >>>>> consistently after around seven minutes of the run (before filling the >>>>> file UFS system). >>>> >>>> Is that sysutils/stressdisk? >>> >>> >>> Yes, sorry for the typo. >> >> >> stressdisk now underway: >> >> Bytes read:      26649996 MByte (1633.90 MByte/s) >> Bytes written:     235880 MByte ( 491.77 MByte/s) >> Errors:                 0 >> Elapsed time:  4h40m0.000371674s >> >> FYI, it seems my newly arrived NVME is not actually new. >> >> * gpart shows a partition. >> * smarctl says 4 power on hours >> * 56 power cycles >> * 104GB written >> >> https://dan.langille.org/2021/08/09/i-bought-a-new-nvme-drive-or-did-i/ > > > > > $ sudo gpart create nvd0 > $ sudo gpart create -s gpt nvd0 > $ sudo gpart add -a 4k -t freebsd-zfs nvd0 > $ sudo zpool create nvd0 /dev/nvd0p1 > $ sudo chown dvl:dvl /nvd0 > $ stressdisk run /nvd0/ -duration 1h > > I returned that unit and got another. > > 2021/08/17 15:05:28 Exiting after running for > 1h0m0s > 2021/08/17 15:05:28 > Bytes read:       2970440 MByte (1574.04 MByte/s) > Bytes written:     229910 MByte ( 134.56 MByte/s) > Errors:                 0 > Elapsed time:  1h0m0.00184772s > > 2021/08/17 15:05:28 PASSED with no errors > > In that hour, it read just over 3 TB (see smartctl output below) > > [dvl@test /nvd0]$ zpool list nvd0 > NAME   SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP DEDUP    > HEALTH  ALTROOT > nvd0   232G   224G  8.25G        -         -    36%    96% 1.00x    > ONLINE  - > > [dvl@test /nvd0]$ zpool list nvd0 > NAME   SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP DEDUP    > HEALTH  ALTROOT > nvd0   232G   224G  8.25G        -         -    36%    96% 1.00x    > ONLINE  - > [dvl@test /nvd0]$ sudo smartctl -a /dev/nvme0 > smartctl 7.2 2020-12-30 r5155 [FreeBSD 13.0-RELEASE-p3 amd64] (local > build) > Copyright (C) 2002-20, Bruce Allen, Christian Franke, > www.smartmontools.org > > === START OF INFORMATION SECTION === > Model Number:                       WDC WDS250G2B0C-00PXH0 > Serial Number:                      [redacted] > Firmware Version:                   233010WD > PCI Vendor/Subsystem ID:            0x15b7 > IEEE OUI Identifier:                0x001b44 > Total NVM Capacity:                 250,059,350,016 [250 GB] > Unallocated NVM Capacity:           0 > Controller ID:                      1 > NVMe Version:                       1.4 > Number of Namespaces:               1 > Namespace 1 Size/Capacity:          250,059,350,016 [250 GB] > Namespace 1 Formatted LBA Size:     512 > Namespace 1 IEEE EUI-64:            001b44 8b4111e9c1 > Local Time is:                      Tue Aug 17 15:11:06 2021 UTC > Firmware Updates (0x14):            2 Slots, no Reset required > Optional Admin Commands (0x0017):   Security Format Frmw_DL Self_Test > Optional NVM Commands (0x005f):     Comp Wr_Unc DS_Mngmt Wr_Zero > Sav/Sel_Feat Timestmp > Log Page Attributes (0x1e):         Cmd_Eff_Lg Ext_Get_Lg Telmtry_Lg > Pers_Ev_Lg > Maximum Data Transfer Size:         128 Pages > Warning  Comp. Temp. Threshold:     80 Celsius > Critical Comp. Temp. Threshold:     85 Celsius > Namespace 1 Features (0x02):        NA_Fields > > Supported Power States > St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat > 0 +     3.50W    2.00W       -    0  0  0  0        0       0 > 1 +     2.40W    1.80W       -    0  0  0  0        0       0 > 2 +     1.90W    1.50W       -    0  0  0  0        0       0 > 3 -   0.0250W       -        -    3  3  3  3     3900   11000 > 4 -   0.0050W       -        -    4  4  4  4     5000   44000 > > Supported LBA Sizes (NSID 0x1) > Id Fmt  Data  Metadt  Rel_Perf > 0 +     512       0         2 > 1 -    4096       0         1 > > === START OF SMART DATA SECTION === > SMART overall-health self-assessment test result: PASSED > > SMART/Health Information (NVMe Log 0x02) > Critical Warning:                   0x00 > Temperature:                        37 Celsius > Available Spare:                    100% > Available Spare Threshold:          10% > Percentage Used:                    0% > Data Units Read:                    5,980,477 [3.06 TB] > Data Units Written:                 472,529 [241 GB] > Host Read Commands:                 23,385,657 > Host Write Commands:                1,957,158 > Controller Busy Time:               70 > Power Cycles:                       3 > Power On Hours:                     1 > Unsafe Shutdowns:                   0 > Media and Data Integrity Errors:    0 > Error Information Log Entries:      1 > Warning  Comp. Temperature Time:    0 > Critical Comp. Temperature Time:    0 > > Error Information (NVMe Log 0x01, 16 of 256 entries) > No Errors Logged > > [dvl@test /nvd0]$ Thanks If/when you begin using the new disk, then maybe give the old disk entirely to UFS for a run of StressDisk (or whatever you like) to tell whether there was/is a problem with the old … (Copied to the list at Dan's request.) From owner-freebsd-questions@freebsd.org Thu Aug 19 06:21:09 2021 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 CE11465E45F for ; Thu, 19 Aug 2021 06:21:09 +0000 (UTC) (envelope-from administrator@freebsd.org) Received: from hp0.e.txexmo.buzz (hp0.e.txexmo.buzz [147.182.192.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gqvm54pykz3Kg0 for ; Thu, 19 Aug 2021 06:21:09 +0000 (UTC) (envelope-from administrator@freebsd.org) From: freebsd.org To: freebsd-questions@freebsd.org Subject: Verify Your Account freebsd-questions@freebsd.org Date: 18 Aug 2021 23:21:07 -0700 Message-ID: <20210818232107.EABA99B2FE78B4B8@freebsd.org> X-Rspamd-Queue-Id: 4Gqvm54pykz3Kg0 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:14061, ipnet:147.182.192.0/20, country:US] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2021 06:21:09 -0000 From owner-freebsd-questions@freebsd.org Thu Aug 19 07:40:59 2021 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 1CA83660615 for ; Thu, 19 Aug 2021 07:40:59 +0000 (UTC) (envelope-from 4271ced7.AVoAAAo8Ek4AAAAAAAAAAHAkGMAAAAAA0PMAAAAAABYlygBhHgsB@bnc3.mailjet.com) Received: from o0.p27.mailjet.com (o0.p27.mailjet.com [185.189.238.0]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with UTF8SMTPS id 4GqxXB0dGNz3nLW for ; Thu, 19 Aug 2021 07:40:57 +0000 (UTC) (envelope-from 4271ced7.AVoAAAo8Ek4AAAAAAAAAAHAkGMAAAAAA0PMAAAAAABYlygBhHgsB@bnc3.mailjet.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=jodocus.org; i=joost@jodocus.org; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:list-unsubscribe-post: feedback-id:in-reply-to:references:x-csa-complaints:x-mj-mid:x-mj-smtpguid: x-report-abuse-to:x-sender:content-type:content-transfer-encoding; bh=tSb7kPP/Ksy3L6NASMdreuxdktFD+cJX2Ffe9Mhpw7s=; b=geK9Ltlr1IdJjRryC4/Hbmwx6otG0wrRPfKbdm1bShe7sJsguuqWYZMDs qFUFWhaySJmfqpPuFBEGq51QuDhTXUOktvVffHdpwXbpGY8A0WHOJXEYst7e dUxh0MnGeUlq7mlavth3YUtwTy4Z442TUVTb9KIL2NwaCeZA5yXWYA= Message-Id: <4271ced7.AVoAAAo8Ek4AAAAAAAAAAHAkGMAAAAAA0PMAAAAAABYlygBhHgsB@mailjet.com> MIME-Version: 1.0 From: Joost Bekkers To: freebsd-questions@freebsd.org Subject: Fwd: Re: Static route and arp problem in FreeBSD 13.0 Date: Thu, 19 Aug 2021 09:40:47 +0200 List-Unsubscribe-Post: List-Unsubscribe=One-Click Feedback-Id: 42.1451466.1431476:MJ In-Reply-To: <810095e7a8006dbe1b5c966d3525e43f@jodocus.org> References: <7fab4cb0-8045-fc8d-7bfd-887495dc00ff@pp.dyndns.biz> <810095e7a8006dbe1b5c966d3525e43f@jodocus.org> X-CSA-Complaints: csa-complaints@eco.de X-MJ-Mid: AVoAAAo8Ek4AAAAAAAAAAHAkGMAAAAAA0PMAAAAAABYlygBhHgsB77D98h86S0293k-36ZVj2wAV17Q X-MJ-SMTPGUID: efb0fdf2-1f3a-4b4d-bdde-4fb7e99563db X-REPORT-ABUSE-TO: Message sent by Mailjet please report to abuse@mailjet.com with a copy of the message X-Sender: joost@jodocus.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4GqxXB0dGNz3nLW X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=jodocus.org header.s=mailjet header.b=geK9Ltlr; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4271ced7.AVoAAAo8Ek4AAAAAAAAAAHAkGMAAAAAA0PMAAAAAABYlygBhHgsB@bnc3.mailjet.com designates 185.189.238.0 as permitted sender) smtp.mailfrom=4271ced7.AVoAAAo8Ek4AAAAAAAAAAHAkGMAAAAAA0PMAAAAAABYlygBhHgsB@bnc3.mailjet.com X-Spamd-Result: default: False [-3.21 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[jodocus.org:s=mailjet]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[185.189.238.0:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.189.236.0/22]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[jodocus.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; DKIM_TRACE(0.00)[jodocus.org:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[185.189.238.0:from]; FORGED_SENDER(0.30)[joost@jodocus.org,4271ced7.AVoAAAo8Ek4AAAAAAAAAAHAkGMAAAAAA0PMAAAAAABYlygBhHgsB@bnc3.mailjet.com]; RCVD_COUNT_ZERO(0.00)[0]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:200069, ipnet:185.189.236.0/22, country:FR]; FROM_NEQ_ENVFROM(0.00)[joost@jodocus.org,4271ced7.AVoAAAo8Ek4AAAAAAAAAAHAkGMAAAAAA0PMAAAAAABYlygBhHgsB@bnc3.mailjet.com]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2021 07:40:59 -0000 (forgot to include the list) On 2021-08-19 00:50, Morgan Wesström wrote: > I've been using FreeBSD as my router/firewall for 15 years and it's a > simple and straight setup: > > +--------------+ +-------------+ > | | | | > LAN em1| FreeBSD 12.2 |em0 | Cable modem | > Internet > ---------------+ +-----------------------+ > +--------- > 192.168.69.0/24| router |DHCP 192.168.0.1| bridge mode | > | |public ip | | > +--------------+ +-------------+ > > To access the cable modem's web interface, which has a private ip on > the public facing side of the router, I add the following static route > and arp entry in the router's /etc/rc.conf: > > route_cable="-host 192.168.0.1 -link em0:d8:d7:75:f3:9b:14 -iface > -static" > static_routes="cable" > static_arp_cable="192.168.0.1 d8:d7:75:f3:9b:14 pub only" > static_arp_pairs="cable" > > The MAC address is the router facing interface on the cable modem. I > can now access 192.168.0.1 from my LAN and this has worked perfectly > for many years until I try it on FreeBSD 13.0. > > The route/arp is not registered at startup and trying to add the route > manually results in the following message: > > # route add -host 192.168.0.1 -link em0:d8:d7:75:f3:9b:14 -iface > -static > route: writing to routing socket: Network is unreachable > add host 192.168.0.1: gateway em0:d8:d7:75:f3:9b:14 fib 0: Network is > unreachable > > Adding the arp record doesn't work either but that was expected since > it requires the route to be added first. The most likely scenario is > that I missed something fundamental in my 13.0 setup but I can't > figure out what and the error message isn't really helpful. > The less likely reason is that something changed between FreeBSD 12.2 > and 13.0 but I can't spot any changes in the man pages. Any pointers > would be greatly appreciated. > I have a similar setup at home and I can access the modem without any special routes/arps. I'm assuming you've tried accessing the modem without any special config. Can you try changing the route statement to "192.168.0.1/32 -iface em0"? This tells the system the address is directly connected and it will send arp requests out em0. In my case the modem doesn't reply to those arp requests, static arp entries might still be needed. Alternatively you could have dhclient add a second ip address (eg 192.168.0.2) to em0. See the alias keyword in dhclient.conf(5) Best regards, Joost Bekkers From owner-freebsd-questions@freebsd.org Thu Aug 19 10:54:48 2021 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 7A951663101 for ; Thu, 19 Aug 2021 10:54:48 +0000 (UTC) (envelope-from dan@langille.org) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gr1qq3N9Pz4cgT for ; Thu, 19 Aug 2021 10:54:47 +0000 (UTC) (envelope-from dan@langille.org) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 40BD65C0041; Thu, 19 Aug 2021 06:54:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 19 Aug 2021 06:54:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= from:subject:to:references:cc:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=8 271g00r4rG4Gvb8YbkeviEjfX7RMqbBdgH012JUldo=; b=iJT1qEF38oQsqqjRs 5Pa+D+sS0h5oTcpiMrjt5EHaWkm3Td7PY+OoXmtJqqlvlGYM5GqauQo+MWhQX4Kk OSvbi2SSLZRNAFDsUXaaw4J+z5dlIa09+zo86v0kx4vpKh78YH40B2zcTthgXI9t 8AkvCDzIshkXex+msE1duezGvDZbKACi61yboviIV98tKOTA/hYrCkesiYCVdidD h4k4Jl9kHFBkexxPACx1jYPkmMPnMAigFfArbW9XuQhs/b+2FUmTkFVwD+lW7SH1 vsLoo2mpTixJNsDxOxUMDshLlVEPYUeMtJQWfTI2iMkgz5ys1fu33DZazEGd7vAa mzsUQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=8271g00r4rG4Gvb8YbkeviEjfX7RMqbBdgH012JUl do=; b=XL3XVqYyhU6BwJzrFa6YnCdXShu+9SB/ldskfUmhz0SgonOZ6xm0ylhG5 A48sO6xrq+VGwOEEeZEYoTZf/Ahp5wV92nLdpCmYEuaUrJ3mJDO7NoEWKn+GU6a+ IO6cMrkpUHZMrqdIbW/iWaz4DjLeP20TY8EgdXnCp/ueSEfkxDHbJvbJuG9trh6r C8gbkw0Fv2VZQMIFIEA8FP5+XmkbyPNdMHLK0Od1O+Sh2A0M8M80EC0MzLAeS3Tp YkPRf9ECKVAjL+uxxvokc5xF69etxvG5CemBSPpAIWJB2qbkoh2p0SbdOY74UoNJ rbYFTp3orx5yLgzLcVFS0uq+U1UMQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrleejgdeffecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhuffvfhfkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeffrghnucfn rghnghhilhhlvgcuoegurghnsehlrghnghhilhhlvgdrohhrgheqnecuggftrfgrthhtvg hrnhepfefgueehffejkeffgefhhffgudegtddtveegveekleegfedutdeuieefjeektdeu necuffhomhgrihhnpehlrghnghhilhhlvgdrohhrghdpshhmrghrthhmohhnthhoohhlsh drohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pegurghnsehlrghnghhilhhlvgdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 19 Aug 2021 06:54:39 -0400 (EDT) From: Dan Langille Subject: Re: nvme detached To: Graham Perrin References: <3b332fd8-24be-5a2f-15a8-630edb2a7226@gmail.com> <5ff30e22-d355-4a0c-b13b-02ac709f0fbc@www.fastmail.com> Cc: "freebsd-questions@freebsd.org" Message-ID: <10dddb1e-0756-56e0-1fac-6dc91663e823@langille.org> Date: Thu, 19 Aug 2021 06:54:38 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:52.0) Gecko/20100101 PostboxApp/7.0.48 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4Gr1qq3N9Pz4cgT X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm2 header.b=iJT1qEF3; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=XL3XVqYy; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 66.111.4.29 as permitted sender) smtp.mailfrom=dan@langille.org X-Spamd-Result: default: False [-5.10 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.0.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm2,messagingengine.com:s=fm3]; FREEFALL_USER(0.00)[dan]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.111.4.29:from]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2021 10:54:48 -0000 Dan Langille wrote: > > On Wed, Aug 4, 2021, at 2:04 PM, Graham Perrin wrote: >> >> On 04/08/2021 18:45, Dan Langille wrote: >> >>> >>> On Wed, Aug 4, 2021, at 1:35 PM, Graham Perrin wrote: >>> >>>> >>>> A normal run of StressDesk might be enough to expose a problem; I >>>> recently had a new drive (less than 100 hours' use) that failed >>>> consistently after around seven minutes of the run (before filling the >>>> file UFS system). >>> >>> Is that sysutils/stressdisk? >> >> >> Yes, sorry for the typo. > > > stressdisk now underway: > > Bytes read:      26649996 MByte (1633.90 MByte/s) > Bytes written:     235880 MByte ( 491.77 MByte/s) > Errors:                 0 > Elapsed time:  4h40m0.000371674s > > FYI, it seems my newly arrived NVME is not actually new. > > * gpart shows a partition. > * smarctl says 4 power on hours > * 56 power cycles > * 104GB written > > https://dan.langille.org/2021/08/09/i-bought-a-new-nvme-drive-or-did-i/ $ sudo gpart create nvd0 $ sudo gpart create -s gpt nvd0 $ sudo gpart add -a 4k -t freebsd-zfs nvd0 $ sudo zpool create nvd0 /dev/nvd0p1 $ sudo chown dvl:dvl /nvd0 $ stressdisk run /nvd0/ -duration 1h I returned that unit and got another. 2021/08/17 15:05:28 Exiting after running for > 1h0m0s 2021/08/17 15:05:28 Bytes read:       2970440 MByte (1574.04 MByte/s) Bytes written:     229910 MByte ( 134.56 MByte/s) Errors:                 0 Elapsed time:  1h0m0.00184772s 2021/08/17 15:05:28 PASSED with no errors In that hour, it read just over 3 TB (see smartctl output below) [dvl@test /nvd0]$ zpool list nvd0 NAME   SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP HEALTH  ALTROOT nvd0   232G   224G  8.25G        -         -    36%    96%  1.00x ONLINE  - [dvl@test /nvd0]$ zpool list nvd0 NAME   SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP HEALTH  ALTROOT nvd0   232G   224G  8.25G        -         -    36%    96%  1.00x ONLINE  - [dvl@test /nvd0]$ sudo smartctl -a /dev/nvme0 smartctl 7.2 2020-12-30 r5155 [FreeBSD 13.0-RELEASE-p3 amd64] (local build) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Number:                       WDC WDS250G2B0C-00PXH0 Serial Number:                      [redacted] Firmware Version:                   233010WD PCI Vendor/Subsystem ID:            0x15b7 IEEE OUI Identifier:                0x001b44 Total NVM Capacity:                 250,059,350,016 [250 GB] Unallocated NVM Capacity:           0 Controller ID:                      1 NVMe Version:                       1.4 Number of Namespaces:               1 Namespace 1 Size/Capacity:          250,059,350,016 [250 GB] Namespace 1 Formatted LBA Size:     512 Namespace 1 IEEE EUI-64:            001b44 8b4111e9c1 Local Time is:                      Tue Aug 17 15:11:06 2021 UTC Firmware Updates (0x14):            2 Slots, no Reset required Optional Admin Commands (0x0017):   Security Format Frmw_DL Self_Test Optional NVM Commands (0x005f):     Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp Log Page Attributes (0x1e):         Cmd_Eff_Lg Ext_Get_Lg Telmtry_Lg Pers_Ev_Lg Maximum Data Transfer Size:         128 Pages Warning  Comp. Temp. Threshold:     80 Celsius Critical Comp. Temp. Threshold:     85 Celsius Namespace 1 Features (0x02):        NA_Fields Supported Power States St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat 0 +     3.50W    2.00W       -    0  0  0  0        0       0 1 +     2.40W    1.80W       -    0  0  0  0        0       0 2 +     1.90W    1.50W       -    0  0  0  0        0       0 3 -   0.0250W       -        -    3  3  3  3     3900   11000 4 -   0.0050W       -        -    4  4  4  4     5000   44000 Supported LBA Sizes (NSID 0x1) Id Fmt  Data  Metadt  Rel_Perf 0 +     512       0         2 1 -    4096       0         1 === START OF SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED SMART/Health Information (NVMe Log 0x02) Critical Warning:                   0x00 Temperature:                        37 Celsius Available Spare:                    100% Available Spare Threshold:          10% Percentage Used:                    0% Data Units Read:                    5,980,477 [3.06 TB] Data Units Written:                 472,529 [241 GB] Host Read Commands:                 23,385,657 Host Write Commands:                1,957,158 Controller Busy Time:               70 Power Cycles:                       3 Power On Hours:                     1 Unsafe Shutdowns:                   0 Media and Data Integrity Errors:    0 Error Information Log Entries:      1 Warning  Comp. Temperature Time:    0 Critical Comp. Temperature Time:    0 Error Information (NVMe Log 0x01, 16 of 256 entries) No Errors Logged [dvl@test /nvd0]$ From owner-freebsd-questions@freebsd.org Thu Aug 19 10:55:52 2021 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 E55CE662EF3 for ; Thu, 19 Aug 2021 10:55:52 +0000 (UTC) (envelope-from dan@langille.org) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gr1s41Cxjz4d62 for ; Thu, 19 Aug 2021 10:55:52 +0000 (UTC) (envelope-from dan@langille.org) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 00A7A5C0185; Thu, 19 Aug 2021 06:55:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 19 Aug 2021 06:55:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type; s=fm2; bh=EPsPbnxaTU0NgHcr4iEGLR6qczZ qaaBL3c30qDyuJIM=; b=j101wq2gdW6916PLC2MVcSxS7bDaPufpAwZ6oPpbB0u OXK5lo2nRbVRHeToVBFRZvwhvlTkSJDd3CoShzET83jvHGkHhYhEkYuYB3Pe2cSs N/Cioy0qqvRhf+9hJiR+/XVax2whjX9Mt6KldM6IDkhvG72ERxrvlE+GBYMdEfi8 VEdIbpazJ6DtcgRKv8BT+yyWWceLXupjwHkmH4++jMRcaiXtERkW44QGbadSO1eu 8OqOYUtth3d/kpdy2rqX8WRDl+pz3Ghf4FyFMtiH/XSo/Ovhmd/yM0964X72P4/l +rkrxc8ikT/heiygRLuWQMwtyx2KK/Eqz5VvLXTpIDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=EPsPbn xaTU0NgHcr4iEGLR6qczZqaaBL3c30qDyuJIM=; b=Dg9VWszvPT8wKXRr1auSfJ HIeVoF5Guhc3kNqoGyVnrSSndcme5pDcbwlpVYsWVy5m5lNIqKZ5TTNrBdwigrRn 7+as8QTAh6HYoVYEAtetywc4cObgyuv9sfH+D3aasxNFRoJw1H4a39wMA4ixxzI4 kOQTqAD7OYxClCN+E6uMdE5vPYlblDhrF+y7YGzY2ooKnwPRjtw/W0NH7w20KyXU OEhz85zwINRN16RxTwIaJcDEfPrqOVwj3TY2YVITUqpyOnqb334jVpiz1EgXpXKv RPZBRgdAF0PfNuLfWFyo6FH1tZJgWAt2l00IJ0a47c9v4dhY7aWg4TXik3MMhYSw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrleejgdeffecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgesrgdtreertdefjeenucfhrhhomhepffgrnhcunfgr nhhgihhllhgvuceouggrnheslhgrnhhgihhllhgvrdhorhhgqeenucggtffrrghtthgvrh hnpefhlefhleevhfehledugfektdeuudffkeevkefgkeelveelkedvudehledvgeejteen ucffohhmrghinheplhgrnhhgihhllhgvrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepuggrnheslhgrnhhgihhllhgvrdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 19 Aug 2021 06:55:51 -0400 (EDT) Subject: Re: nvme detached To: Graham Perrin Cc: FreeBSD questions References: <3b332fd8-24be-5a2f-15a8-630edb2a7226@gmail.com> <5ff30e22-d355-4a0c-b13b-02ac709f0fbc@www.fastmail.com> <93a02a57-9f7b-473a-a63f-1c541fdd2225@gmail.com> From: Dan Langille Message-ID: <1b81f13a-7fc3-f711-dc6a-be30c29f3c5a@langille.org> Date: Thu, 19 Aug 2021 06:55:50 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:52.0) Gecko/20100101 PostboxApp/7.0.48 MIME-Version: 1.0 In-Reply-To: <93a02a57-9f7b-473a-a63f-1c541fdd2225@gmail.com> Content-Language: en-US X-Rspamd-Queue-Id: 4Gr1s41Cxjz4d62 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm2 header.b=j101wq2g; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=Dg9VWszv; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 66.111.4.29 as permitted sender) smtp.mailfrom=dan@langille.org X-Spamd-Result: default: False [-5.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29:c]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.0.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm2,messagingengine.com:s=fm3]; FREEFALL_USER(0.00)[dan]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.111.4.29:from]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2021 10:55:53 -0000 Graham Perrin wrote on 8/18/21 11:46 PM: > > Thanks > > If/when you begin using the new disk, then maybe give the old disk > entirely to UFS for a run of StressDisk (or whatever you like) to tell > whether there was/is a problem with the old … > > (Copied to the list at Dan's request.) The theory being that UFS gives a different test result? -- Dan Langille dan@langille.org : https://langille.org/ From owner-freebsd-questions@freebsd.org Thu Aug 19 18:34:57 2021 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 6C095669DC8 for ; Thu, 19 Aug 2021 18:34:57 +0000 (UTC) (envelope-from freebsd-database@pp.dyndns.biz) Received: from keymaster.local (ns1.xn--wesstrm-f1a.se [81.4.102.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "keymaster.pp.dyndns.biz", Issuer "keymaster.pp.dyndns.biz" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GrD2l03L2z3NWj for ; Thu, 19 Aug 2021 18:34:54 +0000 (UTC) (envelope-from freebsd-database@pp.dyndns.biz) Received: from [192.168.69.69] ([192.168.69.69]) by keymaster.local (8.16.1/8.16.1) with ESMTP id 17JIXY19001631 for ; Thu, 19 Aug 2021 20:33:38 +0200 (CEST) (envelope-from freebsd-database@pp.dyndns.biz) Subject: Re: Fwd: Re: Static route and arp problem in FreeBSD 13.0 To: freebsd-questions@freebsd.org References: <7fab4cb0-8045-fc8d-7bfd-887495dc00ff@pp.dyndns.biz> <810095e7a8006dbe1b5c966d3525e43f@jodocus.org> <4271ced7.AVoAAAo8Ek4AAAAAAAAAAHAkGMAAAAAA0PMAAAAAABYlygBhHgsB@mailjet.com> From: =?UTF-8?Q?Morgan_Wesstr=c3=b6m?= Message-ID: <0a3422bd-0291-14f0-f4bf-ee28daeff6e0@pp.dyndns.biz> Date: Thu, 19 Aug 2021 20:33:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <4271ced7.AVoAAAo8Ek4AAAAAAAAAAHAkGMAAAAAA0PMAAAAAABYlygBhHgsB@mailjet.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GrD2l03L2z3NWj X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-database@pp.dyndns.biz has no SPF policy when checking 81.4.102.176) smtp.mailfrom=freebsd-database@pp.dyndns.biz X-Spamd-Result: default: False [-0.79 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; HFILTER_HELO_IP_A(1.00)[keymaster.local]; NEURAL_HAM_SHORT(-1.00)[-1.000]; HFILTER_HELO_NORES_A_OR_MX(0.30)[keymaster.local]; NEURAL_HAM_MEDIUM(-0.99)[-0.995]; R_SPF_NA(0.00)[no SPF record]; DMARC_NA(0.00)[pp.dyndns.biz]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:198203, ipnet:81.4.100.0/22, country:NL]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2021 18:34:57 -0000 > I have a similar setup at home and I can access the modem without any special > routes/arps. > I'm assuming you've tried accessing the modem without any special config. Yes, this does indeed seem to work at least when I try to ping the modem. The packets are as expected routed to the ISP's default gateway who ignores them as it should. But the modem is intercepting them and replies to the pings. This would probably work but looks like potential trouble just waiting to happen. :) > > Can you try changing the route statement to "192.168.0.1/32 -iface em0"? > This tells the system the address is directly connected and it will send arp > requests out em0. The -iface is confusingly a flag but there's an -interface parameter to route so I modified the command as follows: # route add -net 192.168.0.1/32 -interface em0 add net 192.168.0.1: gateway em0 This does indeed work as I would expect and seems to me a proper solution since it produces the same routing and arp entries as my original command. It has the added benefit I don't have to add a static arp entry. Thank you for the suggestion! :) I'm still intrigued about the difference in behaviour between 12.2 and 13.0 and there seems to be a learning experience for me here. I ran the original command again but in debug mode and now it doesn't output any errors. But in debug mode it doesn't modify the routing table so I'm still at loss at what's wrong and there were no other information of interest in the output. I'm satisfied with the new solution and will use it instead but if anyone has any insight in the strange output message from route I'm still interested to learn. Kind regards Morgan From owner-freebsd-questions@freebsd.org Fri Aug 20 00:44:18 2021 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 BB04366E18D for ; Fri, 20 Aug 2021 00:44:18 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (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 4GrNDx6RNSz4ZDx for ; Fri, 20 Aug 2021 00:44:17 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x434.google.com with SMTP id k8so11604439wrn.3 for ; Thu, 19 Aug 2021 17:44:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=n+46JaT03NKIJq1juNVtPUJg5gu3OjJybMpCblXhTN0=; b=YTWn3Y9/fkynXiw1vKKPlPVhNbKC0MAiySi49jbUINDCCqkIizB4yRLd3R5yJzzaIJ w0VRuyFuha4PcBUzrqQPj9sGLejqh5/05UfbFIQS+sLjzhv4/KqkiupSvvgmoGMOp3x9 xBb5jNMhEhHyULyGHHxvhEu6tuILMyMs75+DHYXWzaq0/p7lScvPa2oRXslsilAStxKw 5PCycHNZjM2R4igURE4sArusYsle32yIIiV4Co04qLeO1tumr3eIwAwaiagi2DJMfemY D4Cmq+Y2nmmeZfaFgnfnPFVs08zy3271iXlezHI/z91kX8By9R8AX8GTdpbAS6mCCsuy 0UqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=n+46JaT03NKIJq1juNVtPUJg5gu3OjJybMpCblXhTN0=; b=tYI60s1KC6inMT0NNAH88ez5ii82NLGhTBIG8Kl10EAzrn39bFJqz0toxa7hC0ShRH kwC87yUW4tjr5C88YUMaElnMF71JBQzxXmXY7yPx4txK7NvtnmT7XV89lZJ/UyaS/FaL nKg9HZqHsDKSYJOYwb8oXWEDb+o4vbh51KeEd4MRFThlDBXBbkOjd1P+K5xEOhAipIvn kb3iUCFJzUQpGSdb5w2RvhxXcqCsZnGb87k0ex/iX3PzT9naVqScYamlw+WHpijTah4C 8tIwlHXs5lAUALGCZC2L6Cm6pX1/UevD+MM+m5Y1Bim14oH9EK6vPaiu8jF4MgIUBJQp bD+w== X-Gm-Message-State: AOAM531mU+DQ/H6Zihs5C3GpKm4dG6oXOuL1uG+IjfO4hzqPNPst7N/1 nW+kMvutsTEq9308l4d6eq4lPBpDwJ9l3w== X-Google-Smtp-Source: ABdhPJzgXI+OMxoEMp4gsxbXZdXsR/IT0KKpbzTtoUvuVeiJo1saJGWwAr82EOIRGafML6UnjttQ6w== X-Received: by 2002:adf:e588:: with SMTP id l8mr6889149wrm.16.1629420256638; Thu, 19 Aug 2021 17:44:16 -0700 (PDT) Received: from ?IPv6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id m10sm5124658wro.63.2021.08.19.17.44.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Aug 2021 17:44:16 -0700 (PDT) Subject: StressDisk (was: nvme detached) To: Dan Langille Cc: FreeBSD questions References: <3b332fd8-24be-5a2f-15a8-630edb2a7226@gmail.com> <5ff30e22-d355-4a0c-b13b-02ac709f0fbc@www.fastmail.com> <93a02a57-9f7b-473a-a63f-1c541fdd2225@gmail.com> <1b81f13a-7fc3-f711-dc6a-be30c29f3c5a@langille.org> From: Graham Perrin Message-ID: <5b2da009-d820-8256-58bb-9fe65afd0d5f@gmail.com> Date: Fri, 20 Aug 2021 01:44:15 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <1b81f13a-7fc3-f711-dc6a-be30c29f3c5a@langille.org> Content-Language: en-GB X-Rspamd-Queue-Id: 4GrNDx6RNSz4ZDx X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b="YTWn3Y9/"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::434 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::434:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2021 00:44:18 -0000 On 19/08/2021 11:55, Dan Langille wrote: > Graham Perrin wrote on 8/18/21 11:46 PM: >> >> Thanks >> >> If/when you begin using the new disk, then maybe give the old disk >> entirely to UFS for a run of StressDisk (or whatever you like) to tell >> whether there was/is a problem with the old … >> >> (Copied to the list at Dan's request.) > The theory being that UFS gives a different test result? StressDisk is a slight misnomer, in that the utility targets: * free space within a file system * not an entire disk. You could repartition the disk to have a single partition with ZFS. If StressDisk shows incredibly high throughput statistics with ZFS: it's eyebrow-raising, but probably expected. (Note to self: Zevo, Mac OS X, Blackmagic.) For StressDisk test purposes on FreeBSD: I should probably recommend a single partition with UFS. Whatever your choice of file system: make the single partition as large as possible, so that StressDisk can (through the file system) test as much as possible of the disk. If the test causes disappearance of the device: the OS might cope better, at shutdown time, if the file system was UFS. If the storage system is ZFS and if the pool's sole device disappears: when the time comes to shut down or restart the OS, force may be required. HTH From owner-freebsd-questions@freebsd.org Fri Aug 20 09:17:08 2021 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 DD69D65C9AE for ; Fri, 20 Aug 2021 09:17:08 +0000 (UTC) (envelope-from ole@free.de) Received: from smtp.free.de (smtp.free.de [91.204.6.103]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Grbcg3JQXz55m2 for ; Fri, 20 Aug 2021 09:17:07 +0000 (UTC) (envelope-from ole@free.de) Received: from lenp43s (dynamic-002-244-078-023.2.244.pool.telefonica.de [2.244.78.23]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.free.de (Postfix) with ESMTPSA id BE1FC139D1 for ; Fri, 20 Aug 2021 11:16:58 +0200 (CEST) Date: Fri, 20 Aug 2021 11:16:54 +0200 From: Ole To: FreeBSD Mailing List Subject: Patching a port (monit) with EXTRA_PATCHES and poudriere - fails Message-ID: <20210820111654.48c52853.ole@free.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/_+ul9Acb+gdk7npwVrCib=D"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 4Grbcg3JQXz55m2 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ole@free.de designates 91.204.6.103 as permitted sender) smtp.mailfrom=ole@free.de X-Spamd-Result: default: False [-4.28 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.204.4.0/22]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[free.de]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.88)[-0.881]; MID_CONTAINS_FROM(1.00)[]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:31371, ipnet:91.204.4.0/22, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; RECEIVED_SPAMHAUS_PBL(0.00)[2.244.78.23:received] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2021 09:17:08 -0000 --Sig_/_+ul9Acb+gdk7npwVrCib=D Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello, there is a Bug in the current version of the monit port. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257941 It was already fixed in the repo. https://bitbucket.org/tildeslash/monit/commits/47e042610940624e492119a89509= 8dfbd459b8df I am building my packages with poudriere. And since I need the package strongly, i thought it would be good to learn how to patch a port with poudriere. I took my information from this sites: https://dan.langille.org/2014/06/10/freebsd-custom-port-patches-when-using-= poudriere/ https://docs.freebsd.org/en/books/porters-handbook/slow-porting/ 1. Create the patch: diff -u src/validate.c.orig src/validate.c /usr/ports/distfiles/local-patch= es/monit.patch 2. Edit make.conf: .if ${.CURDIR:M*/sysutils/monit} EXTRA_PATCHES+=3D /distfiles/local-patches/monit.patch .endif 3. remove old package find /poudriere/base/data/packages/freebsd:12:x86:64-HEAD/ -name monit\* -d= elete 4. run poudriere again. =3D=3D=3D> Patching for monit-5.28.1 =3D=3D=3D> Applying extra patch /distfiles/local-patches/monit.patch Ignoring previously applied (or reversed) patch. 2 out of 2 hunks ignored--saving rejects to src/validate.c.rej =3D=3D=3D> FAILED Applying extra patch /distfiles/local-patches/monit.patch *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/monit sadly it fails applying the patch. Any idea why? The patch is below. Ole --- src/validate.c.orig 2021-08-20 10:58:45.165650000 +0200 +++ src/validate.c 2021-08-20 10:58:48.797744000 +0200 @@ -1518,17 +1518,21 @@ int errors =3D 0; /* Check the services */ for (Service_T s =3D servicelist; s && ! interrupt(); s =3D s->nex= t) { - // FIXME: The Service_Program must collect the exit value = from last run, even if the program start should be skipped in this cycle = =3D> let check program always run the test (to be refactored with new sched= uler) - if (! _doScheduledAction(s) && s->monitor && (s->type =3D= =3D Service_Program || ! _checkSkip(s))) { - _checkTimeout(s); // Can disable monitoring =3D> n= eed to check s->monitor again - if (s->monitor) { - State_Type state =3D s->check(s); - if (state !=3D State_Init && s->monitor != =3D Monitor_Not) // The monitoring can be disabled by some matching rule in= s->check so we have to check again before setting to Monitor_Yes - s->monitor =3D Monitor_Yes; - if (state =3D=3D State_Failed) - errors++; - if (s->type !=3D Service_Program) - gettimeofday(&s->collected, NULL); + if (! _doScheduledAction(s) && s->monitor) { + bool skip =3D _checkSkip(s); + // FIXME: The Service_Program must collect the exi= t value from last run, even if the program start should be skipped in this = cycle =3D> let check program always run the test (to be refactored with new= scheduler) + if (! skip || s->type =3D=3D Service_Program) { + _checkTimeout(s); // Can disable monitorin= g =3D> need to check s->monitor again + if (s->monitor) { + State_Type state =3D s->check(s); + if (state !=3D State_Init && s->mo= nitor !=3D Monitor_Not) // The monitoring can be disabled by some matching = rule in s->check so we have to check again before setting to Monitor_Yes + s->monitor =3D Monitor_Yes; + if (state =3D=3D State_Failed) + errors++; + //FIXME: the Service_Program is ex= ecuted each cycle to collect exit value ... record the last data collection= timestamp only on the real non-skip cycle + if (! skip) + gettimeofday(&s->collected= , NULL); + } } } } @@ -1920,8 +1924,6 @@ Event_post(s, Event_Status, State_Succeeded, s->ac= tion_EXEC, "program started"); s->program->started =3D now; } - // We canot set the data collection timestmap in validate(= ), as the program check calls the _checkSkip() here - gettimeofday(&s->collected, NULL); } return rv; } --Sig_/_+ul9Acb+gdk7npwVrCib=D Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE60BGd7KVfL83NXCUJZaRRqjklFAFAmEfcwYACgkQJZaRRqjk lFBdFg//fmtbK3JTqTxTB0ucI/bc50HMWbx5NjOxIJ8Z2QkCbj4Jri0+T63kf1xW IXiamBOaYbx2qD1xj6UO4PvboqGH9qci577P4zzghmVn0Cp0Tw5puZ6Y1rxhDopS Job9a0YNVwMQgdSswh1XdxNkFkVToyB6W3P/P/XJW4c88+8JjIO/B9+0mVtW+k/b xVYoeTXqPhQ0oyibRTTWWknS9KPaCjcxofX62H9qxve+totV8rtdHDv3e/DbXHOY cFucRa5qbfUj7Soj4Qb2mmP0tFfwgu3GkVco3PZaaVTJoiSmycGhqH6bB2Qk8Luk 3SWGvWSLnA6tLkDBulRjZTNe4wa84/9XMucccReq4bX704pEoBBfWOQHuMKFHhLn MvlEgQBQouUTD6c8IvQt7/5KSP4+QCs2SWXB57sF6F1YWogiWqFycAS1loFGtez0 YWvbL+HJnwiiXPISuv9jknLfL28mXEARb7/1JMx15ymqQ5aZNyE1zB1iayVDI5hK 30tHIY/puS51fDOAQwvd1IEYQInKvgc0aYSz+wF8juw5rGwlCahOZiTwk8SFN7Ek swWpwP+9VpVAjABXENN0rtfBRhoHTiDi/cn2hXrTUiKvRvlvtP6OE0zh/ihPzuId Fu1EMMd3vYKJzGwZThtiRSr80mxooVykC45BjOKt6O0iVgdePsA= =IXdY -----END PGP SIGNATURE----- --Sig_/_+ul9Acb+gdk7npwVrCib=D-- From owner-freebsd-questions@freebsd.org Fri Aug 20 09:45:46 2021 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 A803265D683 for ; Fri, 20 Aug 2021 09:45:46 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) (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 4GrcFj45NGz3CkW for ; Fri, 20 Aug 2021 09:45:45 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by mail-yb1-xb2b.google.com with SMTP id r4so17761726ybp.4 for ; Fri, 20 Aug 2021 02:45:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1SGX62O88fDZDBWT5cKIH+Vx0NfR6gBPydd8J0Bhcr8=; b=Z2t73uJLoaPxZqbkVfT4uyloekjzOF3ed/lVxQQHwpwFcHv3Omm4ZHcGgaVx5huKJ3 fD5WVIy+Arl19BJ4Rta0AMSCDKURH4Oejm63uuIPFDu8+tW7yQGbs5WUaq5zxiRftCKS 6jmWjsAqYnTKwPtswjfr5avSG25Ik6Oof9cn6gEIKUTrXSCwN4VQU+EkLTicP3ahQB3u C9Ep02H5XrctI0jIPN/PJ3h8U85UrqVQLJXUo9+cxENFHFo9x3WELSzeJKEX5+ctukeE 5NHN56n4z0EECzjPN+SHOre/SYJIe02Di8PG9MX4t4HT+uHeov5mAPYDWFstBng8Yu+W Bt6w== 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:cc; bh=1SGX62O88fDZDBWT5cKIH+Vx0NfR6gBPydd8J0Bhcr8=; b=eAbyi2MRVfYkpVh7t+OZKk9Gx2MvazM75nuM/hv6t9+bGm81GYR3ca+xY2EStSs5hg 6zyoaK/Vk5fuWvWZFenrCI3cS3KK3iMbEpaI7y+E1c2GirG0U79619QJQsHvCsc04s3/ wgWOIoyjRGpWW471BZdZf8Ip9Fc1m6Zja1t1pbiOPOwBJA/tn9VTkF4iKqNJ3eLfYfRZ UXvlgSdMBu4VAtLPPB0vPfzciv7EjDpgiDf0y84ED/NdAtDQ85i4pfWo8xEmBCoRBIeI YMoG01M5X84Tbk9ziuIqYZrvwlkyLPNP/tc042bTA+607bKxfsb2vxOth0fZwM78iNa6 TnLg== X-Gm-Message-State: AOAM5301MmLTZUvh1J7Hm5DbvXpoUErDV2ly88ty3HKEiOUWnLEkH/3O NCBy9BFKwC1iLnkpa827dAmv6xyaPcCcTlXsw5w= X-Google-Smtp-Source: ABdhPJyCUg0GX7LqVMa8LxNiAfjHxwOjuAXpb2HkTerSaT9apfkf4WuGO+e0dS96DJdIh3OLXEpj/dsqdszK9IHsmSo= X-Received: by 2002:a25:d2c6:: with SMTP id j189mr25270829ybg.187.1629452745172; Fri, 20 Aug 2021 02:45:45 -0700 (PDT) MIME-Version: 1.0 References: <20210820111654.48c52853.ole@free.de> In-Reply-To: <20210820111654.48c52853.ole@free.de> From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Fri, 20 Aug 2021 11:41:11 +0200 Message-ID: Subject: Re: Patching a port (monit) with EXTRA_PATCHES and poudriere - fails To: Ole Cc: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4GrcFj45NGz3CkW X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Z2t73uJL; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of fernandoapesteguia@gmail.com designates 2607:f8b0:4864:20::b2b as permitted sender) smtp.mailfrom=fernandoapesteguia@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b2b:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2021 09:45:46 -0000 On Fri, Aug 20, 2021 at 11:17 AM Ole wrote: > > Hello, > > there is a Bug in the current version of the monit port. > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257941 > > It was already fixed in the repo. > https://bitbucket.org/tildeslash/monit/commits/47e042610940624e492119a895098dfbd459b8df > > I am building my packages with poudriere. And since I need the package > strongly, i thought it would be good to learn how to patch a port with > poudriere. > > I took my information from this sites: > https://dan.langille.org/2014/06/10/freebsd-custom-port-patches-when-using-poudriere/ > https://docs.freebsd.org/en/books/porters-handbook/slow-porting/ > > 1. Create the patch: > diff -u src/validate.c.orig src/validate.c /usr/ports/distfiles/local-patches/monit.patch > > 2. Edit make.conf: > .if ${.CURDIR:M*/sysutils/monit} > EXTRA_PATCHES+= /distfiles/local-patches/monit.patch > .endif > > 3. remove old package > find /poudriere/base/data/packages/freebsd:12:x86:64-HEAD/ -name monit\* -delete > > 4. run poudriere again. > > ===> Patching for monit-5.28.1 > ===> Applying extra patch /distfiles/local-patches/monit.patch > Ignoring previously applied (or reversed) patch. > 2 out of 2 hunks ignored--saving rejects to src/validate.c.rej ^^^^^^^ It seems the whole patch was rejected. You can confirm this by looking at src/validate.c.rej Is it possible that the changes are being applied twice? > ===> FAILED Applying extra > patch /distfiles/local-patches/monit.patch *** Error code 1 > > Stop. > make: stopped in /usr/ports/sysutils/monit > > > sadly it fails applying the patch. Any idea why? > The patch is below. > > Ole > > > > --- src/validate.c.orig 2021-08-20 10:58:45.165650000 +0200 > +++ src/validate.c 2021-08-20 10:58:48.797744000 +0200 > @@ -1518,17 +1518,21 @@ > int errors = 0; > /* Check the services */ > for (Service_T s = servicelist; s && ! interrupt(); s = s->next) { > - // FIXME: The Service_Program must collect the exit value from last run, even if the program start should be skipped in this cycle => let check program always run the test (to be refactored with new scheduler) > - if (! _doScheduledAction(s) && s->monitor && (s->type == Service_Program || ! _checkSkip(s))) { > - _checkTimeout(s); // Can disable monitoring => need to check s->monitor again > - if (s->monitor) { > - State_Type state = s->check(s); > - if (state != State_Init && s->monitor != Monitor_Not) // The monitoring can be disabled by some matching rule in s->check so we have to check again before setting to Monitor_Yes > - s->monitor = Monitor_Yes; > - if (state == State_Failed) > - errors++; > - if (s->type != Service_Program) > - gettimeofday(&s->collected, NULL); > + if (! _doScheduledAction(s) && s->monitor) { > + bool skip = _checkSkip(s); > + // FIXME: The Service_Program must collect the exit value from last run, even if the program start should be skipped in this cycle => let check program always run the test (to be refactored with new scheduler) > + if (! skip || s->type == Service_Program) { > + _checkTimeout(s); // Can disable monitoring => need to check s->monitor again > + if (s->monitor) { > + State_Type state = s->check(s); > + if (state != State_Init && s->monitor != Monitor_Not) // The monitoring can be disabled by some matching rule in s->check so we have to check again before setting to Monitor_Yes > + s->monitor = Monitor_Yes; > + if (state == State_Failed) > + errors++; > + //FIXME: the Service_Program is executed each cycle to collect exit value ... record the last data collection timestamp only on the real non-skip cycle > + if (! skip) > + gettimeofday(&s->collected, NULL); > + } > } > } > } > @@ -1920,8 +1924,6 @@ > Event_post(s, Event_Status, State_Succeeded, s->action_EXEC, "program started"); > s->program->started = now; > } > - // We canot set the data collection timestmap in validate(), as the program check calls the _checkSkip() here > - gettimeofday(&s->collected, NULL); > } > return rv; > } From owner-freebsd-questions@freebsd.org Fri Aug 20 10:05:51 2021 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 C612C65D850 for ; Fri, 20 Aug 2021 10:05:51 +0000 (UTC) (envelope-from ole@free.de) Received: from smtp.free.de (smtp.free.de [91.204.6.103]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Grcht73LVz3Fq2 for ; Fri, 20 Aug 2021 10:05:50 +0000 (UTC) (envelope-from ole@free.de) Received: from lenp43s (dynamic-002-244-078-023.2.244.pool.telefonica.de [2.244.78.23]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.free.de (Postfix) with ESMTPSA id 0DBC0139D1; Fri, 20 Aug 2021 12:05:50 +0200 (CEST) Date: Fri, 20 Aug 2021 12:05:43 +0200 From: Ole To: Fernando =?UTF-8?B?QXBlc3RlZ3XDrWE=?= Cc: FreeBSD Mailing List Subject: Re: Patching a port (monit) with EXTRA_PATCHES and poudriere - solved Message-ID: <20210820120543.78bae9dc.ole@free.de> In-Reply-To: References: <20210820111654.48c52853.ole@free.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/YkvIr=/_FOLIq4vVNY3rOjd"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 4Grcht73LVz3Fq2 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ole@free.de designates 91.204.6.103 as permitted sender) smtp.mailfrom=ole@free.de X-Spamd-Result: default: False [-4.40 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.204.4.0/22]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[free.de]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:31371, ipnet:91.204.4.0/22, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; RECEIVED_SPAMHAUS_PBL(0.00)[2.244.78.23:received] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2021 10:05:51 -0000 --Sig_/YkvIr=/_FOLIq4vVNY3rOjd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Fri, 20 Aug 2021 11:41:11 +0200 - Fernando Apestegu=C3=ADa : > Is it possible that the changes are being applied twice? Oh, thank you very much! I was not applied twice, but it was applied in the wrong direction! I just changed=20 diff -u src/validate.c.orig src/validate.c /usr/ports/distfiles/local-pat= ches/monit.patch to diff -u src/validate.c src/validate.c.orig /usr/ports/distfiles/local-pat= ches/monit.patch Thanks Ole --Sig_/YkvIr=/_FOLIq4vVNY3rOjd Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE60BGd7KVfL83NXCUJZaRRqjklFAFAmEffncACgkQJZaRRqjk lFAJ3Q//X9o8B9YJ4CYKcKPe4qMS9PX6+TH4e6rngRMJwrLfPMQPOOGKrJDryFV8 HhaHjd0xnR5mM0rCN3aJEtjF9uVlaBEz1yzV4ZI/aMaCCZw2ExuyhhnjAd1vj5aI 0s4BsisQpuEZJAHn9sawTrMkJAPtqcOBhaOqCGvWLypy630eiI/L5YF73UT3FLPS DcTJ0MlKh2Qwlgc47cVodiHMsnb/Wj4tDpVYpoMBEn9TaHtT2xcqvjznV1Qmfvyk kwfnCiOlQQ1eVYPoC8vA19W0MoF+WLwMZr7rvfbPzpfTrYN22+ACZeqnIkTE5RYA ppf4G5Yp8GWvUctA3aF9ImFqzuSylgOaJPtrFKwB5KH+vYv60n5DmMgebz+1riCH ylbVfs4/JC09xe+Hg/J4jFjfJTf0nJCcgXvPRjCdstF9nI5bMDTmn7sl1Qwh3EcC /NA1GPuxPIKYutMaVIhcR4GtQXwFJTdnscHEUZqphnTUM/RjRRkEz86V5Z/alp2y sigItwYRa3tAPJAggUfY80boOASVMsKwOY1tltpGpscias03go0+yYTTAsahehxt PgscFiPVUCzzihBo+NW4ZFL/TYfUVlU3gyiMdOisszlNROLpsMP4vIGWwprweYoV MMwqHzfUPPls6ZiutigQh45aguwAiZyqLY8ht3tN5P1Rk5UTPcg= =9cpk -----END PGP SIGNATURE----- --Sig_/YkvIr=/_FOLIq4vVNY3rOjd-- From owner-freebsd-questions@freebsd.org Fri Aug 20 10:11:42 2021 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 86AE965DDA9 for ; Fri, 20 Aug 2021 10:11:42 +0000 (UTC) (envelope-from SRS0=a1cP=NL=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 4Grcqd5Y1Qz3GjG for ; Fri, 20 Aug 2021 10:11:41 +0000 (UTC) (envelope-from SRS0=a1cP=NL=perdition.city=julien@bebif.be) Received: from x1 (unknown [10.209.1.149]) by orval.bbpf.belspo.be (Postfix) with ESMTPSA id E12C51D4FC1A for ; Fri, 20 Aug 2021 12:11:34 +0200 (CEST) Date: Fri, 20 Aug 2021 12:11:31 +0200 From: Julien Cigar To: freebsd-questions@freebsd.org Subject: zfs cheapest block storage (external backup) ? Message-ID: <20210820101131.luq4tco3rla26onp@x1> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="54u6zzarevokqtga" Content-Disposition: inline X-Rspamd-Queue-Id: 4Grcqd5Y1Qz3GjG X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of "SRS0=a1cP=NL=perdition.city=julien@bebif.be" designates 193.191.208.90 as permitted sender) smtp.mailfrom="SRS0=a1cP=NL=perdition.city=julien@bebif.be" X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[perdition.city]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[julien@perdition.city,SRS0=a1cP=NL=perdition.city=julien@bebif.be]; RCVD_NO_TLS_LAST(0.10)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=a1cP=NL=perdition.city=julien@bebif.be]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2021 10:11:42 -0000 --54u6zzarevokqtga Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I'm currently looking for a cheap block storage solution to backup (external) some ZFS pools (with zrepl).=20 I'd like to export the storage through iSCSI (on top of wireguard) and=20 use it on my backup machine Cheapest I've found which seems to support FreeBSD is=20 https://www.hetzner.com/dedicated-rootserver/sx64/ but I'm wondering if there is any others? Thanks, Julien --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --54u6zzarevokqtga Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmEff9AACgkQCLYqJMpB Hmlxrg//SsTLZe/kbUtnQTctu7LYJtHmtuf30b+x8B3vdleAAqQrV0Uf83GH42UM qdXqrvXtjWobk7HNBouXd0iE7gzlN0MSkzb/j8R7qnZsAFR5UwxVY9Zh4Vgtxzy5 kF+PIiAFoKw93A9IyXjGynoTRX9j8iOtCHfOfGH7pA7vTfqqDDMVtM8CnFmKQTwl 7T4G6qYPTB8FZTUy1MApxScClPsP+Q8Yg6ewDf4Xip6bkD8OfUcvrJrUBrvViG4c LxdTDLv8Zf65Dkbv8iB8KTlMsVHCUtIePaCkgdSZ8tEJYG0k3pcfhzKFZ2eIavxu IfCd4BkF07HFEbA/tRlus0XgKDHuuTe1qWYsLk+ZfUT+QXsHz/Q7tvcXKBw9Io98 E8Za1f5YZkUcC7C2HvD/obvJIeM5IGwKWsdtUzs8d8rHkmUr3B/B/NyRjHtlp7pw L6Ha0EFOHzcIeJZVKTe6/QT+m/AhgZ7v2x9dxOiJ3yzHtKmZJrLK4M2vW08eCThT Mn7IraUIlbFPdc5v1YsVxteZtyKXNTRKPlBk9fM1utnimDFIONMCJn1ba/28mMC1 VK8CVEgMJjQdqLZtZOAGaeyKZfeAWV+aEfjqQErL5UjuRBACgNZG5vXWQAEh3zmS bGllDhHln6uT5QOTSrgCYoREOXylzIjctJHO+TWwvIPgqgLegLU= =JdFL -----END PGP SIGNATURE----- --54u6zzarevokqtga-- From owner-freebsd-questions@freebsd.org Fri Aug 20 15:52:45 2021 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 2686F662C48 for ; Fri, 20 Aug 2021 15:52:45 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4GrmP81lFBz4ZTC for ; Fri, 20 Aug 2021 15:52:44 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 58F1F4E475 for ; Fri, 20 Aug 2021 10:52:38 -0500 (CDT) To: FreeBSD Mailing List From: Valeri Galtsev Subject: remote logging with syslogd question Message-ID: Date: Fri, 20 Aug 2021 10:52:38 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GrmP81lFBz4ZTC X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [-0.89 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.95)[-0.952]; NEURAL_SPAM_LONG(0.96)[0.960]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2021 15:52:45 -0000 Dear Experts, I decided to climb out of cave and set up remote log server. I followed handbook to configure syslogd for that. All is trivial (spare disabling -ss and replacing it with -s flag, as the first prevents opening network sockets). But although all works like a charm, logs from remote client not only go to designated for them place, but also are going to respective log files of machine I use as log server. And the last makes a mess. I wonder if someone can think of some trivial mistake I am making. The only mistake I can think of is mixing two things, namely, I should have left syslog alone to do what it does, and use separate daemon (e.g. rsyslog) to run as remote log server. That mistake I happily admit, and am pursuing this better avenue. But I'm still curios what obvious mistake I might have made with syslogd. Thanks for your insights! Valeri -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Fri Aug 20 19:11:37 2021 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 04D34665B9B for ; Fri, 20 Aug 2021 19:11:37 +0000 (UTC) (envelope-from vit@otcnet.ru) Received: from mail.otcnet.ru (mail.otcnet.ru [194.190.78.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Grrpc0ckdz4qm6 for ; Fri, 20 Aug 2021 19:11:35 +0000 (UTC) (envelope-from vit@otcnet.ru) Received: from VitComp.local (unknown [195.91.218.161]) by mail.otcnet.ru (Postfix) with ESMTPSA id A926C956F5 for ; Fri, 20 Aug 2021 22:11:25 +0300 (MSK) Subject: Re: remote logging with syslogd question To: freebsd-questions@freebsd.org References: From: Victor Gamov Message-ID: <7af2b86e-31a3-d6c9-5efc-446ee1851676@otcnet.ru> Date: Fri, 20 Aug 2021 22:11:15 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: ru Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Grrpc0ckdz4qm6 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of vit@otcnet.ru designates 194.190.78.3 as permitted sender) smtp.mailfrom=vit@otcnet.ru X-Spamd-Result: default: False [-3.20 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.otcnet.ru]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_NA(0.00)[otcnet.ru]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:50822, ipnet:194.190.78.0/24, country:RU]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2021 19:11:37 -0000 Try to use --- cut here --- #+localhost ... #-localhost --- /cut here --- for local messages and --- cut here --- #+192.168.1.1 *.* /var/log/192.168.1.1.log #-192.168.1.1 --- /cut here --- for messages from remote On 20.08.2021 18:52, Valeri Galtsev wrote: > Dear Experts, > > I decided to climb out of cave and set up remote log server. I followed > handbook to configure syslogd for that. All is trivial (spare disabling > -ss and replacing it with -s flag, as the first prevents opening network > sockets). > > But although all works like a charm, logs from remote client not only go > to designated for them place, but also are going to respective log files > of machine I use as log server. And the last makes a mess. > > I wonder if someone can think of some trivial mistake I am making. > > The only mistake I can think of is mixing two things, namely, I should > have left syslog alone to do what it does, and use separate daemon (e.g. > rsyslog) to run as remote log server. That mistake I happily admit, and > am pursuing this better avenue. But I'm still curios what obvious > mistake I might have made with syslogd. > > > Thanks for your insights! > > Valeri > -- CU, Victor Gamov From owner-freebsd-questions@freebsd.org Fri Aug 20 19:22:58 2021 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 29858665D20 for ; Fri, 20 Aug 2021 19:22:58 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (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 4Grs3j1R54z4r3V for ; Fri, 20 Aug 2021 19:22:57 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-lj1-x235.google.com with SMTP id y6so18899442lje.2 for ; Fri, 20 Aug 2021 12:22:57 -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=8FRCpIImAsg+RqNhEEVGNzXvtNIGNQqGCwznNbBVQDg=; b=SaXIdkYWAK78mDtRAE4Q3VXDz4uvhh8XUjfzYwyVpE46aOXl+oEQ4i2OJ2dQs0HLm0 z1hNTDTno442ZIbG12xQbZdcEdq1hlijGnrPrspdTFQM/2j/J69LMCp10mRlBqvewEYQ KpPnc9kMcaukYZY1CQfyRnG9ztPMKwySrownHWzVYYy89UIVHklk42G1bexOTbV+DBIc clnPLrMN7qwNKNRNzfo3PHTIzZggxCPcEV8LZTYFcOjVp/su7x0DXhzKvOgTuiMIHdzO 4uapG9Zhoas+QW/Y8oUy5uQu6DByqJnDxlefBzDkRO4//7BpRgdmG0yqnoziEIbytCwB Qq/w== 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=8FRCpIImAsg+RqNhEEVGNzXvtNIGNQqGCwznNbBVQDg=; b=OKasxoVMs2VhCO+POobFmuTxN3tg2Qxv2j2U1KFaDeVdYqy0j7RoMOyqjQhEXM7EMD bfNi14PfwMVUy5NrbHgy2ieIfgQ2xi0+nixY2Ibbp/lb8f+Tz6YYWGJMeI1CN8e+uTou gXS/6Td2QHqNMMJJ37Td4p/gEqpRF6aoPQ4rKvg5WA7btMsXE31SZQhKTIUoS8LNAmcE Cl4ql1tA7PMC5xbiHKRRqKDdF8rTaLlqTCCzgH5CeAJlMta/L2XZk5OZ+ky6/FXZHuEt CTOMRfxfrpw4VhzvgFxKwfyrIGtNvNkXs3zlmd31CwGcZqdSuummoI1WI+eKAwhInlFh HULg== X-Gm-Message-State: AOAM5338BbTGL9SfoZoGw54MI6yGReLIzrF5yq1fXJCtAw6EulxREfxS zseSncwwAU03pWZnW7VtO+xc3m1h2YW+dbVtVhBqLBooLMeH8qup X-Google-Smtp-Source: ABdhPJyVbtpeXHbXtJg7vpSr1s0SLtbdFSs00a4kJLwr769MBigkiOdeh+FNt3+8u7Wbf29n+BNnz8zIqyJosTP654Y= X-Received: by 2002:a2e:a546:: with SMTP id e6mr17349609ljn.312.1629487369809; Fri, 20 Aug 2021 12:22:49 -0700 (PDT) MIME-Version: 1.0 References: <7af2b86e-31a3-d6c9-5efc-446ee1851676@otcnet.ru> In-Reply-To: <7af2b86e-31a3-d6c9-5efc-446ee1851676@otcnet.ru> From: Michael Sierchio Date: Fri, 20 Aug 2021 12:22:14 -0700 Message-ID: Subject: Re: remote logging with syslogd question To: FreeBSD Questions X-Rspamd-Queue-Id: 4Grs3j1R54z4r3V X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=SaXIdkYW; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2a00:1450:4864:20::235) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-1.30 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; 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]; URI_COUNT_ODD(1.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::235:from]; HTTP_TO_IP(1.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2021 19:22:58 -0000 On Fri, Aug 20, 2021 at 12:11 PM Victor Gamov wrote: > Try to use > > --- cut here --- > #+localhost > ... > #-localhost > --- /cut here --- > > for local messages and > > --- cut here --- > #+192.168.1.1 > *.* /var/log/192.168.1.1.log > #-192.168.1.1 > --- /cut here --- > > for messages from remote > And don't forget the syslog flags in /etc/rc.conf. E.g., syslogd_flags="-Ccc -a 192.168.0.0/16:*" From owner-freebsd-questions@freebsd.org Fri Aug 20 19:26:01 2021 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 8BA52666023 for ; Fri, 20 Aug 2021 19:26:01 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4Grs7D5plTz4rQ6 for ; Fri, 20 Aug 2021 19:26:00 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 791464E479 for ; Fri, 20 Aug 2021 14:26:00 -0500 (CDT) Subject: Re: remote logging with syslogd question To: freebsd-questions@freebsd.org References: <7af2b86e-31a3-d6c9-5efc-446ee1851676@otcnet.ru> From: Valeri Galtsev Message-ID: Date: Fri, 20 Aug 2021 14:25:55 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <7af2b86e-31a3-d6c9-5efc-446ee1851676@otcnet.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Grs7D5plTz4rQ6 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [-0.62 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-0.66)[-0.664]; NEURAL_HAM_SHORT(-0.97)[-0.970]; NEURAL_SPAM_LONG(0.91)[0.910]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2021 19:26:01 -0000 On 8/20/21 2:11 PM, Victor Gamov wrote: > Try to use > > --- cut here --- > #+localhost > ... > #-localhost > --- /cut here --- > > for local messages and > > --- cut here --- > #+192.168.1.1 > *.*                /var/log/192.168.1.1.log > #-192.168.1.1 > --- /cut here --- > > for messages from remote > Thanks a lot, Victor! Now I'm just beginning to understand how to correctly configure syslogd. Valeri > > On 20.08.2021 18:52, Valeri Galtsev wrote: >> Dear Experts, >> >> I decided to climb out of cave and set up remote log server. I >> followed handbook to configure syslogd for that. All is trivial (spare >> disabling -ss and replacing it with -s flag, as the first prevents >> opening network sockets). >> >> But although all works like a charm, logs from remote client not only >> go to designated for them place, but also are going to respective log >> files of machine I use as log server. And the last makes a mess. >> >> I wonder if someone can think of some trivial mistake I am making. >> >> The only mistake I can think of is mixing two things, namely, I should >> have left syslog alone to do what it does, and use separate daemon >> (e.g. rsyslog) to run as remote log server. That mistake I happily >> admit, and am pursuing this better avenue. But I'm still curios what >> obvious mistake I might have made with syslogd. >> >> >> Thanks for your insights! >> >> Valeri >> > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++