From nobody Mon Feb 5 12:27:30 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TT5HS6Msqz59rFv for ; Mon, 5 Feb 2024 12:27:32 +0000 (UTC) (envelope-from rockyhotas@post.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.com", Issuer "GeoTrust TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TT5HR71Bvz4nvB for ; Mon, 5 Feb 2024 12:27:31 +0000 (UTC) (envelope-from rockyhotas@post.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=post.com header.s=s1089575 header.b=UIp6pbro; dmarc=pass (policy=none) header.from=post.com; spf=pass (mx1.freebsd.org: domain of rockyhotas@post.com designates 74.208.4.201 as permitted sender) smtp.mailfrom=rockyhotas@post.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=post.com; s=s1089575; t=1707136050; x=1707740850; i=rockyhotas@post.com; bh=X/kW2QRc9BAsYMIgeBYOMLztSNcyRtuUq2lyoMRbDf4=; h=X-UI-Sender-Class:From:To:Subject:Date; b=UIp6pbrooHpXRgNljKkCvsU42wRcEfd+2bADYUmHrGExtn3vcfcYkXmh6YTI601V Q7nSpPXRn8zwzKjUoE0ydUZ/akFyEoDrS3q7wchvReIy8xLrhhA7XD3AuXErq6wSW 1oOxpvlVdQE9R7nJmAHE9Hn1QKfYtGZcxejrjAbW7F79hrvM149hLoCNjfQ7iP9gH tA/pihtyyDZ6uRqYCI3QYFDjJBWzyjSJ3riqM7PCKUwCExxmVknHAFpL8AW5iODdJ Hdb2NiPUKso81fnGz3jHkAJbzX9BeV/TBiLeg8iXk1iutiBQAYyvXKu7LxKen9ldD CtpU2Lgs/CgRduMF/A== X-UI-Sender-Class: f2cb72be-343f-493d-8ec3-b1efb8d6185a Received: from [47.53.116.27] ([47.53.116.27]) by web-mail.mail.com (3c-app-mailcom-lxa01.server.lan [10.76.45.2]) (via HTTP); Mon, 5 Feb 2024 13:27:30 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: From: Rocky Hotas To: FreeBSD Questions Subject: acpi0 device Content-Type: text/plain; charset=UTF-8 Date: Mon, 5 Feb 2024 13:27:30 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:2UDqhTNUeMqKIzptEEtfZZr+Nebs0HXY1Mru8P35UnkPXKWg+DxTgrakL6qwcjOBA/8Wf zZnneUKs0sP8ArXa3Wb9RKklUHoyoiekH7/V2XWg6GuefF1jX4RELoBapOPIyqMp7CAhepjqJ+uE 1utq+8e0pMUA5QFb9otithx2KNPot5uj5+9jkYCCLKftT6hYYm07QqP2RZNZj51n6u23LTg0XB3r UH2lC0fy1NMeTjvnK7NMZRbIsB6XjWIe96R+fHXRq+6BKBbJ8dv+Xt6PTIf1w/oH5wrqEHV/XuEV /E= X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:L/xDQhbmRlU=;8TLJcQTzeIkPQX06gtFjvU/mgSU DsQ8HbhurQouJSu8H0nAtHdLan6eyvIz8VwbfuUWXrV44iTdy7aZ/pGciblGGrpLvxPWWF8zN oHyNR6crHvB0KEYMZSz9e8FyKWSr8oTZjrPE2TUgeSc/GVeY7eUPNXsI3SaVKslxOKV6Sq2Ms zAJcWQMhm7yN4+L0YY12wC3bFDw1znaM9natcvEULyGOLBNneIv1E6WNRHqfyNHkhdWF3DgBO XRzyioTkpcYLvH4hRKEkupHDaG9aQsG4x31Y99cCmlO8x6+K96+Gro16jv5Rrl/fLM2onnLyx Da/y3ts8/55m2Ktjs0+05JEKzjc+0fOt2bMjh2zk4QWY/EjlcHbQ4s59dVzxfMJCWSMB0Jprs 7ACwwIhKIH9xhNSySu8+1nTqGFdoax8r9UaJx8UYPvnk20FThI8mL8lUyFX/JJyhVeUC8t2+P coNo3JkYySkkQEhagtGBxySLCqzkK/7H2FyDwEAriiFBOgay7bLhd6zQOii30VIJNyimZOeJ3 AbQ2ij5SwQ56kgZODn3nAGuiOzgdlkYIRDys0HD/omIr1p+QKTkIuuwFARrQXODwPgZMp/3gN J4yHLh/53tERQMMn/8z51Ak9F273MDBDPVAX7kG/oLXJV8LdwxsT+1oS0sLTVNJ2MTV04jMtk +icGM/0cmvzyH6/7FS/qX45wXl1QEdSdIB4+MVyX12BsN0Nf7AJqFqGyqG/nbxY= Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.63 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_HAM_LONG(-1.00)[-0.997]; NEURAL_HAM_SHORT(-0.93)[-0.933]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[post.com,none]; RWL_MAILSPIKE_VERYGOOD(-0.20)[74.208.4.201:from]; R_DKIM_ALLOW(-0.20)[post.com:s=s1089575]; R_SPF_ALLOW(-0.20)[+a:mout.gmx.com]; RCVD_IN_DNSWL_LOW(-0.10)[74.208.4.201:from]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[post.com:+]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; HAS_X_PRIO_THREE(0.00)[3]; ASN(0.00)[asn:8560, ipnet:74.208.0.0/16, country:DE]; MISSING_XM_UA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[post.com]; FREEMAIL_ENVFROM(0.00)[post.com] X-Rspamd-Queue-Id: 4TT5HR71Bvz4nvB Hello! According to Absolute FreeBSD (by Michael W. Lucas, 3rd Edition, Chapter 6), acpi0 is the "first device in the system", so probably it acts as root device of the device tree. Sometimes acpi0 refers to the motherboard, sometimes to the case manufacturer; it may also mention the power button. But what does it exactly represent? Is it just a logical starting point for the device tree, or is there some physical device behind it? I did not find much information about this in acpi(4), which keeps being generic about ACPI. Is there is some other reference or manpage that deals with this? Bye! Rocky From nobody Mon Feb 5 19:03:33 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TTG4X5nZZz58nFD for ; Mon, 5 Feb 2024 19:03:40 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (jacobs.geeks.org [204.153.247.1]) (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 4TTG4W65Ybz4ffr for ; Mon, 5 Feb 2024 19:03:39 +0000 (UTC) (envelope-from merlyn@geeks.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of merlyn@geeks.org designates 204.153.247.1 as permitted sender) smtp.mailfrom=merlyn@geeks.org Received: from mail.geeks.org (localhost [127.0.0.1]) by after-clamsmtpd.geeks.org (Postfix) with ESMTP id 375B9D98EC for ; Mon, 5 Feb 2024 13:03:33 -0600 (CST) Received: by mail.geeks.org (Postfix, from userid 1003) id 2AAE0D98EB; Mon, 5 Feb 2024 13:03:33 -0600 (CST) Date: Mon, 5 Feb 2024 13:03:33 -0600 From: Doug McIntyre To: FreeBSD Questions Subject: Re: acpi0 device Message-ID: References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: ClamAV using ClamSMTP X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.66)[-0.665]; R_SPF_ALLOW(-0.20)[+ptr]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:7753, ipnet:204.153.244.0/22, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; DMARC_NA(0.00)[geeks.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4TTG4W65Ybz4ffr On Mon, Feb 05, 2024 at 01:27:30PM +0100, Rocky Hotas wrote: > But what does it exactly represent? Is it just a logical starting point > for the device tree, or is there some physical device behind it? Its the abstracted version of the X86/X64 hardware/BIOS on all modern hardware for the OS layer. Starting with the Wikipedia page would be a good intro. https://en.wikipedia.org/wiki/ACPI From nobody Mon Feb 5 23:15:02 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TTMfm4tPBz59F8Z for ; Mon, 5 Feb 2024 23:15:12 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from ns.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "discoveriesinwood.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TTMfl4Kh2z40w2 for ; Mon, 5 Feb 2024 23:15:11 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org Received: from [192.168.151.122] (breakaway.dreamchaser.org [192.168.151.122]) by ns.dreamchaser.org (8.17.1/8.17.1) with ESMTP id 415NF24d004700 for ; Mon, 5 Feb 2024 16:15:03 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: <32601639-0a4e-4bb0-b87d-9bcbae1c7945@dreamchaser.org> Date: Mon, 5 Feb 2024 16:15:02 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: FreeBSD Mailing List Reply-To: freebsd@dreamchaser.org From: Gary Aitken Subject: newaliases changed? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: inspected by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Mon, 05 Feb 2024 16:15:03 -0700 (MST) for IP:'192.168.151.122' DOMAIN:'breakaway.dreamchaser.org' HELO:'[192.168.151.122]' FROM:'freebsd@dreamchaser.org' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Mon, 05 Feb 2024 16:15:03 -0700 (MST) X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.18 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; TO_DN_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org] X-Rspamd-Queue-Id: 4TTMfl4Kh2z40w2 Recently upgraded from 12.4 to 13.2 When I run newaliases, I get a bunch of complaints for things that used to work fine: /etc/mail/aliases: line 88: goodfriends: ... missing value for alias /etc/mail/aliases: line 89: Non-continuation line starts with space The entries in question look like this: #friends: (bad addrs) # foo@bentley.unco.edu, # bentley.unco.edu: host not found # baz@kcs.keene.k12.ny.us goodfriends: foo1@blackfoot.net, \ foo2@comcast.net, \ foo3@aol.com, \ foo4@fatquailfarm.com, \ foo5@sbcglobal.net, \ foo6@blackfoot.net, \ foo7@tnc.org, \ foo8@aol.com, \ foo9@hotmail.com, \ foo10@blackfoot.net This is a cut and paste, obviously; the whitespace is all blanks. huh? Thanks for any tips. Gary From nobody Mon Feb 5 23:23:19 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TTMrV6hyrz59FZS for ; Mon, 5 Feb 2024 23:23:38 +0000 (UTC) (envelope-from list-freebsd-questions@jyborn.se) Received: from mailgate.leissner.se (mailgate.leissner.se [IPv6:2a02:920:3035::210]) (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 "mailgate.leissner.se", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TTMrV3qGxz42MD for ; Mon, 5 Feb 2024 23:23:38 +0000 (UTC) (envelope-from list-freebsd-questions@jyborn.se) Authentication-Results: mx1.freebsd.org; none Received: from mailgate.leissner.se (localhost [127.0.0.1]) by mailgate.leissner.se (8.17.1/8.17.1) with ESMTPS id 415NNMmB090609 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 6 Feb 2024 00:23:22 +0100 (CET) (envelope-from list-freebsd-questions@jyborn.se) Received: (from uucp@localhost) by mailgate.leissner.se (8.17.1/8.17.1/Submit) id 415NNMLb090607; Tue, 6 Feb 2024 00:23:22 +0100 (CET) (envelope-from list-freebsd-questions@jyborn.se) Received: from pol.leissner.se(192.71.29.17), claiming to be "pol-server.leissner.se" via SMTP by mailgate.leissner.se, id smtpditnedj; Tue Feb 6 00:23:19 2024 Received: from pol-server.leissner.se (localhost [127.0.0.1]) by pol-server.leissner.se (8.17.1/8.17.1) with ESMTP id 415NNJcd012597; Tue, 6 Feb 2024 00:23:19 +0100 (CET) (envelope-from list-freebsd-questions@jyborn.se) Received: (from pol@localhost) by pol-server.leissner.se (8.17.1/8.17.1/Submit) id 415NNJ0b012596; Tue, 6 Feb 2024 00:23:19 +0100 (CET) (envelope-from list-freebsd-questions@jyborn.se) X-Authentication-Warning: pol-server.leissner.se: pol set sender to list-freebsd-questions@jyborn.se using -f Date: Tue, 6 Feb 2024 00:23:19 +0100 From: Peter To: Gary Aitken Cc: FreeBSD Mailing List Subject: Re: newaliases changed? Message-ID: References: <32601639-0a4e-4bb0-b87d-9bcbae1c7945@dreamchaser.org> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32601639-0a4e-4bb0-b87d-9bcbae1c7945@dreamchaser.org> X-Rspamd-Queue-Id: 4TTMrV3qGxz42MD X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12597, ipnet:2a02:920:3000::/36, country:SE] Hello! On Mon, Feb 05, 2024 at 04:15:02PM -0700, Gary Aitken wrote: > Recently upgraded from 12.4 to 13.2 > When I run newaliases, I get a bunch of complaints for things that > used to work fine: > /etc/mail/aliases: line 88: goodfriends: ... missing value for alias > /etc/mail/aliases: line 89: Non-continuation line starts with space > > The entries in question look like this: > > #friends: (bad addrs) > # foo@bentley.unco.edu, # bentley.unco.edu: host not found > # baz@kcs.keene.k12.ny.us > > goodfriends: > foo1@blackfoot.net, \ > foo2@comcast.net, \ > foo3@aol.com, \ > foo4@fatquailfarm.com, \ > foo5@sbcglobal.net, \ > foo6@blackfoot.net, \ > foo7@tnc.org, \ > foo8@aol.com, \ > foo9@hotmail.com, \ > foo10@blackfoot.net > > This is a cut and paste, obviously; the whitespace is all blanks. > huh? > Thanks for any tips. > > Gary I don't know the proper syntax, but based on the errors I think that a " \" after "goodfriends:" could work. Peter From nobody Mon Feb 5 23:45:20 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TTNKZ6R7Wz59HsT for ; Mon, 5 Feb 2024 23:45:22 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from ns.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "discoveriesinwood.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TTNKZ3Cnyz45Bg for ; Mon, 5 Feb 2024 23:45:22 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Authentication-Results: mx1.freebsd.org; none Received: from [192.168.151.122] (breakaway.dreamchaser.org [192.168.151.122]) by ns.dreamchaser.org (8.17.1/8.17.1) with ESMTP id 415NjKxh004777; Mon, 5 Feb 2024 16:45:20 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: Date: Mon, 5 Feb 2024 16:45:20 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: freebsd@dreamchaser.org Subject: Re: newaliases changed? Content-Language: en-US To: Peter Cc: FreeBSD Mailing List References: <32601639-0a4e-4bb0-b87d-9bcbae1c7945@dreamchaser.org> From: Gary Aitken In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: inspected by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Mon, 05 Feb 2024 16:45:20 -0700 (MST) for IP:'192.168.151.122' DOMAIN:'breakaway.dreamchaser.org' HELO:'[192.168.151.122]' FROM:'freebsd@dreamchaser.org' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Mon, 05 Feb 2024 16:45:20 -0700 (MST) X-Rspamd-Queue-Id: 4TTNKZ3Cnyz45Bg X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US] On 2/5/24 16:23, Peter wrote: > Hello! > > On Mon, Feb 05, 2024 at 04:15:02PM -0700, Gary Aitken wrote: >> Recently upgraded from 12.4 to 13.2 >> When I run newaliases, I get a bunch of complaints for things that >> used to work fine: >> /etc/mail/aliases: line 88: goodfriends: ... missing value for alias >> /etc/mail/aliases: line 89: Non-continuation line starts with space >> >> The entries in question look like this: >> >> #friends: (bad addrs) >> # foo@bentley.unco.edu, # bentley.unco.edu: host not found >> # baz@kcs.keene.k12.ny.us >> >> goodfriends: >> foo1@blackfoot.net, \ >> foo2@comcast.net, \ >> foo3@aol.com, \ >> foo4@fatquailfarm.com, \ >> foo5@sbcglobal.net, \ >> foo6@blackfoot.net, \ >> foo7@tnc.org, \ >> foo8@aol.com, \ >> foo9@hotmail.com, \ >> foo10@blackfoot.net >> >> This is a cut and paste, obviously; the whitespace is all blanks. >> huh? >> Thanks for any tips. > I don't know the proper syntax, but based on the errors > I think that a " \" after "goodfriends:" could work. My fault, I was trying things out and put it back without the '\' Adding one doesn't help. From nobody Tue Feb 6 11:03:12 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TTgMz0LQcz59DwQ for ; Tue, 6 Feb 2024 11:03:27 +0000 (UTC) (envelope-from john@johnrshannon.com) Received: from mailb.johnrshannon.com (mailb.johnrshannon.com [104.153.32.125]) (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 4TTgMy1VrSz4HXt for ; Tue, 6 Feb 2024 11:03:26 +0000 (UTC) (envelope-from john@johnrshannon.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=johnrshannon.com header.s=dkim header.b=oy0lnTlw; dmarc=pass (policy=reject) header.from=johnrshannon.com; spf=pass (mx1.freebsd.org: domain of john@johnrshannon.com designates 104.153.32.125 as permitted sender) smtp.mailfrom=john@johnrshannon.com Received: from [10.8.0.2] (librem.mobile.johnrshannon.com [10.8.0.2]) by mailb.johnrshannon.com (Postfix) with ESMTP id C06B5541 for ; Tue, 6 Feb 2024 04:03:12 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnrshannon.com; s=dkim; t=1707217392; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=pJLbq46zbYiCe85bPfth+/F7MtMxKWanMogqdqyUNL0=; b=oy0lnTlwggmkP1OAcpidzdextlwHGslRDcSdFnZCKSdxWxBzGsVlbqu6EebYj/tlVgdJ8o SzLCujvCFOoObFtBKNgaBxyZjHR9gvfuSxMbAxsz1i434Njji+Og+tma6dxN0eU4O9xtup E5gEXSs/T10CyQ+tIaljpPquQzkbjUNmcuQMGe8b5m0R+N84WicFAGGiG9LaM2I6A5Lo+c AVzv95Dkb9PzUQiE2eKieeWnf8yeznKX4WWmoUyn5caHXpkFntSHdxRHSYUFP2M6gE7ArV 299zx5Z2qQojY2hv3d5A8z5zZD5CG8khGTIrIGRslb30JAKtrbcjDAnZMRoLLw== Message-ID: <9dfe7129-b0f8-4c45-8650-58a81ecd357d@johnrshannon.com> Date: Tue, 6 Feb 2024 04:03:12 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: freebsd-questions@freebsd.org From: john Subject: CA Authorities problem with Firefox and Thunderbird Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms040709050300050406020206" X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.09 / 15.00]; SIGNED_SMIME(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[johnrshannon.com,reject]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_DKIM_ALLOW(-0.20)[johnrshannon.com:s=dkim]; R_SPF_ALLOW(-0.20)[+mx:c]; XM_UA_NO_VERSION(0.01)[]; HAS_ATTACHMENT(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:32444, ipnet:104.153.32.0/24, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[johnrshannon.com:+] X-Rspamd-Queue-Id: 4TTgMy1VrSz4HXt This is a cryptographically signed message in MIME format. --------------ms040709050300050406020206 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit After my last pkg upgrade Firefox and Thunderbird both show no Authorities under Certificate Manager in settings. Missing are all the certificates listed by certctl along with DoD CAs added through Firefox import and site CA added through Thunderbird import. Command line use of: % openssl s_client -connect google.com:443 -CAfile /usr/local/etc/ssl/cert.pem works as does other software using TLS. Pkg versions: firefox-122.0_3,2 thunderbird-115.7.0_1 nss-3.97 sqlite3-3.45.0_1,1 ca_root_nss-3.93_2 $ freebsd-version 14.0-RELEASE-p4 -- John R. Shannon john@johnrshannon.com --------------ms040709050300050406020206 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC DIowggXrMIIE06ADAgECAhBAAYbcr4/Up3TgWUPRaYfVMA0GCSqGSIb3DQEBCwUAMDoxCzAJ BgNVBAYTAlVTMRIwEAYDVQQKEwlJZGVuVHJ1c3QxFzAVBgNVBAMTDlRydXN0SUQgQ0EgQTEz MB4XDTIzMDMxMzIwMzUzOFoXDTI0MDMxNjIwMzQzOFowgYcxLjAsBgNVBAsMJVZlcmlmaWVk IEVtYWlsOiBqb2huQGpvaG5yc2hhbm5vbi5jb20xJDAiBgkqhkiG9w0BCQEWFWpvaG5Aam9o bnJzaGFubm9uLmNvbTEvMC0GCgmSJomT8ixkAQETH0EwMTQxMEQwMDAwMDE4NkRDQUY4RkJE MDAwMEM1MEQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDja/NC3apeJSLeLD7a L6cbqTcmM+LEmSIn+bFsNSvcM4JegDOWZEKKUPSK0iRlhQK/gnrpSB0LjfkriKlaSjB8lKu5 CaMhAg/m4DlRUkGW1KUU+ZnYmtYI3vj86l4246boSzZayJmpFg/DreJtzWYO6VtR7W/vMGMz SNIkigwewt7t7r4djD/4JlEHGC2SN5DEifHmFylKdyKgrag4yG+O4TSSHIBOUTQdTZV98vzS Af2WcXTsbdXxX8pXEY9lCk1waAq2aZLJQ15tt9ghONRzkZK/t/qkNYK/Z/5P1JnAugLpKagV p4lRqyVUqxOTCGd8d4R80T+nYvcwWDRyk8MJAgMBAAGjggKdMIICmTAOBgNVHQ8BAf8EBAMC BaAwgYQGCCsGAQUFBwEBBHgwdjAwBggrBgEFBQcwAYYkaHR0cDovL2NvbW1lcmNpYWwub2Nz cC5pZGVudHJ1c3QuY29tMEIGCCsGAQUFBzAChjZodHRwOi8vdmFsaWRhdGlvbi5pZGVudHJ1 c3QuY29tL2NlcnRzL3RydXN0aWRjYWExMy5wN2MwHwYDVR0jBBgwFoAULbfeG1l+KpguzeHU G+PFEBJe6RQwCQYDVR0TBAIwADCCASsGA1UdIASCASIwggEeMIIBGgYLYIZIAYb5LwAGCwEw ggEJMEoGCCsGAQUFBwIBFj5odHRwczovL3NlY3VyZS5pZGVudHJ1c3QuY29tL2NlcnRpZmlj YXRlcy9wb2xpY3kvdHMvaW5kZXguaHRtbDCBugYIKwYBBQUHAgIwga0MgapUaGlzIFRydXN0 SUQgQ2VydGlmaWNhdGUgaGFzIGJlZW4gaXNzdWVkIGluIGFjY29yZGFuY2Ugd2l0aCBJZGVu VHJ1c3QncyBUcnVzdElEIENlcnRpZmljYXRlIFBvbGljeSBmb3VuZCBhdCBodHRwczovL3Nl Y3VyZS5pZGVudHJ1c3QuY29tL2NlcnRpZmljYXRlcy9wb2xpY3kvdHMvaW5kZXguaHRtbDBF BgNVHR8EPjA8MDqgOKA2hjRodHRwOi8vdmFsaWRhdGlvbi5pZGVudHJ1c3QuY29tL2NybC90 cnVzdGlkY2FhMTMuY3JsMCAGA1UdEQQZMBeBFWpvaG5Aam9obnJzaGFubm9uLmNvbTAdBgNV HQ4EFgQUXfYnYHXNX0LMDeORczvZ9Q3pyC8wHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUF BwMEMA0GCSqGSIb3DQEBCwUAA4IBAQBDozgHxkTRY8SDiyyZMQ1kBbcdDroLvu/FqnyQ+mvs AOJTw2nd+IoNR5KOplmp/SmytgN7djjoDETFbtbDQPvFZ65RfuBAh9BauZObZbokfaKP2wv/ 5oEFXB4cL9QU6l8DeTihE7OClQ5xqoqXAaONhPSvmhve3jPf/DkigyPllXceI0djK5arC87T AzzD9NXhm/po2HY3Fl7mO7xywcnq0P7RZcLJpH4Hdw1opkdiUI3dYYv2QDj8EYrLXLO4c2J6 WvW0g8JlFUOzvX7eubVz2RKrQYtcUjBITjkYkYoPy2YsSByg9CnoCxz8wMiDQ+uupWrEO5aK b+k7IOVrarmYMIIGlzCCBH+gAwIBAgIQQAFwOzq6gYzJPK6eDrjUEjANBgkqhkiG9w0BAQsF ADBKMQswCQYDVQQGEwJVUzESMBAGA1UEChMJSWRlblRydXN0MScwJQYDVQQDEx5JZGVuVHJ1 c3QgQ29tbWVyY2lhbCBSb290IENBIDEwHhcNMjAwMjEyMjEwNzQ5WhcNMzAwMjEyMjEwNzQ5 WjA6MQswCQYDVQQGEwJVUzESMBAGA1UEChMJSWRlblRydXN0MRcwFQYDVQQDEw5UcnVzdElE IENBIEExMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALurFDtNUgw/fTzPkHWZ DcSsSTbdDYEBPmbeosWjT9CSko03fkhuS8KsQVo5zoCP93ZcILUjXje+wIErPqwOGyuBie+X FGWQDVF0SsP3rfKX/UJ+oqoAetznR8QTf9eSmzNx0fj8oh10KFFSHrwilvJ55Vp52Wm09RXo zoUUSlVIORwAhjk35wjjja5cZYPptVY4J6NbjajbizP45A9c+qYTWfxvSH2RiNKaR1+QAP21 YlnHl9uPFZnnzYUkdeAA2SbZQAFjotrp9N26qwTxwPZw8l8SPK4Fi31D+aw8vI8doRCLYPef jkRecH5BlKu/OxwY7KRPOgnGnbi5GvwZNlcCAwEAAaOCAocwggKDMBIGA1UdEwEB/wQIMAYB Af8CAQAwDgYDVR0PAQH/BAQDAgGGMIGJBggrBgEFBQcBAQR9MHswMAYIKwYBBQUHMAGGJGh0 dHA6Ly9jb21tZXJjaWFsLm9jc3AuaWRlbnRydXN0LmNvbTBHBggrBgEFBQcwAoY7aHR0cDov L3ZhbGlkYXRpb24uaWRlbnRydXN0LmNvbS9yb290cy9jb21tZXJjaWFscm9vdGNhMS5wN2Mw HwYDVR0jBBgwFoAU7UQZwNPwBovupHu+QucmVMiONnYwggEkBgNVHSAEggEbMIIBFzCCARMG BFUdIAAwggEJMEoGCCsGAQUFBwIBFj5odHRwczovL3NlY3VyZS5pZGVudHJ1c3QuY29tL2Nl cnRpZmljYXRlcy9wb2xpY3kvdHMvaW5kZXguaHRtbDCBugYIKwYBBQUHAgIwga0MgapUaGlz IFRydXN0SUQgQ2VydGlmaWNhdGUgaGFzIGJlZW4gaXNzdWVkIGluIGFjY29yZGFuY2Ugd2l0 aCBJZGVuVHJ1c3QncyBUcnVzdElEIENlcnRpZmljYXRlIFBvbGljeSBmb3VuZCBhdCBodHRw czovL3NlY3VyZS5pZGVudHJ1c3QuY29tL2NlcnRpZmljYXRlcy9wb2xpY3kvdHMvaW5kZXgu aHRtbDBKBgNVHR8EQzBBMD+gPaA7hjlodHRwOi8vdmFsaWRhdGlvbi5pZGVudHJ1c3QuY29t L2NybC9jb21tZXJjaWFscm9vdGNhMS5jcmwwHQYDVR0OBBYEFC233htZfiqYLs3h1BvjxRAS XukUMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDANBgkqhkiG9w0BAQsFAAOCAgEA f+wSnMoC1+jZeGtN3Ax7e0y3T8Qsxbwxdm5FWAhU0V+O1H3qJhdYATxQ3ntx/yD5S0Zrkz6D bdKo3aX0M5g1jfeY1Fy3Sz0U6DccmqAebNIToXFeh9PLtxRwAgYn+eYtA0w81Umgb9AGfYdV 3rhseBYodVZt18c9uBgaqlbnbz0S8jCe7uobwakyCied7grN3ckC2U/Q156fpCb/Mu2UgGPk FayP3crE/Gr7Z/He5O2szQZH520avtHvPEKAZ3pervn6cG3eTS0R8sF3h/qYW81Cwmvmyz0T KiWltpW4b0lqzB0Q8t/3fB74JywgRStrOEqZ7OGAjeMVXG6pRls4KJRwilB9/b6XLA6NcpmR ayfEEeooSJ/BZieaCsAJ53fxugA1xQvW7nW/fud9qYUgFzma63nCEJ/r7T9+ujwvmgpQD7CC AyQ7KLUuc+F9iVBbDSLhIFxqoYihO0rmW6xRvbHXC6a0pSTe07EQ3NFtm/Z6sA/q4/+TDdAv nisIWvvMnb9Pqs08sTz/dCkYGnoBqMAuHVLGck5Np+GdzLgB1+ZwGS/1Yf0sg4/2o6K1eOMq mQc0NwoSoV231EsHtsTJsoANmeQ0cDESZ6fwbHIs2HTZNllyTE5x/sFSzfLCxMBLUEeHky6B ZkL6ytgDAUvZFubAZDMyDbf2W23GdxfngDAxggMUMIIDEAIBATBOMDoxCzAJBgNVBAYTAlVT MRIwEAYDVQQKEwlJZGVuVHJ1c3QxFzAVBgNVBAMTDlRydXN0SUQgQ0EgQTEzAhBAAYbcr4/U p3TgWUPRaYfVMA0GCWCGSAFlAwQCAQUAoIIBlzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcB MBwGCSqGSIb3DQEJBTEPFw0yNDAyMDYxMTAzMTJaMC8GCSqGSIb3DQEJBDEiBCA3YZuzHolg ao+XnQe0dsEOgA2Qq8rLwfHcKLsAYcwSBTBdBgkrBgEEAYI3EAQxUDBOMDoxCzAJBgNVBAYT AlVTMRIwEAYDVQQKEwlJZGVuVHJ1c3QxFzAVBgNVBAMTDlRydXN0SUQgQ0EgQTEzAhBAAYbc r4/Up3TgWUPRaYfVMF8GCyqGSIb3DQEJEAILMVCgTjA6MQswCQYDVQQGEwJVUzESMBAGA1UE ChMJSWRlblRydXN0MRcwFQYDVQQDEw5UcnVzdElEIENBIEExMwIQQAGG3K+P1Kd04FlD0WmH 1TBsBgkqhkiG9w0BCQ8xXzBdMAsGCWCGSAFlAwQBKjALBglghkgBZQMEAQIwCgYIKoZIhvcN AwcwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMC AgEoMA0GCSqGSIb3DQEBAQUABIIBAGjBQIo2SalDksNPj+snHBAjfXHBfiAvIxX8CyFtG3Fb ksH/SG6WMqV9X7H6o+e/F/J6jUvTjcd776V5hw00/vvI+1pS9hI1Mp5za2kgTR1LaJ8mPoD3 s4V7jRiW3GLQVDgg8sD7kqGPi3qUi52CtQkoQUrTLgjybAzY2nGJNcJQCuANrFL0AbpPaPHj KINvk2e8SNcOLpMlHQKr1qrYnWmPB5UL7wcXsLmgSZV/BPSBMGWzST/+wll7ILEHe8GhltcM IbPVY8rLErcrJzrneFpG8quVDeXvOfSFJvj7OiVrfuLbmb8YW7z/+D0uX6EbZrz2+iFN/uXx dnoLs9+5cAUAAAAAAAA= --------------ms040709050300050406020206-- From nobody Tue Feb 6 14:28:50 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TTlxC55sBz59LtM for ; Tue, 6 Feb 2024 14:29:03 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 4TTlxB46CTz4b0X for ; Tue, 6 Feb 2024 14:29:02 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=ilk.org; spf=pass (mx1.freebsd.org: domain of freebsd-questions-local@be-well.ilk.org designates 23.30.133.173 as permitted sender) smtp.mailfrom=freebsd-questions-local@be-well.ilk.org Received: from lowell-Ubuntu.lan (lowell-Ubuntu.lan [172.30.250.95]) by be-well.ilk.org (Postfix) with ESMTP id 46E9C35B2B; Tue, 6 Feb 2024 09:28:51 -0500 (EST) Received: by lowell-Ubuntu.lan (Postfix, from userid 1147) id 0394D1080429; Tue, 6 Feb 2024 09:28:50 -0500 (EST) From: Lowell Gilbert To: Gary Aitken Cc: FreeBSD Mailing List Subject: Re: newaliases changed? In-Reply-To: (Gary Aitken's message of "Mon, 5 Feb 2024 16:45:20 -0700") References: <32601639-0a4e-4bb0-b87d-9bcbae1c7945@dreamchaser.org> Reply-To: FreeBSD Mailing List Date: Tue, 06 Feb 2024 09:28:50 -0500 Message-ID: <44fry5sm3h.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.70 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[ilk.org,none]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:7922, ipnet:23.30.0.0/15, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; TO_DN_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org] X-Rspamd-Queue-Id: 4TTlxB46CTz4b0X Gary Aitken writes: > On 2/5/24 16:23, Peter wrote: >> Hello! >> On Mon, Feb 05, 2024 at 04:15:02PM -0700, Gary Aitken wrote: >>> Recently upgraded from 12.4 to 13.2 >>> When I run newaliases, I get a bunch of complaints for things that >>> used to work fine: >>> /etc/mail/aliases: line 88: goodfriends: ... missing value for alias >>> /etc/mail/aliases: line 89: Non-continuation line starts with space >>> >>> The entries in question look like this: >>> >>> #friends: (bad addrs) >>> # foo@bentley.unco.edu, # bentley.unco.edu: host not found >>> # baz@kcs.keene.k12.ny.us >>> >>> goodfriends: >>> foo1@blackfoot.net, \ >>> foo2@comcast.net, \ >>> foo3@aol.com, \ >>> foo4@fatquailfarm.com, \ >>> foo5@sbcglobal.net, \ >>> foo6@blackfoot.net, \ >>> foo7@tnc.org, \ >>> foo8@aol.com, \ >>> foo9@hotmail.com, \ >>> foo10@blackfoot.net >>> >>> This is a cut and paste, obviously; the whitespace is all blanks. >>> huh? >>> Thanks for any tips. > >> I don't know the proper syntax, but based on the errors >> I think that a " \" after "goodfriends:" could work. > > My fault, I was trying things out and put it back without the '\' > Adding one doesn't help. Well, it was certainly necessary, so you're ahead of where you were. Make sure there's no whitespace after the backslashes, although I suspect that would give you a different error. Check whether you are using the correct newaliases program. Some mail software (e.g., postfix) will install their own. ["which -a newaliases"] Good luck. From nobody Tue Feb 6 18:18:01 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TTs1g0S3qz59jhP for ; Tue, 6 Feb 2024 18:18:15 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (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 4TTs1f3Bv4z47HP for ; Tue, 6 Feb 2024 18:18:14 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1707243477; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UdiVllWgQd4Uz3vffZg9z3Cy6yqJmDFdi/YmqjJ1WFk=; b=YqVUUr2DWFZelea0PbhuT0iWRBncF7MUjlWtKYkiX3yFQqGvqAfwB3bg7iIv4yXw8ET69x og3pEsRy/ANGB5eG5LzySD61otNJNc9hSoY+/m7qYezbU96E0ttlxxaCgX/bq2Fkj+rdns 2fKB4pvObxWABnG/wZ8ScXVPwhLsm7k= Received: from topanga ( [47.150.83.63]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 383bb31e (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 6 Feb 2024 18:17:56 +0000 (UTC) Date: Tue, 6 Feb 2024 10:18:01 -0800 From: Pete Wright To: john Cc: freebsd-questions@freebsd.org Subject: Re: CA Authorities problem with Firefox and Thunderbird Message-ID: References: <9dfe7129-b0f8-4c45-8650-58a81ecd357d@johnrshannon.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9dfe7129-b0f8-4c45-8650-58a81ecd357d@johnrshannon.com> X-Rspamd-Queue-Id: 4TTs1f3Bv4z47HP X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US] On Tue, Feb 06, 2024 at 04:03:12AM -0700, john wrote: > After my last pkg upgrade Firefox and Thunderbird both show no Authorities > under Certificate Manager in settings. Missing are all the certificates > listed by certctl along with DoD CAs added through Firefox import and site > CA added through Thunderbird import. i just checked the same version of thunderbird on my end and see all of the expected certs. i wonder if you create a new profile in firefox or tbird if you would see all of the certs? -pete From nobody Tue Feb 6 19:38:48 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TTtpm4VtQz59qbM for ; Tue, 6 Feb 2024 19:38:56 +0000 (UTC) (envelope-from john@johnrshannon.com) Received: from mailb.johnrshannon.com (mailb.johnrshannon.com [104.153.32.125]) (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 4TTtpl5cbFz4Jph for ; Tue, 6 Feb 2024 19:38:55 +0000 (UTC) (envelope-from john@johnrshannon.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=johnrshannon.com header.s=dkim header.b=wi23eJZm; dmarc=pass (policy=reject) header.from=johnrshannon.com; spf=pass (mx1.freebsd.org: domain of john@johnrshannon.com designates 104.153.32.125 as permitted sender) smtp.mailfrom=john@johnrshannon.com Received: from [10.168.1.38] (thin1.office.johnrshannon.com [10.168.1.38]) by mailb.johnrshannon.com (Postfix) with ESMTP id 1D0A9544 for ; Tue, 6 Feb 2024 12:38:49 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnrshannon.com; s=dkim; t=1707248329; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YW+ledSx04VY+smLXUEobDICpupLKt3XFb1Tfs7YpiQ=; b=wi23eJZmpONtCIC+v2DeDScRh04JzRrtNpfy1rr2R10PB3b1coE1J4wi8R6baA9rPb2PYc E622T/2WzO8lN9ZyYw1Kl24Rh6ZSuo/z8AR9nC9ETPZ4y5qwNtRPu/lg7g9pUxuHPxE6WP X3TtIgcPuk6O9tj9Vx3Lj58M/kgE9xsVpc1ixmTD/hgaThmLkmorGqMLs1HXMLIOWIYNUs /OkqhFGqWG4kxlmOO4ZBpI8Z7zzOa5J03sK502kg39PTEWSon/x2QPbYvu3Uo2KfyG3Pew BOsO3i9vgrpU/2FHjqSdY6Mq0VfrvVT59BspA2npLEcMkheyuR+eckTUZklECw== Message-ID: Date: Tue, 6 Feb 2024 12:38:48 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: CA Authorities problem with Firefox and Thunderbird Content-Language: en-US From: John Shannon To: freebsd-questions@freebsd.org References: <9dfe7129-b0f8-4c45-8650-58a81ecd357d@johnrshannon.com> In-Reply-To: <9dfe7129-b0f8-4c45-8650-58a81ecd357d@johnrshannon.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[johnrshannon.com,reject]; R_DKIM_ALLOW(-0.20)[johnrshannon.com:s=dkim]; R_SPF_ALLOW(-0.20)[+mx:c]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:32444, ipnet:104.153.32.0/24, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[johnrshannon.com:+] X-Rspamd-Queue-Id: 4TTtpl5cbFz4Jph When starting Firefox from the command line and trying to import a certificate I get: > JavaScript error: chrome://pippki/content/certManager.js, line 744: > TypeError: certdb is undefined in the messages to standard out/error. Not sure what to do about that. On 2/6/24 04:03, john wrote: > After my last pkg upgrade Firefox and Thunderbird both show no > Authorities under Certificate Manager in settings. Missing are all the > certificates listed by certctl along with DoD CAs added through > Firefox import and site CA added through Thunderbird import. > > Command line use of: > > % openssl s_client -connect google.com:443 -CAfile > /usr/local/etc/ssl/cert.pem > > works as does other software using TLS. > > Pkg versions: > > firefox-122.0_3,2 > thunderbird-115.7.0_1 > nss-3.97 > sqlite3-3.45.0_1,1 > ca_root_nss-3.93_2 > > $ freebsd-version > 14.0-RELEASE-p4 > > -- John R. Shannon john@johnrshannon.com From nobody Tue Feb 6 19:47:34 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TTv163jf6z59rJg for ; Tue, 6 Feb 2024 19:47:54 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TTv146t9cz4LTW for ; Tue, 6 Feb 2024 19:47:52 +0000 (UTC) (envelope-from freebsd@edvax.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=edvax.de header.s=s1-ionos header.b=b9vpHxb7; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@edvax.de designates 212.227.126.131 as permitted sender) smtp.mailfrom=freebsd@edvax.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=edvax.de; s=s1-ionos; t=1707248866; x=1707853666; i=freebsd@edvax.de; bh=b1l30wujNbkRGjJHN35mht65PZn9rFaX3oYU9KawGdw=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References: Reply-To; b=b9vpHxb7lp8EqtayESaVTcJa8bY8PgrRfcRgiRSxlEpl4cPcpkeENLlFnHNmV7VD IynD6onHNAu1l5NNV1BwfJV8/oiX63zsBpUlY5sLVb4xhemGNVGYFHbahqVLPTezO mtxgkN0NJMIeTaLy2DE9F8R59TNAZk6UBJ4TaI8ns4MZboYKJcUBg92VYYF9ywXLY YDU51ECThkrvUF+MlQ2DEM8y6rsM8poNup38PXSS0P8LvHvPqRhStWfT5IdMc5mBD BAm8Db42pBmk3A0KYUjKX/ILcCyrk9MhT/DxlUGDMlOCKvuTfZ0xmQKXK1/hHo7d/ zEqOjxjqO52zPO8N3A== X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from terra.edvax.de ([94.222.203.103]) by mrelayeu.kundenserver.de (mreue012 [213.165.67.97]) with ESMTPSA (Nemesis) id 1N0qmr-1qmMc83agn-00wmC9; Tue, 06 Feb 2024 20:47:45 +0100 Received: from r56.edvax.de (r56 [10.200.1.11]) (authenticated bits=0) by terra.edvax.de (8.17.1/8.17.1) with ESMTPA id 416Jldbg075363; Tue, 6 Feb 2024 20:47:40 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 6 Feb 2024 20:47:34 +0100 From: Polytropon To: Doug McIntyre Cc: FreeBSD Questions , Rocky Hotas Subject: Re: acpi0 device Message-Id: <20240206204734.2c337dfb.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:m6dcQfDL/HO5wuad4tTLtgMy7Bz98mrvGeKA9qmDDDeadt92ecu suxR8e55GvXJ0aO+poDh1COqUWnoQKFAm5yGEGn+tHaBGuOMVvjiaHujsju1RsAIrnCnjOW 3h7GY50WJ1thRLge9k/PLTlP2Li9aAZk5wnyeVZFXqQ/Wln4CdBE7ccyFm9bIsJm7WiCFLU UIkw5fIGH/bJA+ycAYtsg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:q1ln8BxtC0w=;YYokNJppMS2RQkiO338c7FyMC5u ViFbYo/XeBypGhhlkw0T0UdYLkRGQgRmgHf3I23R+QSyndJdhZ1UWmeUZjV23mWelklFo9K6m Jn0RZB9i9/yEaAwK/OxR6oy54D25+89qaZmo848YcyPzYhDjZScWDJ5W36vJk9Ml4EX2wABDM SI1wj65VE7YOFcNP7+opvWhD2vPlI2+lXiVf76Y/xd5zJ2PK4LxpcV/72HrIE1mRXNt1KD+Vq KyEAy58/YmtbacY3u45SRJF7Nc+Y7bqz+qqfN6KIS6cIDV3UXVBChjVwtm01tPqkUja18syOt zeuLWTE4CBHAkVxazWd32TRO4Gppd5PgC8nuSeUZKEA6exvJGvSzA3vwCWPEl500tQeXcuyak haSEAG5JTDbB21nzrE8YICti3DHv9KmtsG8t3lyWw3oEQ4s7qo8TbhxmszY06kOhpacKy6sUU KJFeUIIpZ87YgIpm+S1aj+ZBpaGRsu6at1MhR8AUEQcMIJh+IklfdSayStgJojpy5hf0H2nwE hYbwO4CP21OOR1dZyHuunL3LjyEOcR1/N7aH+240C0NUIRXBwe7WfbHoWrduWpor7I5SRLA53 5V0V8bJz2L22QbXw2O8/DtULQ90EmX0NX2Jpa58Y/Sd7f7zj7F6NP24NSwztLKk/b+H6jMeK1 GYn/wi4QN/Fr11ysb6QVKLdPOQovg30JBgw2jez9k/4ruWr7GBCCQWf+rs0ewJgnSn7Lfg6xU TtY0ZdyBieMcBIFnZ0ZDiKWXveZ2Ms6+7ggdzCUzdRPaahxmDg98oo= X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.20 / 15.00]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[edvax.de:s=s1-ionos]; R_SPF_ALLOW(-0.20)[+ip4:212.227.126.128/25]; RWL_MAILSPIKE_VERYGOOD(-0.20)[212.227.126.131:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.131:from]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; HAS_ORG_HEADER(0.00)[]; FREEMAIL_CC(0.00)[freebsd.org,post.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[edvax.de:+]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; REPLYTO_EQ_FROM(0.00)[] X-Rspamd-Queue-Id: 4TTv146t9cz4LTW On Mon, 5 Feb 2024 13:03:33 -0600, Doug McIntyre wrote: > On Mon, Feb 05, 2024 at 01:27:30PM +0100, Rocky Hotas wrote: > > But what does it exactly represent? Is it just a logical starting poin= t > > for the device tree, or is there some physical device behind it? > > Its the abstracted version of the X86/X64 hardware/BIOS on all modern ha= rdware for the OS layer. > > Starting with the Wikipedia page would be a good intro. > https://en.wikipedia.org/wiki/ACPI Also don't underestimate the power of the locally installed documentation: $ man 4 acpi You get a good overview of the general function of the device and the associated sysctls, as well as configuration options for the loader. =2D- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From nobody Tue Feb 6 19:58:18 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TTvFG59Hkz59s7d for ; Tue, 6 Feb 2024 19:58:26 +0000 (UTC) (envelope-from john@johnrshannon.com) Received: from maila.johnrshannon.com (maila.johnrshannon.com [104.153.32.124]) (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 4TTvFF6RL6z4MXr for ; Tue, 6 Feb 2024 19:58:25 +0000 (UTC) (envelope-from john@johnrshannon.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=johnrshannon.com header.s=dkim header.b=vUjNHew+; dmarc=pass (policy=reject) header.from=johnrshannon.com; spf=pass (mx1.freebsd.org: domain of john@johnrshannon.com designates 104.153.32.124 as permitted sender) smtp.mailfrom=john@johnrshannon.com Received: from [10.168.1.38] (thin1.office.johnrshannon.com [10.168.1.38]) by maila.johnrshannon.com (Postfix) with ESMTP id BC4AB9FA for ; Tue, 6 Feb 2024 12:58:18 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnrshannon.com; s=dkim; t=1707249498; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3w0zYHRBmR6b1rtODN5fGNb7VWN95rIlRvlBLVtPGnI=; b=vUjNHew+cS4mHNAEJTyetqmf/j4wvdjrMhBENGZw8kcs4ZHMAuAqWDoaXsQlF0NqXcDMXZ 3N9OrbPscQ5TbZHpf42dJwnxoXmLJ8f1ub1+wiXEka9zo2XmaBrIXp8dvLDNeP1OwB2kDq urnDBAgas9yDnhWGMV5cfeUKUWujoy37xIaB1yKWkHjEkQZdysn4d7j3/AvrtAy7tB8lJ1 xzigVJt8ga16rgHwDU7pyacpagAlW2L5K7EAPI/ZNLW57wIvMf5M4QPm8Rx/xzM5YqRVo/ 9mLR1Mf986fCqJfGjRn15O52RPjRPnu6ctAGcK5icNiOG0JOfnYTycuBo/JUbA== Message-ID: Date: Tue, 6 Feb 2024 12:58:18 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: CA Authorities problem with Firefox and Thunderbird Content-Language: en-US From: John Shannon To: freebsd-questions@freebsd.org References: <9dfe7129-b0f8-4c45-8650-58a81ecd357d@johnrshannon.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; DMARC_POLICY_ALLOW(-0.50)[johnrshannon.com,reject]; R_DKIM_ALLOW(-0.20)[johnrshannon.com:s=dkim]; R_SPF_ALLOW(-0.20)[+mx:c]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:32444, ipnet:104.153.32.0/24, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[johnrshannon.com:+] X-Rspamd-Queue-Id: 4TTvFF6RL6z4MXr More was written to standard error: > JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, line > 98: TypeError: Services.policies.getActivePolicies().filter is not a > function > JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, line > 98: TypeError: Services.policies.getActivePolicies().filter is not a > function > JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: > Error: Can't find profile directory. > JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: > Error: Can't find profile directory. > JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, line > 98: TypeError: Services.policies.getActivePolicies().filter is not a > function > JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, line > 98: TypeError: Services.policies.getActivePolicies().filter is not a > function > JavaScript error: resource://gre/modules/crypto-SDR.sys.mjs, line 49: > NS_ERROR_XPC_GS_RETURNED_FAILURE: ServiceManager::GetService returned > failure code: > JavaScript error: resource://gre/modules/storage-json.sys.mjs, line > 107: Error: Initialization failed > JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, line > 98: TypeError: Services.policies.getActivePolicies().filter is not a > function > JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, line > 98: TypeError: Services.policies.getActivePolicies().filter is not a > function > JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, line > 98: TypeError: Services.policies.getActivePolicies().filter is not a > function > JavaScript error: resource://gre/modules/LoginHelper.sys.mjs, line > 1578: NS_ERROR_XPC_GS_RETURNED_FAILURE: ServiceManager::GetService > returned failure code: > JavaScript error: chrome://pippki/content/certManager.js, line 297: > NS_ERROR_XPC_GS_RETURNED_FAILURE: ServiceManager::GetService returned > failure code: > JavaScript error: chrome://pippki/content/certManager.js, line 744: > TypeError: certdb is undefined On 2/6/24 12:38, John Shannon wrote: > When starting Firefox from the command line and trying to import a > certificate I get: > >> JavaScript error: chrome://pippki/content/certManager.js, line 744: >> TypeError: certdb is undefined > > in the messages to standard out/error. Not sure what to do about that. > > On 2/6/24 04:03, john wrote: >> After my last pkg upgrade Firefox and Thunderbird both show no >> Authorities under Certificate Manager in settings. Missing are all >> the certificates listed by certctl along with DoD CAs added through >> Firefox import and site CA added through Thunderbird import. >> >> Command line use of: >> >> % openssl s_client -connect google.com:443 -CAfile >> /usr/local/etc/ssl/cert.pem >> >> works as does other software using TLS. >> >> Pkg versions: >> >> firefox-122.0_3,2 >> thunderbird-115.7.0_1 >> nss-3.97 >> sqlite3-3.45.0_1,1 >> ca_root_nss-3.93_2 >> >> $ freebsd-version >> 14.0-RELEASE-p4 >> >> -- John R. Shannon john@johnrshannon.com From nobody Tue Feb 6 21:26:22 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TTxBs2n57z5B0Zn for ; Tue, 6 Feb 2024 21:26:29 +0000 (UTC) (envelope-from john@johnrshannon.com) Received: from mailb.johnrshannon.com (mailb.johnrshannon.com [104.153.32.125]) (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 4TTxBr1N1xz4bpK for ; Tue, 6 Feb 2024 21:26:28 +0000 (UTC) (envelope-from john@johnrshannon.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=johnrshannon.com header.s=dkim header.b=lqY8kbPu; dmarc=pass (policy=reject) header.from=johnrshannon.com; spf=pass (mx1.freebsd.org: domain of john@johnrshannon.com designates 104.153.32.125 as permitted sender) smtp.mailfrom=john@johnrshannon.com Received: from [10.168.1.38] (thin1.office.johnrshannon.com [10.168.1.38]) by mailb.johnrshannon.com (Postfix) with ESMTP id 47B508B7 for ; Tue, 6 Feb 2024 14:26:22 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnrshannon.com; s=dkim; t=1707254782; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jeESnxc70nAlcrxQW4DyP4oK5DERyX/4Y/BIWkFM4Es=; b=lqY8kbPug0SXOGL6JEK1hLBcs7xtmUNTVqyzpGy9y/v1SRlIA50epc+d9LYMDM/oitWtG9 Kt/bzdkKFnIC7UwjCE6z3DCWYIpUtBYRl6801mdChSPaeZIm1qVa+nkNWfAfaFIgtJO610 VMxQkg9pLryji+LYhOxSt4rceFRGeq6r3UXW5kyQ2MhjOmVXMMFmlKxQJGo244TrnEqeB6 4WZ1z6rbkBPO58Z6GEZLDGYev2VSiybRlk2qMey25cbHTi5ng2FJkJULOBn6udUOanLXQt dLLWwl62KVhR3jCHtnwYy/QjlB4+k1ptIAlAql5q3Wlr53HFbhYmZG7aYgMqlA== Message-ID: <3ea996af-fe6d-4b0b-b64e-b1abd1179d69@johnrshannon.com> Date: Tue, 6 Feb 2024 14:26:22 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: CA Authorities problem with Firefox and Thunderbird From: John Shannon To: freebsd-questions@freebsd.org References: <9dfe7129-b0f8-4c45-8650-58a81ecd357d@johnrshannon.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[johnrshannon.com,reject]; R_DKIM_ALLOW(-0.20)[johnrshannon.com:s=dkim]; R_SPF_ALLOW(-0.20)[+mx:c]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:32444, ipnet:104.153.32.0/24, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[johnrshannon.com:+] X-Rspamd-Queue-Id: 4TTxBr1N1xz4bpK I just install chromium and get a similar error on starting it: > $ chrome > [64147:-1207885824:0206/141530.076312:ERROR:nss_util.cc(239)] Error > initializing NSS with a persistent database > (sql:/home/john/.pki/nssdb): NSS error code: -8023 > [64147:-1207885824:0206/141530.076365:ERROR:nss_util.cc(124)] Error > initializing NSS without a persistent database: NSS error code: -8023 > [64147:-1207885824:0206/141530.076370:FATAL:nss_util.cc(126)] > nss_error=-8023, os_error=0 I found that I also get the same error in libreoffice. All the problem programs depend on nspr and nss. On 2/6/24 12:58, John Shannon wrote: > More was written to standard error: > > >> JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, line >> 98: TypeError: Services.policies.getActivePolicies().filter is not a >> function >> JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, line >> 98: TypeError: Services.policies.getActivePolicies().filter is not a >> function >> JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: >> Error: Can't find profile directory. >> JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: >> Error: Can't find profile directory. >> JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, line >> 98: TypeError: Services.policies.getActivePolicies().filter is not a >> function >> JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, line >> 98: TypeError: Services.policies.getActivePolicies().filter is not a >> function >> JavaScript error: resource://gre/modules/crypto-SDR.sys.mjs, line 49: >> NS_ERROR_XPC_GS_RETURNED_FAILURE: ServiceManager::GetService returned >> failure code: >> JavaScript error: resource://gre/modules/storage-json.sys.mjs, line >> 107: Error: Initialization failed >> JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, line >> 98: TypeError: Services.policies.getActivePolicies().filter is not a >> function >> JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, line >> 98: TypeError: Services.policies.getActivePolicies().filter is not a >> function >> JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, line >> 98: TypeError: Services.policies.getActivePolicies().filter is not a >> function >> JavaScript error: resource://gre/modules/LoginHelper.sys.mjs, line >> 1578: NS_ERROR_XPC_GS_RETURNED_FAILURE: ServiceManager::GetService >> returned failure code: >> JavaScript error: chrome://pippki/content/certManager.js, line 297: >> NS_ERROR_XPC_GS_RETURNED_FAILURE: ServiceManager::GetService returned >> failure code: >> JavaScript error: chrome://pippki/content/certManager.js, line 744: >> TypeError: certdb is undefined > > > On 2/6/24 12:38, John Shannon wrote: >> When starting Firefox from the command line and trying to import a >> certificate I get: >> >>> JavaScript error: chrome://pippki/content/certManager.js, line 744: >>> TypeError: certdb is undefined >> >> in the messages to standard out/error. Not sure what to do about that. >> >> On 2/6/24 04:03, john wrote: >>> After my last pkg upgrade Firefox and Thunderbird both show no >>> Authorities under Certificate Manager in settings. Missing are all >>> the certificates listed by certctl along with DoD CAs added through >>> Firefox import and site CA added through Thunderbird import. >>> >>> Command line use of: >>> >>> % openssl s_client -connect google.com:443 -CAfile >>> /usr/local/etc/ssl/cert.pem >>> >>> works as does other software using TLS. >>> >>> Pkg versions: >>> >>> firefox-122.0_3,2 >>> thunderbird-115.7.0_1 >>> nss-3.97 >>> sqlite3-3.45.0_1,1 >>> ca_root_nss-3.93_2 >>> >>> $ freebsd-version >>> 14.0-RELEASE-p4 >>> >>> -- John R. Shannon john@johnrshannon.com From nobody Wed Feb 7 03:21:00 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TV54F74qlz58b7v for ; Wed, 7 Feb 2024 03:21:17 +0000 (UTC) (envelope-from jfadams1963@proton.me) Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch [185.70.43.22]) (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 "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TV54C65rsz4Kjx for ; Wed, 7 Feb 2024 03:21:15 +0000 (UTC) (envelope-from jfadams1963@proton.me) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=proton.me header.s=protonmail header.b=ndOS3wPG; dmarc=pass (policy=quarantine) header.from=proton.me; spf=pass (mx1.freebsd.org: domain of jfadams1963@proton.me designates 185.70.43.22 as permitted sender) smtp.mailfrom=jfadams1963@proton.me DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1707276072; x=1707535272; bh=jQ0YBXtmrMGn0EUTWIFbySpJtbeYjL2jguOztnTFPaI=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=ndOS3wPGjposesejCDteULe40RlSaNaFbGUyKOU3j+gLAejFBIfROquZkHpNBnQF4 FVYCf38ZTz5qHw7Sbt3GtVFlYib4ocQrn+ZUl62O5nUmViw48gdCuwhxtDp6N7BgLX I/KewDPSngdoPiYAp9n60XNOSvPoD3+d45UTZY6ZZUv1rXSoAwMHy76WzYrpazg4uO PZji4+7g2XTrn086fbu5ue6kpLVyGyT/hiHSd21YErAXEyxEDbCF3GykL+N/2wmRCC sgqILWW4Pm8mlJWO84QC7GpjVIbD7YHtPJ11lS4u0vQopw+tI2zj5HrcoMHVRpwcuT nUqXp9WzhB3IQ== Date: Wed, 07 Feb 2024 03:21:00 +0000 To: freebsd-questions@freebsd.org From: Jonathan Adams Subject: Need help with a makefile Message-ID: Feedback-ID: 80741059:user:proton List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------ddc9ae43d3b402d64dc8c11a57357ef91cec221434904d6accd055036060e913"; charset=utf-8 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.50 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[proton.me,quarantine]; RWL_MAILSPIKE_EXCELLENT(-0.40)[185.70.43.22:from]; R_DKIM_ALLOW(-0.20)[proton.me:s=protonmail]; R_SPF_ALLOW(-0.20)[+ip4:185.70.43.0/24]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:62371, ipnet:185.70.43.0/24, country:CH]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; MISSING_XM_UA(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; DKIM_TRACE(0.00)[proton.me:+]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[] X-Rspamd-Queue-Id: 4TV54C65rsz4Kjx This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------ddc9ae43d3b402d64dc8c11a57357ef91cec221434904d6accd055036060e913 Content-Type: multipart/mixed;boundary=---------------------3d34fa24a71fb91606c6424199280f3f -----------------------3d34fa24a71fb91606c6424199280f3f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 Hi all, I'm having a heck of a time getting my makefile conditional statements t= o not cause `make` to have fits. Could sure use some help on this. This is= a makefile that works great _without_ the conditions, and my program comp= iles and runs on FBSD and Linux. I've just added a function who's header file is in a different location = on Linux, so I'm needing detect the OS and set the correct preprocessor di= rectives. I get the same errors without the line continuation backslashes.= (More errors actually; one for lines 7, 9, 10, and 11 each) I'm using tab= s for indent, and have checked for extraneous/misplaced spaces too. Here is the start of the makefile including the troublesome bits: 1 =E2=94=82 CC =3D cc 2 =E2=94=82 CFLAGS =3D -g -w -Wall -Wextra 3 =E2=94=82 LDFLAGS =3D -Wl,--allow-multiple-definition -lssl -lcrypt= o = 4 =E2=94=82 RM =3D rm -f 5 =E2=94=82 UNAME :=3D $(shell uname) 6 =E2=94=82 = 7 =E2=94=82 ifeq ($(UNAME),FreeBSD) \ 8 =E2=94=82 CFLAGS +=3D -D BSD \ 9 =E2=94=82 else ifeq ($(UNAME),Linux) \ 10 =E2=94=82 CFLAGS +=3D -D LINUX \ 11 =E2=94=82 endif And here are the errors from `make`: ~/portable/src$ make make: "/home/jfa/portable/src/makefile" line 7: Invalid line type make: Fatal errors encountered -- cannot continue make: stopped in /home/jfa/portable/src I'm working on 14.0-RELEASE-p4. I've found plenty of advice on Stackover= flow, but nothing that solves the issue. Duckduckgo-ing produces more of t= he same, so I thought I'd reach out here. Thanks! -=C2=A0Jonathan ____________________________________________ "Before Turing, things were done to numbers. After Turing, numbers began doing things" - George Dyson -----------------------3d34fa24a71fb91606c6424199280f3f-- --------ddc9ae43d3b402d64dc8c11a57357ef91cec221434904d6accd055036060e913 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKACcFgmXC9wIJkI6O/sbt8r3IFiEEcBGzOO9wDbcpT/10jo7+xu3y vcgAAB5hAP9+PP4TIvlHO9ZgQSodvSnwJS181T/oUWY4rrWs17WzWwD/en72 lqcdCRlhgv8vv3pcdjdPt8mAaw/sRSTgj7RI1wU= =bmvX -----END PGP SIGNATURE----- --------ddc9ae43d3b402d64dc8c11a57357ef91cec221434904d6accd055036060e913-- From nobody Wed Feb 7 03:38:52 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TV5Sg6XGBz58ckV for ; Wed, 7 Feb 2024 03:38:59 +0000 (UTC) (envelope-from grog@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 4TV5Sg65kKz4MRq; Wed, 7 Feb 2024 03:38:59 +0000 (UTC) (envelope-from grog@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707277139; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Qdb1nNk7Pz2vzIdt61ryoX3su6lpFYubM1iKqb7Hc6E=; b=gjo+v8Pf/iYJgg4LS/SNKyqlyJ45OH0FpuBrtZMTp3DZtfIEBXwtzdBxTuqzPmMfa325zY GrFbwHq7CnQxXml/HEWcuuzZPRf9Umg/qxIKtLB71IUZNf1Hrn/FyeO1kTIaUB11SjugBv GjEevmeDDoo0Y4djbP9lOrEjY0/1roTCCNnNEN3VOMKtrwEpt/Irpj5pSFANbUxSEj0OhK 6uEDwFVFEat0mFIb5E8aV6qw9lEdpwt+F8kCbOvQIPaXRgJFqxcK19R/UMXNOGbW7tfMWV 60jrZl0cFmMT+KZcnZQABQPeG7RrNaKPtDTQhvZqmV440iqEYOspZER84QrfOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707277139; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Qdb1nNk7Pz2vzIdt61ryoX3su6lpFYubM1iKqb7Hc6E=; b=ojS2FQ5m+4lEPcByu+l7qP9yznu0S9XqcO+JoYx4w/vkUwi9AVWF4w0u50s992Z/99SzHn wqNBwMmeNwyzdVAl8C2uhWLQh6rk/WmTk364JH17NOIapAdA1peBBVX5QPMOAsG7iGQlMA 0egxZ/1H9MR8KGkL4rDTyLraW2A6AKmETJogaeETTUrCK8ELu3iuVv4F+UI9OGKYifpT6i lIyEuYLIsOkPiv+MGnSNGlAMeikwMiVKKk0SgY6486N76+vSiqudzFSjU7kM0xTHICandQ p8IBHzr8QVkMBjUzUAK01oPrQK2zFkwtSLzu5sg5R+UVBbzgmh4rSTz233z8aw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707277139; a=rsa-sha256; cv=none; b=ee7h2zThcOQq3Ur+M/ABEo32tOEueS+DWuswGYpRy/2HVd20800lh2hQb4/2xhSCKYbgOB kD72uhvpTWENjCsGlbsnTPWb9vNchu7ZP+DBHMez8M/zy5XpjHyeVua8B2UD+eEILoQWJe 2fb1d/LkbR9j9yEdfR/6ViXGHY8Qu8DScGQUXriBaODW9Y7qsMnaNsyJHJUgBluwak4BZ5 PtnXL0Jm+pnes6D4qxIXJaTAA+ywgK29ewbd7f4yIzlXVbSYoyGJE/lKwUWw7KrF9y5l7q X9kbNWczMBIuJXl2Xh1teWXTEgn7z+OKLyEzXx8XXvxTfZB4TSlkWSg1q+Lv7g== Received: from hydra.lemis.com (121-200-11-253.79c80b.mel.nbn.aussiebb.net [121.200.11.253]) (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) (Authenticated sender: grog/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TV5Sf4Vnlz13Sv; Wed, 7 Feb 2024 03:38:58 +0000 (UTC) (envelope-from grog@freebsd.org) Date: Wed, 7 Feb 2024 14:38:52 +1100 From: Greg 'groggy' Lehey To: Jonathan Adams Cc: freebsd-questions@freebsd.org Subject: Re: Need help with a makefile Message-ID: References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+7lOSGruOYVWiHIK" Content-Disposition: inline In-Reply-To: Organization: The FreeBSD Project Phone: +61-3-5309-0418 Mobile: +61-490-494-038. Use only as instructed. WWW-Home-Page: https://www.FreeBSD X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 --+7lOSGruOYVWiHIK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wednesday, 7 February 2024 at 3:21:00 +0000, Jonathan Adams wrote: > I'm having a heck of a time getting my makefile conditional > statements to not cause `make` to have fits. > > Here is the start of the makefile including the troublesome bits: > ... > > 7 =E2=94=82 ifeq ($(UNAME),FreeBSD) \ > 8 =E2=94=82 CFLAGS +=3D -D BSD \ > 9 =E2=94=82 else ifeq ($(UNAME),Linux) \ > 10 =E2=94=82 CFLAGS +=3D -D LINUX \ > 11 =E2=94=82 endif This looks like GNU make. > And here are the errors from `make`: >> /portable/src$ make And you're feeding it to BSD make. The simple answer: use GNU make. That should be installed on your system, though it's not part of base FreeBSD. It's called gmake. If you don't have it, there's a package. However, I've put this through gmake, and it complains: $ gmake Makefile:7: extraneous text after 'ifeq' directive I don't know GNU make very well, but possibly you can find the reason. Quoting, maybe? Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Sent from my desktop computer. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft mail program reports problems, please read http://lemis.com/broken-MUA.php --+7lOSGruOYVWiHIK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSaG4ICvM64RvkvCawi5vKQUHpCIwUCZcL7RwAKCRAi5vKQUHpC I71MAJoC3vxwUcUZRfsgtSAma1/hdhQ7DACfTczlYLwr/qeadTazHiVeWyAlA1Q= =kK+2 -----END PGP SIGNATURE----- --+7lOSGruOYVWiHIK-- From nobody Wed Feb 7 03:40:17 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TV5Tc3f8jz58cwy for ; Wed, 7 Feb 2024 03:39:48 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TV5Tc1mxnz4NhT for ; Wed, 7 Feb 2024 03:39:48 +0000 (UTC) (envelope-from pprocacci@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2cf4a22e10dso2110791fa.3 for ; Tue, 06 Feb 2024 19:39:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707277187; x=1707881987; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9/gWRPO9o/n8qI+y/Pvf5Vb9HWOREX8kQo4I0HY5cmU=; b=R/4qBVVd+avOiAfh8tf++fkL/T5fO/ftKGQe0gaIlt9sX81ySsPqyR7UdV0oPfEUjL A1aqnLlunJqn3B5SvnQ+FVn0t62jMg2eU1RfVRTI2TwOrlg5vaLWk3gAJVXspTt1oxVt UwhamWnb3A00tDW7n+cSTwVKtgIVQQEu/W2HpMpguirThyhD0IH3BAv6QAuXyf8Xkm2e OeWrktgGuHJSF8w0F3o4qcjmyCyPUgZW2dc5njyQeRPUME/PRqGvegb6mICPhUBWX7gy KT9c9Jodkir0e2t9CJoSvf0xRbBDuT3hYZyQ/TRlwvg5SMjTQNbWFMt+PkN9HvjoDVIe lX/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707277187; x=1707881987; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9/gWRPO9o/n8qI+y/Pvf5Vb9HWOREX8kQo4I0HY5cmU=; b=LsgVem1Zxia5ygYD60UCdSdiaY8uejKLta0EOMrn/OcU3mla5BkUqV1DnH904eNIQX k8F54QvcS8o3CR3W5xM5p0oNYv09if54c99KHjnMzB57yYQ43VNmsd1oqjk7qDl/Nke7 DHuomX3fAuG+eocrm6Lr6GRDF1rVrqoCgb3U255oMy+oDlHg5g7YdPgQieur9e584M73 GIrn8AjWjU4rIQJDfL8dvxILoZo95Ju59XfVp9twwlJh7QOm7ngQgnJUjw7/LsDzH/zG GTHHb7NLU94WIUwTi73kpRsxae1UWXq900CR6+Z5RlgAONf6Eb4AidKTW0OM1N5b92Sq K3vw== X-Gm-Message-State: AOJu0YyD2MlVbVPvdinQ3tW5kpdEWJR8MUUvVvsE4QBX4AQtoiAD0QoE 8G21hBik7wT0B8zLp+p6d6pQhxmpmmQpGNBIZmb6tWlGxz87Resue8PaNI9Rkky+VrJ4PHM2OhD /CiSC70sMsY6Lo3e0tNSv7Rny16rsyGEn7Q== X-Google-Smtp-Source: AGHT+IFmyYW8RAIfArPXsvw7vUmff6hP45oBiCdZYOKeDAl+Bul20XjpyXHQegZUhabqfsE13ot9WliGieDMH0+c9sQ= X-Received: by 2002:a2e:a788:0:b0:2d0:bdfa:fcfc with SMTP id c8-20020a2ea788000000b002d0bdfafcfcmr3708516ljf.8.1707277186340; Tue, 06 Feb 2024 19:39:46 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Paul Procacci Date: Tue, 6 Feb 2024 22:40:17 -0500 Message-ID: Subject: Re: Need help with a makefile To: Jonathan Adams Cc: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000399a8f0610c27209" X-Rspamd-Queue-Id: 4TV5Tc1mxnz4NhT X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] --000000000000399a8f0610c27209 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 6, 2024 at 10:21=E2=80=AFPM Jonathan Adams wrote: > Hi all, > I'm having a heck of a time getting my makefile conditional statements > to not cause `make` to have fits. Could sure use some help on this. This = is > a makefile that works great _without_ the conditions, and my program > compiles and runs on FBSD and Linux. > I've just added a function who's header file is in a different location > on Linux, so I'm needing detect the OS and set the correct preprocessor > directives. I get the same errors without the line continuation > backslashes. (More errors actually; one for lines 7, 9, 10, and 11 each) > I'm using tabs for indent, and have checked for extraneous/misplaced spac= es > too. > > Here is the start of the makefile including the troublesome bits: > > 1 =E2=94=82 CC =3D cc > 2 =E2=94=82 CFLAGS =3D -g -w -Wall -Wextra > 3 =E2=94=82 LDFLAGS =3D -Wl,--allow-multiple-definition -lssl -lcryp= to > > 4 =E2=94=82 RM =3D rm -f > 5 =E2=94=82 UNAME :=3D $(shell uname) > 6 =E2=94=82 > > 7 =E2=94=82 ifeq ($(UNAME),FreeBSD) \ > 8 =E2=94=82 CFLAGS +=3D -D BSD \ > 9 =E2=94=82 else ifeq ($(UNAME),Linux) \ > 10 =E2=94=82 CFLAGS +=3D -D LINUX \ > 11 =E2=94=82 endif > > > And here are the errors from `make`: > ~/portable/src$ make > make: "/home/jfa/portable/src/makefile" line 7: Invalid line type > make: Fatal errors encountered -- cannot continue > make: stopped in /home/jfa/portable/src > > I'm working on 14.0-RELEASE-p4. I've found plenty of advice on > Stackoverflow, but nothing that solves the issue. Duckduckgo-ing produces > more of the same, so I thought I'd reach out here. > > Thanks! > > - Jonathan > ____________________________________________ > "Before Turing, things were done to numbers. > After Turing, numbers began doing things" > - George Dyson ifeq is gmake centric. make(1) will show you all available statements. gmake !=3D make ~Paul --=20 __________________ :(){ :|:& };: --000000000000399a8f0610c27209 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Tue, Feb 6, 2024 at 10:21=E2= =80=AFPM Jonathan Adams <jfadam= s1963@proton.me> wrote:
Hi all,
=C2=A0 I'm having a heck of a time getting my makefile conditional stat= ements to not cause `make` to have fits. Could sure use some help on this. = This is a makefile that works great _without_ the conditions, and my progra= m compiles and runs on FBSD and Linux.
=C2=A0 I've just added a function who's header file is in a differe= nt location on Linux, so I'm needing detect the OS and set the correct = preprocessor directives. I get the same errors without the line continuatio= n backslashes. (More errors actually; one for lines 7, 9, 10, and 11 each) = I'm using tabs for indent, and have checked for extraneous/misplaced sp= aces too.

Here is the start of the makefile including the troublesome bits:

=C2=A0 =C2=A01=C2=A0 =C2=A0=E2=94=82 CC=C2=A0 =C2=A0 =C2=A0 =3D cc
=C2=A0 =C2=A02=C2=A0 =C2=A0=E2=94=82 CFLAGS=C2=A0 =3D -g -w -Wall -Wextra =C2=A0 =C2=A03=C2=A0 =C2=A0=E2=94=82 LDFLAGS =3D -Wl,--allow-multiple-defin= ition -lssl -lcrypto

=C2=A0 =C2=A04=C2=A0 =C2=A0=E2=94=82 RM=C2=A0 =C2=A0 =C2=A0 =3D rm -f
=C2=A0 =C2=A05=C2=A0 =C2=A0=E2=94=82 UNAME=C2=A0 :=3D $(shell uname)
=C2=A0 =C2=A06=C2=A0 =C2=A0=E2=94=82

=C2=A0 =C2=A07=C2=A0 =C2=A0=E2=94=82 ifeq ($(UNAME),FreeBSD) \
=C2=A0 =C2=A08=C2=A0 =C2=A0=E2=94=82=C2=A0 =C2=A0 =C2=A0CFLAGS +=3D -D BSD = \
=C2=A0 =C2=A09=C2=A0 =C2=A0=E2=94=82 else ifeq ($(UNAME),Linux) \
=C2=A0 10=C2=A0 =C2=A0=E2=94=82=C2=A0 =C2=A0 =C2=A0CFLAGS +=3D -D LINUX \ =C2=A0 11=C2=A0 =C2=A0=E2=94=82 endif
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <snip>

And here are the errors from `make`:
~/portable/src$ make
make: "/home/jfa/portable/src/makefile" line 7: Invalid line type=
make: Fatal errors encountered -- cannot continue
make: stopped in /home/jfa/portable/src

=C2=A0 I'm working on 14.0-RELEASE-p4. I've found plenty of advice = on Stackoverflow, but nothing that solves the issue. Duckduckgo-ing produce= s more of the same, so I thought I'd reach out here.

Thanks!

-=C2=A0Jonathan
____________________________________________
"Before Turing, things were done to numbers.
After Turing, numbers began doing things"
- George Dyson


ifeq is g= make centric.
make(1) will show you all available statements.
=
gmake !=3D make

~Paul

--
__________________

:(){ :|:& };:
--000000000000399a8f0610c27209-- From nobody Wed Feb 7 07:41:53 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TVBs041npz59343 for ; Wed, 7 Feb 2024 07:41:56 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-vk1-xa2e.google.com (mail-vk1-xa2e.google.com [IPv6:2607:f8b0:4864:20::a2e]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TVBrz4tM5z4jpD for ; Wed, 7 Feb 2024 07:41:55 +0000 (UTC) (envelope-from grarpamp@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=mrsBykvO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grarpamp@gmail.com designates 2607:f8b0:4864:20::a2e as permitted sender) smtp.mailfrom=grarpamp@gmail.com Received: by mail-vk1-xa2e.google.com with SMTP id 71dfb90a1353d-4c01ac04569so160223e0c.1 for ; Tue, 06 Feb 2024 23:41:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707291714; x=1707896514; darn=freebsd.org; h=content-transfer-encoding:to:subject:message-id:date:from :references:in-reply-to:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=zK3hj8+Mj3qaRWnb1gnyajixQ9czXvg1Wc74EBB7JlI=; b=mrsBykvOf0W3MMm6iRVWorxEZ6UOVO8Ed8V1g6wlJ0cQIGB03vZrjzZzE5XSeGod8M 90HuB31PphC/Bb856+R1p/vCU+1WVdLEPwzcRzvjOLAzaKlCXIYp+KeZcqEkWok8ZcPz hxgZXOeGHG6fUryQfNpF+I03bl6511mxTrGuqcOY+6Jq9qsOb8jXEOjQEI9fE+4cOCGp ARFm/B5ep9ZlvyblU2C2kkMSm4Tejs/82HdIvtaf1NmLRmIjwsGSz0RzSafHglHlqMhh agkb/0ce4HhRlMFlyM9jJfZCBIw+PqXKc2ctEZX2mXooFnpU82IxSNIcYvnrx4+iiNeA XACA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707291714; x=1707896514; h=content-transfer-encoding:to:subject:message-id:date:from :references:in-reply-to:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zK3hj8+Mj3qaRWnb1gnyajixQ9czXvg1Wc74EBB7JlI=; b=rBEzB8Ee3aII0lOrRJR/abcmfTlmsbDAIBzoYAfSljPoGNyq7TeP8Gr6BgsHJBbKA/ IxGJenN3wQETEwiiiWPydn5AlnH9TosllOmIrPcqQaTaGkDgEQeQq/Ro50Qzsng1NXn4 22VrXH93Hulfr/ztkVL3GkZX+IYEhFP+N7g2c2Iz550zcI+Y6UATK85G/+aTBjGAoHzC XdhIpcYXD4ez6acPf/erxWBlfM9JOfXt/gVCaQ2WTdqvhtiYyJ6IeipAlexVTlfpQpCB WmlaRY+AoexgPZm2TxBP7IXxxpuKUbXnwA2y0yn5vxiqcIgWX79pwG/tjoK3nnwxOR9e qyig== X-Gm-Message-State: AOJu0YyxzxgyShm3Ev1FdS2AbsvbbIdYi65Tq06vL95IDkoaJG0EHGKA tqB757f0Lu6NzPIvDUxxqV1ctfjwEhwjrPV0byJZUfqUDjr+WwImXyN7jKeNCyf9ogi4Sh0egHJ p5Di6/vZDT8z5oF52jN85xOF9ABSpVpIkttvwiyEU X-Google-Smtp-Source: AGHT+IFhKKvUl0vvV44gBkYgXviqwzZonlXygs3QOAF9rES61p3zkIGJy4NhE68uVrNKfM7fZuNtIdnLsnteLIufA6g= X-Received: by 2002:a05:6122:21a4:b0:4b7:19fd:9558 with SMTP id j36-20020a05612221a400b004b719fd9558mr1976807vkd.11.1707291713752; Tue, 06 Feb 2024 23:41:53 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Received: by 2002:a59:b8e6:0:b0:44d:39d2:b0ad with HTTP; Tue, 6 Feb 2024 23:41:53 -0800 (PST) In-Reply-To: References: From: grarpamp Date: Wed, 7 Feb 2024 02:41:53 -0500 Message-ID: Subject: Re: Need help with a makefile To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.85 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.85)[-0.854]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; MISSING_XM_UA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::a2e:from] X-Rspamd-Queue-Id: 4TVBrz4tM5z4jpD On 2/6/24, Jonathan Adams wrote: > 5 =E2=94=82 UNAME :=3D $(shell uname) > 7 =E2=94=82 ifeq ($(UNAME),FreeBSD) \ > make: "/home/jfa/portable/src/makefile" line 7: Invalid line type > I'm working on 14.0-RELEASE-p4. Many makefile systems are incompatible. You could try to write compatible makefiles, or force the user to install whichever make or build system you're using, or ship a separate makefile. for their platform, whereby in this example the only tabs prefix the a1 section... # env - UNAME=3D'' U=3D'bar' make -dA -r -f ./makefile.freebsd a1 .if (!defined(UNAME) || empty(UNAME)) note=3Dwas_either_unset_or_null UNAME!=3Duname .elif ${UNAME} =3D=3D "FreeBSD" note=3Dwas_FreeBSD CFLAGS+=3D-DBSD .elif ${UNAME} =3D=3D "foo" note=3Dwas_foo .else .info was something else .endif a1: .NOTMAIN @echo "note: ${note}" @echo "uvar: ${UNAME}" @echo "cvar: ${CFLAGS}" @echo ---------- uname -a echo $$(uname -K) echo $UNAME From nobody Wed Feb 7 09:21:00 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TVF3X2n2gz59CKR for ; Wed, 7 Feb 2024 09:21:12 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TVF3W0y1sz4tln for ; Wed, 7 Feb 2024 09:21:11 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=holgerdanske.com header.s=nov-20210719-112354 header.b=1f06sLv3; dmarc=pass (policy=none) header.from=holgerdanske.com; spf=pass (mx1.freebsd.org: domain of dpchrist@holgerdanske.com designates 2001:470:0:19b::b869:801b as permitted sender) smtp.mailfrom=dpchrist@holgerdanske.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holgerdanske.com; s=nov-20210719-112354; t=1707297661; bh=7E/g4h34nIFa6aGqdKDnnCvsLNzur4aV5oOjy2I5qmo=; h=Received:Message-ID:Date:MIME-Version:User-Agent:Subject: Content-Language:To:References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=1f06sLv3v/qi2QuMh826YUwZQXlJYZ/EoA8tCYLwQ0ZIPZw7eb1vkZ6z0meLT9sba zwCj+t7+Z0pa9jgkyBGhd8OQIwVqEw7RAQF81HHyRaXMEpB/Hv1ADkevwwpnh4NUsB 0StlGlHSbUmPONl4q2CBBnieV5v3vH70tafAaWEZEGk8pQ2wNOnqiQQdpTD4p/2jD7 fpp2249YcvTGdpXe9BTVvTh20SikJ55Vu+4H59WO+LkJ6foVw6pJmXRRfbFicheK0T EbTMLOFXITQ2h/sj2aIh6H7XC37TEGfczNXj2+5HHCkly3LB1Au2SDf8SFN60k9kF/ FfDQ+eV+/ly9FqpJcxqBWFChCEKW9p9mufSz076HmeM2NQWyJI8OFAHwkZ6SeAhRuQ j2nQGS2n6fVZf6skMRijam/RCTebTCNJGGln7oxPS1Dob5xC/GG1aJCaCixwZvi9iA raK5yxPtl1v+ALB+hnMIytKQohUo9d61TwLTiPOnUDzWE0OFt1kCSidRWEZeOSxkw2 7ns0nJxmQ3bbLRzqoI3RBf7tzQhW/w3guK4BjDCIfx1/m1mk/O81mAlc20NlXaoHiA QCoXniuvz4yw8TcCaqU/WTWMTpiUzSh39DV7kmAgeHZyU5vWvDUZB7SlrG2Z3+gVmH sMDjZTbpEIYju1iI/zd2MVlc= Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Wed, 7 Feb 2024 01:21:01 -0800 Message-ID: <306e2061-2914-4cd0-86a0-3668f0deb83e@holgerdanske.com> Date: Wed, 7 Feb 2024 01:21:00 -0800 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Need help with a makefile Content-Language: en-US To: questions@freebsd.org References: From: David Christensen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.89 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[holgerdanske.com,none]; R_SPF_ALLOW(-0.20)[+a:november.he.net]; R_DKIM_ALLOW(-0.20)[holgerdanske.com:s=nov-20210719-112354]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[holgerdanske.com:+] X-Rspamd-Queue-Id: 4TVF3W0y1sz4tln On 2/6/24 19:21, Jonathan Adams wrote: > Hi all, > I'm having a heck of a time getting my makefile conditional statements to not cause `make` to have fits. Could sure use some help on this. This is a makefile that works great _without_ the conditions, and my program compiles and runs on FBSD and Linux. > ... I also had problems attempting to write one Makefile that worked with both BSD make(1) and GNU make(1) (e.g. Linux). My solution was to choose GNU make(1) for the programming language, install gmake(1) on BSD, rename Makefile to GNUmakefile, and write a BSDmakefile that forwards invocations to gmake(1): $ cat BSDmakefile .PHONY : update update : @gmake -s $@ .DEFAULT : @gmake -s $@ ("update" is the default target in GNUmakefile.) The following invocations work on either platform: $ make $ make update $ make TARGET RTFM GNU make(1) documents GNUmakefile. RTFM BSD make(1) on my machine does not document BSDmakefile (?), but it works. David From nobody Wed Feb 7 15:16:43 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TVNyB1VS8z59Y9X for ; Wed, 7 Feb 2024 15:17:06 +0000 (UTC) (envelope-from jfadams1963@proton.me) Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch [185.70.43.22]) (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 "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TVNy96ZjTz4Hhx; Wed, 7 Feb 2024 15:17:05 +0000 (UTC) (envelope-from jfadams1963@proton.me) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1707319020; x=1707578220; bh=9HfnpVVWeBbZgF4Up4yV8/fxhSorlYdBQOIln/4v3ec=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=NnIi94GWeJwyqS7SA7RJdRB0kgAExk84aWfL702fg7pPofhvniIxwndDJRVfJCGSD fsRY0knvXp5Q/O/H/x02zN6vRwrQrKaD5FhcQ45G4umjH/Nq0KVAG2Kh6N3EXrRyfl LXze55bcevD4F/2Z4y0wI9eHZ/qEODV9vOLlLWwqGSzkbkfyPWb/wlAEmWh2hPov8Z mdijEWCeoUEpjknFtMhCfDWc6AXrAS6F4AZ8GB5kAb2niQGxMsN98OvKRwrI+b6S5z DZ53VJnekYyZq0PEw7OpOXdxOhVWsQ5WydKVj5p+jmyTzEsKjHQGDbZNZtYpJ9Uny7 lyDTgQs/TdALQ== Date: Wed, 07 Feb 2024 15:16:43 +0000 To: Greg 'groggy' Lehey From: Jonathan Adams Cc: freebsd-questions@freebsd.org Subject: Re: Need help with a makefile Message-ID: In-Reply-To: References: Feedback-ID: 80741059:user:proton List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------9f569d4edb920c62961ab9f10e14956dcb5a962e2e1e24c4ae8260b0f2915d43"; charset=utf-8 X-Rspamd-Queue-Id: 4TVNy96ZjTz4Hhx X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.43.0/24, country:CH] This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------9f569d4edb920c62961ab9f10e14956dcb5a962e2e1e24c4ae8260b0f2915d43 Content-Type: multipart/mixed;boundary=---------------------5ab4522cf964668aac45fd85cf0c4e2e -----------------------5ab4522cf964668aac45fd85cf0c4e2e Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 On Tuesday, February 6th, 2024 at 10:38 PM, Greg 'groggy' Lehey wrote: > On Wednesday, 7 February 2024 at 3:21:00 +0000, Jonathan Adams wrote: > = > > 7 =E2=94=82 ifeq ($(UNAME),FreeBSD) \ > > 8 =E2=94=82 CFLAGS +=3D -D BSD \ > > 9 =E2=94=82 else ifeq ($(UNAME),Linux) \ > > 10 =E2=94=82 CFLAGS +=3D -D LINUX \ > > 11 =E2=94=82 endif > = > This looks like GNU make. > = > And you're feeding it to BSD make. Doh! Than explains a lot. I mean, of course I know that I'm using BSD mak= e, ;-), it just hadn't yet occurred to me that all the wonderful examples = I was reading were GNU make specific. My first clue _should_ have been, wh= en reading the man page, that I actually notice the different conditionals= ! At least I can be embarrassed about this in front of an understanding gr= oup. :-) > The simple answer: use GNU make. Yeah, I hadn't yet felt the need to install it, but I can. It is the most = straight-forward solution. Though, my program doesn't _have_ to compile on= Linux, it's just nice that it can. > However, I've put this through gmake, and it complains: > = > $ gmake > Makefile:7: extraneous text after 'ifeq' directive > = > I don't know GNU make very well, but possibly you can find the reason. > Quoting, maybe? Hmm, OK. I'm just getting started today and haven't yet touched this. I'= ll play around with this, and see what sort of trouble I can get myself in= to... Thanks again Greg, -=C2=A0Jonathan ____________________________________________ "Before Turing, things were done to numbers. After Turing, numbers began doing things" - George Dyson -----------------------5ab4522cf964668aac45fd85cf0c4e2e-- --------9f569d4edb920c62961ab9f10e14956dcb5a962e2e1e24c4ae8260b0f2915d43 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKACcFgmXDnrQJkI6O/sbt8r3IFiEEcBGzOO9wDbcpT/10jo7+xu3y vcgAAAQfAQCDdQ4OSdnssHwzwv3oEZZ6OX5V9DIipm1bI0IWwRFQ8wD+PN4a d2U9fXl8N3PlEEa4krDToFGPODKfvaxmGOfs6AA= =5CUD -----END PGP SIGNATURE----- --------9f569d4edb920c62961ab9f10e14956dcb5a962e2e1e24c4ae8260b0f2915d43-- From nobody Wed Feb 7 15:36:17 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TVPNm0r3Kz59b1R for ; Wed, 7 Feb 2024 15:36:40 +0000 (UTC) (envelope-from jfadams1963@proton.me) Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch [185.70.43.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TVPNl59Qlz4MJn for ; Wed, 7 Feb 2024 15:36:39 +0000 (UTC) (envelope-from jfadams1963@proton.me) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=ndfbbwfyufdk7b5ikhr37qjv7m.protonmail; t=1707320198; x=1707579398; bh=5Ml+VkfgdBIh4BlHsLngbmTTTTycVg6cUuxIJJ4eMGc=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=L3R5o9ymWrgUtxOnAvqZZxSdMuNvlluAUQnHaCHUDQACG0y+J2O8AkhknggsgwUFN 6DolKYWBBra91PHarUY4mjaRcvKMeledd1Ug1e8nfoURxCEmXH2+4zGUITrl4Gs1Sw V8SOzs1iyJOcecHrXWJcbrVtFWw9f5O0p0dpiS+ZYceZV8XgvG9i+ZoIG+ros29X+j 7ceUX0ivjxAtrBP2gYZ/h1sJ3SKCAP1TxG9mE1okYIsKQsx0cy4liF0pJvYM/hPXRy USH34lL84YGFJy90iEoXEqRqrhCCiWdTaNyUiUR3Hi1wjljEBa2zFzkxqeUvebUWly yCx4RMkp6ruAA== Date: Wed, 07 Feb 2024 15:36:17 +0000 To: grarpamp From: Jonathan Adams Cc: freebsd-questions@freebsd.org Subject: Re: Need help with a makefile Message-ID: In-Reply-To: References: Feedback-ID: 80741059:user:proton List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------a7e915eba3673973c39758f4a455532e513a9619cc2f742b7dcf6a3af424d030"; charset=utf-8 X-Rspamd-Queue-Id: 4TVPNl59Qlz4MJn X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.43.0/24, country:CH] This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------a7e915eba3673973c39758f4a455532e513a9619cc2f742b7dcf6a3af424d030 Content-Type: multipart/mixed;boundary=---------------------4df3e334275d3806749aecccae077eaf -----------------------4df3e334275d3806749aecccae077eaf Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 On Wednesday, February 7th, 2024 at 2:41 AM, grarpamp = wrote: > On 2/6/24, Jonathan Adams jfadams1963@proton.me wrote: > = > > 5 =E2=94=82 UNAME :=3D $(shell uname) > > 7 =E2=94=82 ifeq ($(UNAME),FreeBSD) \ > > make: "/home/jfa/portable/src/makefile" line 7: Invalid line type > > I'm working on 14.0-RELEASE-p4. > = > = > Many makefile systems are incompatible. > You could try to write compatible makefiles, > or force the user to install whichever make or build system you're using= , > or ship a separate makefile. for their platform, > = > whereby in this example the only tabs prefix the a1 section... > = > # env - UNAME=3D'' U=3D'bar' make -dA -r -f ./makefile.freebsd a1 > = > if (!defined(UNAME) || empty(UNAME)) > note=3Dwas_either_unset_or_null > UNAME!=3Duname > elif ${UNAME} =3D=3D "FreeBSD" > note=3Dwas_FreeBSD > CFLAGS+=3D-DBSD > elif ${UNAME} =3D=3D "foo" > note=3Dwas_foo > else > info was something else > endif > a1: .NOTMAIN > @echo "note: ${note}" > @echo "uvar: ${UNAME}" > @echo "cvar: ${CFLAGS}" > @echo ---------- > uname -a > echo $$(uname -K) > echo $UNAME Thank you very much. My query has garnered some very useful responses. A= s I mentioned in my reply to Greg, this program doesn't have to compile on= Linux. I'm trying to improve my C programming skills and knowledge. So, t= his is actually a personal project and exercise in C. As such, getting a s= olid grip on a cross-platform makefile solution is certainly a great exerc= ise! -=C2=A0Jonathan ____________________________________________ "Before Turing, things were done to numbers. After Turing, numbers began doing things" - George Dyson -----------------------4df3e334275d3806749aecccae077eaf-- --------a7e915eba3673973c39758f4a455532e513a9619cc2f742b7dcf6a3af424d030 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKACcFgmXDo1YJkI6O/sbt8r3IFiEEcBGzOO9wDbcpT/10jo7+xu3y vcgAAJJoAQDfq2zWIgsVH7Zo35oRTAvlb/NhqbZzE6RUh/3b9ErMGQD/acdD n61ZdBbVvRmi1LB1R11U/gvdSYDjnh3hcia6ZgA= =QXce -----END PGP SIGNATURE----- --------a7e915eba3673973c39758f4a455532e513a9619cc2f742b7dcf6a3af424d030-- From nobody Wed Feb 7 16:00:43 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TVPwn2WtGz59cYV for ; Wed, 7 Feb 2024 16:00:57 +0000 (UTC) (envelope-from jfadams1963@proton.me) Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch [185.70.43.22]) (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 "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TVPwm49X8z4QMm for ; Wed, 7 Feb 2024 16:00:56 +0000 (UTC) (envelope-from jfadams1963@proton.me) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1707321650; x=1707580850; bh=cWS9x7DMB4xM+IWN7z58pP9Q3a7SavuSiLgHJL6EOXo=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=iBQA/9LjnUHmGnu2oTKbK6AQydseNWhsVw4Eyo8qYLcJOaRYtN1l3ub3YeD+kH4T7 vCe2Ts0tjkET/8CLX7JyhkbCl3antI/X2JLK/+xGYAyNP3Ydj1gWR1C0AaY4LCwEkS 5eBG3iXrPyN1nkbxh32yc1F9/SRo7bekBaQMD6AjkgyTMBI/GvEuYYj7ikbGfocruO t/w+WNioZxFmLdaC8QbezKwYtysGEB30uSdQS5uuKM7eKax0ovAWkQQU+VtpUhNYy5 3Meyl/gdCso0oT2r5JWnznuwKO5VBuAaW9GLDZrZ3+bVdpUtPP8zKuchDWvOT+4dzi uH6kXjTeJtgEQ== Date: Wed, 07 Feb 2024 16:00:43 +0000 To: David Christensen From: Jonathan Adams Cc: questions@freebsd.org Subject: Re: Need help with a makefile Message-ID: <26LJUTWJHlct5WtUe6CxKxss35_4XWuGJrL3SgqJbt1ekqDGOqGSurF2dDhLUWOLHW_TqgxeRQHQ2CwhRaUMIlJ0Cc0Cho7PRd_B1Z7FOBc=@proton.me> In-Reply-To: <306e2061-2914-4cd0-86a0-3668f0deb83e@holgerdanske.com> References: <306e2061-2914-4cd0-86a0-3668f0deb83e@holgerdanske.com> Feedback-ID: 80741059:user:proton List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------1d412f7040e12da73cd1939a8544ca959c208ab110248c892feaad89b1c1721c"; charset=utf-8 X-Rspamd-Queue-Id: 4TVPwm49X8z4QMm X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.43.0/24, country:CH] This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------1d412f7040e12da73cd1939a8544ca959c208ab110248c892feaad89b1c1721c Content-Type: multipart/mixed;boundary=---------------------b81907e59b30d3f5bcffca3d6015d9c4 -----------------------b81907e59b30d3f5bcffca3d6015d9c4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 On Wednesday, February 7th, 2024 at 4:21 AM, David Christensen wrote: > = > I also had problems attempting to write one Makefile that worked with > both BSD make(1) and GNU make(1) (e.g. Linux). My solution was to > choose GNU make(1) for the programming language, install gmake(1) on > BSD, rename Makefile to GNUmakefile, and write a BSDmakefile that > forwards invocations to gmake(1): > = > $ cat BSDmakefile > PHONY : update > update : > @gmake -s $@ > = > DEFAULT : > @gmake -s $@ Hi David. Thanks for sharing your experience. This is an interesting solut= ion; gives me a few ideas.. > ("update" is the default target in GNUmakefile.) Hm, ok. > The following invocations work on either platform: > = > $ make > = > $ make update > = > $ make TARGET Seems that a very simple and straight-forward approach would be to use GNU= make and have separate targets for BSD and Linux. (??) > RTFM BSD make(1) on my machine does not document BSDmakefile (?) I also noticed that. I did also notice this caveat in make(1): "Other make dialects Other make dialects (GNU make, SVR4 make, POSIX make, etc.) do not support most of the features of make as described in this manual." -=C2=A0Jonathan ____________________________________________ "Before Turing, things were done to numbers. After Turing, numbers began doing things" - George Dyson -----------------------b81907e59b30d3f5bcffca3d6015d9c4-- --------1d412f7040e12da73cd1939a8544ca959c208ab110248c892feaad89b1c1721c Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKACcFgmXDqQcJkI6O/sbt8r3IFiEEcBGzOO9wDbcpT/10jo7+xu3y vcgAAInYAP0VXtvFohHAtXXMlYHmpbNLwY6fw26vYLspzKSdsVPM2AD+I/IV JDXnh91M5jgwZU+WusGRoKp8GfOdbfqJe2WfvwA= =r3a8 -----END PGP SIGNATURE----- --------1d412f7040e12da73cd1939a8544ca959c208ab110248c892feaad89b1c1721c-- From nobody Wed Feb 7 16:10:08 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TVQ7Z1cKVz59dTB for ; Wed, 7 Feb 2024 16:10:18 +0000 (UTC) (envelope-from john@johnrshannon.com) Received: from maila.johnrshannon.com (maila.johnrshannon.com [104.153.32.124]) (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 4TVQ7Y2FbJz4Rjc for ; Wed, 7 Feb 2024 16:10:17 +0000 (UTC) (envelope-from john@johnrshannon.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=johnrshannon.com header.s=dkim header.b=dhDG+WZR; dmarc=pass (policy=reject) header.from=johnrshannon.com; spf=pass (mx1.freebsd.org: domain of john@johnrshannon.com designates 104.153.32.124 as permitted sender) smtp.mailfrom=john@johnrshannon.com Received: from [10.168.1.38] (thin1.office.johnrshannon.com [10.168.1.38]) by maila.johnrshannon.com (Postfix) with ESMTP id 58C3C67F for ; Wed, 7 Feb 2024 09:10:08 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnrshannon.com; s=dkim; t=1707322208; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=e29d5PTJoKKYd6gIq2moFE5B0m2tTq8VI83NG8we+eU=; b=dhDG+WZRcm1GJXgmYXTzC9tPjIzCoP0EHIER/Ps8n1pWL0zFQ+YZAzVb98DKDOdiVqlYMy 0AmSeWgJxxEy6UMOWphM7A/TOIdJ/I5/T1R1CSAC+nxbNHqelXeRKXXAcEGcvHEYQGiHjt gy+q3FHY26yIA1P+XqxI/EtIVmyZe7arjND8hha2NLHlmAylxop8RgpyJVNl/eaQGMjJZv lmBlQxZhUjihDsWeNwEUd6NYXZ1m7qVR1C1MtnGzLAzvDACIkV5mqfqviP9TuOeGWIverS qUIAhEVEpBJVXgnSKGJggzHYBNAnBOroZqPbUsIGHuqUMz2uBEAdIV0vp+N8rw== Message-ID: Date: Wed, 7 Feb 2024 09:10:08 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: CA Authorities problem with Firefox and Thunderbird From: John Shannon To: freebsd-questions@freebsd.org References: <9dfe7129-b0f8-4c45-8650-58a81ecd357d@johnrshannon.com> <3ea996af-fe6d-4b0b-b64e-b1abd1179d69@johnrshannon.com> Content-Language: en-US In-Reply-To: <3ea996af-fe6d-4b0b-b64e-b1abd1179d69@johnrshannon.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.88 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.89)[-0.889]; DMARC_POLICY_ALLOW(-0.50)[johnrshannon.com,reject]; R_DKIM_ALLOW(-0.20)[johnrshannon.com:s=dkim]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:32444, ipnet:104.153.32.0/24, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[johnrshannon.com:+] X-Rspamd-Queue-Id: 4TVQ7Y2FbJz4Rjc More strange behavior in Firefox noticed: about:preferences#privacy "Security Devices" shows none.  It should at least show the NSS Internal PKCS11 module, Builtin Root module, and OS Client Cert Module. Many javascript websocket errors occur on startup in addition to the errors shown in the forwarded mail. On 2/6/24 14:26, John Shannon wrote: > I just install chromium and get a similar error on starting it: > >> $ chrome >> [64147:-1207885824:0206/141530.076312:ERROR:nss_util.cc(239)] Error >> initializing NSS with a persistent database >> (sql:/home/john/.pki/nssdb): NSS error code: -8023 >> [64147:-1207885824:0206/141530.076365:ERROR:nss_util.cc(124)] Error >> initializing NSS without a persistent database: NSS error code: -8023 >> [64147:-1207885824:0206/141530.076370:FATAL:nss_util.cc(126)] >> nss_error=-8023, os_error=0 > > I found that I also get the same error in libreoffice. > > All the problem programs depend on nspr and nss. > > On 2/6/24 12:58, John Shannon wrote: >> More was written to standard error: >> >> >>> JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, >>> line 98: TypeError: Services.policies.getActivePolicies().filter is >>> not a function >>> JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, >>> line 98: TypeError: Services.policies.getActivePolicies().filter is >>> not a function >>> JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: >>> Error: Can't find profile directory. >>> JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: >>> Error: Can't find profile directory. >>> JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, >>> line 98: TypeError: Services.policies.getActivePolicies().filter is >>> not a function >>> JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, >>> line 98: TypeError: Services.policies.getActivePolicies().filter is >>> not a function >>> JavaScript error: resource://gre/modules/crypto-SDR.sys.mjs, line >>> 49: NS_ERROR_XPC_GS_RETURNED_FAILURE: ServiceManager::GetService >>> returned failure code: >>> JavaScript error: resource://gre/modules/storage-json.sys.mjs, line >>> 107: Error: Initialization failed >>> JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, >>> line 98: TypeError: Services.policies.getActivePolicies().filter is >>> not a function >>> JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, >>> line 98: TypeError: Services.policies.getActivePolicies().filter is >>> not a function >>> JavaScript error: resource://gre/modules/ServiceRequest.sys.mjs, >>> line 98: TypeError: Services.policies.getActivePolicies().filter is >>> not a function >>> JavaScript error: resource://gre/modules/LoginHelper.sys.mjs, line >>> 1578: NS_ERROR_XPC_GS_RETURNED_FAILURE: ServiceManager::GetService >>> returned failure code: >>> JavaScript error: chrome://pippki/content/certManager.js, line 297: >>> NS_ERROR_XPC_GS_RETURNED_FAILURE: ServiceManager::GetService >>> returned failure code: >>> JavaScript error: chrome://pippki/content/certManager.js, line 744: >>> TypeError: certdb is undefined >> >> >> On 2/6/24 12:38, John Shannon wrote: >>> When starting Firefox from the command line and trying to import a >>> certificate I get: >>> >>>> JavaScript error: chrome://pippki/content/certManager.js, line 744: >>>> TypeError: certdb is undefined >>> >>> in the messages to standard out/error. Not sure what to do about that. >>> >>> On 2/6/24 04:03, john wrote: >>>> After my last pkg upgrade Firefox and Thunderbird both show no >>>> Authorities under Certificate Manager in settings. Missing are all >>>> the certificates listed by certctl along with DoD CAs added through >>>> Firefox import and site CA added through Thunderbird import. >>>> >>>> Command line use of: >>>> >>>> % openssl s_client -connect google.com:443 -CAfile >>>> /usr/local/etc/ssl/cert.pem >>>> >>>> works as does other software using TLS. >>>> >>>> Pkg versions: >>>> >>>> firefox-122.0_3,2 >>>> thunderbird-115.7.0_1 >>>> nss-3.97 >>>> sqlite3-3.45.0_1,1 >>>> ca_root_nss-3.93_2 >>>> >>>> $ freebsd-version >>>> 14.0-RELEASE-p4 >>>> >>>> -- John R. Shannon john@johnrshannon.com From nobody Wed Feb 7 16:52:23 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TVR4K12sQz59hlC for ; Wed, 7 Feb 2024 16:52:33 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from ns.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "discoveriesinwood.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TVR4J23h5z4YVr for ; Wed, 7 Feb 2024 16:52:32 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org Received: from [192.168.151.122] (breakaway.dreamchaser.org [192.168.151.122]) by ns.dreamchaser.org (8.17.1/8.17.1) with ESMTP id 417GqN0Q010842 for ; Wed, 7 Feb 2024 09:52:23 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: Date: Wed, 7 Feb 2024 09:52:23 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: freebsd@dreamchaser.org Subject: Re: newaliases changed? Content-Language: en-US To: FreeBSD Mailing List References: <32601639-0a4e-4bb0-b87d-9bcbae1c7945@dreamchaser.org> <44fry5sm3h.fsf@be-well.ilk.org> From: Gary Aitken In-Reply-To: <44fry5sm3h.fsf@be-well.ilk.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: inspected by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Wed, 07 Feb 2024 09:52:23 -0700 (MST) for IP:'192.168.151.122' DOMAIN:'breakaway.dreamchaser.org' HELO:'[192.168.151.122]' FROM:'freebsd@dreamchaser.org' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Wed, 07 Feb 2024 09:52:23 -0700 (MST) X-Spamd-Bar: / X-Spamd-Result: default: False [-0.15 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_MEDIUM(0.54)[0.539]; NEURAL_HAM_SHORT(-0.50)[-0.503]; R_SPF_ALLOW(-0.20)[+mx]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; R_DKIM_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4TVR4J23h5z4YVr On 2/6/24 07:28, Lowell Gilbert wrote: > Make sure there's no whitespace after the backslashes, although I > suspect that would give you a different error. No whitespace that I could find after the backslashes. The following line works: family: foo@centurylink.net, bar@centurylink.net but inserting "\ " before "bar" fails: family: foo@centurylink.net, \ bar@centurylink.net # newaliases /etc/mail/aliases: line 85: Non-continuation line starts with space /etc/mail/aliases: 726 aliases, longest 42 bytes, 19540 bytes total > Check whether you are using the correct newaliases program. Some mail > software (e.g., postfix) will install their own. ["which -a newaliases"] # which sendmail /usr/sbin/sendmail # ls -l /usr/bin/newaliases lrwxr-xr-x 1 root wheel 19 Feb 11 2019 /usr/bin/newaliases -> ../sbin/mailwrapper # file /usr/sbin/mailwrapper /usr/sbin/mailwrapper: ELF 64-bit LSB pie executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 13.2, FreeBSD-style, stripped Gary From nobody Wed Feb 7 18:40:16 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TVTT15rpqz59rpD for ; Wed, 7 Feb 2024 18:40:37 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TVTT06d2Gz4lqr for ; Wed, 7 Feb 2024 18:40:36 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=holgerdanske.com header.s=nov-20210719-112354 header.b=1KInwY3h; dmarc=pass (policy=none) header.from=holgerdanske.com; spf=pass (mx1.freebsd.org: domain of dpchrist@holgerdanske.com designates 2001:470:0:19b::b869:801b as permitted sender) smtp.mailfrom=dpchrist@holgerdanske.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holgerdanske.com; s=nov-20210719-112354; t=1707331231; bh=OZOTpM0ZtJ4tfdsrXtBMfY27DqxUHMYoBor+49eSb6A=; h=Received:Message-ID:Date:MIME-Version:User-Agent:Subject:To: References:Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=1KInwY3hZgPAM/8Y/IRA0vULrIU77A6dSpFlMW88oAy3oPfk/pb8dPiuCr7vZtm2Q bXkwjAcYNx8QnxMLIhR2gvYHoGlJBhGh3DAC3BMWcCVckBIpfw9BI9bqVjz+Id0BhP 9/7nTPaJL+YbT2mMhFo/fBH/q9j4VFaBXvgrVGVaNMuJffEsNqwh61mFL4O1m+WNNE s3Kye6+6j0snr5ZjkJbsmew8fbLY1H3XaawpiaII/i+am1K3GsmX+p1tmR+vQU94us Tof5v2XmZIdmKppJYVKHLNl1Q+CvHPPfXjBndjcr/v36IeDvXZ+SIHqe26Epz+b84N LHPTumEKYpPVKeRuH9g4VG0F2U7PPLYrxT7+xUXFM+wwYNfg4YYxrCE0NuoYKUJ3Nt 2yQ3fmvmYf2OVL60xvQ1SEyAn6AU3vo+HLEtKRJiYiYuXJw1BsTvdWaPxRdNCmXd4/ 3D1ixi8fISRYzujAc3//QhUdB1pvOJNG3gw57L8WQoeoQw8Jjb34d0XuLxmnwHrsZl Ne/30Pe4gF8WIBjj0w3u91tOfWaU/nSwpENdW8Ba/vutV17URefLZenjp0WBCLeMsA EhOthOztEUXaX4qMyKBvlVa21LublM7rXT9+ra8xlqoa3/0I7VvJHt1rKkrkhteriC zED39nxFU6Kb4NLe6Rhtk/Q4= Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Wed, 7 Feb 2024 10:40:31 -0800 Message-ID: <336d15cd-0239-485e-9dbc-8cb90ed432dc@holgerdanske.com> Date: Wed, 7 Feb 2024 10:40:16 -0800 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Need help with a makefile To: questions@freebsd.org References: <306e2061-2914-4cd0-86a0-3668f0deb83e@holgerdanske.com> <26LJUTWJHlct5WtUe6CxKxss35_4XWuGJrL3SgqJbt1ekqDGOqGSurF2dDhLUWOLHW_TqgxeRQHQ2CwhRaUMIlJ0Cc0Cho7PRd_B1Z7FOBc=@proton.me> Content-Language: en-US From: David Christensen In-Reply-To: <26LJUTWJHlct5WtUe6CxKxss35_4XWuGJrL3SgqJbt1ekqDGOqGSurF2dDhLUWOLHW_TqgxeRQHQ2CwhRaUMIlJ0Cc0Cho7PRd_B1Z7FOBc=@proton.me> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.85 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; DMARC_POLICY_ALLOW(-0.50)[holgerdanske.com,none]; R_DKIM_ALLOW(-0.20)[holgerdanske.com:s=nov-20210719-112354]; R_SPF_ALLOW(-0.20)[+a:november.he.net]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.03)[0.029]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[holgerdanske.com:+] X-Rspamd-Queue-Id: 4TVTT06d2Gz4lqr On 2/7/24 08:00, Jonathan Adams wrote: > On Wednesday, February 7th, 2024 at 4:21 AM, David Christensen wrote: >> I also had problems attempting to write one Makefile that worked with >> both BSD make(1) and GNU make(1) (e.g. Linux). My solution was to >> choose GNU make(1) for the programming language, install gmake(1) on >> BSD, rename Makefile to GNUmakefile, and write a BSDmakefile that >> forwards invocations to gmake(1): >> >> $ cat BSDmakefile >> PHONY : update >> update : >> @gmake -s $@ >> >> DEFAULT : >> @gmake -s $@ > > Hi David. Thanks for sharing your experience. This is an interesting solution; gives me a few ideas.. > ... > Seems that a very simple and straight-forward approach would be to use GNUmake and have separate targets for BSD and Linux. (??) TIMTOWTDI. "GNUmakefile", `make` on Linux, and `gmake` on BSD works. My fingers want to type `make` everywhere, so I added the forwarding BSDmakefile. David From nobody Wed Feb 7 19:10:11 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TVV7P2SMpz59v05 for ; Wed, 7 Feb 2024 19:10:25 +0000 (UTC) (envelope-from jfadams1963@proton.me) Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch [185.70.43.22]) (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 "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TVV7L4DBkz4qmH; Wed, 7 Feb 2024 19:10:22 +0000 (UTC) (envelope-from jfadams1963@proton.me) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=proton.me header.s=protonmail header.b=NrEXkJ0V; dmarc=pass (policy=quarantine) header.from=proton.me; spf=pass (mx1.freebsd.org: domain of jfadams1963@proton.me designates 185.70.43.22 as permitted sender) smtp.mailfrom=jfadams1963@proton.me DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1707333019; x=1707592219; bh=5K6Av5/ss0D30GFRxwckJaauzqo0xdaQ496jh2MbcXc=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=NrEXkJ0VY6Ipyf08XIWCoP/xtF3vycr8JMDQ2RWPS3qT7cYt3GmHDxKLAMayk7qrU l6sfPaIScqAaLpixqrESjOJjGjysoQBHD7uO6c4SZpurA1d73gcEayBMXtJRZHcmIA pd2vpc9A0RJDP1vLHlMfGsvp4Zio0CPRyIqa24w/zZldnlqUIjKRycmDp8yitfegCV 0SWXnpxq8r4JSzt9qZXMTKhUUFURyyXY7OmOk/tXiGCCk0eB8zwHR38KDj8ngEG+Pn ohhn/eQMU9sJUnQkMLgmzxdnGQ3oiUZiYKiR60/PzdV/ErnzByOIPs6SSDOcVX1MWv PWXj7627CluRQ== Date: Wed, 07 Feb 2024 19:10:11 +0000 To: Greg 'groggy' Lehey From: Jonathan Adams Cc: freebsd-questions@freebsd.org Subject: Need help with a makefile [RESOLVED] Message-ID: <8_kmThiamXBYyS8xs6DcL-Sdkr244nfiKNXas7jkXifkzGss3sleWGJN6n4BV7jof6jpKK9vHnYVpKImQHAbGuGlJindprbvtRFh04q_PI4=@proton.me> Feedback-ID: 80741059:user:proton List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------6a3af690dbb45741cc9b4074f147ff6e654fb4d5f1af84f9bad2042041e59a49"; charset=utf-8 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.50 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[proton.me,quarantine]; RWL_MAILSPIKE_EXCELLENT(-0.40)[185.70.43.22:from]; R_DKIM_ALLOW(-0.20)[proton.me:s=protonmail]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:185.70.43.0/24]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.43.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; DKIM_TRACE(0.00)[proton.me:+]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[] X-Rspamd-Queue-Id: 4TVV7L4DBkz4qmH This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------6a3af690dbb45741cc9b4074f147ff6e654fb4d5f1af84f9bad2042041e59a49 Content-Type: multipart/mixed;boundary=---------------------3e7f700f00977538666d4b1f8c95175e -----------------------3e7f700f00977538666d4b1f8c95175e Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 On Tuesday, February 6th, 2024 at 10:38 PM, Greg 'groggy' Lehey wrote: > However, I've put this through gmake, and it complains: > > $ gmake > Makefile:7: extraneous text after 'ifeq' directive Hi Greg, et al., The above error was do to the line continuation backslashes. Installed g= make, took out the backslashes and, presto, it "just works". On FBSD, that= is. In my little project, I was using getpass(), but have changed to readpas= sphrase(). Great, but on Linux that's in /usr/include/bsd. So I added to m= y main source file: #ifdef BSD #include #endif #ifdef LINUX #include #endif And as I say, no problem on FBSD. To try it on Linux, I fired up my GitPod Ubuntu/Debian instance and foun= d that I had to install the libbsd0 and libbsd-dev packages first. However= , when I first compiled, GCC complained: undefined reference to `readpassphrase' Oops! I added `-l:libbsd.a` to the linker arguments and it compiles fine u= nder Linux now. ifeq ($(UNAME),FreeBSD) CFLAGS +=3D -DBSD else ifeq ($(UNAME),Linux) CFLAGS +=3D -DLINUX LDFLAGS +=3D -l:libbsd.a endif Unfortunatly, the program segfaults when I run it! Works fine on FBSD. W= ell, I've got something "constructive" to do today! Thanks again everyone, -=C2=A0Jonathan ____________________________________________ "Before Turing, things were done to numbers. After Turing, numbers began doing things" - George Dyson -----------------------3e7f700f00977538666d4b1f8c95175e-- --------6a3af690dbb45741cc9b4074f147ff6e654fb4d5f1af84f9bad2042041e59a49 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKACcFgmXD1XYJkI6O/sbt8r3IFiEEcBGzOO9wDbcpT/10jo7+xu3y vcgAALKXAP9U+Ulm42tehbrrZIEJKFzzoJBqRbjCVTQ5648THUW/9AEAo2aS K8bAdUn4WMBjJsh8RgwzV6p+UHRBrgiAm6T/dQQ= =n9CE -----END PGP SIGNATURE----- --------6a3af690dbb45741cc9b4074f147ff6e654fb4d5f1af84f9bad2042041e59a49-- From nobody Wed Feb 7 19:36:33 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TVVkG5294z59x5t for ; Wed, 7 Feb 2024 19:37:10 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TVVkG2bhZz3wjf; Wed, 7 Feb 2024 19:37:10 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ot1-x32e.google.com with SMTP id 46e09a7af769-6e112a5d30cso398195a34.2; Wed, 07 Feb 2024 11:37:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707334629; x=1707939429; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gTBJFl/toEp4GKUEh0bgDRzS6gCpSS0IA5779McxFCs=; b=ZJ5FSCgPTjI29kjGAHx8QONusk/mFBzEo9Sy4+Q3zvuTVgt6cWuTP1WVFplRyKTube B/wLmHIE/CC5HLTFUFbmNUWsOTtV30vRGMQSXa+8aXcxbtDpXjb1WircjBAa+KMgsFV6 9GX1+PMEXM7hKFx1En98k7emIzR1ikxzbg7U7vjafPBLs0doE4BGhPziqPtaolWw6DbD Pz7A18sRDBcf/UjM16eDu1mISxx73eKj2KH4Dv51U530ByeuAxNFeghDAp8lHdhSn02p dbK4fOj6yYFkNcHiRf88VlAXpVO97cVj/Qc4eOnODTbouExjWb15na+c/v1YBsUeb/xt tkog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707334629; x=1707939429; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gTBJFl/toEp4GKUEh0bgDRzS6gCpSS0IA5779McxFCs=; b=RDIUdngumJBqXbOjdxmdXZzF7+03rAaKz3U/Qc0+7CPsBlOukRC2p08rRVbSOCBvmb BkLbI9Qjmj0wX/tRGib1bp6O0K/x6tCsTcYX37oueuRd290gYhqOI/mWXRC9uXucJYeh YngHFOxQEPm5rhzsbLJRKYKfwuX3C6jEm/Hf6SYIxD2My6OAQOC1wkEz9tmCbFGRuYQD EuInC9iy2qYlLeKdruGj4Ld6tzC/PBBupNW+jMKYrgiGaQsiqRIwTZ7ta0loeqZBWxj/ csaKrzh4RMpagsZsEyNjzcrQHYpAmqoQn3x7lUokpywAJANiwdMeNkO/oc1ITL7kTmdR WM1A== X-Forwarded-Encrypted: i=1; AJvYcCXlifiAeTHLaMMuAKjEc8Sa9k7lA6Gi2D4XDYM8UFtG2ORj0ulc/m2cXR/WDSf4mXHlJaNvf/G0yOn9JzInO0OccyP22+bVMwtdFhMBbA== X-Gm-Message-State: AOJu0Ywen+G4X408KB5EqBYSghuAmGRhXLslZHZWVmhxDvseySFFVumj k2p8dgMJ7FhnbLBCvom40VrVq6YRa8WEiGk2r2EgiYj77sEbgWjyd23mho1J54xQMlwZcgYAprO gbLQBhoSM+JAB3/CmUzB5DR6WNdIIMghU X-Google-Smtp-Source: AGHT+IEFSMa03eRc10XgD9rpwQRkjsopiCkDAy9n1DALqDsg3JHofy/0ynUU0QV+yc9wKWcHi5IqgNgys+wZz/QIOsY= X-Received: by 2002:a9d:7a43:0:b0:6e2:b6f8:a6b3 with SMTP id z3-20020a9d7a43000000b006e2b6f8a6b3mr3669406otm.36.1707334629115; Wed, 07 Feb 2024 11:37:09 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <8_kmThiamXBYyS8xs6DcL-Sdkr244nfiKNXas7jkXifkzGss3sleWGJN6n4BV7jof6jpKK9vHnYVpKImQHAbGuGlJindprbvtRFh04q_PI4=@proton.me> In-Reply-To: <8_kmThiamXBYyS8xs6DcL-Sdkr244nfiKNXas7jkXifkzGss3sleWGJN6n4BV7jof6jpKK9vHnYVpKImQHAbGuGlJindprbvtRFh04q_PI4=@proton.me> From: Mehmet Erol Sanliturk Date: Wed, 7 Feb 2024 22:36:33 +0300 Message-ID: Subject: Re: Need help with a makefile [RESOLVED] To: Jonathan Adams Cc: "Greg 'groggy' Lehey" , freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="00000000000014cdd60610cfd285" X-Rspamd-Queue-Id: 4TVVkG2bhZz3wjf X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] --00000000000014cdd60610cfd285 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 7, 2024 at 10:10=E2=80=AFPM Jonathan Adams wrote: > On Tuesday, February 6th, 2024 at 10:38 PM, Greg 'groggy' Lehey < > grog@freebsd.org> wrote: > > > However, I've put this through gmake, and it complains: > > > > $ gmake > > Makefile:7: extraneous text after 'ifeq' directive > > Hi Greg, et al., > The above error was do to the line continuation backslashes. Installed > gmake, took out the backslashes and, presto, it "just works". On FBSD, th= at > is. > In my little project, I was using getpass(), but have changed to > readpassphrase(). Great, but on Linux that's in /usr/include/bsd. So I > added to my main source file: > > #ifdef BSD > #include > #endif > > #ifdef LINUX > #include > #endif > > And as I say, no problem on FBSD. > > To try it on Linux, I fired up my GitPod Ubuntu/Debian instance and > found that I had to install the libbsd0 and libbsd-dev packages first. > However, when I first compiled, GCC complained: > undefined reference to `readpassphrase' > Oops! I added `-l:libbsd.a` to the linker arguments and it compiles fine > under Linux now. > > ifeq ($(UNAME),FreeBSD) > CFLAGS +=3D -DBSD > else ifeq ($(UNAME),Linux) > CFLAGS +=3D -DLINUX > LDFLAGS +=3D -l:libbsd.a > endif > > Unfortunatly, the program segfaults when I run it! Works fine on FBSD. > Well, I've got something "constructive" to do today! > > Thanks again everyone, > > - Jonathan > ____________________________________________ > "Before Turing, things were done to numbers. > After Turing, numbers began doing things" > - George Dyson Assume you have a program to be compiled in different operating systems . Actually to maintain ONE make file for ALL involved operating systems may be very difficult not only for you but also for your users . Instead of trying to use one make file , the following approach may be more easy to manage ( This idea is not originally developed by me , but I have learned it from other people ) : For each different OS , define a directory with a make file specific to the OS . Since the make file is specific to the OS , if a user does not use that OS , make file will not cause any difficulty . If a change is made in one of the OS make files , it will not affect the other OS make files . If some parts are common to different OS make files , these parts may be stored into a separate directory and may be included into relevant make files . Use of such a division of make files may eliminate a large number of "if" conditional and sometimes conflicting statements required to be used in a single common file . Mehmet Erol Sanliturk --00000000000014cdd60610cfd285 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Wed, Feb 7, 2024 at 10:10= =E2=80=AFPM Jonathan Adams <jfa= dams1963@proton.me> wrote:
On Tuesday, February 6th, 2024 at 10:38 PM, Greg 'gro= ggy' Lehey <gr= og@freebsd.org> wrote:

> However, I've put this through gmake, and it complains:
>
> $ gmake
> Makefile:7: extraneous text after 'ifeq' directive

Hi Greg, et al.,
=C2=A0 The above error was do to the line continuation backslashes. Install= ed gmake, took out the backslashes and, presto, it "just works". = On FBSD, that is.
=C2=A0 In my little project, I was using getpass(), but have changed to rea= dpassphrase(). Great, but on Linux that's in /usr/include/bsd. So I add= ed to my main source file:

#ifdef BSD
=C2=A0 =C2=A0 #include <readpassphrase.h>
#endif

#ifdef LINUX
=C2=A0 =C2=A0 #include <bsd/readpassphrase.h>
#endif

And as I say, no problem on FBSD.

=C2=A0 To try it on Linux, I fired up my GitPod Ubuntu/Debian instance and = found that I had to install the libbsd0 and libbsd-dev packages first. Howe= ver, when I first compiled, GCC complained:
undefined reference to `readpassphrase'
Oops! I added `-l:libbsd.a` to the linker arguments and it compiles fine un= der Linux now.

ifeq ($(UNAME),FreeBSD)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 CFLAGS +=3D -DBSD
else ifeq ($(UNAME),Linux)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 CFLAGS +=3D -DLINUX
=C2=A0 =C2=A0 =C2=A0 =C2=A0 LDFLAGS +=3D -l:libbsd.a
endif

=C2=A0 Unfortunatly, the program segfaults when I run it! Works fine on FBS= D. Well, I've got something "constructive" to do today!

Thanks again everyone,

-=C2=A0Jonathan
____________________________________________
"Before Turing, things were done to numbers.
After Turing, numbers began doing things"
- George Dyson


Assume you = have a program to be compiled in different operating systems .
Actua= lly to maintain=C2=A0 ONE make file for ALL involved operating systems may = be
very difficult not only for you but also for your users .
=
Instead of trying to use one make file , the following approach= may be more easy to manage
( This idea is not originally devel= oped by me , but I have learned it from other people ) :

<= div style=3D"font-family:monospace;font-size:large" class=3D"gmail_default"= >For each different OS , define a directory with a make file specific to th= e OS .
Since the make file is specific to the OS , if a user does no= t use that OS , make file
will not cause any difficulty .
=

If a change is made in one of the OS make files , it will not= affect the other OS make files .

If some parts are comm= on to different OS make files , these parts may be stored into a separate
directory and may be included into relevant make files .

<= /div>
Use of such a division of make files may eliminate a large number of= "if" conditional and sometimes conflicting
statements req= uired to be used in a single common file .


Mehmet Erol Sanliturk





=C2=A0









<= /div>


=C2=A0
--00000000000014cdd60610cfd285-- From nobody Wed Feb 7 20:04:45 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TVWLk0JBRz5B0Jm for ; Wed, 7 Feb 2024 20:05:18 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mail.inka.de (mail.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (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 4TVWLh63vyz44nj for ; Wed, 7 Feb 2024 20:05:16 +0000 (UTC) (envelope-from naddy@mips.inka.de) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of naddy@mips.inka.de has no SPF policy when checking 2a04:c9c7:0:1073:217:a4ff:fe3b:e77c) smtp.mailfrom=naddy@mips.inka.de Received: from mips.inka.de (naddy@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1rXoAM-003szB-5b; Wed, 07 Feb 2024 21:05:06 +0100 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.18.1/8.18.1) with ESMTP id 417K4jV7003689 for ; Wed, 7 Feb 2024 21:04:45 +0100 (CET) (envelope-from naddy@lorvorc.mips.inka.de) Received: (from naddy@localhost) by lorvorc.mips.inka.de (8.18.1/8.18.1/Submit) id 417K4jiM003688 for freebsd-questions@freebsd.org; Wed, 7 Feb 2024 21:04:45 +0100 (CET) (envelope-from naddy) Date: Wed, 7 Feb 2024 21:04:45 +0100 From: Christian Weisgerber To: freebsd-questions@freebsd.org Subject: Firefox with U2F? Message-ID: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spamd-Bar: - X-Spamd-Result: default: False [-1.09 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-0.99)[-0.992]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_NA(0.00)[]; MISSING_XM_UA(0.00)[]; FREEFALL_USER(0.00)[naddy]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:202113, ipnet:2a04:c9c7::/32, country:DE]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[inka.de]; R_SPF_NA(0.00)[no SPF record] X-Rspamd-Queue-Id: 4TVWLh63vyz44nj Does anybody here regularly use Firefox with FIDO/U2F for two-factor authentication? Does it work reliably for you? Because it doesn't for me. Sometimes it works, sometimes it doesn't, seemingly at random, and sometimes for a whole stretch of time. By "it doesn't work" I mean that Firefox displays its popup, but the U2F token doesn't flash, so it isn't being accessed. Importantly, I use ssh with U2F-backed keys a double-digit number of times each day, and that works 100% reliably. This rules out various failure modes such as device permissions or USB problems. -- Christian "naddy" Weisgerber naddy@mips.inka.de From nobody Wed Feb 7 20:12:42 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TVWWX0F6Pz5B0rc for ; Wed, 7 Feb 2024 20:12:56 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TVWWV6rwMz462R for ; Wed, 7 Feb 2024 20:12:54 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=holgerdanske.com header.s=nov-20210719-112354 header.b=jFxvkcAm; dmarc=pass (policy=none) header.from=holgerdanske.com; spf=pass (mx1.freebsd.org: domain of dpchrist@holgerdanske.com designates 184.105.128.27 as permitted sender) smtp.mailfrom=dpchrist@holgerdanske.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holgerdanske.com; s=nov-20210719-112354; t=1707336766; bh=9j6+pu3GOPaiyVHvnHPHMNpZ+7+ULMUzBDQMfMtKaMo=; h=Received:Message-ID:Date:MIME-Version:User-Agent:Subject: Content-Language:To:References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=jFxvkcAmiPMl/4etCHn4oY5AhDIso6nkdubh+lSXA6l+kLKv8igmU8Y0MCWl6xPwM SUo24aYrL0r08Addc/zurp+szYOoEAKKQcKScTo+2Y5WtNuGzgPhqPZpC/N8K0cSiR svrxfTpT6Ok4pF7qbcXJx0XxEZa1jx7nxSmbc8r/dCS73bhlDskZcAJBMTWhDWi7lp ss7NPZVdmnfsTxYzmNONXjZXWGl4CtQAXaliytyAYy0KR5yY+8PRlce3eE6HdD4N/o YOWw+hlTiKFg1wBgbhxO3490h5dWXUAkVkpFvARlUxkVGWRPghMrCm5wZzB9n5RUFF 0m6aXuTntshlr9bv/EE2jWRTD+qzLc9oTbLcq+jDC8w/Hq/DK4TyRNSeBoJJeArPb8 GGChxAwaEYTM0KopSj98tSuslflGHZCY2zUZh3M8vht2Z1cAQ/q93bNNBEH1xDiJ7V 4Ky6TlbRMq+5T/iYfR1ozQTXEPBxp5cJT8d5/60Rkksi1/5O2zH0+Yw5JmwPX/dQ31 00+DQck8AaDAwjEgjr8BObErPKlARqeqnRw62p9VYc0/Dk00wyHNGarFAjN4BiKik5 lSPyuHYqqTX3Jnutn13e0oPFPXMkQ8lp6k4VKDOKZ4zZAENFMpTpcGdoehQuQxLmCQ s9rKIF18UU5Jd6NMzCL69HIk= Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Wed, 7 Feb 2024 12:12:46 -0800 Message-ID: <54278033-5eda-4c7b-aa66-3ba5e5c5988a@holgerdanske.com> Date: Wed, 7 Feb 2024 12:12:42 -0800 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Need help with a makefile [RESOLVED] Content-Language: en-US To: questions@freebsd.org References: <8_kmThiamXBYyS8xs6DcL-Sdkr244nfiKNXas7jkXifkzGss3sleWGJN6n4BV7jof6jpKK9vHnYVpKImQHAbGuGlJindprbvtRFh04q_PI4=@proton.me> From: David Christensen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.43 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.54)[-0.542]; DMARC_POLICY_ALLOW(-0.50)[holgerdanske.com,none]; R_DKIM_ALLOW(-0.20)[holgerdanske.com:s=nov-20210719-112354]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; XM_UA_NO_VERSION(0.01)[]; DKIM_TRACE(0.00)[holgerdanske.com:+]; RCVD_TLS_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, country:US]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+] X-Rspamd-Queue-Id: 4TVWWV6rwMz462R On 2/7/24 11:36, Mehmet Erol Sanliturk wrote: > Assume you have a program to be compiled in different operating systems . > Actually to maintain ONE make file for ALL involved operating systems may > be > very difficult not only for you but also for your users . > > Instead of trying to use one make file , the following approach may be more > easy to manage > ( This idea is not originally developed by me , but I have learned it from > other people ) : > > For each different OS , define a directory with a make file specific to the > OS . > Since the make file is specific to the OS , if a user does not use that OS > , make file > will not cause any difficulty . > > If a change is made in one of the OS make files , it will not affect the > other OS make files . > > If some parts are common to different OS make files , these parts may be > stored into a separate > directory and may be included into relevant make files . > > Use of such a division of make files may eliminate a large number of "if" > conditional and sometimes conflicting > statements required to be used in a single common file . Portability is not a new problem and TIMTOWTDI. If the OP's code is destined for multiple platforms, perhaps the learning curve of power tools would be justified: https://www.gnu.org/software/automake/ https://www.gnu.org/software/autoconf/ David From nobody Wed Feb 7 21:59:38 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TVYtk6kDwz5B8st for ; Wed, 7 Feb 2024 21:59:42 +0000 (UTC) (envelope-from john@johnrshannon.com) Received: from maila.johnrshannon.com (maila.johnrshannon.com [104.153.32.124]) (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 4TVYtk0CGgz4JTf for ; Wed, 7 Feb 2024 21:59:42 +0000 (UTC) (envelope-from john@johnrshannon.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=johnrshannon.com header.s=dkim header.b="aZVMQ/Ps"; dmarc=pass (policy=reject) header.from=johnrshannon.com; spf=pass (mx1.freebsd.org: domain of john@johnrshannon.com designates 104.153.32.124 as permitted sender) smtp.mailfrom=john@johnrshannon.com Received: from [10.168.1.38] (thin1.office.johnrshannon.com [10.168.1.38]) by maila.johnrshannon.com (Postfix) with ESMTP id BB50B146D for ; Wed, 7 Feb 2024 14:59:38 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnrshannon.com; s=dkim; t=1707343178; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EhFmSD1V6aofCV5iQ7BanklyB4DaJyqHoYlbv/D2pK0=; b=aZVMQ/Psuo2wXNmN+lbOZcd3I/1Sn6dUhUfeJB4cpGtA5giBRfuLdYJmW7+2E/zB7S7art YOPZ1pb/Tx1+kWOwwLAfnQrn/D+zbMHD8+vSy/C0wMfC816571X+ns9U9XpIQaxN+/E86J OpIFGpTSYLgam3dda0ECT8u7Nnz/wwOBKWlZGo403gXxxnie1Et0hHL47jTALLXbIG7SE3 nArI3Vo9wvUAdeVmKGr3byUc3o7anAtMDQ0uLfJVN+CyckflhwZiyzMjK2JkjU7cdVs+qF +t3sbz0hGF4rlVjbhJMckE7ewoEt6ozP1JUS8aM/wu9zBS7BBNcKO/nEHVKS1A== Message-ID: <0e9a494a-581c-413e-9e27-cca430752b6e@johnrshannon.com> Date: Wed, 7 Feb 2024 14:59:38 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: CA Authorities problem with Firefox and Thunderbird Content-Language: en-US From: John Shannon To: freebsd-questions@freebsd.org References: <9dfe7129-b0f8-4c45-8650-58a81ecd357d@johnrshannon.com> In-Reply-To: <9dfe7129-b0f8-4c45-8650-58a81ecd357d@johnrshannon.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[johnrshannon.com,reject]; R_DKIM_ALLOW(-0.20)[johnrshannon.com:s=dkim]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:32444, ipnet:104.153.32.0/24, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[johnrshannon.com:+] X-Rspamd-Queue-Id: 4TVYtk0CGgz4JTf Problem is now fixed by rolling back to an 8 day old snapshot and upgrading packages afterwards. I have no idea what happened. On 2/6/24 04:03, john wrote: > After my last pkg upgrade Firefox and Thunderbird both show no > Authorities under Certificate Manager in settings. Missing are all the > certificates listed by certctl along with DoD CAs added through > Firefox import and site CA added through Thunderbird import. > > Command line use of: > > % openssl s_client -connect google.com:443 -CAfile > /usr/local/etc/ssl/cert.pem > > works as does other software using TLS. > > Pkg versions: > > firefox-122.0_3,2 > thunderbird-115.7.0_1 > nss-3.97 > sqlite3-3.45.0_1,1 > ca_root_nss-3.93_2 > > $ freebsd-version > 14.0-RELEASE-p4 > > -- John R. Shannon john@johnrshannon.com From nobody Thu Feb 8 15:18:02 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TW0wv4xLTz59sGR for ; Thu, 8 Feb 2024 15:18:07 +0000 (UTC) (envelope-from muhammad.waseem@sophos.com) Received: from id-euw1.prod.hydra.sophos.com (id-euw1.prod.hydra.sophos.com [198.154.180.3]) (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 4TW0wt3H1Qz4DK2 for ; Thu, 8 Feb 2024 15:18:06 +0000 (UTC) (envelope-from muhammad.waseem@sophos.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sophos.com header.s=sophosf69f0521910d49beb03f4ce823e25fdd header.b=WY5vGNpx; dkim=pass header.d=mail-dkim-eu-west-1.prod.hydra.sophos.com header.s=v1 header.b=7kOGEn7C; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=quarantine) header.from=sophos.com; spf=pass (mx1.freebsd.org: domain of muhammad.waseem@sophos.com designates 198.154.180.3 as permitted sender) smtp.mailfrom=muhammad.waseem@sophos.com Received: from ip-172-19-0-242.eu-west-1.compute.internal (ip-172-19-0-242.eu-west-1.compute.internal [127.0.0.1]) by id-euw1.prod.hydra.sophos.com (Postfix) with ESMTP id 4TW0ws25S3zjWwy for ; Thu, 8 Feb 2024 15:18:05 +0000 (UTC) X-Sophos-Product-Type: Gateway X-Sophos-Email-ID: bf13eba9928b4eb9842188191931129d Received: from GBR01-CWX-obe.outbound.protection.outlook.com (mail-cwxgbr01lp2041.outbound.protection.outlook.com [104.47.85.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay-eu-west-1.prod.hydra.sophos.com (Postfix) with ESMTPS id 4TW0wq4FV6zvPry for ; Thu, 8 Feb 2024 15:18:03 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mia/7phe1HCvs0CxsG/n8GIsMjCMjcoQtYw+0QPohUAqGNMYBDyON31VftxQlmXEqoI0Gm6KzVq87uEIZD8qd1no9R/PXafrbiMWj1Kca6vt7+/uWKG0vfPsfHjOZqM+30nmpiH8ZgXqiuoFC/Ug3A1BGfH3VzwWAAhckP2KDvHFbBEhYuGmpcl+BpQVzUIJ7z4dGclDAgj5p1VDwNOiRAiumDiAJ8gvOMBjvkuVvFogDami3XEen/0iNFzStMABBIjv8VJ1j4XaOTNX8bsHJP9QyF0PbLimYqp1F3eO2RD+GkXNwqrAkaF93oLq6vSG87WlNsDIXg+NEJ7Dqa+hDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Kg4xUXklqGzrJBVOuTDg74dOeyHjj0HIEkcEFxh6sms=; b=ZdtL2fGcYU7CDNEvJ856/742MlYvu4mwzy6y++6WoJo7afQBPErsVS+DupqOgnK0i5PZvXZYZ882NEp3Kpjlde6giHKHqjtZlfpo08bOornXPHJk6RWdWQoAbt6SuOaaGrYmLaSX+Xq9ROzYYzxubLkopG+nnfJ8Su2zCzCY4JPCD+MV4jgtTgcnSVeFALwX5Hx8SoLN/LGEkgxRJDIh8vu8FcP86xuQ7ZdpzXhGcwUStMrf3tFsFsXgzXGnzhzM8bzCvEy6SVBLuamgEl8mWGLnVqw60OpZskNcXTvMHFuj9Fz26fX3vUGN0+Sxw4Ug0MqwUMhnWnOwtAhxlBCRuA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sophos.com; dmarc=pass action=none header.from=sophos.com; dkim=pass header.d=sophos.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1707405482; s=sophosf69f0521910d49beb03f4ce823e25fdd; d=sophos.com; h=Content-Type:Date:Subject:To:From; bh=Kg4xUXklqGzrJBVOuTDg74dOeyHjj0HIEkcEFxh6sms=; b=WY5vGNpxkwGUoVJi0GkCYjusc+M0UVlslTf7EWIDBxj6bbGTwGGeZvN7H6vYibEg mMqlPLOks2SYOAwKtGgSY2IeBhbsxT0RiKo8dP6KT5/m4sF+joDq1C+GID0Yyn9c6U5 boR6AqRb66I6Brt306q/On7Lqb1EgE1SApVaKp6S3rXQvt8X0nBQNwGqY2zG7Gw6yaO V5SlPB272RttedYieCNxqTVE8pVlcpj3Jv0wSBSs15BIPmH6eDwCRSNmufRXwz3b2ol q5y1bRUIckKiShi8oghIO8xuxrqr0tdgRPJQROzhvg1WO/jiV7YImGFSpFLNc8hJnXl ByDWzMS6nQ== DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1707405482; s=v1; d=mail-dkim-eu-west-1.prod.hydra.sophos.com; h=Content-Type:Date:Subject:To:From; bh=Kg4xUXklqGzrJBVOuTDg74dOeyHjj0HIEkcEFxh6sms=; b=7kOGEn7C6wzfcoB7bhOrnoSdEph/ctDoYK9psz+balV8HM0nlRbq1YyFkn9PCQEo FMD3bvuRVq2QjnCuY9nHble1hYFbF+GAZeYdc7ZegZ3/jhh6IB0Qx8dK4Ima6juhI3b NudRYsO9Q8GyEXO+h2WB6e7kYyDJq45fCRlTFlG37W0WsJkv4mFgEqVdbgw2VVBz9OA TOpsgg7fH5PATR8L2Wb0I5ICu4C2daq5sB+5knTlzse51JWoPJGAHGimt70QyNsHn0T cLahi7vkpynbzA/vcM4vo2AhMUAlW77JMaHgeZBXpTE92sI0uCLNdkZCqlj1f1HzNPq t5jsDUV1cw== Received: from CWXP265MB4796.GBRP265.PROD.OUTLOOK.COM (2603:10a6:400:153::12) by LO2P265MB5659.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:25f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.24; Thu, 8 Feb 2024 15:18:02 +0000 Received: from CWXP265MB4796.GBRP265.PROD.OUTLOOK.COM ([fe80::ef23:c704:4d04:55fa]) by CWXP265MB4796.GBRP265.PROD.OUTLOOK.COM ([fe80::ef23:c704:4d04:55fa%4]) with mapi id 15.20.7249.041; Thu, 8 Feb 2024 15:18:02 +0000 From: Muhammad Waseem To: "freebsd-questions@freebsd.org" Subject: Seg Fault while upgrading freebsd TCP stack to v13.1 in mbuf chain Thread-Topic: Seg Fault while upgrading freebsd TCP stack to v13.1 in mbuf chain Thread-Index: Adpaofyk7FmBjylXRT+I87aknj3ktw== Date: Thu, 8 Feb 2024 15:18:02 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CWXP265MB4796:EE_|LO2P265MB5659:EE_ x-ms-office365-filtering-correlation-id: 473c3d95-1081-48c3-2740-08dc28b92438 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wvPtvGEb5GTmivced12RO9q0YDkOBZoOIGdgs8uKefqLYWqR37/7PUnkgimfWBHe6R1zmbH0onREANKg2JmXQpQ3RUaMenw8jiks+vLSix9kaSMwMqZV0si8AtW47VLPaR9SauxooXiewFYywqJRTbzNgbspx8tvqeFuJPnnvEyGcIv+igiXzuCRQO/UO3FL6KuIzk8hlAuovhWXMxdbC+QWWJ0a0VrakYYqEFUwqX1Yauq4BU2Z0Yt6rEXcAs/ZEq2250idu3f4J4LeFMALYfTJxwkGkNGHaBapxZdfQ14qmYp1Ndy/sBs1OrJyQ8nMMMqFb6DN49u4n5I28WBYqdkiKc0JILBulGzV6B5MIp1Vi/FNN6v1LyKjsptiW1hTozn4FKLCNs1n5ewNUMKW0f8lKSi9BU/FgLaeBXCLfd38F+JZOo1QV8hFIk2WARaFgZNpAHBFCfegZsa+/DKuwhi0CqlUkfU7ScQBqOffDFFSBYB/5ZSqWTRA4yrInWePg+gZjQI05CqE1gN8iQXitui2RzIU5yHlgFd4KpxuMyl/hN91BUovPVC0IiyZTxn+aI7whaRW4MY6YS4FmtuYi+ugxBWWfE5bDwPU9yMLDx5dZnx0JsU02BLm3E3gX9To x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CWXP265MB4796.GBRP265.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230031)(39860400002)(366004)(346002)(396003)(376002)(136003)(230922051799003)(1800799012)(451199024)(186009)(64100799003)(5660300002)(52536014)(316002)(41300700001)(2906002)(83380400001)(38070700009)(26005)(33656002)(122000001)(86362001)(38100700002)(8936002)(6916009)(8676002)(66946007)(66476007)(66556008)(66446008)(64756008)(76116006)(6506007)(9686003)(478600001)(7696005)(71200400001)(55016003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?LMd9g9+SfCOZFshDQ2kpixf5B01PDSmXrsyMH6ZwRNI/DOzp+GijX/qlGh86?= =?us-ascii?Q?EVxiukm8gsaQ3DCYpFNGpdAkmYpe9MqlU+H/SUQNdXq+UuXA3FPyvRZfBKA1?= =?us-ascii?Q?Qvqe85/pV4ePfKjYGlnwxFQd9nCmiQ3svpmIVgNNMOn3DJiL5CY4Ym382TfA?= =?us-ascii?Q?CVJaJu3sOKm6NX8VDhM/0b8CaFBwoZzHKB+5p5Nwc7wZLaUSetHep9GoO9Lv?= =?us-ascii?Q?+kHA1AHsTJenVtSoyC0XCsymdly/vFH00lxmPV1qJlffuqKJDFFUltZ+SgGR?= =?us-ascii?Q?m4ouSmU8eYWFAGEt69rVp+0F2O66T9UuIXSK0wB/WjipAgE+1cfFFDEqCd5V?= =?us-ascii?Q?/a+pTxPHiPPvg4uJhxVVKV7irkE9pQAwwqGUMqwJBkEoobgpC41nQBcKwyOt?= =?us-ascii?Q?AR50R0yRR7gdKrTOKkPicgYj4nitputse/t6MPe4OYDscGDGwV+EcfTLCoq8?= =?us-ascii?Q?UGXI11TIu7ccqtptVAnGH1+1iB/cweVSUJLllQTvzWxB79nPf8FX5lCBKrBz?= =?us-ascii?Q?0bJIj/EqLKUurl7ddLNUNcNfqC4M+uM5iU4ZMfbZsBReg8uLDn0uwf3snlaI?= =?us-ascii?Q?kHsjPSGhgZQGcDEpZ0ApOpRWN952yGUXkFcmJM2ArpiS2ROmQXLqeTOqVdg1?= =?us-ascii?Q?soIPAl4T2OLgSaw9/WVSR8DFP+6bnn0Z7gkWDUYpTcvAhusf41LI0qKtCfuL?= =?us-ascii?Q?99IUflDO5maFGXuFXUXaXjL6h/lN+NPzU83c2HX1JQ/Fp0w2V6eI+Qi9+2c7?= =?us-ascii?Q?tE3275rwjhRztsW8icgOBkrvqlbAxGIEqqq2qeTAcYVpSYf7BDvYvhVzaOmi?= =?us-ascii?Q?+9CzbPnHuPYDVpnQsL7mJKGYp6fmS4MU5aYlsb1Ipbbam+ogNL9KI/AsRGKN?= =?us-ascii?Q?AWWvBV8tIcHvVQLHunyv9VspBRXlc4O4iiCz0grrRRB4t4dUoAHTqojD5E15?= =?us-ascii?Q?UrVvf02jXbnczRTfGiktn6MVNEFpGUKYS9yY1LURxP2esdvcWpceNFes09Gx?= =?us-ascii?Q?79Hf+6Xf+RNwn6qkNVwmhTkwnUyfS2HXQLG44fm6DLRWbyAR1Hu2lT582XG3?= =?us-ascii?Q?qVKwjmCH+0CDgDXUhkNCjMt3qDT+s+CXKjqfMDDMQb9PTjvdcMQllbnEHDv0?= =?us-ascii?Q?u3LIjviYTWoqL0hGoX6oe1cj3thg9QSHijyWeaSgNPvQzY6GRTkDX14aoekw?= =?us-ascii?Q?BMgjQZAzQeuj1ENL+lT1GaxYONcFg0CIAlfzGw73qVRtKJBj/plDc/x24Jqp?= =?us-ascii?Q?s73ZUxAlUmXofhxX/FNtMkl2CdEMzLHjuAWQPCpTVLRwTN3AI5t8wJTKzXTQ?= =?us-ascii?Q?GeE9wWeWNkS0orkFYGjDSFvkJb9AhEyQNzUvcgm6cUtnqOk2pbUCPg5m/+RV?= =?us-ascii?Q?Pcfc5IiyY4jbILq/TGy7F8SvKqeSrERoTLtkdPPXz8/3ivuF0OBeyyzKSul1?= =?us-ascii?Q?XYLFiO9UDiURqyqIDpFCn/AfuuLxXFESnWs2AVXSlwDiRdIDnni9fh4H55xe?= =?us-ascii?Q?Gr9WfGvS9lmM/tc1bBwqoJlQv50hF0RAgtR895tN5MP2TMbzxkUD3RfjJL8m?= =?us-ascii?Q?+3e3MjvbQtC+BODBvCqkQmEALnjSDLeYskmn9HA0?= Content-Type: multipart/alternative; boundary="_000_CWXP265MB4796C339D93CED1682BD8A5E9F442CWXP265MB4796GBRP_" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: o2kK6qWEeLzCkMSQxq+pbWUp6VOaMvfevUnX1wG8hz5E2mXJEl+UKmiAoCLBiQH03oROtdPtBT7krCEBO6fS/WVtDvaLKbBRBq62SQWQILUhQGCEGADe+pivUw5z/dWgbJ2XpTgzs77nIasN5fuEcwWwCueOY7gZz41VD/EkrsOapBs2sqRDSP+wFaWt+Hv0lAv0+PZTdt22ZDpHZhilaKyAi30Pf6Pq/r19Ce4KyVtuNUCtAlFzFNYxRTCs7kN1YQGJGifwMBE4wPExDUePQieR3almt/NdCvUdefatif30B1FkkyTwJmDfrcwLA4PqNpJdKJ5HQKbE2UKFB4/7yhodn/yMHP6NNRJ0HGYr6pz5bz1cHOQLxtb+IDTiczgLktfB/9Av7OGVx8pFE2ckINBxHh5gqsPorcAKZTme4Y0tM/1WU487let9zpVf4qAeE6BLpulS6UJtIyS5Q2qsq6PrF7oy2OfncTx08meas4DA/ZJ7robjuAfnU1BllGgUks0DYH+OZafJFGw7e+xl/hqXXwJNvtjJvQ8CrLfYFjjgBEoBCX5pFcB36NdPxXoV2x/CUwOwRV/XDs433ODEaSJAhs9M1zsmoeXv0NVQPY9WHlQFHfYFexwEeySdAj/6kgE7gI8GFoNVK+spCcaJkZCACJBWg1PFFd5ciiS27kzwTcQT5DkjoI03/MqCtmyo X-OriginatorOrg: sophos.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CWXP265MB4796.GBRP265.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 473c3d95-1081-48c3-2740-08dc28b92438 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Feb 2024 15:18:02.1399 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 358a41ff-46d9-49d3-a297-370d894eae6a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Fb4pBEzgMsntby5twildwhQCEFhalujyR0nbrFjJY5EZHNHrWRsg+Y58FU4l9BZre8PGqAM8cObhsc3JbnCfNcl9o/vyWbjlMI8lj8mTgtI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO2P265MB5659 X_Sophos_TLS_Connection: OPP_TLS_1_3 X_Sophos_TLS_Delivery: true X-Sophos-MH-Mail-Info-Key: NFRXMHdzMjVTM3pqV3d5LTE3Mi4xOS4wLjI0Mg== X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[sophos.com,quarantine]; RWL_MAILSPIKE_EXCELLENT(-0.40)[198.154.180.3:from]; R_DKIM_ALLOW(-0.20)[sophos.com:s=sophosf69f0521910d49beb03f4ce823e25fdd,mail-dkim-eu-west-1.prod.hydra.sophos.com:s=v1]; R_SPF_ALLOW(-0.20)[+ip4:198.154.180.0/24]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[198.154.180.3:from]; RCVD_IN_DNSWL_NONE(0.00)[104.47.85.41:received]; ASN(0.00)[asn:16509, ipnet:198.154.180.0/24, country:US]; DWL_DNSWL_NONE(0.00)[sophos.com:dkim]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MISSING_XM_UA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_EQ_ADDR_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[sophos.com:+,mail-dkim-eu-west-1.prod.hydra.sophos.com:+] X-Rspamd-Queue-Id: 4TW0wt3H1Qz4DK2 --_000_CWXP265MB4796C339D93CED1682BD8A5E9F442CWXP265MB4796GBRP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable We are running a software that is used to operate middleboxes, and we have = the FreeBSD Network Stack for the TCP protocol implementation. It has serve= d us well, but we have not upgraded since 2013. In the past we have address= ed issues as and when we find them by applying patches from upstream, but t= hat won't work anymore and we decided to upgrade to 13.1. The upgrade was g= oing fine until, we were running smoke tests and we ran into a core. The particular smoke test in question uses Linux Traffic Control to add del= ay, and other impairments to the packet transmission. The exact options bei= ng: delay 10ms reorder 10% and we are using CURL to send a 512 MB randomly = generated file with a 45 second timeout window from the client. Even if we = expect the test to fail due to changes in the upgrade, it should not result= in a segfault. We primarily see the segmentation fault in this low memory machine and not = in other environments. We don't have a liberty to run memory analysis tool = on the environment where the core is reproduced. As for the details of the segmentation fault itself, its occurring in the m= buf chain. In the different tests we have run, the crash point is a differe= nt function, but usually occurs in these functions: 1. sbdrop_internal 2. tcp_m_copym 3. m_split (very rarely, it has also occured in) However, what's to note it always on trying to access a member of the curre= nt m buffer, e.g. m->m_len causes the crash or m->m_flag causes the crash. = I have tracked the faulty address that I get from these functions, to a soc= ket which is assigned from tcp_input_with_port() function from the inpcb st= ruct. The address is of course inaccessible in gdb. The faulty address belo= ngs to the mbuf chains in the so_snd socket buffer. It is usually the mbuf = in sb_sndptr. Either the first member itself or down the line. Although in = one or two cores, the same applies for the sb_mb mbuf chain (which I assume= is the main chain itself). From the addresses we can clearly see its a hea= p overflow, as I was able to go through sb_sndptr chain in one the cores un= til i found the faulty address. The last address before the faulty one is: 0x7f402a4d0700 after which comes= 0x9fff22eb779f. I also see this faulty address for the first time in the f= rame of the function tcp_input_with_port(), in inpcb struct(inp). The very = obvious difference between the two addresses and it show that somewhere whi= le accessing or assigning the mbuf, an overflow has occurred. These are mos= t common back trace: 1. sbdrop_internal() 2. sbdrop_locked() 3. tcp_do_segment() 4. tcp_input_with_port() 5. in_input() 5. netisr_dispatch_src() 6. ether_demux() 7. ether_input_internal() 8. ether_nh_input 9. netisr_dispatch_src() 10. netisr_dispatch() 11. ns_net_tcp_push_frame(). I have tried to track down the source of the faulty address further than tc= p_input_with_port() but with no avail. I only have cores available, and eve= n gdb blocks the seg fault from happening in the test. I have gone through = the code, and according to my meagre understanding, nothing indicates towar= ds a heap buffer overflow in any of the above functions. Any help, in point= ing to the right direction or anything else would be greatly appreciated. I= f you need any more information or a more appropriate mailing list, please = let me know. Thanks, Waseem --_000_CWXP265MB4796C339D93CED1682BD8A5E9F442CWXP265MB4796GBRP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

We are running a software that is used to operate mi= ddleboxes, and we have the FreeBSD Network Stack for the TCP protocol imple= mentation. It has served us well, but we have not upgraded since 2013. In t= he past we have addressed issues as and when we find them by applying patches from upstream, but that won't wo= rk anymore and we decided to upgrade to 13.1. The upgrade was going fine un= til, we were running smoke tests and we ran into a core.

 

The particular smoke test in question uses Linux Tra= ffic Control to add delay, and other impairments to the packet transmission= . The exact options being: delay 10ms reorder 10% and we are using CURL to = send a 512 MB randomly generated file with a 45 second timeout window from the client. Even if we expect the tes= t to fail due to changes in the upgrade, it should not result in a segfault= .

 

We primarily see the segmentation fault in this low = memory machine and not in other environments. We don’t have a liberty= to run memory analysis tool on the environment where the core is reproduce= d.

 

As for the details of the segmentation fault itself,= its occurring in the mbuf chain. In the different tests we have run, the c= rash point is a different function, but usually occurs in these functions:<= o:p>

1. sbdrop_internal

2. tcp_m_copym

3. m_split (very rarely, it has also occured in)

 

However, what's to note it always on trying to acces= s a member of the current m buffer, e.g. m->m_len causes the crash or m-= >m_flag causes the crash. I have tracked the faulty address that I get f= rom these functions, to a socket which is assigned from tcp_input_with_port() function from the inpcb struct. The ad= dress is of course inaccessible in gdb. The faulty address belongs to the m= buf chains in the so_snd socket buffer. It is usually the mbuf in sb_sndptr= . Either the first member itself or down the line. Although in one or two cores, the same applies for the s= b_mb mbuf chain (which I assume is the main chain itself). From the address= es we can clearly see its a heap overflow, as I was able to go through sb_s= ndptr chain in one the cores until i found the faulty address.

 

The last address before the faulty one is: 0x7f402a4= d0700 after which comes 0x9fff22eb779f. I also see this faulty address for = the first time in the frame of the function tcp_input_with_port(), in inpcb= struct(inp). The very obvious difference between the two addresses and it show that somewhere while accessing or as= signing the mbuf, an overflow has occurred. These are most common back trac= e:

1. sbdrop_internal()

2. sbdrop_locked()

3. tcp_do_segment()

4. tcp_input_with_port()

5. in_input()

5. netisr_dispatch_src()

6. ether_demux()

7. ether_input_internal()

8. ether_nh_input

9. netisr_dispatch_src()

10. netisr_dispatch()

11. ns_net_tcp_push_frame().

 

I have tried to track down the source of the faulty = address further than tcp_input_with_port() but with no avail. I only have c= ores available, and even gdb blocks the seg fault from happening in the tes= t. I have gone through the code, and according to my meagre understanding, nothing indicates towards a heap buf= fer overflow in any of the above functions. Any help, in pointing to the ri= ght direction or anything else would be greatly appreciated. If you need an= y more information or a more appropriate mailing list, please let me know.

 

Thanks,

Waseem

--_000_CWXP265MB4796C339D93CED1682BD8A5E9F442CWXP265MB4796GBRP_-- From nobody Fri Feb 9 06:20:11 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TWNx53n2Fz5945l for ; Fri, 9 Feb 2024 06:19:37 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TWNx46264z4VXL for ; Fri, 9 Feb 2024 06:19:36 +0000 (UTC) (envelope-from pprocacci@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=ifJWdWr+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of pprocacci@gmail.com designates 2a00:1450:4864:20::62d as permitted sender) smtp.mailfrom=pprocacci@gmail.com Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a2f22bfb4e6so76182666b.0 for ; Thu, 08 Feb 2024 22:19:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707459575; x=1708064375; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=9+9aQD8fmnwZM4Am/YQn8iHiKcp8Eq5VlY/aXYDlqhQ=; b=ifJWdWr+7HKF7Nq/PQYhl8vj/ElTgFg5UzpcomONEMvywlIu2y2eQlaYfa4WhqyHUp VX6yF4CqKem1/Nnvf8xaeCU2+oSd2sZ5Et0/3PjakqrIGxsfnKrVAU6J+J5U1EcDR9fB UMWyftgmFPbyy3G28MnrBUeg88Eyto763XZWXv0RsnIc87rb8/8GWmYIVFKLfDXjzB+Q kPhiCv1+WUiYzCoxmgT2AwEfbo/sMYXXub3FwquMbjsgpN/RYdk1sVzYVLbtb9VB/v5P YYib4l6ANR8wbIiqjnUcrxXrS+NMSLMddeWwTqjERVDjxxVJ/jeHWFPwX58aAcB9iNUe uchw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707459575; x=1708064375; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9+9aQD8fmnwZM4Am/YQn8iHiKcp8Eq5VlY/aXYDlqhQ=; b=Qtxeg1dGa617xwpG3AuKUnsT/NCnIJaDUMiPBDrIoUhokyx7fAH3p9PyIMBN6nNRG9 QcXP5rZGDuxAaz6HdeVhE+XXY7VvSFXTuyvI4+3trPzhZl4YrIcsa2r9u0zyKm57y8PT ezxBxU5Rn2FgeoEe/Dt6MZlba4c00pXmBGTniRxKsF5OqUuIRLRwyZJPIWa0OfguIE4O 5Zf98pG4jnJy09qtV0/zQJY0dJh5Cykl6zXztDs1KvDqWh5ue1AnIJXT0trV/nOaU36F 7w/gjONaukWPnsgAOBRn22PrAlfxiPN39z/v+7fq6zTpF2a9w9lDjBrd7MMluDQyHYtW aLGw== X-Gm-Message-State: AOJu0YwoFfRVFACy63VL14vBi9d9NkFURJEREhssC0Bt7nLYDLgF5Fp/ yxcmqpzh/1PXRIGS720MBv4BpixLdTc2vbRX3XO3Q4zcEZt1JbOsCJHp+HNK4mPAkatyxKxSlzd Cl9bjKyWeiZLPlpgvtqIscx7ii+6+DBVRiQ== X-Google-Smtp-Source: AGHT+IF3GIbmfVZwBSYnc8qxlVO5PIbYZXeiVXZ46S8hLYYxVz7pHYRwYpQp7pezkD6ubWcL8bW4TxbJz2RPNDtbiTY= X-Received: by 2002:a17:906:b2cd:b0:a39:6c07:d322 with SMTP id cf13-20020a170906b2cd00b00a396c07d322mr374965ejb.58.1707459575036; Thu, 08 Feb 2024 22:19:35 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Paul Procacci Date: Fri, 9 Feb 2024 01:20:11 -0500 Message-ID: Subject: Virtual Isolated Network with Netgraph To: FreeBSD Questions Content-Type: multipart/alternative; boundary="00000000000070409b0610ece9d5" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.995]; NEURAL_HAM_SHORT(-0.99)[-0.986]; NEURAL_HAM_LONG(-0.98)[-0.985]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62d:from] X-Rspamd-Queue-Id: 4TWNx46264z4VXL --00000000000070409b0610ece9d5 Content-Type: text/plain; charset="UTF-8" Hey all, I had an itch for testing netgraph; comparing the performance of it next to if_bridge/epair. I however have come across a problem that I'm not sure how to resolve. I'm hopeful someone knows. I'd like to do the following: +------------------+ | ng_eiface | +------------------+ | +------------------+ | ng_bridge | +------------------+ | +------------------+ | ng_eiface | +------------------+ Seems simple enough. However, I don't want to dangle any of the nodes off of a physical interface and want to keep the ngeth* and ng_bridge* devices completely isolated and virtual. Eventually the thought is I'll stick each ng_eiface into a separate jail and go about my merry way. The above is easily accomplished with if_bridge and epair; I certainly understand this. This is just an exercise to replicate the capabilities of if_bridge/epair with just netgraph. Thoughts? ~Paul -- __________________ :(){ :|:& };: --00000000000070409b0610ece9d5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hey all,

I had an itch for t= esting netgraph; comparing the performance of it next to if_bridge/epair.
I however have come across a problem that I'm not sure how to res= olve.=C2=A0 I'm hopeful someone knows.

I'd like to do the fo= llowing:

+------------------+
|=C2=A0=C2=A0=C2=A0 ng_eifac= e=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 ng_bridge=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 ng_eiface=C2=A0 |
+------------------+

Seems simple enough.=C2=A0 However, I don't want to dang= le any of the nodes off of a physical interface and want to keep the ngeth*= and ng_bridge* devices completely isolated and virtual.=C2=A0 Eventually t= he thought is I'll stick each ng_eiface into a separate jail and go abo= ut my merry way.

The above is easily accomplished with if_bridge and= epair; I certainly understand this.
This is just an exercise= to replicate the capabilities of if_bridge/epair with just netgraph.

Thoughts?

~Paul
--
__________________=

:(){ :|:& };:
--00000000000070409b0610ece9d5-- From nobody Sat Feb 10 01:37:35 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TWtdb0SF4z58X8B for ; Sat, 10 Feb 2024 01:37:55 +0000 (UTC) (envelope-from jfadams1963@proton.me) Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch [185.70.43.22]) (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 "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TWtdX4L1nz4f9m for ; Sat, 10 Feb 2024 01:37:52 +0000 (UTC) (envelope-from jfadams1963@proton.me) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=proton.me header.s=protonmail header.b=fzT4eozs; dmarc=pass (policy=quarantine) header.from=proton.me; spf=pass (mx1.freebsd.org: domain of jfadams1963@proton.me designates 185.70.43.22 as permitted sender) smtp.mailfrom=jfadams1963@proton.me DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1707529068; x=1707788268; bh=yDOcrVc8aUrTgbOn+/d/GOYd1W+hu7ltCazU4h74xTk=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=fzT4eozsbZMdc7cJfhP9N+9E92BLllMn5/sNObp5oDdCxB5PCpznWJGTf9/nlQaIm D1dyascq9Hc9vxeYwaHwXqMKkRvDbuJGBD9/EBt+DteyTWAhTjw65sp44YPHbnfElV fJ8i79WONM4aJl3D4mXVVWu+/h+4DJ2Lw2pbMOvxDrSKnJKyBQpKd3bOL+7RdU0gyW TKgVUb2Ykupa2uWTi6DVKUGEAqiUFheYX9Wd8Pp1yDD0aHMIExjs7UmlivHjKPAD7h rn97WXyUMGWlB9vw12q1mp6QIrcGr3yFAyNc4oS62kKmAmkzv3P22NWDUSwKtjGJpM ufFGgzABYdCjA== Date: Sat, 10 Feb 2024 01:37:35 +0000 To: FreeBSD Questions From: Jonathan Adams Subject: OpenBSD shell account? Message-ID: Feedback-ID: 80741059:user:proton List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------8f7fe856d137a5dca7fbaa663a81e57cec1d438424a3a0ae69a39821a7766e28"; charset=utf-8 X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.50 / 15.00]; SIGNED_PGP(-2.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[proton.me,quarantine]; RWL_MAILSPIKE_EXCELLENT(-0.40)[185.70.43.22:from]; R_DKIM_ALLOW(-0.20)[proton.me:s=protonmail]; R_SPF_ALLOW(-0.20)[+ip4:185.70.43.0/24]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.43.0/24, country:CH]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; RCVD_COUNT_ZERO(0.00)[0]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[proton.me:+]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[] X-Rspamd-Queue-Id: 4TWtdX4L1nz4f9m This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------8f7fe856d137a5dca7fbaa663a81e57cec1d438424a3a0ae69a39821a7766e28 Content-Type: multipart/mixed;boundary=---------------------dd169e48c672d9463d8264f7762ceb60 -----------------------dd169e48c672d9463d8264f7762ceb60 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 Hi all, I hope this isn't too far OT, but I'm looking for a free shell account o= n an OpenBSD system. devio.us is dead, or at least a zombie, and clionly.h= ost out of the UK requires FIDO/U2F, which I don't have. If any one knows of anything, love to hear about it. = Thanks! -=C2=A0Jonathan ____________________________________________ "Before Turing, things were done to numbers. After Turing, numbers began doing things" - George Dyson -----------------------dd169e48c672d9463d8264f7762ceb60-- --------8f7fe856d137a5dca7fbaa663a81e57cec1d438424a3a0ae69a39821a7766e28 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKACcFgmXG00EJkI6O/sbt8r3IFiEEcBGzOO9wDbcpT/10jo7+xu3y vcgAAMhbAQD5Wm+JhDTImF14oklqt1A5YCJ9ickXViNmCdRlQrkkSQD+JItO ahw2cmhynC2zLXxBE9u6dPCJdJ24uMMFTmqT4AQ= =Qv0l -----END PGP SIGNATURE----- --------8f7fe856d137a5dca7fbaa663a81e57cec1d438424a3a0ae69a39821a7766e28-- From nobody Sat Feb 10 01:43:40 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TWtmV2zX1z58Xxr for ; Sat, 10 Feb 2024 01:43:54 +0000 (UTC) (envelope-from patmcevoy@mac.com) Received: from qs51p00im-qukt01080102.me.com (qs51p00im-qukt01080102.me.com [17.57.155.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 4TWtmV1G6Qz4gFQ for ; Sat, 10 Feb 2024 01:43:54 +0000 (UTC) (envelope-from patmcevoy@mac.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=1a1hai; t=1707529432; bh=seepwkbHiQRm12xPCe/iwCybG6aGLEJyqfM+8Ho1U5M=; h=Content-Type:From:Mime-Version:Subject:Date:Message-Id:To; b=ggOzfgR6bCcozxQj8h0O4Lj9QEiCNZPsxcU3dNY6Um80rY6jew4KF0jVhAeHxYSnU T/uHANp5TTvK48m+u89qPCLOnH+Z305j5CrxwgL9A+uUCQ1Aryz/wnMzjv0kJhR/bB SeFRJk0AEvUZPaVB/8K1FdWXnpRBfWgrmPsaKZGRpy/Ve+ylx0n4T+hqvTyLEvyyEW lXU8rvsK16bri8vuWzYg1S6cRGWrewshlVB2yvZUmzVD25EfxSkGndx3VoaX1t95+k m25eqCRjbRwThjkvzAiTxXOBsn0RffvkkeXHWDWKFDVGje+EOQrw5AxZB13OmXO/Zu 8MwZYS/AnDqaA== Received: from smtpclient.apple (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01080102.me.com (Postfix) with ESMTPSA id 35FCA1CC018D; Sat, 10 Feb 2024 01:43:52 +0000 (UTC) Content-Type: multipart/alternative; boundary=Apple-Mail-085BA64E-6EA5-49ED-879D-375A4B1B23A7 Content-Transfer-Encoding: 7bit From: Patrick McEvoy List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (1.0) Subject: Re: OpenBSD shell account? Date: Fri, 9 Feb 2024 20:43:40 -0500 Message-Id: <690FA121-A618-4A41-A515-03B8D54CF7AB@mac.com> References: Cc: FreeBSD Questions In-Reply-To: To: Jonathan Adams X-Mailer: iPhone Mail (21D50) X-Proofpoint-ORIG-GUID: Qx2p1Q0qogpCIsSHsdjix1n_nrc2Cpuw X-Proofpoint-GUID: Qx2p1Q0qogpCIsSHsdjix1n_nrc2Cpuw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-10_01,2024-02-08_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 spamscore=0 malwarescore=0 clxscore=1011 mlxscore=0 bulkscore=0 phishscore=0 mlxlogscore=806 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2402100012 X-Rspamd-Queue-Id: 4TWtmV1G6Qz4gFQ X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:714, ipnet:17.57.155.0/24, country:US] --Apple-Mail-085BA64E-6EA5-49ED-879D-375A4B1B23A7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On Feb 9, 2024, at 20:38, Jonathan Adams wrote: >=20 > =EF=BB=BFHi all, > I hope this isn't too far OT, but I'm looking for a free shell account on= an OpenBSD system. devio.us is dead, or at least a zombie, and clionly.host= out of the UK requires FIDO/U2F, which I don't have. > If any one knows of anything, love to hear about it.=20 >=20 >=20 beastie.SDF.org OpenBSD shell from the SDF folks.=20 http://mydeardiary.sdf.org/openbsd-shell-access-on-sdf.html > Thanks! > - Jonathan > ____________________________________________ > "Before Turing, things were done to numbers. > After Turing, numbers began doing things" > - George Dyson --Apple-Mail-085BA64E-6EA5-49ED-879D-375A4B1B23A7 Content-Type: multipart/related; type="text/html"; boundary=Apple-Mail-8F7AEF48-E702-4550-97CE-21431D68BD6D Content-Transfer-Encoding: 7bit --Apple-Mail-8F7AEF48-E702-4550-97CE-21431D68BD6D Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable


On Feb 9, 2024, at 20:38, Jonathan Adams <= jfadams1963@proton.me> wrote:

=EF=BB=BFHi all,
 I hope= this isn't too far OT, but I'm looking for a free shell account on an OpenB= SD system. devio.us is dead, or at least a zombie, and clionly.host out of t= he UK requires FIDO/U2F, which I don't have.
If any one kno= ws of anything, love to hear about it.



beastie.SDF.org
OpenBSD shell  from the SDF folks. 


Thanks!
-&nbs= p;Jonathan
____________________________________________
"Before Turing, things were done to numbers.
Aft= er Turing, numbers began doing things"
- George Dyson=
= --Apple-Mail-8F7AEF48-E702-4550-97CE-21431D68BD6D Content-Type: application/octet-stream; name=signature.asc; x-apple-part-url=ACDDB1FF-1422-4523-A97F-AE1BDC99794C Content-Disposition: attachment; filename=signature.asc Content-Transfer-Encoding: 7bit Content-Id: -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKACcFgmXG00EJkI6O/sbt8r3IFiEEcBGzOO9wDbcpT/10jo7+xu3y vcgAAMhbAQD5Wm+JhDTImF14oklqt1A5YCJ9ickXViNmCdRlQrkkSQD+JItO ahw2cmhynC2zLXxBE9u6dPCJdJ24uMMFTmqT4AQ= =Qv0l -----END PGP SIGNATURE----- --Apple-Mail-8F7AEF48-E702-4550-97CE-21431D68BD6D-- --Apple-Mail-085BA64E-6EA5-49ED-879D-375A4B1B23A7-- From nobody Sat Feb 10 01:49:35 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TWtvG2nDFz58Y9S for ; Sat, 10 Feb 2024 01:49:46 +0000 (UTC) (envelope-from jfadams1963@proton.me) Received: from mail-40134.protonmail.ch (mail-40134.protonmail.ch [185.70.40.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 SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TWtvG0b1hz4hdS for ; Sat, 10 Feb 2024 01:49:46 +0000 (UTC) (envelope-from jfadams1963@proton.me) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1707529783; x=1707788983; bh=UbbK+Drndh/LpMYmUJ/nXHO4coUMzZ/M6bIT5iTQ9fA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=V2Fr85z0T5yTwOrWmv0xvrowPVgemMxp3P9KWqy0Y86b1gT1bbqPn3olav/GEL999 fahfQ3VAkP6KWRDpHxJxzJQDeh2jomIPLxC9F/O0/m1TSiYEeZGjiAMwLmXLthI+Nt M984lwZAdnH3AMQEkhEUJXlFpk3p2n6Poxv5/yyz0UXMq6GyonB1aUSHoQ0kBSRoKG EKuyXXfOFvfl3xPPNUbNiP7UYPDv8WDvj4VxWfvEtK4z/MO5mAnQ+NH+pbvT2Ovcd4 DZIueXmIHaMy4lVYh5KKcriAAFO7MtRz+69zXbpaacYXjNR4YNOm/R6n7maAV0T1SS A7dY7aubIkSeA== Date: Sat, 10 Feb 2024 01:49:35 +0000 To: Patrick McEvoy From: Jonathan Adams Cc: FreeBSD Questions Subject: Re: OpenBSD shell account? Message-ID: In-Reply-To: <690FA121-A618-4A41-A515-03B8D54CF7AB@mac.com> References: <690FA121-A618-4A41-A515-03B8D54CF7AB@mac.com> Feedback-ID: 80741059:user:proton List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------6697cb23d6c06f980141ac8eaffbcff22fcc5f2fd9052fe0702e997bc59e44d0"; charset=utf-8 X-Rspamd-Queue-Id: 4TWtvG0b1hz4hdS X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH] This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------6697cb23d6c06f980141ac8eaffbcff22fcc5f2fd9052fe0702e997bc59e44d0 Content-Type: multipart/mixed;boundary=---------------------a38fd17a903eea4b28bb2f2835ffad18 -----------------------a38fd17a903eea4b28bb2f2835ffad18 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 On Friday, February 9th, 2024 at 8:43 PM, Patrick McEvoy wrote: > OpenBSD shell =C2=A0from the SDF folks.=C2=A0 > http://mydeardiary.sdf.org/openbsd-shell-access-on-sdf.html Oh great! I'm an SDF member, but I had _no idea_ that they had an OpenBSD = box running. Thank you Patrick. :-) -=C2=A0Jonathan ____________________________________________ "Before Turing, things were done to numbers. After Turing, numbers began doing things" - George Dyson -----------------------a38fd17a903eea4b28bb2f2835ffad18-- --------6697cb23d6c06f980141ac8eaffbcff22fcc5f2fd9052fe0702e997bc59e44d0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKACcFgmXG1gsJkI6O/sbt8r3IFiEEcBGzOO9wDbcpT/10jo7+xu3y vcgAAA0oAQCriR/4yeN2tPNtzgik+ndFVyCWMfZyciQCiwh2J7Ig6wEA/zs2 PebupzN5ILHLOMtj0UDmyz/dCTmgRbq9L0r8BAk= =OAPa -----END PGP SIGNATURE----- --------6697cb23d6c06f980141ac8eaffbcff22fcc5f2fd9052fe0702e997bc59e44d0-- From nobody Sat Feb 10 03:18:30 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TWwss3s7tz58hsZ for ; Sat, 10 Feb 2024 03:18:41 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from ns.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "discoveriesinwood.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TWwsr2pdjz4q61 for ; Sat, 10 Feb 2024 03:18:40 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org Received: from [192.168.151.122] (breakaway.dreamchaser.org [192.168.151.122]) by ns.dreamchaser.org (8.17.1/8.17.1) with ESMTP id 41A3IUMh018510 for ; Fri, 9 Feb 2024 20:18:30 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: <6e2f0c7a-fcfb-43ba-9c85-2d7a8ee8465b@dreamchaser.org> Date: Fri, 9 Feb 2024 20:18:30 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: FreeBSD Mailing List Reply-To: freebsd@dreamchaser.org From: Gary Aitken Subject: sanity check Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: inspected by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Fri, 09 Feb 2024 20:18:30 -0700 (MST) for IP:'192.168.151.122' DOMAIN:'breakaway.dreamchaser.org' HELO:'[192.168.151.122]' FROM:'freebsd@dreamchaser.org' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Fri, 09 Feb 2024 20:18:30 -0700 (MST) X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.49 / 15.00]; NEURAL_HAM_MEDIUM(-0.93)[-0.925]; NEURAL_HAM_LONG(-0.71)[-0.709]; NEURAL_HAM_SHORT(-0.66)[-0.662]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; TO_DN_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org] X-Rspamd-Queue-Id: 4TWwsr2pdjz4q61 Could someone running 13.2 and sendmail try adding the following lines to /etc/mail/aliases and tell me whether newaliases complains or not? bozos: foo@somewhere.net, \ bar@somewhere.net Thanks, Gary From nobody Sat Feb 10 06:03:26 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TX0X40BnQz59009 for ; Sat, 10 Feb 2024 06:03:32 +0000 (UTC) (envelope-from graham@menhennitt.com.au) Received: from slateblue.cherry.relay.mailchannels.net (slateblue.cherry.relay.mailchannels.net [23.83.223.168]) (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 4TX0X25vlvz47RJ for ; Sat, 10 Feb 2024 06:03:30 +0000 (UTC) (envelope-from graham@menhennitt.com.au) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=menhennitt.com.au header.s=dreamhost header.b=E3r+5l4U; dmarc=none; arc=pass ("mailchannels.net:s=arc-2022:i=1"); spf=pass (mx1.freebsd.org: domain of graham@menhennitt.com.au designates 23.83.223.168 as permitted sender) smtp.mailfrom=graham@menhennitt.com.au X-Sender-Id: dreamhost|x-authsender|graham@menhennitt.com.au Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 184892C30A3 for ; Sat, 10 Feb 2024 06:03:29 +0000 (UTC) Received: from pdx1-sub0-mail-a202.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id B72512C4328 for ; Sat, 10 Feb 2024 06:03:28 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1707545008; a=rsa-sha256; cv=none; b=1z/93eF/C2rFscLCsgcXNw3AiX0bBkSNyycizQtRs5to+uJCragI0yKxyDivWg1tKJgAJ3 N5glSf7ARCyKRvfgCIWtijfZs9uja7OjejGjRbNAeEZURUjtvAW488Ku9GWujfAaEOi8LT REGWCP2uX7xbUR/Ud7ZmvYaE0AntNHXa6DrGvjN0IlvrCoLwR/YyiGlYI8CYOLb85glbOI OuB0TEb4ycAb5oIr82TWcofD7yRrXNttqhamDRFUEe1NOtt03azPhds9/FVw8pk9/W4Un+ mZ+phZZ51+r+v0gtFEyJqvVr2aCEeRGgARxkwpcLMAIMi8iqK8ymTG8gE2LG8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1707545008; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=JL1IErZWsExzgVVOQTuvN6UMdzdQD4r9Wuew5ULBy8c=; b=iGL09z12VfPZ+H9vHqQnjrwp0bxpYcwgRNjrUS6aNWn5l1b/iuZpZmX95/v/6vWvEH40p+ SY0KamJeNoliIsJE0ttngoVwPFAZtqx25oZpLCC33VTQMun/qnXTb5OtrSGk+4EzBNZSwu xbIxTyHrkyXWUsAOvcdKNR/WqM6bEjsXmjgQjbzMoQgQSLn3Qfn40tL19FSyAn7d8951r/ YQA0gRG2Q/waP7nk57XoyYWJePkGhzYEIcpaHTC42GvwXWSeiS1fz48CxgEhXtEoTNhou0 y6x69U9CVfg8OZgpjKxxO3EJXxL+q8+cCs1+zOrlh2fcTRCmoEnL3yu72AJLOA== ARC-Authentication-Results: i=1; rspamd-55b4bfd7cb-l6nf7; auth=pass smtp.auth=dreamhost smtp.mailfrom=graham@menhennitt.com.au X-Sender-Id: dreamhost|x-authsender|graham@menhennitt.com.au X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|graham@menhennitt.com.au X-MailChannels-Auth-Id: dreamhost X-Shade-Continue: 0cd7d960003a7a2e_1707545008956_1424731292 X-MC-Loop-Signature: 1707545008956:304632324 X-MC-Ingress-Time: 1707545008956 Received: from pdx1-sub0-mail-a202.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.115.180.201 (trex/6.9.2); Sat, 10 Feb 2024 06:03:28 +0000 Received: from [203.3.73.118] (unknown [203.221.161.136]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: graham@menhennitt.com.au) by pdx1-sub0-mail-a202.dreamhost.com (Postfix) with ESMTPSA id 4TX0X01JCCz7L for ; Fri, 9 Feb 2024 22:03:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=menhennitt.com.au; s=dreamhost; t=1707545008; bh=JL1IErZWsExzgVVOQTuvN6UMdzdQD4r9Wuew5ULBy8c=; h=Date:From:Subject:To:Content-Type:Content-Transfer-Encoding; b=E3r+5l4UKFfOXcAR5HJQOOiFtZavMD7jfcp1jHHggxBoTvd0cSmqaN1bbRit/du5K 5O5zOsJ84Ei/YHo0hwdc9UlctLO1teqj4AymCY4mHqrq6dRwK8KF1gUsLq9dIq4SZb WNUKRUYr/MatCSseIBX6XURA08IhLP/fNrVv/xZh1WP9dmOwRseCFjsGhMUuerOLZC YuPgaYkt4OxOzaLHe68hGx0ROtv6z8IZM5hvn4fDDqjP9JqREIW5j73GaG/E0+5gac XMzG2Bp9buPb5DQAm1EN2gBJwUlU+63lW++PxXTmD8xZFFZtx2MkJKBNdqPCCDG36u 9zOcZ2nRLM5fg== Message-ID: <296848ac-9121-4b9b-a514-6da8ed2d3af1@menhennitt.com.au> Date: Sat, 10 Feb 2024 17:03:26 +1100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Graham Menhennitt Subject: putty from Windows to FreeBSD 14.0 says "Server refused our key" To: freebsd-questions@freebsd.org Content-Language: en-AU Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.69 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; ARC_ALLOW(-1.00)[mailchannels.net:s=arc-2022:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; RWL_MAILSPIKE_VERYGOOD(-0.20)[23.83.223.168:from]; R_SPF_ALLOW(-0.20)[+ip4:23.83.208.0/20:c]; R_DKIM_ALLOW(-0.20)[menhennitt.com.au:s=dreamhost]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:63213, ipnet:23.83.223.0/24, country:CA]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[23.83.223.168:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[menhennitt.com.au]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[menhennitt.com.au:+] X-Rspamd-Queue-Id: 4TX0X25vlvz47RJ Hello list, I have a box that I recently upgraded to FreeBSD 14.0. It all appears to be working ok except for one thing. When I attempt to use Putty on Windows to connect to it using SSH, I get an error "Server refused our key" and it drops back to password authentication. I have not modified sshd_config from the default. I've used this same key for many years from Putty and from other FreeBSD boxes. It still works successfully from FreeBSD 13 to FreeBSD 14, but not from Putty to FreeBSD 14. In auth.log on the FreeBSD 14 box, I can see that it says "userauth_pubkey: signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]". So, I guess that I could fix this by modifying sshd_config, but I don't understand why it works from FreeBSD 13 but not Putty. Something that may be related (but I'm not sure). When I use password authentication from Putty, it appears that it doesn't read my .bashrc. When I login from FreeBSD 13, it does read .bashrc. Does anybody have any clues, please. Thanks in advance,     Graham From nobody Sat Feb 10 06:18:16 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TX0sF73vkz591Mn for ; Sat, 10 Feb 2024 06:18:25 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from thyme.eden.le-Fay.ORG (THYME.EDEN.LE-FAY.ORG [IPv6:2001:8b0:aab5:107::10]) by mx1.freebsd.org (Postfix) with ESMTP id 4TX0sF54TGz4BYg for ; Sat, 10 Feb 2024 06:18:25 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; none Received: from iris.eden.le-Fay.ORG (IRIS.EDEN.LE-FAY.ORG [IPv6:2001:8b0:aab5:106:3::6]) by thyme.eden.le-Fay.ORG (Postfix) with ESMTP id 38ABA281AB; Sat, 10 Feb 2024 06:18:17 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=thyme; t=1707545897; bh=Cwsx0QnAKlLSpLu4tLwp+5DgG7MZBlCI6E3NK7Uq4nk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=zjE8b1A3SRim0aw0aLIFtzMFXkJ9ymWmACXKEe7yrhAwrUciM8Dj9MY67nfqiRTrM Doy+F68RPRjFxO0b322Qqgz8RINjSlPCSUWKf/68Fv3BLPWKvZ2Yd+0STJ6hRcTxhJ /UoUUCLM8INm/i6cInNNcMKWOWiqlnyXgLUcbItk= Received: from ilythia.eden.le-fay.org (ILYTHIA.EDEN.LE-FAY.ORG [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id 25F422C0412; Sat, 10 Feb 2024 06:18:17 +0000 (GMT) Date: Sat, 10 Feb 2024 06:18:16 +0000 From: Lexi Winter To: Graham Menhennitt Cc: freebsd-questions@freebsd.org Subject: Re: putty from Windows to FreeBSD 14.0 says "Server refused our key" Message-ID: Mail-Followup-To: Graham Menhennitt , freebsd-questions@freebsd.org References: <296848ac-9121-4b9b-a514-6da8ed2d3af1@menhennitt.com.au> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/FqP1f1L0EtyLIGY" Content-Disposition: inline In-Reply-To: <296848ac-9121-4b9b-a514-6da8ed2d3af1@menhennitt.com.au> X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20712, ipnet:2001:8b0::/32, country:GB] X-Rspamd-Queue-Id: 4TX0sF54TGz4BYg X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated --/FqP1f1L0EtyLIGY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Graham Menhennitt: > I have a box that I recently upgraded to FreeBSD 14.0. It all appears to = be > working ok except for one thing. When I attempt to use Putty on Windows to > connect to it using SSH, I get an error "Server refused our key" and it > drops back to password authentication. I have not modified sshd_config fr= om > the default. =20 > I've used this same key for many years from Putty and from other FreeBSD > boxes. It still works successfully from FreeBSD 13 to FreeBSD 14, but not > from Putty to FreeBSD 14. =20 > In auth.log on the FreeBSD 14 box, I can see that it says "userauth_pubke= y: > signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]". S= o, > I guess that I could fix this by modifying sshd_config, but I don't > understand why it works from FreeBSD 13 but not Putty. according to its documentation, PuTTY does not support RFC8332 RSA/SHA-2 key authentication: https://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/rsa-sha2.html support for RSA/SHA-1 was removed by default in FreeBSD 14.0, so you would need to manually re-enable it to connect via PuTTY (as you discovered). alternatively, and more securely, you could see if PuTTY can generate and use ECDSA or ED25519 keys instead, which don't require SHA-1. --/FqP1f1L0EtyLIGY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmXHFSYACgkQDHqbqZ41 x5mncQv9Gju0A+VFRcq9SPZfaG0QpGc0pRizHERgDZNvrATMb0c6zni6CPfb8kHQ ngVmjDkShp+5FbhsxrMvj3mrGFrhwntBRYPGqwoleKyWajQN2dk36cGq05wIs1oU /0k9J+kIzu1AE1IuNKfCR4OlIp6okj0DIhcfJjKVT5HfwP2/2AjHxgGQFwNlYIRB B36liQshe/+WQi2z/wB7Fn6EKuVIDtnA+o9sJzCu52w0yAtTrh2rrX96YFxkJSh0 DofCgo4VD4tNIIdZPJMCsVg8W3xrjgIwq9m9KLjxv7wBkoJ5SyJh50y4+wPFyyBw CzB+yaEql2R3GzLOA2psAimn9tLTTFLMA8NIPhOtZNysgTrCZJGo/TilcGooKn7M q24GmTTIUhfKWJEYIeQUvPjGwQ2WcUFE+W2qJVKJrQPA4GrCzOcjvA6S9A1ZpqNZ 8OJ+CuDj4JXPgfvl69dX+PaieSGIqpadwqyg/iAdrVGg6k2LvpV6IJQZxBrArvAw H1FgX7oM =Vij/ -----END PGP SIGNATURE----- --/FqP1f1L0EtyLIGY-- From nobody Sat Feb 10 06:20:25 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TX0vk6xg1z5927Q for ; Sat, 10 Feb 2024 06:20:34 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from thyme.eden.le-Fay.ORG (THYME.EDEN.LE-FAY.ORG [81.187.47.194]) by mx1.freebsd.org (Postfix) with ESMTP id 4TX0vh5KyRz4D5H for ; Sat, 10 Feb 2024 06:20:32 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=le-fay.org header.s=thyme header.b="NJES3/yc"; dmarc=none; spf=pass (mx1.freebsd.org: domain of lexi@le-fay.org designates 81.187.47.194 as permitted sender) smtp.mailfrom=lexi@le-fay.org Received: from iris.eden.le-Fay.ORG (IRIS.EDEN.LE-FAY.ORG [IPv6:2001:8b0:aab5:106:3::6]) by thyme.eden.le-Fay.ORG (Postfix) with ESMTP id 957FB2838C; Sat, 10 Feb 2024 06:20:25 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=thyme; t=1707546025; bh=cAuYHU52evcT24HKWopxD9vTWumLy8bZ6k0279pCyFo=; h=Date:From:To:Subject:References:In-Reply-To; b=NJES3/ycuRxc9nhRcsDGy8QhwVeDYVT8R8fE5DwaAgbkEoS9r+HRLrlSywJyp3jvE LOKNkhFh+PL0aAA0Q1BTuAtwDi4oi/Dr+KnMxrcYTPHtuked0dNckFQ/g9XVaTqU0v nMaJLCVHVrB9tGCuFdL7ft7GELjvP3JfM/mTUQxs= Received: from ilythia.eden.le-fay.org (ILYTHIA.EDEN.LE-FAY.ORG [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id 7079B2C0412; Sat, 10 Feb 2024 06:20:25 +0000 (GMT) Date: Sat, 10 Feb 2024 06:20:25 +0000 From: Lexi Winter To: Graham Menhennitt , freebsd-questions@freebsd.org Subject: Re: putty from Windows to FreeBSD 14.0 says "Server refused our key" Message-ID: Mail-Followup-To: Graham Menhennitt , freebsd-questions@freebsd.org References: <296848ac-9121-4b9b-a514-6da8ed2d3af1@menhennitt.com.au> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gBknE2djOnjxbCvz" Content-Disposition: inline In-Reply-To: X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.50 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[le-fay.org:s=thyme]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:81.187.47.194]; RCVD_NO_TLS_LAST(0.10)[]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:20712, ipnet:81.187.0.0/16, country:GB]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[le-fay.org:dkim]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[le-fay.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[le-fay.org:+] X-Rspamd-Queue-Id: 4TX0vh5KyRz4D5H --gBknE2djOnjxbCvz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Lexi Winter: > according to its documentation, PuTTY does not support RFC8332 RSA/SHA-2 > key authentication: >=20 > https://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/rsa-sha2.html to correct my own answer, after sending this i noticed PuTTY actually does claim to have fixed this in 2020: https://git.tartarus.org/?p=3Dsimon/putty.git;a=3Dcommitdiff;h=3D33de96ffa9= 6c19955a4f078a9235e0c7284670dd perhaps you need to upgrade to a later version? --gBknE2djOnjxbCvz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmXHFakACgkQDHqbqZ41 x5lxnwv9F/7DwiffMHq0zMc+yH7OJRNOcaL70mZ/YCxSQRArkYG0z4MKFLOuSwyJ o+rFHs0EySMv8wUa2svjOENajytBa1unfFuVCevUJQHA6NzEtSnMh1wAo8+h6FSU 2lkHsTCpwScuszsuN07zGJ2w/Cbf19hjepATHO6spxxmipu7yqDow2ekFBwE3t/y 9sYYqL4QDr6He1LIMtwNRfCBEKhulFdqWwiu+bkst1ldcfBGUEUP+5ic7xHGsdRy nl4Wc5WKcMsX/bP/GHaG7wJMBfMEWVOStNy75Jd2qWpxuyclYWc8AFMc92woGGXA httRXj838VOAtIAgDYAs7ttTPjHIJabtfGKHYZOzsUQr0IPGKZfd++545O2YfSf6 Pq3GJJFNFmImZBN2DRIoBm4eO3QxQWVYckWr6Mhi7QeKv5q1/zKxj/a6BYvlkE1/ 3kSwji4SLgxH7cJ4QWRd//DsB4Lb9OkGKTuWNM4sgp2WB5fAxbD9nRGf4FI1UwQI z421Oj05 =aYvK -----END PGP SIGNATURE----- --gBknE2djOnjxbCvz-- From nobody Sat Feb 10 06:28:00 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TX14c27HGz592Pk for ; Sat, 10 Feb 2024 06:28:16 +0000 (UTC) (envelope-from walterp@gmail.com) Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TX14Z112hz4Dv9 for ; Sat, 10 Feb 2024 06:28:14 +0000 (UTC) (envelope-from walterp@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-604819d544cso17116047b3.1 for ; Fri, 09 Feb 2024 22:28:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707546492; x=1708151292; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=hP32g8FOfSamuxd5uv34QIjRSgOzoyfs1E0uWxcgqUk=; b=WwWg86s/MSsrbbKfHUfNfnEpMiEEOOP6aOqSBi/8HNZPyzfUY36WBs0ZjLS10Uw879 31JscqKu8dUT6tg1YKaVL/z5VjtCYPRcF4UkO0tGldSNPHiogik/+CASnBsdy7Ipq1Y7 8gObFdwLRzf/5tCBy/e5GdqDLvedGV79X16ExBdmH0L+wX+E2xy/FXgt7jLMTskzj3+U 7pKCXsnMzjaMcEgajy78Qy79oC9iIHi+sdMuvNVKauGq/SNimdyA/9lvCjNxPRRaHxYe QlL2kuVLAAyI4BmR1Z8ZPh2SRndAoXBJp37LNFBvDUeC+p2Wb9H1omyWjVnIseOGz/2U ThEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707546492; x=1708151292; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hP32g8FOfSamuxd5uv34QIjRSgOzoyfs1E0uWxcgqUk=; b=jyQnvJekRZLdEoLyR2kcrsCy3SRux6Zd/XJUFC7u2eFAdbmUqpAv6XeuPUTylFlOul kqXEab7AyrEZbcrTSpEUEP1IkhsreJbttR8eWIAFO8pH0sSlOH14CIEoKPdRO8ZlGbGZ JOyNjApgsw8GDgZC/tw/OsBOcAOch+OB6c2TLUSaHy+fZo1dN7Kr4nTuvzAuw3NgwNzh 94Mya7quJxrD3AhDftYW8L2eSTBa7Gc4qytaVzuJn0m91QF2YKeFcIsuJJboIsDzIq/o 4hITnZr3vPfIYqUaMelDkq6l3QcMn6LdmAc8QtrtTUEswQpFsCr/gb3Rnloa0mZIXaxD zUzQ== X-Gm-Message-State: AOJu0YyXV/6gn6HHTnlf9WNF/yT9N6iiDyYC+CqrHh5BlBhQ+AViXT6l QCBJ0RZIwleoAaIvQhMZnJnePeB8m4DVw18TDTb6IlReOKUd6zIlgxyVHiU98UR7BtK+mNRBOCO oK9RTDTzCOcppDpRm5VlhDYwK+68= X-Google-Smtp-Source: AGHT+IGrDqOZnIdWAz2bhQOaPJXFh9yi2cd5gpGKwkH33gbRBgq0MXjuoXXF6YnmoJJeYejvF1QyxF7R3Prxw21+xus= X-Received: by 2002:a81:48c4:0:b0:5ef:902b:75a6 with SMTP id v187-20020a8148c4000000b005ef902b75a6mr1334040ywa.20.1707546491882; Fri, 09 Feb 2024 22:28:11 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <296848ac-9121-4b9b-a514-6da8ed2d3af1@menhennitt.com.au> In-Reply-To: <296848ac-9121-4b9b-a514-6da8ed2d3af1@menhennitt.com.au> From: Walter Parker Date: Fri, 9 Feb 2024 22:28:00 -0800 Message-ID: Subject: Re: putty from Windows to FreeBSD 14.0 says "Server refused our key" To: Graham Menhennitt Cc: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="0000000000001617b406110126e6" X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4TX14Z112hz4Dv9 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated --0000000000001617b406110126e6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I=E2=80=99d have to go look, but the most recent versions of openSSH got ri= d of some of older signature algorithms from the default configuration. FreeBSD picked up those new changes. Depending on which version of 13 you have, it might have an older version of openSSH that still has RSA in the default configuration. Walter The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding. -- Justice Louis D. Brandei= s On Fri, Feb 9, 2024 at 10:04=E2=80=AFPM Graham Menhennitt wrote: > Hello list, > > I have a box that I recently upgraded to FreeBSD 14.0. It all appears to > be working ok except for one thing. When I attempt to use Putty on > Windows to connect to it using SSH, I get an error "Server refused our > key" and it drops back to password authentication. I have not modified > sshd_config from the default. > > I've used this same key for many years from Putty and from other FreeBSD > boxes. It still works successfully from FreeBSD 13 to FreeBSD 14, but > not from Putty to FreeBSD 14. > > In auth.log on the FreeBSD 14 box, I can see that it says > "userauth_pubkey: signature algorithm ssh-rsa not in > PubkeyAcceptedAlgorithms [preauth]". So, I guess that I could fix this > by modifying sshd_config, but I don't understand why it works from > FreeBSD 13 but not Putty. > > Something that may be related (but I'm not sure). When I use password > authentication from Putty, it appears that it doesn't read my .bashrc. > When I login from FreeBSD 13, it does read .bashrc. > > Does anybody have any clues, please. > > Thanks in advance, > > Graham > > > > --0000000000001617b406110126e6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I=E2=80=99d have to go look, but the most recent versions= of openSSH got rid of some of older signature algorithms from the default = configuration. FreeBSD picked up those new changes. Depending on which vers= ion of 13 you have, it might have an older version of openSSH that still ha= s RSA in the default configuration.


Walter

The greatest= dangers to liberty lurk in insidious encroachment by men=C2=A0of zeal, wel= l-meaning but without understanding. =C2=A0 -- Justice Louis D.=C2=A0Brande= is


On Fri, Feb 9, 2024 at 10:04=E2=80= =AFPM Graham Menhennitt <gra= ham@menhennitt.com.au> wrote:
; Sat, 10 Feb 2024 06:35:59 +0000 (UTC) Received: from pdx1-sub0-mail-a202.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 24C4A942C1C for ; Sat, 10 Feb 2024 06:35:59 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1707546959; a=rsa-sha256; cv=none; b=gmZxfg8HHweo079uomnSLAlBjkF3xzPUXk83/NkRBfZslpVjnaqcFwWjsrqeQrn33qNGZJ 6X0drSIpmaF/PZuPvxxQr1SXzgeYGQ6BMcYfSFFS+Y8ibS24ZOaraFr+YfbLt0qjVHN2TC aMUKny6pNqKb6MdDinw6b8MzrRt6E5RlJydw0OsEh9TmRWM8lzMaOyxLzX2rbZ+rQbQx+R GRKgB4/1iWND6FfjX/i5eWKPx/LBhVhnU04HFLHRvMnYshI+gnF0/GRXI8UQ9GWL+5MwKZ 8dBkUgtFg1Xjt455dgfiipItvRjIf03gxRG0vH5o1pSB1PIYXQu5p2vaCAN8iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1707546959; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=GG5U6sjPh9E5ZW/H4xT+0VuFyS9/7fBvKRPDVtt5Gfo=; b=kplp1BjodlWrjMqoLZPqMNLAf+MiEPfPN1Li/XEk8ZNv3j4buG3cMfyWwhtj7TCYQF0a2L RMOtFmLKxLhbjOVg5d0HZcBYz/0odcoZFnaf5cdrk1Gh22G/OiPZFVQ/q+XyMs/ojqeZ58 2reIVPak5bh6/4rYgJ9FhJfNreljW6eckWi7gZgkkIj2D/gaqIAIEd4EKm7QQWsU8XUOES A10VUDpLcTwGjz7AVv6MDU6y2jgkjWoqOR8I3WFJ/vRFtPWymHUbynya4Ah29PdaJ4QDQH xEkbjp6aHye6FUcF0wH+Y35PlrTthP65Sj7zi69Gp98rk7cjr53ZrpfCd8fVVw== ARC-Authentication-Results: i=1; rspamd-6bdc45795d-k6dss; auth=pass smtp.auth=dreamhost smtp.mailfrom=graham@menhennitt.com.au X-Sender-Id: dreamhost|x-authsender|graham@menhennitt.com.au X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|graham@menhennitt.com.au X-MailChannels-Auth-Id: dreamhost X-Lonely-Name: 090edeef1c56cc14_1707546959352_2972314990 X-MC-Loop-Signature: 1707546959351:973406440 X-MC-Ingress-Time: 1707546959351 Received: from pdx1-sub0-mail-a202.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.122.38.211 (trex/6.9.2); Sat, 10 Feb 2024 06:35:59 +0000 Received: from [203.3.73.118] (unknown [203.221.161.136]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: graham@menhennitt.com.au) by pdx1-sub0-mail-a202.dreamhost.com (Postfix) with ESMTPSA id 4TX1FV3WLVzCT for ; Fri, 9 Feb 2024 22:35:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=menhennitt.com.au; s=dreamhost; t=1707546958; bh=GG5U6sjPh9E5ZW/H4xT+0VuFyS9/7fBvKRPDVtt5Gfo=; h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding; b=jx58pWqwqCv7qS4RKGsMRgtpFhWvMJyNDtUAMA+OkFVLqWBlJI29F0D0dPChUUFW/ CxGzZw30dCi04pr7MUzjW8ruUg7woa27CWUSavdeqMeUxVLOjniWACy63I6hibHQRq VqQu2Y5aqJeJCdkajhTKIWvInV8IiZlxgmm7IdOsICzjChIMZSOheqqhJfWlpyMU53 BaILwkcNk1pTHd3EaWAvFDTPZC0TehfqNpT/BrncoIAxotkKT3Dc7y0NlDUAA7I4ni QapaiCsNDFFz6zylq/w9rIQ9d8BeRBblsshv21vrWlNbQ/9m9LKZ4KeCw5w9xPw8W9 gT47cGNUmJQww== Message-ID: <9c4ab59b-6c7e-4ed4-afb7-fe1e1b2648e7@menhennitt.com.au> Date: Sat, 10 Feb 2024 17:35:56 +1100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: putty from Windows to FreeBSD 14.0 says "Server refused our key" Content-Language: en-AU To: freebsd-questions@freebsd.org References: <296848ac-9121-4b9b-a514-6da8ed2d3af1@menhennitt.com.au> From: Graham Menhennitt In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.69 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; ARC_ALLOW(-1.00)[mailchannels.net:s=arc-2022:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RWL_MAILSPIKE_VERYGOOD(-0.20)[23.83.218.248:from]; R_SPF_ALLOW(-0.20)[+ip4:23.83.208.0/20]; R_DKIM_ALLOW(-0.20)[menhennitt.com.au:s=dreamhost]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:63213, ipnet:23.83.216.0/22, country:CA]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[23.83.218.248:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[menhennitt.com.au]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[menhennitt.com.au:+] X-Rspamd-Queue-Id: 4TX1FZ0Wmjz4Gsb Thank you Lexi. Upgraded to Putty 0.80 and all working now. Still not reading .bashrc but that must be some other problem. Thanks again,     Graham On 10/02/2024 5:20 pm, Lexi Winter wrote: > Lexi Winter: >> according to its documentation, PuTTY does not support RFC8332 RSA/SHA-2 >> key authentication: >> >> https://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/rsa-sha2.html > to correct my own answer, after sending this i noticed PuTTY actually > does claim to have fixed this in 2020: > > https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=33de96ffa96c19955a4f078a9235e0c7284670dd > > perhaps you need to upgrade to a later version? From nobody Sat Feb 10 06:36:49 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TX1GZ0QRLz593RN for ; Sat, 10 Feb 2024 06:36:54 +0000 (UTC) (envelope-from graham@menhennitt.com.au) Received: from seagreen.cherry.relay.mailchannels.net (seagreen.cherry.relay.mailchannels.net [23.83.223.160]) (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 4TX1GX5LHrz4Hjd for ; Sat, 10 Feb 2024 06:36:52 +0000 (UTC) (envelope-from graham@menhennitt.com.au) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=menhennitt.com.au header.s=dreamhost header.b=ZTx8WYYj; dmarc=none; arc=pass ("mailchannels.net:s=arc-2022:i=1"); spf=pass (mx1.freebsd.org: domain of graham@menhennitt.com.au designates 23.83.223.160 as permitted sender) smtp.mailfrom=graham@menhennitt.com.au X-Sender-Id: dreamhost|x-authsender|graham@menhennitt.com.au Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 8EE2783CD6 for ; Sat, 10 Feb 2024 06:36:51 +0000 (UTC) Received: from pdx1-sub0-mail-a202.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 58E6983900 for ; Sat, 10 Feb 2024 06:36:50 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1707547010; a=rsa-sha256; cv=none; b=fm3dDf2uVJT0Zo2o8zB1cJ4GW2m97Tv1szrN3DaO1ZOeqM4wGRmQMUouinKI/VysQYhUsg BhDuQ7joQzaFrmVH1H/acWHqgorDRALlHO8X44dMiix9yC8l9maeHQV2gnti9H0CnPjeFK lmz9DzuTAHn9AMIqiHjnDXDEAGfsWBcTddMO8VG/7sCg2UJPfM9TRNfVxmhrCu0iPz2fOV ewnPWfjGbTtCC+viAT39T7rNaLppHLeQLdnZ+oEdvHCfwHS2qVPjn5CV2qSDTCzRP3wA8u zaC6F5tdZJ6ZB/c9/NMLAahsqfsRBd/NhUa5NH9VsG5nhw7i4pJ+7RHKXyrR2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1707547010; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=k2M7YnjHddMZrG9BNoatxJRWtww/LpGBGqLUhMjtWFo=; b=NbU1rYVqu0ZFWtrwCSPVS+Uf2BYdZXwB74bdFMr76IQRMsSDyq/6ZXBzrBOvgb07Has11x mJy4LVg7FSeJ00U8BM6KQncYBrEaYo16bvcVuTKxbuRBDVKCSwim5riLeaif706c4ZndWw 6ljtG4QRrL+FePDUrYn9Towf2mlaBGgAJi6EwHhRK/5EQpCzSlM3ATUZzXzc6lbdzHpBVj dc2RodnMrgGWUV3tDvq1HFe6djphngALlqNW6UGwfkuqkkRI1Q/f+qjHy0mm6c0B3ZvoiW lVHG/vVL8b1zZIDSCWHeAND2IHNpW3S9/wWSA3bIeM4jfH9kLJ5ZFb+MssfWUg== ARC-Authentication-Results: i=1; rspamd-6bdc45795d-bpvcg; auth=pass smtp.auth=dreamhost smtp.mailfrom=graham@menhennitt.com.au X-Sender-Id: dreamhost|x-authsender|graham@menhennitt.com.au X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|graham@menhennitt.com.au X-MailChannels-Auth-Id: dreamhost X-Society-Gusty: 6f10b87a2a822e6d_1707547011447_1291818720 X-MC-Loop-Signature: 1707547011447:4162726373 X-MC-Ingress-Time: 1707547011447 Received: from pdx1-sub0-mail-a202.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.100.214.40 (trex/6.9.2); Sat, 10 Feb 2024 06:36:50 +0000 Received: from [203.3.73.118] (unknown [203.221.161.136]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: graham@menhennitt.com.au) by pdx1-sub0-mail-a202.dreamhost.com (Postfix) with ESMTPSA id 4TX1GT65jhzXM for ; Fri, 9 Feb 2024 22:36:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=menhennitt.com.au; s=dreamhost; t=1707547010; bh=k2M7YnjHddMZrG9BNoatxJRWtww/LpGBGqLUhMjtWFo=; h=Content-Type:Date:Subject:To:From; b=ZTx8WYYjMONioz562z2l/Ms+DHKjZFT9G4pxCLGbJ/M9Rf0xf75bZnz5Xp0O5j618 mkTK1WsgcvJzB+EHK5EUhqiu11hUMAhmxE8RPrsz2jwYHKBXko2MECvddVEGm8PwUb gS0z0bgxAK6+ZnNkrSX235SfqqRHUKwd51j0ZIwSVOFTusYFCPtq2Htdq7wpxS6NyX MXHPYlOz0xNaFOjXrXiOIFmclu6dV/PSiH9ivfwSDqaIdmaZFoSrxe++AlQVTvetVu XFVrgQY3ULhFg6EBrkUnkpbMpK7TpY1xXxfABYPEEljpzmG8FI/6zzETGIQOJ/K3q8 3iBwHNstpeWXQ== Content-Type: multipart/alternative; boundary="------------z6MMjIB5m75PqFj4hr5NNeEY" Message-ID: Date: Sat, 10 Feb 2024 17:36:49 +1100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: putty from Windows to FreeBSD 14.0 says "Server refused our key" Content-Language: en-AU To: questions@freebsd.org References: <296848ac-9121-4b9b-a514-6da8ed2d3af1@menhennitt.com.au> From: Graham Menhennitt In-Reply-To: X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.89 / 15.00]; ARC_ALLOW(-1.00)[mailchannels.net:s=arc-2022:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.995]; RWL_MAILSPIKE_EXCELLENT(-0.40)[23.83.223.160:from]; R_DKIM_ALLOW(-0.20)[menhennitt.com.au:s=dreamhost]; R_SPF_ALLOW(-0.20)[+ip4:23.83.208.0/20:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:63213, ipnet:23.83.223.0/24, country:CA]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[menhennitt.com.au]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[23.83.223.160:from]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DKIM_TRACE(0.00)[menhennitt.com.au:+] X-Rspamd-Queue-Id: 4TX1GX5LHrz4Hjd This is a multi-part message in MIME format. --------------z6MMjIB5m75PqFj4hr5NNeEY Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Thanks Walter. Working now after upgrade to Putty 0.80. Thanks,     Graham On 10/02/2024 5:28 pm, Walter Parker wrote: > I’d have to go look, but the most recent versions of openSSH got rid > of some of older signature algorithms from the default configuration. > FreeBSD picked up those new changes. Depending on which version of 13 > you have, it might have an older version of openSSH that still has RSA > in the default configuration. > > > Walter > > The greatest dangers to liberty lurk in insidious encroachment by > men of zeal, well-meaning but without understanding. -- Justice Louis > D. Brandeis > > > On Fri, Feb 9, 2024 at 10:04 PM Graham Menhennitt > wrote: > > Hello list, > > I have a box that I recently upgraded to FreeBSD 14.0. It all > appears to > be working ok except for one thing. When I attempt to use Putty on > Windows to connect to it using SSH, I get an error "Server refused > our > key" and it drops back to password authentication. I have not > modified > sshd_config from the default. > > I've used this same key for many years from Putty and from other > FreeBSD > boxes. It still works successfully from FreeBSD 13 to FreeBSD 14, but > not from Putty to FreeBSD 14. > > In auth.log on the FreeBSD 14 box, I can see that it says > "userauth_pubkey: signature algorithm ssh-rsa not in > PubkeyAcceptedAlgorithms [preauth]". So, I guess that I could fix > this > by modifying sshd_config, but I don't understand why it works from > FreeBSD 13 but not Putty. > > Something that may be related (but I'm not sure). When I use password > authentication from Putty, it appears that it doesn't read my > .bashrc. > When I login from FreeBSD 13, it does read .bashrc. > > Does anybody have any clues, please. > > Thanks in advance, > >      Graham > > > --------------z6MMjIB5m75PqFj4hr5NNeEY Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Thanks Walter. Working now after upgrade to Putty 0.80.

Thanks,

    Graham

On 10/02/2024 5:28 pm, Walter Parker wrote:
I’d have to go look, but the most recent versions of openSSH got rid of some of older signature algorithms from the default configuration. FreeBSD picked up those new changes. Depending on which version of 13 you have, it might have an older version of openSSH that still has RSA in the default configuration.


Walter

The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding.   -- Justice Louis D. Brandeis


On Fri, Feb 9, 2024 at 10:04 PM Graham Menhennitt <graham@menhennitt.com.au> wrote:
Hello list,

I have a box that I recently upgraded to FreeBSD 14.0. It all appears to
be working ok except for one thing. When I attempt to use Putty on
Windows to connect to it using SSH, I get an error "Server refused our
key" and it drops back to password authentication. I have not modified
sshd_config from the default.

I've used this same key for many years from Putty and from other FreeBSD
boxes. It still works successfully from FreeBSD 13 to FreeBSD 14, but
not from Putty to FreeBSD 14.

In auth.log on the FreeBSD 14 box, I can see that it says
"userauth_pubkey: signature algorithm ssh-rsa not in
PubkeyAcceptedAlgorithms [preauth]". So, I guess that I could fix this
by modifying sshd_config, but I don't understand why it works from
FreeBSD 13 but not Putty.

Something that may be related (but I'm not sure). When I use password
authentication from Putty, it appears that it doesn't read my .bashrc.
When I login from FreeBSD 13, it does read .bashrc.

Does anybody have any clues, please.

Thanks in advance,

     Graham



--------------z6MMjIB5m75PqFj4hr5NNeEY-- From nobody Sat Feb 10 09:29:23 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TX56C0Qr1z59KgS for ; Sat, 10 Feb 2024 09:29:55 +0000 (UTC) (envelope-from tml@seiruote.it) Received: from smtpdh20-2.aruba.it (smtpdh20-2.aruba.it [62.149.155.165]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtpdh20.ad.aruba.it", Issuer "Actalis Organization Validated Server CA G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TX5691SKTz4YDM for ; Sat, 10 Feb 2024 09:29:52 +0000 (UTC) (envelope-from tml@seiruote.it) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=seiruote.it header.s=a1 header.b=BtxmRB9x; dmarc=pass (policy=none) header.from=seiruote.it; spf=pass (mx1.freebsd.org: domain of tml@seiruote.it designates 62.149.155.165 as permitted sender) smtp.mailfrom=tml@seiruote.it Received: from [192.168.20.100] ([45.13.91.13]) by Aruba Outgoing Smtp with ESMTPSA id YjgDr6uD3ltZpYjgDrDVSP; Sat, 10 Feb 2024 10:29:49 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=seiruote.it; s=a1; t=1707557389; bh=25OO2qyj4+xoLaNS+5vn+luheRuldHlAnWbq6QqiLzY=; h=Date:MIME-Version:Subject:To:From:Content-Type; b=BtxmRB9xh5ZEOCB0GnZoev2MeNKIbPz0HrXZUck9pF9znlzSLL2gjoNtZWuiTco2B hwPvXwfdyWuMoA/tX6Rjp9b2oLhtXjaVKCyzuIIWfAPJ1hglMGYU6fcZhbBzJX1RXg 4k34dB56BJgkoSk2vPb4fMob1G1xniC3JKiToFRZ2MkJqQdEbQSblei1vPOXM22YIN qLl1CiWnIfwqP/1JppJBWxC336c182qybuIAjJTKwqIbmTBCrhtPg3GIyi1sUIb/iX FtYt25GvwxHSPFqpWdX6tvqXt8E1t/p9rIxGGU0Qr/Hm3rmYjHj+jzSGYyfFAA6kpk O68LN0D943sjA== Message-ID: <316c2b4e-1a9c-44e1-9310-0789e1057ef4@seiruote.it> Date: Sat, 10 Feb 2024 10:29:23 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: sanity check Content-Language: it To: questions@freebsd.org References: <6e2f0c7a-fcfb-43ba-9c85-2d7a8ee8465b@dreamchaser.org> From: tetrosalame In-Reply-To: <6e2f0c7a-fcfb-43ba-9c85-2d7a8ee8465b@dreamchaser.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfFTLWNz7VYVjKDLDb7xWfPOcODLMxjeMUN6qo5rpPfLl4VKE67llPHbWLScj7jRADhH+a5cniIAhjIhxEXrhFOo3FRJsRkyJq7AD4I+HMFchYXqAcqzZ 9Z7zrczd24RSlE2jKwqI0LcuXiZvjmgjqhlrXwfSzSDjMPnYvRRGsjnUX3IasfDPxk9ngH+hBvrldQ== X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.89 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[seiruote.it,none]; R_SPF_ALLOW(-0.20)[+ip4:62.149.155.0/24]; R_DKIM_ALLOW(-0.20)[seiruote.it:s=a1]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; XM_UA_NO_VERSION(0.01)[]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:31034, ipnet:62.149.128.0/19, country:IT]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[62.149.155.165:from]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[62.149.155.165:from]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DKIM_TRACE(0.00)[seiruote.it:+] X-Rspamd-Queue-Id: 4TX5691SKTz4YDM Il 10/02/2024 04:18, Gary Aitken ha scritto: > Could someone running 13.2 and sendmail try adding the following > lines to /etc/mail/aliases and tell me whether newaliases complains > or not? > > bozos: foo@somewhere.net, \ >   bar@somewhere.net 13.1 works, 13.2 doesn't: /etc/mail/aliases: line 182: Non-continuatin line starts with a space BTW, before bar@ i put a tab, not a space. -- f From nobody Sat Feb 10 09:38:40 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TX5K45jLfz59LW6 for ; Sat, 10 Feb 2024 09:39:20 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TX5K42yP4z4bsM for ; Sat, 10 Feb 2024 09:39:20 +0000 (UTC) (envelope-from odhiambo@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-51168addef1so3139048e87.1 for ; Sat, 10 Feb 2024 01:39:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707557958; x=1708162758; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=t0tJanBZckS7gKlEd7I3EjgEsdw5/1+76mPsTIDerkM=; b=kgglaG9gDGdCMY+Z9Wfr18J0HPGIkuw6C3gx65ahcwNbP60RDs3JCm2GZy4zP8V8cC N6XmlxcMC0ovQQw6Gl5TwYWEEBgApiwGJIyCWUv/LB9MUgsIMwl2QRs7gWb0QoEVKXyK XZ3jYYk5yeBn1aoziqqANo9P7OoeYAsy4gmWvNlNWVqBVTicKTQwSiMyjoj35rJxX0oQ QyaR1ZCNieIDrTWapGZpgt12GB6npGCE2fjLw/iDwmCi3t87/2M5ua4Q8ogXyQpkxbC9 0cqAAfEOI/+EF/TkNF9vt5CAarusrYqKmJcpCPWDqyrBRbCPIojyoYvfGW6TReml+08r WCeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707557958; x=1708162758; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=t0tJanBZckS7gKlEd7I3EjgEsdw5/1+76mPsTIDerkM=; b=tHnDChnk0QxIW8KXGB3Npcz9d6zpJr0k+LgTuucWwutOTEC/OYBN4PnhBulv/nxrke Nba83cVo3+9Yhi+0zfWGaM8Xgt/vTke6GFY8CImF72u1xgF1qjhpT+uVVuplGVl7TVE+ IAASq7d5nbYW1YzCD4bywy2Gh8iOOmja0Srxt9jtJgLyzXRQzxVxU9VnnZj7xivB3VK/ TZ78jK0v2jXm1A4nZIClwpf5AyFA60uTsGiAy+dJMZtfdxAbUm98PqJ2zqxu3PK+4OCh R7bLH/57OdiYdFRcEXNWitqPxguEV1ilb7VuLLjtgOkxEb3sWnpYO2jncajtn7P5W9zh gaBw== X-Gm-Message-State: AOJu0YyeiZlwA9y8O0+jJf8EsNqtsfoHhRMFncVMoEMoXK8Cvt18ag9w 0p/H7X3ocedxNAywRvlBhyfbGOqjDJXho0dfGtgY1Pi/IWgdbMtflFkHEGeYYdmrP39c5arNKEu w64JiOhxYtmeAXW5yoXk9gVdtGVA1b4kXHXdwTw== X-Google-Smtp-Source: AGHT+IE0EXpQQ4ppH90++YN04VhsOqng+JoR24f1sXTeeap4xHGVU/AfNe2TVhmU5Dg8BOtsHpxm+eAY2Ygm0CzylLc= X-Received: by 2002:a2e:9911:0:b0:2d0:d974:4ee4 with SMTP id v17-20020a2e9911000000b002d0d9744ee4mr1024464lji.12.1707557957933; Sat, 10 Feb 2024 01:39:17 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Odhiambo Washington Date: Sat, 10 Feb 2024 12:38:40 +0300 Message-ID: Subject: Re: OpenBSD shell account? To: FreeBSD Questions Cc: Jonathan Adams Content-Type: multipart/alternative; boundary="000000000000841f7d061103d11a" X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4TX5K42yP4z4bsM X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated --000000000000841f7d061103d11a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Feb 10, 2024 at 4:38=E2=80=AFAM Jonathan Adams wrote: > Hi all, > I hope this isn't too far OT, but I'm looking for a free shell account > on an OpenBSD system. devio.us is dead, or at least a zombie, and > clionly.host out of the UK requires FIDO/U2F, which I don't have. > If any one knows of anything, love to hear about it. Virtualbox is FREE. OpenBSD is FREE too. Run a VM on your PC/Laptop. --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html] --000000000000841f7d061103d11a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sat, Feb 10, 2024 at 4:38=E2=80=AF= AM Jonathan Adams <jfadams1963@= proton.me> wrote:
Hi all,
=C2=A0 I hope this isn't too far OT, but I'm looking for a free she= ll account on an OpenBSD system. devio.us is dead, or at least a zombie, and clio= nly.host out of the UK requires FIDO/U2F, which I don't have.
=C2=A0If any one knows of anything, love to hear about it.

Virtualbox is FREE.
OpenBSD is F= REE too.
Run a VM on your PC/Laptop.

=
--
Best = regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2= 274 3223
=C2=A0In=C2=A0an Internet failure case, the #1 suspe= ct is a constant: DNS.
"Oh,= the cruft.",=C2=A0egrep -v '^$|^.*#'=C2=A0
=C2=AF\_(=E3=83=84)_/=C2=AF=C2=A0:-)
[How to ask= smart questions:=C2=A0http:/= /www.catb.org/~esr/faqs/smart-questions.html]
<= /div>
--000000000000841f7d061103d11a-- From nobody Sat Feb 10 15:48:33 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TXFWL270vz59tDm for ; Sat, 10 Feb 2024 15:48:46 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 4TXFWK4c2Xz55Jk for ; Sat, 10 Feb 2024 15:48:45 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=ilk.org; spf=pass (mx1.freebsd.org: domain of freebsd-questions-local@be-well.ilk.org designates 23.30.133.173 as permitted sender) smtp.mailfrom=freebsd-questions-local@be-well.ilk.org Received: from lowell-Ubuntu.lan (lowell-Ubuntu.lan [172.30.250.95]) by be-well.ilk.org (Postfix) with ESMTP id C0A763617F; Sat, 10 Feb 2024 10:48:33 -0500 (EST) Received: by lowell-Ubuntu.lan (Postfix, from userid 1147) id 87FDA1080522; Sat, 10 Feb 2024 10:48:33 -0500 (EST) From: Lowell Gilbert To: Graham Menhennitt Cc: freebsd-questions@freebsd.org Subject: Re: putty from Windows to FreeBSD 14.0 says "Server refused our key" In-Reply-To: <9c4ab59b-6c7e-4ed4-afb7-fe1e1b2648e7@menhennitt.com.au> (Graham Menhennitt's message of "Sat, 10 Feb 2024 17:35:56 +1100") References: <296848ac-9121-4b9b-a514-6da8ed2d3af1@menhennitt.com.au> <9c4ab59b-6c7e-4ed4-afb7-fe1e1b2648e7@menhennitt.com.au> Reply-To: freebsd-questions@freebsd.org Date: Sat, 10 Feb 2024 10:48:33 -0500 Message-ID: <44il2wtj5a.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.93 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[ilk.org,none]; NEURAL_HAM_SHORT(-0.24)[-0.235]; R_SPF_ALLOW(-0.20)[+a]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:7922, ipnet:23.30.0.0/15, country:US]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org] X-Rspamd-Queue-Id: 4TXFWK4c2Xz55Jk Graham Menhennitt writes: > Thank you Lexi. Upgraded to Putty 0.80 and all working now. Still not > reading .bashrc but that must be some other problem. Bash only reads .bashrc in a non-login shell. You probably want to source it from .bash_login. From nobody Sat Feb 10 16:48:22 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TXGrc6rR2z59ypW for ; Sat, 10 Feb 2024 16:48:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TXGrb5n87z40nv for ; Sat, 10 Feb 2024 16:48:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=edvax.de; s=s1-ionos; t=1707583715; x=1708188515; i=freebsd@edvax.de; bh=4L2nB9nlVuxx0AqYg+OA9H0BoB3Drj5w0ba0d/kufjw=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References: Reply-To; b=Xu8sQIpyxSEWhs762ZHSHkOYYTrZG7a8DA7WbRqY9h80OAfAw4UXcuPtcUs0mbLD YzipPdfo7znDPCCvOrqVvTFxcDCAYdsz+I84hH0CeA85m6to0STKmZtMMLrEciJSx bFoJ9jtt0QmAvsTVt1FgCmTADpEjd+ARHJhIk/4BoOHUGBimUzPDSSauSZzb2WDUH gLnu8GTcz1EImDLP1+ox+z53o1409hxoXjQr1mplbgB8GKEdrHI1aqBZuZtPT9Bgh cCtC4SP2urwQ6VFBCeTk210P/PfUHuRIdEXt/Cb8lk9ng/G4SklGOAq7Eykf7rCWd ceFJf/Hgy4V/pd5u2w== X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from terra.edvax.de ([178.5.231.139]) by mrelayeu.kundenserver.de (mreue010 [213.165.67.97]) with ESMTPSA (Nemesis) id 1M5Q2f-1rXTcM1Fv3-001Q0u; Sat, 10 Feb 2024 17:48:35 +0100 Received: from r56.edvax.de (r56 [10.200.1.11]) (authenticated bits=0) by terra.edvax.de (8.17.1/8.17.1) with ESMTPA id 41AGmRDS085286; Sat, 10 Feb 2024 17:48:29 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 10 Feb 2024 17:48:22 +0100 From: Polytropon To: freebsd@dreamchaser.org Cc: FreeBSD Mailing List Subject: Re: sanity check Message-Id: <20240210174822.df5e5582.freebsd@edvax.de> In-Reply-To: <6e2f0c7a-fcfb-43ba-9c85-2d7a8ee8465b@dreamchaser.org> References: <6e2f0c7a-fcfb-43ba-9c85-2d7a8ee8465b@dreamchaser.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:2I9VUjuGKSHWOWasIqAOAz2ayXi/NZegWDWQnR0Dkb1klJ/vb5I Hhs9Z4jtTPfnc0INbQeiVhWGhs+PDTR8GgBZpFyCbznzfZYgET4Izm8zSUWoiKgxwzc3ftT uz3IM5im2eze+5/EVtCabzAhABn1bY0zr7U5p2OkFfzUcLyZR2xmGWkFMdjuY2f0UxFJ3BJ xQwGCoY7+mqfo+TOWJVTw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:cpFFgAU88T4=;J3+M/vI8xvkHOUjS+4IUR50ENOh 2PgcPohxZEeKehL/saIU/uyp6zcFQESWqRutYnk1Geyau4DFE5MdBh1+IYiAaw9LVshDhELhQ 81lYdBYdvKafITMx6gnHf7t/HCNIB5KdbR3K1TZu3GueInboaEbdTTPyT6nyXDg+XsUHIbvxr Zei+Rf8bGb2J6xaw+XyjUPR955y/2FHRRswEfjEGeX0yXx24o9eNUB7nR8vOXKzcbzdPID0nj SqCzsqebJWWMfcxxkMgGJhhyJnb9WVXNWB9EVxHccmeXe+pV6HKzrmFWyMjDr5zu8I2qrzm4v pXLU34FmgGuBaE88Er0UBurMSiDAO44li7jsR0/drZHV/Lkec1yWnWsvYP7LnmrF+MuxtUxuF HANo+9Ya3Xsxex8N4pF27iJz6wzin4Q43eBM3G1IhptIyiQ8hU11yu1uJbROGKujJZc6l8cfh 8+Fjjy5StVy4SBt/F7RQWXQQCL1U6Q7Uy28ltFM9nQPjU9VzPgocSyLbnwlOZBwknPEEnJ47D 7TJa2CKEMxlH2Ms/vgc3z+zCHxACMyyQf6Mhca3DCEKTmZsnSe0Qnz/wmbTsx0Ei3I+O/mSYn fchNszl2cAnxu+X7me8VptZ6W4kdrb3cdcrHIbzO0+6HJl8AyzOhJ9dLA8uUizKAMNvmAX4bs qdeH78GOoEAUV8/6bhVtZ0cxZfB8CTn2/tKHi2v+o3pOqmu1oRheOwVdITbUGB/9pyXnh6U1i folf2P/yxoxmQdHPRDwiDJXdzdR57QQcw4YlpkZ5Mk41qsmJrj6m2g= X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] X-Rspamd-Queue-Id: 4TXGrb5n87z40nv X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated On Fri, 9 Feb 2024 20:18:30 -0700, Gary Aitken wrote: > Could someone running 13.2 and sendmail try adding the following > lines to /etc/mail/aliases and tell me whether newaliases complains > or not? > > bozos: foo@somewhere.net, \ > bar@somewhere.net FreeBS 13.2-RELEASE, error for "newaliases" (and "make aliases") command: /etc/mail/aliases: line 82: Non-continuation line starts with space Applies both to indentation with a tab or any number of spaces. With the indentation left off ("bar" starts at beginnin of the next line), the following error appears: /etc/mail/aliases: line 82: missing colon This effect is "new" to FreeBSD 13.2; older versions don't seem to be affected. =2D- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From nobody Sun Feb 11 11:00:26 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TXl4f5Pdqz59V09 for ; Sun, 11 Feb 2024 11:00:50 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from fhigh7-smtp.messagingengine.com (fhigh7-smtp.messagingengine.com [103.168.172.158]) (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 4TXl4d4fj9z41ct for ; Sun, 11 Feb 2024 11:00:49 +0000 (UTC) (envelope-from dch@skunkwerks.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=skunkwerks.at header.s=fm1 header.b=jda5USBB; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="q nwHQeQ"; dmarc=pass (policy=none) header.from=skunkwerks.at; spf=pass (mx1.freebsd.org: domain of dch@skunkwerks.at designates 103.168.172.158 as permitted sender) smtp.mailfrom=dch@skunkwerks.at Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 5EFDA11400C4; Sun, 11 Feb 2024 06:00:47 -0500 (EST) Received: from imap44 ([10.202.2.94]) by compute2.internal (MEProxy); Sun, 11 Feb 2024 06:00:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1707649247; x=1707735647; bh=ajUTTiVyqo/6mgYsDmLRf/O270QIDIu5F7WA4FyAnTo=; b= jda5USBBChRQ9vcIEPo6e9jk1ph8e5D6TnNNEhJ1bjYwLbl0oddmUwwCoMtXzMHK aABWtMmRWWHGUDpfEiJ55SEkysuWFEi63fPFwSD+voWkIr/VMrYAvBgiWrBcegUW ZBrZpqU68QbM/XPfChRF5g9DsJ7hUVsjeQPuqU8L2Qggjnw0TwwHr5mu19gIUL4E RJ5Rfp1zVsDMkomiYqqmowKYbzL5ePTERxho3VMZv4whzfN1Lsxg9NUX0yu7+tt/ Yk6UCOiWMk3elYQFnLshiYjuPmkgioKkiniWmaGP1lXJ8RBbJcbgxGqtkfrMs5lW ypmf8z95dOwYUoERU+vjCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1707649247; x= 1707735647; bh=ajUTTiVyqo/6mgYsDmLRf/O270QIDIu5F7WA4FyAnTo=; b=q nwHQeQ00v9TGw0HdMuKCw9W6065oReTx2+NkGX9FoVW6PIDt1jTRje6ex6L03Pup B10Go+HGqv9CDzXQ4bi9XtLHiGPPZCPNO5gpbclIlCx46qeVf+qT5tQgGZ1LkUoD 8qd8WyYWwarbZY8tcNkmh1t3Uy7yRWiooTZ/lTDDSbOAUXsvtFX3GNz5g4JqP5oY fwlfszX+aB5MwJkdYVMfmw6bbk2IYW1q4XGlGDIC8vFpvwnUrgaToLooAM7T37IY mfkACqaEfxEkMXd8TAXYW9/i6hdo0o55SiETiTFFqdV62p8tfaQ9Qs5o9BBn0UZw Fzb9fppa6ECBoEvoqzMdw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledruddugddvgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgfgsehtqh ertderreejnecuhfhrohhmpedfffgrvhgvucevohhtthhlvghhuhgsvghrfdcuoegutghh sehskhhunhhkfigvrhhkshdrrghtqeenucggtffrrghtthgvrhhnpedthfethfejkeeihe dvhfeiieeiledtheehueetieelhfffleehhffhfeefteejteenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegutghhsehskhhunhhkfigvrhhksh drrght X-ME-Proxy: Feedback-ID: ic0e84090:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id D63E236A0076; Sun, 11 Feb 2024 06:00:46 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-144-ge5821d614e-fm-20240125.002-ge5821d61 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-Id: <5f391041-c299-4e6e-a532-a8ff517bedba@app.fastmail.com> In-Reply-To: References: Date: Sun, 11 Feb 2024 12:00:26 +0100 From: "Dave Cottlehuber" To: "Christian Weisgerber" , freebsd-questions Subject: Re: Firefox with U2F? Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.09 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[skunkwerks.at,none]; R_DKIM_ALLOW(-0.20)[skunkwerks.at:s=fm1,messagingengine.com:s=fm3]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.158:from]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; FREEFALL_USER(0.00)[dch]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[103.168.172.158:from]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[skunkwerks.at:+,messagingengine.com:+] X-Rspamd-Queue-Id: 4TXl4d4fj9z41ct On Wed, 7 Feb 2024, at 21:04, Christian Weisgerber wrote: > Does anybody here regularly use Firefox with FIDO/U2F for two-factor > authentication? Does it work reliably for you? > > Because it doesn't for me. Sometimes it works, sometimes it doesn't, > seemingly at random, and sometimes for a whole stretch of time. By > "it doesn't work" I mean that Firefox displays its popup, but the > U2F token doesn't flash, so it isn't being accessed. =20 I generally don=E2=80=99t have issues, and I use it daily for git forges= and a number of other dev related sites, on CURRENT tho. I had a few issues during Firefox 120 RC builds and had to revert to the= ESR version until 122 came out, but that was waiting for webrtc sharing= issues were fixed upstream. Worth seeing if it works under ESR version next time it fails? A+ Dave From nobody Sun Feb 11 13:19:32 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TXp8x6ZmTz59jhS for ; Sun, 11 Feb 2024 13:19:45 +0000 (UTC) (envelope-from hosneybinosman@gmail.com) Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TXp8w331gz4Jvj for ; Sun, 11 Feb 2024 13:19:44 +0000 (UTC) (envelope-from hosneybinosman@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=KpQtKzja; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of hosneybinosman@gmail.com designates 2607:f8b0:4864:20::1031 as permitted sender) smtp.mailfrom=hosneybinosman@gmail.com Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-296c58a11d0so1796131a91.3 for ; Sun, 11 Feb 2024 05:19:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707657583; x=1708262383; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=bUEk+fdiI5R7UWRkqAHxlEHj8fq0Fce3pPDkGGsNZIQ=; b=KpQtKzjazhOPTOQcKAR0gn2NZ84AYm8ysW+TH4vvT9ZkKgy6UZUxiyjXPxwQ+XPRFI vzO4vbqZDSIRy+hU+K2uoNyYFQYCHoUT3micsB4D4GXnJNQPZWWOI1qPaGibm7QARfC1 mbDY5m+ZYvhOYemCtqzMVFWDwJra5ieEupnq/A05xEv55VSQReyRJ/nVTB0OsRJaUwyG jME8YbuTNhNzVCz7Nmike9JzpHHeOd4bMpQBa3NQ7Y6GhiwA7MQePKVS9B4JKZksmaLL zC3W5Ixq2aT4+dCCvuDO/PNgw/CkEg32e+g2FBvL67kleKoP+25KnkOXgEQmgKsHR3uu 7fnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707657583; x=1708262383; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=bUEk+fdiI5R7UWRkqAHxlEHj8fq0Fce3pPDkGGsNZIQ=; b=MJb3Zu3sX9Q+JIPvJPH42cDf+KPmgRDFrOKI/XrO9nU6besSCw21foON0mhKTdEn1A DPHWjwBEJqjd0pAx2Wx62iMrnA9IvUdMoZpPc+gUDh4qs/IC/ltkVmh5cdbPTipCiOaF yZ5dZyNIlYipVqhDlRRAGtk/x3Uj4t/K2nK1a92c1wsFC9rfD+0mq+tloMH/DcHg+pXM z5yAKUdyv2SJtLDZ3nORP+KSEAHEyd+qe099jxPRWVY7eggwj8r24NnHfkD/FJnLoQeH vrnjf63VrpwWZOid2fJ4hp4dneI+l2DEbWiYZHQM3IyTBfnri3Bj6WoFNAK5dO2dB3lZ KcfA== X-Gm-Message-State: AOJu0YzbjW3oibQOZ90kQp3lE6A/9IYtlZe4smq/V1RYewFOQ83PvBbY 7eyEwSSC68iSEiUEeaXldG2HWWPanR2tAPOFCPLgbKl1CPEu2gBiWfYYEPd3HecAtDI1k4d+MiT aI585M8aWXuzUTnPBi0waRQOBOy3NYJ1VBw4= X-Google-Smtp-Source: AGHT+IFGpNbWeKcQrANkZmo8Tc48hf7B82bDmKI66pIwSW/JCdMnVJP8B+D7LIb94UmsgOEPCMWDwutVO7raQlbt8y4= X-Received: by 2002:a17:90a:c708:b0:293:fc07:22c7 with SMTP id o8-20020a17090ac70800b00293fc0722c7mr2320689pjt.47.1707657583085; Sun, 11 Feb 2024 05:19:43 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Hosney Osman Date: Sun, 11 Feb 2024 05:19:32 -0800 Message-ID: Subject: IP Tables Best Practice To: freebsd-questions Content-Type: multipart/alternative; boundary="000000000000a34c9106111b03fd" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.99)[-0.986]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MISSING_XM_UA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1031:from] X-Rspamd-Queue-Id: 4TXp8w331gz4Jvj --000000000000a34c9106111b03fd Content-Type: text/plain; charset="UTF-8" Dears, i am trying to reach best practice for IP Tables i am collect these attached sheets from the internet if anyone can help to merge both in 1 script, please share your comments --000000000000a34c9106111b03fd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dears,=C2=A0
i am trying to reach best practice for IP= Tables=C2=A0
i am collect these attached sheets from the interne= t if anyone can help to merge both in 1 script,=C2=A0
please shar= e your comments=C2=A0

--000000000000a34c9106111b03fd-- From nobody Sun Feb 11 13:20:06 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TXp9c3Fqkz59jcs for ; Sun, 11 Feb 2024 13:20:20 +0000 (UTC) (envelope-from hosneybinosman@gmail.com) Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TXp9b5fDJz4KwX for ; Sun, 11 Feb 2024 13:20:19 +0000 (UTC) (envelope-from hosneybinosman@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=ZyamFPdN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of hosneybinosman@gmail.com designates 2607:f8b0:4864:20::432 as permitted sender) smtp.mailfrom=hosneybinosman@gmail.com Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-6e04eceebb5so1724145b3a.1 for ; Sun, 11 Feb 2024 05:20:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707657618; x=1708262418; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=edJNR1CGCwkuW34RyebQ+dixnMwqLm7ZFjK+1E6MmZQ=; b=ZyamFPdNcnjrot4FzPh2BMZiJFsUreT2UfrzzuIiS5/FnfumnrOUfhDhe2CJhjj+6t TL+jL/CcBD2baE9ajNT4yiw+mi6ry+5KyyyzN2+LEu08GhNpKQVfSZPdEBYM3gmgtRgf CvbDV7Yo+ts6MdJ/XObG/5Te8ffocRDlHHf+HK81wAPh9Q/PDAzaBA/x3TVT0yehSBtB vC6EEp9lUGhnAsJRsuWXUb4jPMyuhECCHVEmUl1IkIXPpzX8duSH7E3PMaOLpXzMnivw L3SXejlcGDmdvcuF1+1kLIJcoTUBra1K6FnhlKQ6klkbqHXJNPv5euE9GkLLVLIiguwA Jngw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707657618; x=1708262418; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=edJNR1CGCwkuW34RyebQ+dixnMwqLm7ZFjK+1E6MmZQ=; b=JETe1b/VylM1QrOVK47vhcLOPArvPA/gPB7UgChcTAPkPsRZ/0gYHWXDddqov0JR2q 45pvnrVsb+Km8zY1xEHDnivWFnXTBAl3jPLxByBPyrJkzD8+1FfW14rGGp8auFp/QAgG UdMgcM/lqJqvvcMU5DFPKswfpas4lbStj8HzJRU6qX4cZPNlaIIjuVQlXixprlulVkrW nof8v05FsOjwt4WUDbQka4f/TgAxAmR1qHSkPHDCR0L/GxsHGsuDRr+m+o4h0Qg6GIzA tazqGfxn7Wk+mcj2X1VMa/UhUGZ5QRBw7yG3odcQ7KGuJd+AV1WiXTIQGPZ/M2q5+vUZ h3Dw== X-Gm-Message-State: AOJu0Yz1M5Uf6+t4N8+8yHZzhPGmWIljkh94m2Wh2wLBjjqGOEICBPCg J7slK64TNDlhDEH0LZQMcvWNa4rznQCShWE+XLbXx1MSjrRGJDcTAFbsUIapSmC/AOYVbEzM3RK 2WEZzCgtB/4DjPpIiSt+gMjQMofP2Eha4UFk= X-Google-Smtp-Source: AGHT+IFrzhpi3ohE4dptjdopdmymKALunYB8wZ6yaNKJVP56cZgrDwpydBV+Pl79zI86ArPGzIWzSa4JSxJXyYa/pBE= X-Received: by 2002:a05:6a20:2d0c:b0:19e:4eb9:ef74 with SMTP id g12-20020a056a202d0c00b0019e4eb9ef74mr7005654pzl.14.1707657618039; Sun, 11 Feb 2024 05:20:18 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Hosney Osman Date: Sun, 11 Feb 2024 05:20:06 -0800 Message-ID: Subject: Re: IP Tables Best Practice To: freebsd-questions Content-Type: multipart/mixed; boundary="000000000000b8bf6806111b0576" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.99)[-0.990]; NEURAL_HAM_SHORT(-0.98)[-0.977]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/mixed,multipart/alternative,text/plain]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~,5:~]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_ATTACHMENT(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MID_RHS_MATCH_FROMTLD(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MISSING_XM_UA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::432:from] X-Rspamd-Queue-Id: 4TXp9b5fDJz4KwX --000000000000b8bf6806111b0576 Content-Type: multipart/alternative; boundary="000000000000b8bf6706111b0574" --000000000000b8bf6706111b0574 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable sorry for missing attache On Sun, Feb 11, 2024 at 5:19=E2=80=AFAM Hosney Osman wrote: > Dears, > i am trying to reach best practice for IP Tables > i am collect these attached sheets from the internet if anyone can help t= o > merge both in 1 script, > please share your comments > > --000000000000b8bf6706111b0574 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
sorry for missing attache=C2=A0

On Sun, Feb 11, 2024 at 5:1= 9=E2=80=AFAM Hosney Osman <h= osneybinosman@gmail.com> wrote:
Dears,=C2=A0
i am trying to rea= ch best practice for IP Tables=C2=A0
i am collect these attached = sheets from the internet if anyone can help to merge both in 1 script,=C2= =A0
please share your comments=C2=A0

--000000000000b8bf6706111b0574-- --000000000000b8bf6806111b0576 Content-Type: application/octet-stream; name="iptables-V01.00 (1).bash" Content-Disposition: attachment; filename="iptables-V01.00 (1).bash" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lshj8vck0 ICMhL2Jpbi9iYXNoCiMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjCiMgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICBzY3JpcHRUZW1wbGF0ZSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAjCiMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAjCiMgVXNlIHRoaXMgdGVtcGxhdGUgYXMgdGhlIGJl Z2lubmluZyBvZiBhIG5ldyBwcm9ncmFtLiBQbGFjZSBhIHNob3J0ICAgICAgICAgICAjCiMgZGVz Y3JpcHRpb24gb2YgdGhlIHNjcmlwdCBoZXJlLiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAjCiMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAjCiMgQ2hhbmdlIEhpc3Rv cnkgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAjCiMgMjUvMTAvMjAyMiAgSG9zbmV5IE9zbWFuICBPcmlnaW5hbCBjb2RlLiBUaGlz IGlzIGEgdGVtcGxhdGUgZm9yIGNyZWF0aW5nICAgICAjCiMgICAgICAgICAgICAgICAgICAgICAg ICAgICBuZXcgQmFzaCBzaGVsbCBzY3JpcHRzLiAgICAgICAgICAgICAgICAgICAgICAgICAgICAj CiMgICAgICAgICAgICAgICAgICAgICAgICAgICBBZGQgbmV3IGhpc3RvcnkgZW50cmllcyBhcyBu ZWVkZWQuICAgICAgICAgICAgICAgICAjCiMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAjCiMgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAjCiMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjCiMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjCiMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjCiMgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAjCiMg IENvcHlyaWdodCAoQykgMjAyMiBIb3NuZXkgT3NtYW4gICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAjCiMgIGhvc25leW9zbWFuQG91dGxvb2suY29tICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAjCiMgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAjCiMgIFRoaXMgcHJvZ3JhbSBpcyBmcmVlIHNvZnR3YXJlOyB5b3UgY2FuIHJl ZGlzdHJpYnV0ZSBpdCBhbmQvb3IgbW9kaWZ5ICAgICAgICAjCiMgIGl0IHVuZGVyIHRoZSB0ZXJt cyBvZiB0aGUgR05VIEdlbmVyYWwgUHVibGljIExpY2Vuc2UgYXMgcHVibGlzaGVkIGJ5ICAgICAg ICAjCiMgIHRoZSBGcmVlIFNvZnR3YXJlIEZvdW5kYXRpb247IGVpdGhlciB2ZXJzaW9uIDIgb2Yg dGhlIExpY2Vuc2UsIG9yICAgICAgICAgICAjCiMgIChhdCB5b3VyIG9wdGlvbikgYW55IGxhdGVy IHZlcnNpb24uICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAjCiMgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAjCiMgIGJ1dCBXSVRIT1VUIEFOWSBXQVJSQU5UWTsgd2l0aG91dCBl dmVuIHRoZSBpbXBsaWVkIHdhcnJhbnR5IG9mICAgICAgICAgICAgICAjCiMgIE1FUkNIQU5UQUJJ TElUWSBvciBGSVRORVNTIEZPUiBBIFBBUlRJQ1VMQVIgUFVSUE9TRS4gIFNlZSB0aGUgICAgICAg ICAgICAgICAjCiMgIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIGZvciBtb3JlIGRldGFpbHMu ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAjCiMgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAj CiMgIFlvdSBzaG91bGQgaGF2ZSByZWNlaXZlZCBhIGNvcHkgb2YgdGhlIEdOVSBHZW5lcmFsIFB1 YmxpYyBMaWNlbnNlICAgICAgICAgICAjCiMgIGFsb25nIHdpdGggdGhpcyBwcm9ncmFtOyBpZiBu b3QsIHdyaXRlIHRvIHRoZSBGcmVlIFNvZnR3YXJlICAgICAgICAgICAgICAgICAjCiMgIEZvdW5k YXRpb24sIEluYy4sIDU5IFRlbXBsZSBQbGFjZSwgU3VpdGUgMzMwLCBCb3N0b24sIE1BICAwMjEx MS0xMzA3ICBVU0EgICAjCiMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAjCiMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjCiMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjCiMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjCiMj IDAxLiBMb2cgSU5QVVQgdHJhZmZpYyAKaXB0YWJsZXMgLUkgSU5QVVQgMSAtaiBMT0cKCiMjIDAy LiBMb2cgRk9SV0FSRCBUcmFmZmljIAppcHRhYmxlcyAtSSBGT1JXQVJEIDEgLWogTE9HCgojIyAw My4gTG9nIE9VVFBVVCBUcmFmZmljIAppcHRhYmxlcyAtSSBPVVRQVVQgMSAtaiBMT0cKCiMjIDA0 LiBUbyBsb2cgbmV0d29yayBhY3Rpdml0eSBpbiB0aGUgTkFUIHRhYmxlIGV4ZWN1dGUgdGhlIGZv bGxvd2luZyBjb21tYW5kcyBmb3IgdHJhY2tpbmcgYWN0aXZpdHkgaW4gdGhlaXIgcmVzcGVjdGl2 ZSBjaGFpbnMKaXB0YWJsZXMgLXQgbmF0IC1JIFBSRVJPVVRJTkcgMSAtaiBMT0cKaXB0YWJsZXMg LXQgbmF0IC1JIFBPU1RST1VUSU5HIDEgLWogTE9HCmlwdGFibGVzIC10IG5hdCAtSSBPVVRQVVQg MSAtaiBMT0cKCiMjIDA1LiBJUCBUYWJsZXMgRmx1c2ggQ29tbWFuZCAKaXB0YWJsZXMgLUYKaXB0 YWJsZXMgLVgKaXB0YWJsZXMgLXQgbmF0IC1GCmlwdGFibGVzIC10IG5hdCAtWAppcHRhYmxlcyAt dCBtYW5nbGUgLUYKaXB0YWJsZXMgLXQgbWFuZ2xlIC1YCmlwdGFibGVzIC1QIElOUFVUIEFDQ0VQ VAppcHRhYmxlcyAtUCBPVVRQVVQgQUNDRVBUCmlwdGFibGVzIC1QIEZPUldBUkQgQUNDRVBUCgoj IyAwNi4gZGVmYXVsdCBwb2xpY3kgZm9yIGVhY2ggb2YgdGhlIGNoYWlucyAKaXB0YWJsZXMgLS1w b2xpY3kgSU5QVVQgRFJPUAppcHRhYmxlcyAtLXBvbGljeSBGT1JXQVJEIERST1AKaXB0YWJsZXMg LS1wb2xpY3kgT1VUUFVUIERST1AKCgojIyAwNy4gT3BlbiBMb29wQmFjayBJbnRlcmZhY2UgCmlw dGFibGVzIC0tYXBwZW5kIElOUFVUIC0taW4taW50ZXJmYWNlIGxvIC0tanVtcCBBQ0NFUFQKaXB0 YWJsZXMgLS1hcHBlbmQgT1VUUFVUIC0tb3V0LWludGVyZmFjZSBsbyAtLWp1bXAgQUNDRVBUCgoj IyAwOC4gQWxsb3cgQ29ubmVjdGlvbnMgSW5pdGlhdGVkIGJ5IHRoZSBNYWNoaW5lCiMjIEFsbG93 IENvbm5lY3Rpb24gSW5pdGlhdGVkIGJ5IHdpcmVsZXNzIGludGVyZmFjZQppcHRhYmxlcyAtLWFw cGVuZCBPVVRQVVQgLS1vdXQtaW50ZXJmYWNlIHdscDJzMCAtLWp1bXAgQUNDRVBUCiMjIEFsbG93 IENvbm5lY3Rpb24gSW5pdGlhdGVkIGJ5IHdpcmUgaW50ZXJmYWNlCmlwdGFibGVzIC0tYXBwZW5k IE9VVFBVVCAtLW91dC1pbnRlcmZhY2UgZW5wMHMzMWY2IC0tanVtcCBBQ0NFUFQKaXB0YWJsZXMg LS1hcHBlbmQgSU5QVVQgLS1tYXRjaCBzdGF0ZSAtLXN0YXRlIEVTVEFCTElTSEVELFJFTEFURUQg LS1qdW1wIEFDQ0VQVAoKCiMjIDA5LiBGaWx0ZXIgdW50cnVzdGVkIHRyYWZmaWMgCmlwdGFibGVz IC1BIElOUFVUIC0taW4taW50ZXJmYWNlIHdscDJzMAppcHRhYmxlcyAtQSBJTlBVVCAtLWluLWlu dGVyZmFjZSBlbnAwczMxZjYKCgojIyAxMC4gQmxvY2sgSW52YWxpZCBQYWNrZXRzCiMjIFRoaXMg cnVsZSBibG9ja3MgYWxsIHBhY2tldHMgdGhhdCBhcmUgbm90IGEgU1lOIHBhY2tldCBhbmQgZG9u 4oCZdCBiZWxvbmcgdG8gYW4gZXN0YWJsaXNoZWQgVENQIGNvbm5lY3Rpb24uCgppcHRhYmxlcyAt dCBtYW5nbGUgLUEgUFJFUk9VVElORyAtbSBjb25udHJhY2sgLS1jdHN0YXRlIElOVkFMSUQgLWog RFJPUAoKCiMjIDExLiBCbG9jayBOZXcgUGFja2V0cyBUaGF0IEFyZSBOb3QgU1lOCiMjIFRoaXMg YmxvY2tzIGFsbCBwYWNrZXRzIHRoYXQgYXJlIG5ldyAoZG9u4oCZdCBiZWxvbmcgdG8gYW4gZXN0 YWJsaXNoZWQgY29ubmVjdGlvbikgYW5kIGRvbuKAmXQgdXNlIHRoZSBTWU4gZmxhZy4gCiMjIFRo aXMgcnVsZSBpcyBzaW1pbGFyIHRvIHRoZSDigJxCbG9jayBJbnZhbGlkIFBhY2tldHPigJ0gb25l LCBidXQgd2UgZm91bmQgdGhhdCBpdCBjYXRjaGVzIHNvbWUgcGFja2V0cyB0aGF0IHRoZSBvdGhl ciBvbmUgZG9lc27igJl0LgppcHRhYmxlcyAtdCBtYW5nbGUgLUEgUFJFUk9VVElORyAtcCB0Y3Ag ISAtLXN5biAtbSBjb25udHJhY2sgLS1jdHN0YXRlIE5FVyAtaiBEUk9QCgoKIyMgMTIuIEJsb2Nr IFVuY29tbW9uIE1TUyBWYWx1ZXMKIyMgVGhlIGFib3ZlIGlwdGFibGVzIHJ1bGUgYmxvY2tzIG5l dyBwYWNrZXRzIChvbmx5IFNZTiBwYWNrZXRzIGNhbiBiZSBuZXcgcGFja2V0cyBhcyBwZXIgdGhl IHR3byBwcmV2aW91cyBydWxlcykgCiMjIHRoYXQgdXNlIGEgVENQIE1TUyB2YWx1ZSB0aGF0IGlz IG5vdCBjb21tb24uIFRoaXMgaGVscHMgdG8gYmxvY2sgZHVtYiBTWU4gZmxvb2RzLgppcHRhYmxl cyAtdCBtYW5nbGUgLUEgUFJFUk9VVElORyAtcCB0Y3AgLW0gY29ubnRyYWNrIC0tY3RzdGF0ZSBO RVcgLW0gdGNwbXNzICEgLS1tc3MgNTM2OjY1NTM1IC1qIERST1AKCgojIyAxMy4gQmxvY2sgUGFj a2V0cyBXaXRoIEJvZ3VzIFRDUCBGbGFncwojIyBUaGUgYmVsb3cgcnVsZXNldCBibG9ja3MgcGFj a2V0cyB0aGF0IHVzZSBib2d1cyBUQ1AgZmxhZ3MsIGllLiBUQ1AgZmxhZ3MgdGhhdCBsZWdpdGlt YXRlIHBhY2tldHMgd291bGRu4oCZdCB1c2UuCmlwdGFibGVzIC10IG1hbmdsZSAtQSBQUkVST1VU SU5HIC1wIHRjcCAtLXRjcC1mbGFncyBGSU4sU1lOIEZJTixTWU4gLWogRFJPUAppcHRhYmxlcyAt dCBtYW5nbGUgLUEgUFJFUk9VVElORyAtcCB0Y3AgLS10Y3AtZmxhZ3MgU1lOLFJTVCBTWU4sUlNU IC1qIERST1AKaXB0YWJsZXMgLXQgbWFuZ2xlIC1BIFBSRVJPVVRJTkcgLXAgdGNwIC0tdGNwLWZs YWdzIEZJTixSU1QgRklOLFJTVCAtaiBEUk9QCmlwdGFibGVzIC10IG1hbmdsZSAtQSBQUkVST1VU SU5HIC1wIHRjcCAtLXRjcC1mbGFncyBGSU4sQUNLIEZJTiAtaiBEUk9QCmlwdGFibGVzIC10IG1h bmdsZSAtQSBQUkVST1VUSU5HIC1wIHRjcCAtLXRjcC1mbGFncyBBQ0ssVVJHIFVSRyAtaiBEUk9Q CmlwdGFibGVzIC10IG1hbmdsZSAtQSBQUkVST1VUSU5HIC1wIHRjcCAtLXRjcC1mbGFncyBBQ0ss UFNIIFBTSCAtaiBEUk9QCmlwdGFibGVzIC10IG1hbmdsZSAtQSBQUkVST1VUSU5HIC1wIHRjcCAt LXRjcC1mbGFncyBBTEwgTk9ORSAtaiBEUk9QCgoKCgojIyAxNC4gQmxvY2sgUGFja2V0cyBGcm9t IFByaXZhdGUgU3VibmV0cyAoU3Bvb2ZpbmcpCiMjIFRoZXNlIHJ1bGVzIGJsb2NrIHNwb29mZWQg cGFja2V0cyBvcmlnaW5hdGluZyBmcm9tIHByaXZhdGUgKGxvY2FsKSBzdWJuZXRzLiAKIyMgT24g eW91ciBwdWJsaWMgbmV0d29yayBpbnRlcmZhY2UgeW91IHVzdWFsbHkgZG9u4oCZdCB3YW50IHRv IHJlY2VpdmUgcGFja2V0cyBmcm9tIHByaXZhdGUgc291cmNlIElQcy4KIyMgVGhlc2UgcnVsZXMg YXNzdW1lIHRoYXQgeW91ciBsb29wYmFjayBpbnRlcmZhY2UgdXNlcyB0aGUgMTI3LjAuMC4wLzgg SVAgc3BhY2UuCiMjIFRoZXNlIGZpdmUgc2V0cyBvZiBydWxlcyBhbG9uZSBhbHJlYWR5IGJsb2Nr IG1hbnkgVENQLWJhc2VkIEREb1MgYXR0YWNrcyBhdCB2ZXJ5IGhpZ2ggcGFja2V0IHJhdGVzLgoj IyBXaXRoIHRoZSBrZXJuZWwgc2V0dGluZ3MgYW5kIHJ1bGVzIG1lbnRpb25lZCBhYm92ZSwgeW91 4oCZbGwgYmUgYWJsZSB0byBmaWx0ZXIgQUNLIGFuZCBTWU4tQUNLIGF0dGFja3MgYXQgbGluZSBy YXRlLgppcHRhYmxlcyAtdCBtYW5nbGUgLUEgUFJFUk9VVElORyAtcyAyMjQuMC4wLjAvMyAtaiBE Uk9QIAppcHRhYmxlcyAtdCBtYW5nbGUgLUEgUFJFUk9VVElORyAtcyAxNjkuMjU0LjAuMC8xNiAt aiBEUk9QIAppcHRhYmxlcyAtdCBtYW5nbGUgLUEgUFJFUk9VVElORyAtcyAxNzIuMTYuMC4wLzEy IC1qIERST1AgCmlwdGFibGVzIC10IG1hbmdsZSAtQSBQUkVST1VUSU5HIC1zIDE5Mi4wLjIuMC8y NCAtaiBEUk9QIAppcHRhYmxlcyAtdCBtYW5nbGUgLUEgUFJFUk9VVElORyAtcyAxOTIuMTY4LjAu MC8xNiAtaiBEUk9QIAppcHRhYmxlcyAtdCBtYW5nbGUgLUEgUFJFUk9VVElORyAtcyAxMC4wLjAu MC84IC1qIERST1AgCmlwdGFibGVzIC10IG1hbmdsZSAtQSBQUkVST1VUSU5HIC1zIDAuMC4wLjAv OCAtaiBEUk9QIAppcHRhYmxlcyAtdCBtYW5nbGUgLUEgUFJFUk9VVElORyAtcyAyNDAuMC4wLjAv NSAtaiBEUk9QIAppcHRhYmxlcyAtdCBtYW5nbGUgLUEgUFJFUk9VVElORyAtcyAxMjcuMC4wLjAv OCAhIC1pIGxvIC1qIERST1AKCgojIyAxNS4gQWRkaXRpb25hbCBSdWxlcwojIyBUaGlzIGRyb3Bz IGFsbCBJQ01QIHBhY2tldHMuIElDTVAgaXMgb25seSB1c2VkIHRvIHBpbmcgYSBob3N0IHRvIGZp bmQgb3V0IGlmIGl04oCZcyBzdGlsbCBhbGl2ZS4gCiMjIEJlY2F1c2UgaXTigJlzIHVzdWFsbHkg bm90IG5lZWRlZCBhbmQgb25seSByZXByZXNlbnRzIGFub3RoZXIgdnVsbmVyYWJpbGl0eSB0aGF0 IGF0dGFja2VycyBjYW4gZXhwbG9pdCwgCiMjIHdlIGJsb2NrIGFsbCBJQ01QIHBhY2tldHMgdG8g bWl0aWdhdGUgUGluZyBvZiBEZWF0aCAocGluZyBmbG9vZCksIElDTVAgZmxvb2QgYW5kIElDTVAg ZnJhZ21lbnRhdGlvbiBmbG9vZC4KCmlwdGFibGVzIC10IG1hbmdsZSAtQSBQUkVST1VUSU5HIC1w IGljbXAgLWogRFJPUAoKCiMjIDE2LiBUaGlzIGlwdGFibGVzIHJ1bGUgaGVscHMgYWdhaW5zdCBj b25uZWN0aW9uIGF0dGFja3MuIAojIyBJdCByZWplY3RzIGNvbm5lY3Rpb25zIGZyb20gaG9zdHMg dGhhdCBoYXZlIG1vcmUgdGhhbiA4MCBlc3RhYmxpc2hlZCBjb25uZWN0aW9ucy4gCiMjIElmIHlv dSBmYWNlIGFueSBpc3N1ZXMgeW91IHNob3VsZCByYWlzZSB0aGUgbGltaXQgYXMgdGhpcyBjb3Vs ZCBjYXVzZSB0cm91YmxlcyB3aXRoIAojIyBsZWdpdGltYXRlIGNsaWVudHMgdGhhdCBlc3RhYmxp c2ggYSBsYXJnZSBudW1iZXIgb2YgVENQIGNvbm5lY3Rpb25zLgppcHRhYmxlcyAtQSBJTlBVVCAt cCB0Y3AgLW0gY29ubmxpbWl0IC0tY29ubmxpbWl0LWFib3ZlIDgwIC1qIFJFSkVDVCAtLXJlamVj dC13aXRoIHRjcC1yZXNldAoKCiMjIDE3LiBMaW1pdHMgdGhlIG5ldyBUQ1AgY29ubmVjdGlvbnMg dGhhdCBhIGNsaWVudCBjYW4gZXN0YWJsaXNoIHBlciBzZWNvbmQuIAojIyBUaGlzIGNhbiBiZSB1 c2VmdWwgYWdhaW5zdCBjb25uZWN0aW9uIGF0dGFja3MsIAojIyBidXQgbm90IHNvIG11Y2ggYWdh aW5zdCBTWU4gZmxvb2RzIGJlY2F1c2UgdGhlIHVzdWFsbHkgdXNlIGFuIGVuZGxlc3MgYW1vdW50 IG9mIGRpZmZlcmVudCBzcG9vZmVkIHNvdXJjZSBJUHMuCmlwdGFibGVzIC1BIElOUFVUIC1wIHRj cCAtbSBjb25udHJhY2sgLS1jdHN0YXRlIE5FVyAtbSBsaW1pdCAtLWxpbWl0IDYwL3MgLS1saW1p dC1idXJzdCAyMCAtaiBBQ0NFUFQgCmlwdGFibGVzIC1BIElOUFVUIC1wIHRjcCAtbSBjb25udHJh Y2sgLS1jdHN0YXRlIE5FVyAtaiBEUk9QCgoKIyMgMTguIFRoaXMgcnVsZSBibG9ja3MgZnJhZ21l bnRlZCBwYWNrZXRzLiAKIyMgTm9ybWFsbHkgeW91IGRvbuKAmXQgbmVlZCB0aG9zZSBhbmQgYmxv Y2tpbmcgZnJhZ21lbnRzIHdpbGwgbWl0aWdhdGUgVURQIGZyYWdtZW50YXRpb24gZmxvb2QuIAoj IyBCdXQgbW9zdCBvZiB0aGUgdGltZSBVRFAgZnJhZ21lbnRhdGlvbiBmbG9vZHMgdXNlIGEgaGln aCBhbW91bnQgb2YgYmFuZHdpZHRoIHRoYXQgaXMgbGlrZWx5IHRvIGV4aGF1c3QgdGhlIGNhcGFj aXR5IG9mIHlvdXIgbmV0d29yayBjYXJkLCAKIyMgd2hpY2ggbWFrZXMgdGhpcyBydWxlIG9wdGlv bmFsIGFuZCBwcm9iYWJseSBub3QgdGhlIG1vc3QgdXNlZnVsIG9uZS4KaXB0YWJsZXMgLXQgbWFu Z2xlIC1BIFBSRVJPVVRJTkcgLWYgLWogRFJPUAoKCiMjIDE5LiBUaGlzIGxpbWl0cyBpbmNvbWlu ZyBUQ1AgUlNUIHBhY2tldHMgdG8gbWl0aWdhdGUgVENQIFJTVCBmbG9vZHMuIEVmZmVjdGl2ZW5l c3Mgb2YgdGhpcyBydWxlIGlzIHF1ZXN0aW9uYWJsZS4KaXB0YWJsZXMgLUEgSU5QVVQgLXAgdGNw IC0tdGNwLWZsYWdzIFJTVCBSU1QgLW0gbGltaXQgLS1saW1pdCAyL3MgLS1saW1pdC1idXJzdCAy IC1qIEFDQ0VQVCAKaXB0YWJsZXMgLUEgSU5QVVQgLXAgdGNwIC0tdGNwLWZsYWdzIFJTVCBSU1Qg LWogRFJPUAoKIyMgMjAuIE1pdGlnYXRpbmcgU1lOIEZsb29kcyBXaXRoIFNZTlBST1hZCiMjIFNZ TlBST1hZIGlzIGEgbmV3IHRhcmdldCBvZiBpcHRhYmxlcyB0aGF0IGhhcyBiZWVuIGFkZGVkIGlu IExpbnV4IGtlcm5lbCB2ZXJzaW9uIDMuMTIgYW5kIGlwdGFibGVzIDEuNC4yMS4gCiMjIENlbnRP UyA3IGJhY2twb3J0ZWQgdGhlIGZlYXR1cmUgYW5kIGl04oCZcyBhdmFpbGFibGUgaW4gaXRzIDMu MTAgZGVmYXVsdCBrZXJuZWwuCiMjIFRoZSBwdXJwb3NlIG9mIFNZTlBST1hZIGlzIHRvIGNoZWNr IHdoZXRoZXIgdGhlIGhvc3QgdGhhdCBzZW50IHRoZSBTWU4gcGFja2V0IGFjdHVhbGx5IGVzdGFi bGlzaGVzIGEgZnVsbCBUQ1AgY29ubmVjdGlvbiAKIyMgb3IganVzdCBkb2VzIG5vdGhpbmcgYWZ0 ZXIgaXQgc2VudCB0aGUgU1lOIHBhY2tldC4KIyMgSWYgaXQgZG9lcyBub3RoaW5nLCBpdCBkaXNj YXJkcyB0aGUgcGFja2V0IHdpdGggbWluaW1hbCBwZXJmb3JtYW5jZSBpbXBhY3QuCiMjIFdoaWxl IHRoZSBpcHRhYmxlcyBydWxlcyB0aGF0IHdlIHByb3ZpZGVkIGFib3ZlIGFscmVhZHkgYmxvY2sg bW9zdCBUQ1AtYmFzZWQgYXR0YWNrcywgCiMjIHRoZSBhdHRhY2sgdHlwZSB0aGF0IGNhbiBzdGls bCBzbGlwIHRocm91Z2ggdGhlbSBpZiBzb3BoaXN0aWNhdGVkIGVub3VnaCBpcyBhIFNZTiBmbG9v ZC4KIyMgSXTigJlzIGltcG9ydGFudCB0byBub3RlIHRoYXQgdGhlIHBlcmZvcm1hbmNlIG9mIHRo ZSBydWxlcyB3aWxsIGFsd2F5cyBiZSBiZXR0ZXIgaWYgd2UgZmluZCBhIGNlcnRhaW4gcGF0dGVy biBvciBzaWduYXR1cmUgdG8gYmxvY2ssIAojIyBzdWNoIGFzIHBhY2tldCBsZW5ndGggKC1tIGxl bmd0aCksIFRPUyAoLW0gdG9zKSwgVFRMICgtbSB0dGwpIG9yIHN0cmluZ3MgYW5kIGhleCB2YWx1 ZXMgKC1tIHN0cmluZyBhbmQgLW0gdTMyIGZvciB0aGUgbW9yZSBhZHZhbmNlZCB1c2VycykuCiMj IEJ1dCBpbiBzb21lIHJhcmUgY2FzZXMgdGhhdOKAmXMgbm90IHBvc3NpYmxlIG9yIGF0IGxlYXN0 IG5vdCBlYXN5IHRvIGFjaGlldmUuIFNvLCBpbiB0aGVzZSBjYXNlcywgeW91IGNhbiBtYWtlIHVz ZSBvZiBTWU5QUk9YWS4KIyMgSGVyZSBhcmUgaXB0YWJsZXMgU1lOUFJPWFkgcnVsZXMgdGhhdCBo ZWxwIG1pdGlnYXRlIFNZTiBmbG9vZHMgdGhhdCBieXBhc3Mgb3VyIG90aGVyIHJ1bGVzOgppcHRh YmxlcyAtdCByYXcgLUEgUFJFUk9VVElORyAtcCB0Y3AgLW0gdGNwIC0tc3luIC1qIENUIC0tbm90 cmFjayAKaXB0YWJsZXMgLUEgSU5QVVQgLXAgdGNwIC1tIHRjcCAtbSBjb25udHJhY2sgLS1jdHN0 YXRlIElOVkFMSUQsVU5UUkFDS0VEIC1qIFNZTlBST1hZIC0tc2Fjay1wZXJtIC0tdGltZXN0YW1w IC0td3NjYWxlIDcgLS1tc3MgMTQ2MCAKaXB0YWJsZXMgLUEgSU5QVVQgLW0gY29ubnRyYWNrIC0t Y3RzdGF0ZSBJTlZBTElEIC1qIERST1A= --000000000000b8bf6806111b0576 Content-Type: application/octet-stream; name="iptables-V00.00 (1).bash" Content-Disposition: attachment; filename="iptables-V00.00 (1).bash" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lshj8vd41 IyEvYmluL3NoCiMKIwojIFNjcmlwdCBpcyBmb3Igc3RvcGluZyBQb3J0c2NhbiBhbmQgc211cmYg YXR0YWNrCgojIyMgZmlyc3QgZmx1c2ggYWxsIHRoZSBpcHRhYmxlcyBSdWxlcwppcHRhYmxlcyAt RgoKCiMgSU5QVVQgaXB0YWJsZXMgUnVsZXMKIyBBY2NlcHQgbG9vcGJhY2sgaW5wdXQKaXB0YWJs ZXMgLUEgSU5QVVQgLWkgbG8gLXAgYWxsIC1qIEFDQ0VQVAoKIyBhbGxvdyAzIHdheSBoYW5kc2hh a2UKaXB0YWJsZXMgLUEgSU5QVVQgLW0gc3RhdGUgLS1zdGF0ZSBFU1RBQkxJU0hFRCxSRUxBVEVE IC1qIEFDQ0VQVAoKIyMjIERST1BzcG9vZmluZyBwYWNrZXRzCmlwdGFibGVzIC1BIElOUFVUIC1z IDEwLjAuMC4wLzggLWogRFJPUCAKaXB0YWJsZXMgLUEgSU5QVVQgLXMgMTY5LjI1NC4wLjAvMTYg LWogRFJPUAppcHRhYmxlcyAtQSBJTlBVVCAtcyAxNzIuMTYuMC4wLzEyIC1qIERST1AKaXB0YWJs ZXMgLUEgSU5QVVQgLXMgMTI3LjAuMC4wLzggLWogRFJPUAppcHRhYmxlcyAtQSBJTlBVVCAtcyAx OTIuMTY4LjAuMC8yNCAtaiBEUk9QCgppcHRhYmxlcyAtQSBJTlBVVCAtcyAyMjQuMC4wLjAvNCAt aiBEUk9QCmlwdGFibGVzIC1BIElOUFVUIC1kIDIyNC4wLjAuMC80IC1qIERST1AKaXB0YWJsZXMg LUEgSU5QVVQgLXMgMjQwLjAuMC4wLzUgLWogRFJPUAppcHRhYmxlcyAtQSBJTlBVVCAtZCAyNDAu MC4wLjAvNSAtaiBEUk9QCmlwdGFibGVzIC1BIElOUFVUIC1zIDAuMC4wLjAvOCAtaiBEUk9QCmlw dGFibGVzIC1BIElOUFVUIC1kIDAuMC4wLjAvOCAtaiBEUk9QCmlwdGFibGVzIC1BIElOUFVUIC1k IDIzOS4yNTUuMjU1LjAvMjQgLWogRFJPUAppcHRhYmxlcyAtQSBJTlBVVCAtZCAyNTUuMjU1LjI1 NS4yNTUgLWogRFJPUAoKIyBGb3IgU01VUkYgQXR0YWNrIFByb3RlY3Rpb24KaXB0YWJsZXMgLUEg SU5QVVQgLXAgaWNtcCAtbSBpY21wIC0taWNtcC10eXBlIGFkZHJlc3MtbWFzay1yZXF1ZXN0IC1q IERST1AKaXB0YWJsZXMgLUEgSU5QVVQgLXAgaWNtcCAtbSBpY21wIC0taWNtcC10eXBlIHRpbWVz dGFtcC1yZXF1ZXN0IC1qIERST1AKaXB0YWJsZXMgLUEgSU5QVVQgLXAgaWNtcCAtbSBpY21wIC1t IGxpbWl0IC0tbGltaXQgMS9zZWNvbmQgLWogQUNDRVBUCgojIERyb3BpbmcgQWxsIEludmFsaWQg UGFja2V0cwppcHRhYmxlcyAtQSBJTlBVVCAtbSBzdGF0ZSAtLXN0YXRlIElOVkFMSUQgLWogRFJP UAppcHRhYmxlcyAtQSBGT1JXQVJEIC1tIHN0YXRlIC0tc3RhdGUgSU5WQUxJRCAtaiBEUk9QCmlw dGFibGVzIC1BIE9VVFBVVCAtbSBzdGF0ZSAtLXN0YXRlIElOVkFMSUQgLWogRFJPUAoKIyBGbG9v ZGluZyBPZiBSU1QgUGFja2V0cywgU01VUkYgQXR0YWNrIFJlamVjdGlvbgppcHRhYmxlcyAtQSBJ TlBVVCAtcCB0Y3AgLW0gdGNwIC0tdGNwLWZsYWdzIFJTVCBSU1QgLW0gbGltaXQgLS1saW1pdCAy L3NlY29uZCAtLWxpbWl0LWJ1cnN0IDIgLWogQUNDRVBUCgojIFByb3RlY3RpbmcgcG9ydHNjYW5z CiMgQXR0YWNraW5nIElQIHdpbGwgYmUgbG9ja2VkIGZvciAyNCBob3VycyAoMzYwMCB4IDI0ID0g ODY0MDAgU2Vjb25kcykKaXB0YWJsZXMgLUEgSU5QVVQgLW0gcmVjZW50IC0tbmFtZSBwb3J0c2Nh biAtLXJjaGVjayAtLXNlY29uZHMgODY0MDAgLWogRFJPUAppcHRhYmxlcyAtQSBGT1JXQVJEIC1t IHJlY2VudCAtLW5hbWUgcG9ydHNjYW4gLS1yY2hlY2sgLS1zZWNvbmRzIDg2NDAwIC1qIERST1AK CiMgUmVtb3ZlIGF0dGFja2luZyBJUCBhZnRlciAyNCBob3VycwppcHRhYmxlcyAtQSBJTlBVVCAt bSByZWNlbnQgLS1uYW1lIHBvcnRzY2FuIC0tcmVtb3ZlCmlwdGFibGVzIC1BIEZPUldBUkQgLW0g cmVjZW50IC0tbmFtZSBwb3J0c2NhbiAtLXJlbW92ZQoKIyBUaGVzZSBydWxlcyBhZGQgc2Nhbm5l cnMgdG8gdGhlIHBvcnRzY2FuIGxpc3QsIGFuZCBsb2cgdGhlIGF0dGVtcHQuCmlwdGFibGVzIC1B IElOUFVUIC1wIHRjcCAtbSB0Y3AgLS1kcG9ydCAxMzkgLW0gcmVjZW50IC0tbmFtZSBwb3J0c2Nh biAtLXNldCAtaiBMT0cgLS1sb2ctcHJlZml4ICJwb3J0c2NhbjoiCmlwdGFibGVzIC1BIElOUFVU IC1wIHRjcCAtbSB0Y3AgLS1kcG9ydCAxMzkgLW0gcmVjZW50IC0tbmFtZSBwb3J0c2NhbiAtLXNl dCAtaiBEUk9QCgppcHRhYmxlcyAtQSBGT1JXQVJEIC1wIHRjcCAtbSB0Y3AgLS1kcG9ydCAxMzkg LW0gcmVjZW50IC0tbmFtZSBwb3J0c2NhbiAtLXNldCAtaiBMT0cgLS1sb2ctcHJlZml4ICJwb3J0 c2NhbjoiCmlwdGFibGVzIC1BIEZPUldBUkQgLXAgdGNwIC1tIHRjcCAtLWRwb3J0IDEzOSAtbSBy ZWNlbnQgLS1uYW1lIHBvcnRzY2FuIC0tc2V0IC1qIERST1AKCiMgQWxsb3cgdGhlIGZvbGxvd2lu ZyBwb3J0cyB0aHJvdWdoIGZyb20gb3V0c2lkZQppcHRhYmxlcyAtQSBJTlBVVCAtcCB0Y3AgLW0g dGNwIC0tZHBvcnQgMjUgLWogQUNDRVBUCmlwdGFibGVzIC1BIElOUFVUIC1wIHRjcCAtbSB0Y3Ag LS1kcG9ydCA4MCAtaiBBQ0NFUFQKaXB0YWJsZXMgLUEgSU5QVVQgLXAgdGNwIC1tIHRjcCAtLWRw b3J0IDQ0MyAtaiBBQ0NFUFQKaXB0YWJsZXMgLUEgSU5QVVQgLXAgdGNwIC1tIHRjcCAtLWRwb3J0 IDIyIC1qIEFDQ0VQVAoKIyBBbGxvdyBwaW5nIG1lYW5zIElDTVAgcG9ydCBpcyBvcGVuIChJZiB5 b3UgZG8gbm90IHdhbnQgcGluZyByZXBsYWNlIEFDQ0VQVCB3aXRoIFJFSkVDVCkKaXB0YWJsZXMg LUEgSU5QVVQgLXAgaWNtcCAtbSBpY21wIC0taWNtcC10eXBlIDggLWogQUNDRVBUCgojIExhc3Rs eSByZWplY3QgQWxsIElOUFVUIHRyYWZmaWMKaXB0YWJsZXMgLUEgSU5QVVQgLWogUkVKRUNUCgoK IyMjIyMjIyMjIyMjIyMjIyMgQmVsb3cgYXJlIGZvciBPVVRQVVQgaXB0YWJsZXMgcnVsZXMgIyMj IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjCgojIyBBbGxvdyBsb29w YmFjayBPVVRQVVQgCmlwdGFibGVzIC1BIE9VVFBVVCAtbyBsbyAtaiBBQ0NFUFQKaXB0YWJsZXMg LUEgT1VUUFVUIC1tIHN0YXRlIC0tc3RhdGUgRVNUQUJMSVNIRUQsUkVMQVRFRCAtaiBBQ0NFUFQK CiMgQWxsb3cgdGhlIGZvbGxvd2luZyBwb3J0cyB0aHJvdWdoIGZyb20gb3V0c2lkZSAKIyBTTVRQ ID0gMjUKIyBETlMgPTUzCiMgSFRUUCA9IDgwCiMgSFRUUFMgPSA0NDMKIyBTU0ggPSAyMgojIyMg WW91IGNhbiBhbHNvIGFkZCBvciByZW1vdmUgcG9ydCBuby4gYXMgcGVyIHlvdXIgcmVxdWlyZW1l bnQKCmlwdGFibGVzIC1BIE9VVFBVVCAtcCB0Y3AgLW0gdGNwIC0tZHBvcnQgMjUgLWogQUNDRVBU CmlwdGFibGVzIC1BIE9VVFBVVCAtcCB1ZHAgLW0gdWRwIC0tZHBvcnQgNTMgLWogQUNDRVBUCmlw dGFibGVzIC1BIE9VVFBVVCAtcCB0Y3AgLW0gdGNwIC0tZHBvcnQgODAgLWogQUNDRVBUCmlwdGFi bGVzIC1BIE9VVFBVVCAtcCB0Y3AgLW0gdGNwIC0tZHBvcnQgNDQzIC1qIEFDQ0VQVAppcHRhYmxl cyAtQSBPVVRQVVQgLXAgdGNwIC1tIHRjcCAtLWRwb3J0IDIyIC1qIEFDQ0VQVAoKIyBBbGxvdyBw aW5ncwppcHRhYmxlcyAtQSBPVVRQVVQgLXAgaWNtcCAtbSBpY21wIC0taWNtcC10eXBlIDggLWog QUNDRVBUCgojIExhc3RseSBSZWplY3QgYWxsIE91dHB1dCB0cmFmZmljCmlwdGFibGVzIC1BIE9V VFBVVCAtaiBSRUpFQ1QKCiMjIFJlamVjdCBGb3J3YXJkaW5nICB0cmFmZmljCmlwdGFibGVzIC1B IEZPUldBUkQgLWogUkVKRUNUCg== --000000000000b8bf6806111b0576-- From nobody Sun Feb 11 13:44:14 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TXpjy74cCz59lmG; Sun, 11 Feb 2024 13:44:54 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TXpjy1xQ4z4NGW; Sun, 11 Feb 2024 13:44:54 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=LysA+huN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2a00:1450:4864:20::535 as permitted sender) smtp.mailfrom=marietto2008@gmail.com Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-557dcb0f870so3103885a12.2; Sun, 11 Feb 2024 05:44:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707659092; x=1708263892; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=aoU8HxDHuFe4dNNwrvlsbmgdEM7Auq2rSysvOPm7j30=; b=LysA+huNAVRtfFE6ibu+wS8bDeKbnz+IGEjmfpVjFoqSk6TXjYl7gM2atJaqY1doB+ VVaI5jONy9rftL+Xxu1Ym5iv7n+MqbsdPdQbds0Ep243U2mbW1jGbcBLEBWSmyRxhw1T GvNcsuaaiKaGaC2je5eDXia4Hk4k9EQtEdmidyJS4TqQ2Z3A9u+JfZHQS3F+BmDsdhtV WFNGpIQys7VdtSNhGKX8C2FT3eNegU6bLfDVdSLjiPljQQHAJelqN2FB+ACZ+Uzx6oDP sS6A0jg9x+ij/UZcv3G3+oFa+5uOXhmq0ttW1T7Hzj4ue0SuMbFY9RcFLo3Q4u7eUsIY IxpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707659092; x=1708263892; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=aoU8HxDHuFe4dNNwrvlsbmgdEM7Auq2rSysvOPm7j30=; b=HdqZyWmg2FJHB3rhxffmPEy4bHWv4qKihFirnMwTFFbA6hwxvIHqFjPmpl2V2emaQ0 efhynfb1yl2qgm87KI17m28RThzLVgkiOX9ppSD9E+KnnIkVNtOGtlIfmJ8GVizTXeEG za3ocRyDi1oUgOgxT7SyEqlUq1tkdnBHFPiL2JA0e1lO2teVNMENPFxTdwqi7dZZpZDc 5Wisu0xDRwRpTvkXp+sJwhlFOIqI2EPAIZxwfEpAJiBHM7/qKmSn+wdHmxBCbnUOb8KZ g1zBJgqcyhkESF44stoZ938Tt7xa0hF5b0F3XQTndPVTa/yA9gc4FshB7cYr0zqWcV9k UMFQ== X-Gm-Message-State: AOJu0Yw0OTHruzrjnHTQF3qzYxGMZgP3dxV8I+PQQK8e92CD6kjo3Qve esBOS1Qo6HNflq7nDFyRZMNpy8q6eQTlER4w3J8DI1SzrJFJ6rS+b87qHS9FI7J7THXgHo6+aRH pFImJLOHDUJy/2yR8FkTWQDgWfsYLT/comVmZow== X-Google-Smtp-Source: AGHT+IF2hw4DW1h/1mvQo4aa/dtoQ2kYp64dP0qMk99U/7QFZ1nCBZK5g3IT4CIy/0khC+93nwBSjdpzl2N2fcTlPp8= X-Received: by 2002:a17:906:a298:b0:a38:891b:4a69 with SMTP id i24-20020a170906a29800b00a38891b4a69mr2720875ejz.51.1707659091282; Sun, 11 Feb 2024 05:44:51 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Mario Marietto Date: Sun, 11 Feb 2024 14:44:14 +0100 Message-ID: Subject: How to use the L4 Microkernel with a FreeBSD userland. To: freebsd-arm , FreeBSD Mailing List , freebsd-hackers , FreeBSD Current , Warner Losh Content-Type: multipart/alternative; boundary="000000000000888e3c06111b5da2" X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::535:from]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org,freebsd-questions@freebsd.org,freebsd-hackers@freebsd.org,freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+] X-Rspamd-Queue-Id: 4TXpjy1xQ4z4NGW --000000000000888e3c06111b5da2 Content-Type: text/plain; charset="UTF-8" Hello to everyone. I'm trying to understand how to use the L4 Microkernel with a FreeBSD userland. I've asked the same to a L4 developer,but he told me that he does not know FreeBSD,so I'm here to ask the same question. First of all I'm sure that it can be done,because it is written clearly on their website : http://os.inf.tu-dresden.de/L4Re/download/snapshots/ on the section : Host system requirements The host system shall be a 64bit-based system with a recent Linux distribution installed and at least 2GB of free disk space. All necessary tools required by the build are available from the provided packages of the Linux distributions, including cross compilers. But there are also other cross compiler packages available (see below). You might want to run make check_build_tools in the src/l4 directory to verify the common tools are installed. *You are free to use any Linux distribution you like, or even BSDs or any of its derivatives.* But then you should know the game. Especially tool versions should be recent, as installed on the listed distributions below. We are confident that the snapshot works on the following distributions: - Debian 11 or later - Ubuntu 22.04 or later Let's say I want to use the L4 microkernel + FreeBSD 14 on my Raspberry Pi 4,the first step I did was to build L4Re for the Rpi,according with this instructions : http://os.inf.tu-dresden.de/L4Re/rpi.html This is the log file of the compilation,that hasn't given any error : https://pastebin.ubuntu.com/p/6SwN2mpJBM/ Or I could have taken a pre built image of the L4 microkernel here : http://os.inf.tu-dresden.de/download/snapshots/pre-built-images/arm64/ At this point the tutorial says that I should use a Linux distro. They suggest the official distro for the Raspberry Pi 4,that's RaspBian. But I don't want to use Linux as a userland,I want to use FreeBSD. The question now is : what should I do to achieve that goal ? How can I link the L4 microkernel with the ubldr bootloader of FreeBSD ? Or should I link it to the kernel of FreeBSD ? Can someone explain to me the missing step ? thanks. -- Mario. --000000000000888e3c06111b5da2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello to everyone.

I'm t= rying to understand how to use the L4 Microkernel with a FreeBSD userland. = I've asked the same to a L4 developer,but he told me that he does not k= now FreeBSD,so I'm here to ask the same question. First of all I'm = sure that it can be done,because it is written clearly on their website :




on the section :

Host system requirements

The host system shall be a 64bit-based system with a recent Linux distribution installed and at least 2GB of free disk space.

All necessary tools required by the build are available from the provide= d packages of the Linux distributions, including cross compilers. But there are also other cross compiler packages available (see below). You might want to run make check_build_tools in the src/l4 directory to verify the common tools are installed.

You are free to use any Linux distribution you like, or even BSDs or = any of its derivatives. But then you should know the game. Especially tool versions should be recent, as installed on the listed distributions below.<= /p>

We are confident that the snapshot works on the following distributions:=

  • Debian 11 or later
  • Ubuntu 22.04 or later

=
Let's say I want to use the L4 microkernel + FreeBSD 14 on m= y Raspberry Pi 4,the first step I did was to build L4Re for the Rpi,accordi= ng with this instructions :




This is the log file of the compil= ation,that hasn't given any=C2=A0 error :

=


=
Or I could have taken a pre built image of the L4 microkernel here : <= br>





At this point the tutorial says that I shou= ld use a Linux distro. They suggest the official distro for the Raspberry P= i 4,that's RaspBian. But I don't want to use Linux as a userland,I = want to use FreeBSD. The question now is : what should I do to achieve that= goal ? How can I link the L4 microkernel with the ubldr bootloader of Free= BSD ? Or should I link it to the kernel of FreeBSD ? Can someone explain to= me the missing step ? thanks.

--
Mario.
--000000000000888e3c06111b5da2-- From nobody Sun Feb 11 19:43:59 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TXyj363TMz5BJHW; Sun, 11 Feb 2024 19:44:39 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TXyj34JSmz45Hw; Sun, 11 Feb 2024 19:44:39 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a3ca40db065so14449066b.2; Sun, 11 Feb 2024 11:44:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707680676; x=1708285476; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=c7i/Wmbp8GH6io4XHdLDqNSfDIn68zOaOkCMVjkau88=; b=ilMLWumyDXtGuYxdayBI9W0pq4p6PTIrLZpMxgCsUPbzBXWOQXLv5VWjbgtk9NQH6z P3tshmnBOXcWELKgaINxB/gx8u90tMrtn/QsoQY79nFfIJQ9BK5AsiwokYrvL2j7xwaZ dSaQqRj1cwz5lDhJm5EWe8UZAkd3FraSa4CttKo5jxomWbN1i1aJO2X9dG/mrSGhucXG zKqAZbXu6GGv6D8A7+HhEWDhGKyVxyBemHhSPtquKM2VEZVhALPx63ciOTTgbtNndN1C 335WIxwP2mZ7HXs0ynyA4pcCJhNsIxSMeXL98Eks5ng17xWEv1jzAzVJTGvWsz47JXFS 0vzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707680676; x=1708285476; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=c7i/Wmbp8GH6io4XHdLDqNSfDIn68zOaOkCMVjkau88=; b=qJlU4AeTKw4Qr4K8QCihlSOX+t8I3Bxi1J15i/eJk2WLW2qAeziLW2F/dQA7i7LvaL /iZ2sybDhkdTmIpxAm5QaPFLVnH7WGDI6Yy6baQ6DCTB99mh2jLsfZF9I1v6s77DqU68 ISc0f6Lu45ovlvxbBPUnQ9Ep7cGNuLorZ4nJ+agL8Z2oCE1wi8DQc2b73wz+ZKwZotPG 0k4XcVchYcyY1vtr3CuUK7vaiT3ScGy5dFYtD4ttoGrO+4jcRJWIV9NblruLtkZEHSQS YSHAK2gsWJf0DOBosOQUdx2DwcietDlXZnatQHMDANKOqwVPXHaeJSw2eXwJFCFEEJnT XfWg== X-Gm-Message-State: AOJu0YyXcZ+DPbjohIu5ZzdTt0SCBeA2uBy3HFLHuRhm8zFiLoHvKNWp zOqCqVjC8zS1g1kEoKXXwZMsgN+CmPtKEfb+lfJpOUD9r5vV3JsQjK8cMN1sjvFvDx3PVnP8sJK nOPTYiLkVG419UhQ16nGXgsxNl1Y= X-Google-Smtp-Source: AGHT+IEuN10vP66h8m0ASuv9tnzGtgSlnqltSiT+E5CNHRZhegI59udvYLrSs0oXTRchIYAJeTizp1RZRRVXdUWrKfw= X-Received: by 2002:a17:906:f190:b0:a38:3907:8ee0 with SMTP id gs16-20020a170906f19000b00a3839078ee0mr3123643ejb.51.1707680676290; Sun, 11 Feb 2024 11:44:36 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <071E080E-C0E6-40F0-A0DF-4FCC22FC004D@yahoo.com> In-Reply-To: <071E080E-C0E6-40F0-A0DF-4FCC22FC004D@yahoo.com> From: Mario Marietto Date: Sun, 11 Feb 2024 20:43:59 +0100 Message-ID: Subject: Re: How to use the L4 Microkernel with a FreeBSD userland. To: Mark Millard Cc: freebsd-arm , FreeBSD Mailing List , freebsd-hackers , FreeBSD Current , Warner Losh Content-Type: multipart/alternative; boundary="00000000000019a36f0611206470" X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4TXyj34JSmz45Hw X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated --00000000000019a36f0611206470 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable ok. But what does this mean ? That I can use whatever Linux distro I want ? Or even the FreeBSD world ? On Sun, Feb 11, 2024 at 7:59=E2=80=AFPM Mark Millard wr= ote: > > > On Feb 11, 2024, at 05:44, Mario Marietto wrote: > > > I'm trying to understand how to use the L4 Microkernel with a FreeBSD > userland. I've asked the same to a L4 developer,but he told me that he do= es > not know FreeBSD,so I'm here to ask the same question. First of all I'm > sure that it can be done,because it is written clearly on their website : > > > > > > http://os.inf.tu-dresden.de/L4Re/download/snapshots/ > > > > > > on the section : > > Host system requirements > > The host system shall be a 64bit-based system with a recent Linux > distribution installed and at least 2GB of free disk space. > > All necessary tools required by the build are available from the > provided packages of the Linux distributions, including cross compilers. > But there are also other cross compiler packages available (see below). Y= ou > might want to run make check_build_tools in the src/l4 directory to verif= y > the common tools are installed. > > You are free to use any Linux distribution you like, or even BSDs or an= y > of its derivatives. But then you should know the game. Especially tool > versions should be recent, as installed on the listed distributions below= . > > We are confident that the snapshot works on the following distributions= : > > =E2=80=A2 Debian 11 or later > > =E2=80=A2 Ubuntu 22.04 or later > > > > Let's say I want to use the L4 microkernel + FreeBSD 14 on my Raspberry > Pi 4,the first step I did was to build L4Re for the Rpi,according with th= is > instructions : > > > > > > http://os.inf.tu-dresden.de/L4Re/rpi.html > > > > This is the log file of the compilation,that hasn't given any error : > > > > > > https://pastebin.ubuntu.com/p/6SwN2mpJBM/ > > > > > > Or I could have taken a pre built image of the L4 microkernel here : > > > > > > http://os.inf.tu-dresden.de/download/snapshots/pre-built-images/arm64/ > > > > > > > > At this point the tutorial says that I should use a Linux distro. They > suggest the official distro for the Raspberry Pi 4,that's RaspBian. But I > don't want to use Linux as a userland,I want to use FreeBSD. The question > now is : what should I do to achieve that goal ? How can I link the L4 > microkernel with the ubldr bootloader of FreeBSD ? Or should I link it to > the kernel of FreeBSD ? Can someone explain to me the missing step ? than= ks. > > QUOTING the "Configuring yourself" section: > The make setup step configures predefined setups for both the L4Re > microkernel (Fiasco) and the L4Re user-level software, and connects both > together so the images for the target system can be built. > END QUOTE > > So L4Re has its own user-level software, not just a kernel. There is no > use of a Linux or FreeBSD user-level software > when L4Re is booted. (They are just used for building.) > > "The host system" is just a host for building the L4Re parts and > assembling the image from the parts. The "Pulling it together" section is > about combining the parts (including the microkernel and the user-level > software) to make the overall image that does not include Linux or FreeBS= D > code. > > > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > > --=20 Mario. --00000000000019a36f0611206470 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
ok. But what does this mean ? That I can use whatever Linu= x distro I want ? Or even the FreeBSD world ?

On Sun, Feb 11, 2024 at 7= :59=E2=80=AFPM Mark Millard <marklm= i@yahoo.com> wrote:


On Feb 11, 2024, at 05:44, Mario Marietto <marietto2008@gmail.com> wrote:

> I'm trying to understand how to use the L4 Microkernel with a Free= BSD userland. I've asked the same to a L4 developer,but he told me that= he does not know FreeBSD,so I'm here to ask the same question. First o= f all I'm sure that it can be done,because it is written clearly on the= ir website :
>
>
> http://os.inf.tu-dresden.de/L4Re/download= /snapshots/
>
>
> on the section :
> Host system requirements
> The host system shall be a 64bit-based system with a recent Linux dist= ribution installed and at least 2GB of free disk space.
> All necessary tools required by the build are available from the provi= ded packages of the Linux distributions, including cross compilers. But the= re are also other cross compiler packages available (see below). You might = want to run make check_build_tools in the src/l4 directory to verify the co= mmon tools are installed.
> You are free to use any Linux distribution you like, or even BSDs or a= ny of its derivatives. But then you should know the game. Especially tool v= ersions should be recent, as installed on the listed distributions below. > We are confident that the snapshot works on the following distribution= s:
>=C2=A0 =C2=A0 =C2=A0=E2=80=A2 Debian 11 or later
>=C2=A0 =C2=A0 =C2=A0=E2=80=A2 Ubuntu 22.04 or later
>
> Let's say I want to use the L4 microkernel + FreeBSD 14 on my Rasp= berry Pi 4,the first step I did was to build L4Re for the Rpi,according wit= h this instructions :
>
>
> http://os.inf.tu-dresden.de/L4Re/rpi.html
>
> This is the log file of the compilation,that hasn't given any=C2= =A0 error :
>
>
> https://pastebin.ubuntu.com/p/6SwN2mpJBM/
>
>
> Or I could have taken a pre built image of the L4 microkernel here : <= br> >
>
> http://os.inf.tu-dresden.= de/download/snapshots/pre-built-images/arm64/
>
>
>
> At this point the tutorial says that I should use a Linux distro. They= suggest the official distro for the Raspberry Pi 4,that's RaspBian. Bu= t I don't want to use Linux as a userland,I want to use FreeBSD. The qu= estion now is : what should I do to achieve that goal ? How can I link the = L4 microkernel with the ubldr bootloader of FreeBSD ? Or should I link it t= o the kernel of FreeBSD ? Can someone explain to me the missing step ? than= ks.

QUOTING the "Configuring yourself" section:
The make setup step configures predefined setups for both the L4Re microker= nel (Fiasco) and the L4Re user-level software, and connects both together s= o the images for the target system can be built.
END QUOTE

So L4Re has its own user-level software, not just a kernel. There is no use= of a Linux or FreeBSD user-level software
when L4Re is booted. (They are just used for building.)

"The host system" is just a host for building the L4Re parts and = assembling the image from the parts. The "Pulling it together" se= ction is about combining the parts (including the microkernel and the user-= level software) to make the overall image that does not include Linux or Fr= eeBSD code.


=3D=3D=3D
Mark Millard
marklmi at yahoo.com



--
Mario.
--00000000000019a36f0611206470--