From nobody Mon Mar 4 03:25:30 2024 X-Original-To: freebsd-hackers@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 4Tp3xS4Gvhz5Bg3m for ; Mon, 4 Mar 2024 03:25:48 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-21.consmr.mail.gq1.yahoo.com (sonic314-21.consmr.mail.gq1.yahoo.com [98.137.69.84]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tp3xQ0wy1z410Y for ; Mon, 4 Mar 2024 03:25:46 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=FkacIrC9; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1709522744; bh=5IE0gcMeEEcBcf7o0hwaYPcoHBYbQHRpcTB1uRxGu98=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=FkacIrC9OjU+mKeWuyQSmeqy4sYPUQOcIfcOAvaJUexeEVGF0BxBI7thzoliZVh2+tu/07TKca2ktQN6tKhx5if1sYumK3K4YgaqfuZ2iOMGwc+bjN1YIqGrptgFEklX8aTkh/qlTSj1pCV1p+cHw+9k/hn5h/CUQ3IT8r3CualDgRs56dCl+ZY+lNtAQg3H7U/2Q+kHx9ueJgHJK2tiwPOaFhLR++VY7Btffz2f9u3mzMK96kUM2p0FRIMMOG4VmgJN7fNNhbcEHzBx4EudaeK4M1hE75Mse4b6mC/TYHYwPJDogxkRkfQRLXxiaahm+YUqpGrzbmJv+vxto2rCOw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1709522744; bh=/GE9JSEm+70+8H7ihF4XahXboMvFvbMmYjbIajNyRpB=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=bhFWfSx6nJxNJib0EUNaYu6HkBuYVNxc4YtLdI/F28jMLKas2jZcpXIzzBSWX5vHsGKUmakLjIeeyxf1zzImKjZcenS521MpNH7oluAExgm9m98oV/wKakar6nEUjB5yrh9VgYlcwFM5QAdfVwEhb3A2vazPWTRP3JZ6ve0wKfQhX6NBZuJIWoLupMw1n2bPMGTYJu3xlaejKGCrszuGYh/mOw3zlF6NTUl80ydoJjNBMPgGq8slCJ7b/zBpT6w5FfPXE/xru7VySHyz5ldq6k0OGDkfsCmUEFXO+rRrCqmg6NT8jNGjzBnJtVOL3SDEqoAWDqGPzNuQCXaeCS+puw== X-YMail-OSG: sXbeKVAVM1lGqFYQbKz8BBnP2pD2KDvQhK5phGcdWfUMaIW7BSbAKTxCMTKRT.C DSiyuywhv3AknrZpwOwFIBQHh6XYillLZGBOm_bjnEgR_fTUjJ9nkL7uZOiCPQtvvOnZE6FrkRdf 1QlE13NS3jhzWjoQY6h54fFysToylP1mMN3opPOvx0veWUsLoMOvqckyiUJULHJfbBAX3HTqZg2R ORmGZQTv6oeOGPzZRF2iW1todicUdVyH9MljWJtrqp7IW1h_ysAttouGzXK0XK4deoFn_Hy7KyGZ bUwf5tbJWSJebXmAwLLS2sv1iWN4NdYUJgAA1J0nZNdmD49TJE1RsvXcnC1v08z_4TAcV_iXF0US wS_vCohk4msuYcIFEk9FY3odzuC.uQ6DCmq8fuP_PFCLk79Xe3XjW4peipEyAsJbP_03.VvzjE5T GUZDB1kY06UWo8HsfGoLWiAaVWRmXyQMuyf4zDeze7wgPtipiITnY.E1sxN9MOXzCHiHB2gfHprW hgzABHkLmkd1sN_sCVc5kf.oN1sZL5N95LlDTUCM4AQcYP8q1xxia6pr4TUblhKYgIwcE4qNlm0S vwps.dcn0l2on8PSeubXBqxGPmYJ15oBBceWhjNTNxSosYFfNfPCRM3oXPGQwGBx2fhoMDO0HFIK UYMJ5fdrzPEUofbtMh5CX3wkx6UqNhK6UMnjUAyEBS6OEGxF_xyryeWYO5.onInhFaQMScnS6AKx PmdxibmT.lyDqJtTWLgj7.lJv6TOwDDX32jY1_w4oyHUKpiTsP_aiDd08EYlBWdhKdM9XNoEbEJ4 ifTiTcQ0IZDt5kWKkfR1Lr.xDLgCn.DsRfj4a1Q08CKCgrARqZVNVw4ylbEeyT0R9SSLx8Q6jLV0 0.zNVDyknSxZHg6fO35TEM47idmcZ0djCb6NoPV5.5xguOKSdXIo_CIKOEAKX.kIVpE3FY5fPHw9 Mg27CX7SxCV7NEoiZk2J7idFXi.hTvTn1dwZ16lCM3cHj0AKwObm8oarOR9JgF_ZGz4uCP5rjjma uOg7m_f2PB2ZnvlZ2wpK9_1Qwjknr0SfdSAR.C9jr6nfq_RdawWvVq3NmUqcO2XajTL39PpwQ_X7 ZlOBNDzPBXcjESd3IozVXVi8m1Ob8FY53MZyQNwAFUJze1PyK9dNLyPkEFf6cZfZumcHWFD7bi9v 1TC9qFAz0Ns.1_5McBcqzYkyIT0zxDyxdSJ21yiCBRx4puTqFRp2mjdaPDEi6o0kO9cGjROB7ViJ 4EaZZhK3w.aYu5yuNON_HMoB.iP4D4396bXmDzFRE2npJgczftjmobxxBHLPDSXhxL0AIvnFMaiP n2o8kKd_lS4Jb.k9DScf9xiAYPYmdZRQqWgTrAY.A7Iqa87DrPTWRVD9ah9JSXQKw7Jyr6d5sCiq GK3.0EXfHtm0e.Pfz1pk_jQ.4UWPPE.19LMlEKskrPwjKk7GFBLJBrBXKHOyXRc3jcVRUm4mtHs5 Bdh8D4PmCtwwg3jh3rDyVTMAWKrrqqN6VJAQ1pr6xHETVnu8rJO97nb31nc4jXMvXkVt2jhZUHk1 XTwgW3CJvpTdszY5ejQaFgo4RQxWdA.Jl5sSN0jyoSwibtFYePndSbS12D8Y36xKrjwJEyvbooxr dzc61ViLZuqPsjDyxbmLwzb1yC2ZxburuEsJjMBjrvGea0hAaRzP9Je1PXzQ0bXEOZmLYbpsmk95 yY3syUPf7XGL0SMfkqxaOi4gPckS3BtOYjFfCwB.V3shxF656zye..6iWCmrOF8NTU33826.d5oQ KEXGN.5JbBparTgMIiLIjhBCM_zcoc0mfAlu8tcVXzqk7E3Q2W.LGJkFeSg2SquLiNx48l2np.fa B8xNiz_hhEHCQ.VuyXY0mv382VfNHZTiDpbd1R2vLq.VncMvN1GhcDyjJmHq8eHLrrxiPQzjiYLR gsJkly80Qm.QScT5i_tg.vT8ncl70sRgsl3GL9rNjjGWhHTXPWuKAV_xZuh8Bw1rIr7UTCm3PWGg Yhz9uLQd_Y0YoCaz_N3X7c7I5n5EVHgJ4m985JO.kg45hfsE34Ux.CdY6IB6asQnjHcOdykuLo5D ROcLjx4lqEe9wMfiRz2ozQmh9edMNQykZ2USf2gZqehnh1XUhNqXhmeVx8tpjv9LbDbGbqcSLkfM PapuK2C8zuMSaJZFPtaV.c.xsdEZjdjrAoDAnvvT_E_psU4ol4tVH4zusVuKyI0XhgRkBaRaP4EW OXpWwiu2SYotlsH1zSWnrgDrXwjmw9wJAoG_Y4dB_zEuuJvnYoCzXNrJIKs06Fu7FuSu0p02k X-Sonic-MF: X-Sonic-ID: 46da26fb-7173-4cd8-9598-1a7e9d7f9032 Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Mon, 4 Mar 2024 03:25:44 +0000 Received: by hermes--production-gq1-5c57879fdf-bmngc (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ae4afdc10117a2ccee486ed93e210895; Mon, 04 Mar 2024 03:25:41 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\)) Subject: In rust build, PkgBase armv7 in armv7 poudriere jail on aarch64: jemalloc's arena_choose_impl got Failed assertion: "ret" (arena_choose_hard result) Message-Id: Date: Sun, 3 Mar 2024 19:25:30 -0800 To: freebsd-hackers , FreeBSD ARM List X-Mailer: Apple Mail (2.3774.400.31) References: X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.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)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.84:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.84:from] X-Rspamd-Queue-Id: 4Tp3xQ0wy1z410Y The context for this is messy and the failure happened after hours of = high load average bulk build activity. 32 GiBytes RAM with 118 GiBytes of swap (so: = RAM+SWAP =3D=3D 150 GiBytes). 8 cores (4 cortex-A78C and 4 cortex-X1C). Windows Dev Kit 2023. llvm18 = was also building. (Note: https://pkg.freebsd.org/FreeBSD:15:armv7/base_latest/ last = updated over a month ago: 2024-Jan-25 09:48 UTC most recent file timestamps.) The aarch64 world in = use to do the bulk run was via a chroot into a directory tree not matching the boot = world. (The boot world was a more recent PkgBase aarch64 world, explaining the = /home/bapt/worktrees/ in the path in the message.) : = /home/bapt/worktrees/main/contrib/jemalloc/include/jemalloc/internal/jemal= loc_internal_inlines_b.h:23: Failed assertion: "ret" /* Choose an arena based on a per-thread value. */ static inline arena_t * arena_choose_impl(tsd_t *tsd, arena_t *arena, bool internal) { arena_t *ret; if (arena !=3D NULL) { return arena; } /* During reentrancy, arena 0 is the safest bet. */ if (unlikely(tsd_reentrancy_level_get(tsd) > 0)) { return arena_get(tsd_tsdn(tsd), 0, true); } ret =3D internal ? tsd_iarena_get(tsd) : tsd_arena_get(tsd); if (unlikely(ret =3D=3D NULL)) { ret =3D arena_choose_hard(tsd, internal); assert(ret); . . . For reference: . . . [main-armv7-default] [2024-03-03_12h08m11s] [parallel_build] Queued: 265 = Built: 255 Failed: 0 Skipped: 0 Ignored: 0 Fetched: 0 Tobuild: = 10 Time: 06:29:58 ID TOTAL ORIGIN PKGNAME PHASE TIME = TMPFS CPU% MEM% [01] 04:32:52 devel/llvm18@default | llvm18-18.1.0.r3 build 04:26:27 = 8.58 GiB 432.9% 4.5% [05] 04:32:52 lang/rust | rust-1.76.0 build 04:31:14 = 22.07 GiB 230.5% 3.1% [06:30:02] Logs: = /usr/local/poudriere/data/logs/bulk/main-armv7-default/2024-03-03_12h08m11= s [06:33:33] [05] [04:36:23] Finished lang/rust | rust-1.76.0: Failed: = build . . . My monitoring got "Maximum observed" figures: 60015Mi MaxObs(Act+Wir+Lndry+SwapUsed) 56885Mi MaxObs(Act+Lndry+SwapUsed) Swap: 29443Mi MaxObsUsed 31293Mi MaxObs(Act+Wir+Lndry) 3146Mi MaxObsWired 26712Mi MaxObsActive (Sampled via a top variation.) (Note: UFS file system, ZFS not loaded: no ARC.) It is unlikely that I'll reproduce this failure, much less identify a simpler context for reproducing it. I do learn from this that PkgBase for armv7 has that assert enabled in that code. (I do not know if that is typical or not.) =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Mon Mar 4 03:38:46 2024 X-Original-To: hackers@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 4Tp4DV3rN7z5BhrW for ; Mon, 4 Mar 2024 03:38:50 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tp4DV1bLmz444p for ; Mon, 4 Mar 2024 03:38:50 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTPS id gudwr7wedxDxGgzA9rfSdi; Mon, 04 Mar 2024 03:38:49 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPSA id gzA7r15lhZ0jDgzA8rfXTZ; Mon, 04 Mar 2024 03:38:49 +0000 X-Authority-Analysis: v=2.4 cv=P8GZhTAu c=1 sm=1 tr=0 ts=65e54249 a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=K6JAEmCyrfEA:10 a=9lY-8GGDAAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=5c-f5QlEWJM5kxw4N9UA:9 a=CjuIK1q_8ugA:10 a=gm90v29TwbeTriBgtjlE:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id EA33B19CE; Sun, 3 Mar 2024 19:38:46 -0800 (PST) Received: by slippy.cwsent.com (Postfix, from userid 1000) id B9425139; Sun, 3 Mar 2024 19:38:46 -0800 (PST) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: garyj@gmx.de cc: Tommy Johnson , Daniel Braniss , freebsd-hackers Subject: Re: How to add -listen tcp to Xorg In-reply-to: <20240303200852.3d6e4ea6@ernst.home> References: <543CC273-7A51-4C12-981B-493CA69BE5FE@cs.huji.ac.il> <20240303181000.52322886@ernst.home> <20240303190551.7ad01ac6@ernst.home> <20240303132827.72fca2af6bce173d81794f32@bobdbob.com> <20240303200852.3d6e4ea6@ernst.home> Comments: In-reply-to Gary Jennejohn message dated "Sun, 03 Mar 2024 19:08:52 +0000." List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 03 Mar 2024 19:38:46 -0800 Message-Id: <20240304033846.B9425139@slippy.cwsent.com> X-CMAE-Envelope: MS4xfMqZchLocK81zLAmj/Txf+OR4H5LbuCH9Qet01YKH5hrWaikmFfqTKQdNTf1+ebbGeYs8MXSdkQFbG32oO/rlu+DLfPCgnBIhsD0yjw2pFdt9n6myT6F wuPpmRUnQ42g4S0vx9px6yhv8oFW4SbEpufZiNOgziMF6sZ53jBmmMEIxGy70mpuoNglBjNU7MxqDU8UhzaPJSHHNBKhyuRviDtHZK83OpRt7w+nJFL+sT9B a5Yqkffd1aFxifyyc4xEtVAXHpf2iHmfmzRs7o0PV+G5sTgIi7c8ZJwXdqO3VeK3 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:16509, ipnet:3.96.0.0/15, country:US] X-Rspamd-Queue-Id: 4Tp4DV1bLmz444p In message <20240303200852.3d6e4ea6@ernst.home>, Gary Jennejohn writes: > On Sun, 3 Mar 2024 13:28:27 -0500 > Tommy Johnson wrote: > > > On Sun, 3 Mar 2024 18:05:51 +0000 > > Gary Jennejohn wrote: > > > > > On Sun, 3 Mar 2024 19:29:14 +0200 > > > Daniel Braniss wrote: > > > > > > > This is the trick that has worked for me since time immemorial: > > > > In /etc/ttys: > > > > ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure > > > > > > > > > > Well, it doesn't work now. > > > > > > I've never used xdm and have no idea what options it supports. > > > > I fixed the problem by editing the file Xservers in /usr/local/etc/X11/x= > dm > > to look like: > > > > :0 local /usr/local/bin/X :0 -listen tcp > > > > I am using xdm from .../ports/x11/xdm , as opposed to any of the > > newer reimplementations. > > > > That's great! I was hoping that a solution like this could work, since > it's similar to xinit passing -listen tcp to the Xserver. For xdm, add -listen tcp to your Xserver specification, i.e., in /usr/local/etc/X11/xdm/Xservers, :0 local /usr/local/bin/X -terminate -listen tcp :0 CDE's dtlogin's Xservers file serves the same purpose The moral of the story is, whatever your desired method of starting your Xserver, check the man page. Most display managers will have a configuration file to specify how to invoke the Xserver. I don't know about gdm, kdm or sddm. Normally one doesn't need to fiddle around with this as ssh tunnels X. However, in my experience tunneling through an ssh session is slow. If you're on a private network, like I am (I'm the only one using my network) opening an unencrypted X TCP socket is fine. But if you're sharing that network with other, i.e. work, school, etc., tunnel through ssh. The rule of thumb is, tunnel through ssh. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0 From nobody Mon Mar 4 05:32:39 2024 X-Original-To: hackers@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 4Tp6ly6DJpz5BsPQ for ; Mon, 4 Mar 2024 05:32:46 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tp6ly0KFnz4Gmf for ; Mon, 4 Mar 2024 05:32:45 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=References:To:Cc:In-Reply-To:Date:Subject:Mime-Version:Content-Type:Message-Id:From; bh=HxyXhKFCafZsIqIG8SKdoNy6xZMyIrkf2Nvf9YUZ1w8=; b=0IgOuXRJPFrwNEY4GsgQdtIUioDfOpH8wrns5ToCzz961iyl4KIEbnEPsQLjqjnjLQnM/hKNF4qptEJnVgRM5yOXY2DdzEEHE0pihWukuPxSOtYrCMPODy0gJ7VqeWgl/ZQvV6+rgAXZJ0/BjmUJBf1AQ2nQOxlgEi1aLtJrb7ECEy+mKiQdY2/Sa/JRTxIpMGDB/65u1javMZARDVj17g6Sjw3i2fGH/pi8aq5qUXvhUaXNY5XMvXxTPb6Vhl+7cFkz7Ubkc7kTW34JsTgQ14Y9tib5ScACmH2dm46W/VbNVUitdqKs3yCwLUkHWQ0ofGfTvgl/lTaYN8QiNI4vKA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cse.huji.ac.il; s=57791128; h=References:To:Cc:In-Reply-To:Date:Subject:Mime-Version:Content-Type:Message-Id:From; bh=HxyXhKFCafZsIqIG8SKdoNy6xZMyIrkf2Nvf9YUZ1w8=; b=OKEZxgNWT0GZA4Qy1KFpAU03ZtyhukBk7zt4mNQ956fVXdcmTiF0EYC969lmAWlYqJ8rvfPnnjPEoSTfW58Vb9RFfHHPaAuX3ZUcH6G12RMhYJNOtZtrApSmbjypOymfLypAvHmK7mICwxQldXSsl6dzIhgpbKf6MjHoNPQze+bVxFYg4Didt0+wYagthTHWu0x7ydVXJh3FjjcXSnhJ6xs0dsX+6n4zmvjMas+DY7lRHkncu+jFX64nWAbt72Bj54kyi2u4V4Fc7MQMPGjO2b1y2yxq+CnKFfRtxcVOAZ+Q/bITKIuMIwwwsX1xQbQZ/VxIWoXHj8bAN4IcN6eEEw==; Received: from bach.cs.huji.ac.il ([132.65.80.20] helo=smtpclient.apple) by kabab.cs.huji.ac.il with esmtp id 1rh0wJ-0007zg-Pu; Mon, 04 Mar 2024 07:32:39 +0200 From: Daniel Braniss Message-Id: <8FD4BE44-7EBA-4707-BD88-6A424A19E242@cs.huji.ac.il> Content-Type: multipart/alternative; boundary="Apple-Mail=_2B9CE2C6-2DAE-40A2-8D99-E59C434626DD" List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: How to add -listen tcp to Xorg Date: Mon, 4 Mar 2024 07:32:39 +0200 In-Reply-To: <20240304033846.B9425139@slippy.cwsent.com> Cc: garyj@gmx.de, Tommy Johnson , freebsd-hackers To: Cy Schubert References: <543CC273-7A51-4C12-981B-493CA69BE5FE@cs.huji.ac.il> <20240303181000.52322886@ernst.home> <20240303190551.7ad01ac6@ernst.home> <20240303132827.72fca2af6bce173d81794f32@bobdbob.com> <20240303200852.3d6e4ea6@ernst.home> <20240304033846.B9425139@slippy.cwsent.com> X-Mailer: Apple Mail (2.3696.120.41.1.4) 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:378, ipnet:132.64.0.0/15, country:IL] X-Rspamd-Queue-Id: 4Tp6ly0KFnz4Gmf --Apple-Mail=_2B9CE2C6-2DAE-40A2-8D99-E59C434626DD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 4 Mar 2024, at 05:38, Cy Schubert = wrote: >=20 > In message <20240303200852.3d6e4ea6@ernst.home = >, Gary Jennejohn writes: >> On Sun, 3 Mar 2024 13:28:27 -0500 >> Tommy Johnson wrote: >>=20 >>> On Sun, 3 Mar 2024 18:05:51 +0000 >>> Gary Jennejohn wrote: >>>=20 >>>> On Sun, 3 Mar 2024 19:29:14 +0200 >>>> Daniel Braniss wrote: >>>>=20 >>>>> This is the trick that has worked for me since time immemorial: >>>>> In /etc/ttys: >>>>> ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure >>>>>=20 >>>>=20 >>>> Well, it doesn't work now. >>>>=20 >>>> I've never used xdm and have no idea what options it supports. >>>=20 >>> I fixed the problem by editing the file Xservers in = /usr/local/etc/X11/x=3D >> dm >>> to look like: >>>=20 >>> :0 local /usr/local/bin/X :0 -listen tcp >>>=20 >>> I am using xdm from .../ports/x11/xdm , as opposed to any of the >>> newer reimplementations. >>>=20 >>=20 >> That's great! I was hoping that a solution like this could work, = since >> it's similar to xinit passing -listen tcp to the Xserver. >=20 > For xdm, add -listen tcp to your Xserver specification, i.e., in =09 > /usr/local/etc/X11/xdm/Xservers, >=20 > :0 local /usr/local/bin/X -terminate -listen tcp :0 >=20 > CDE's dtlogin's Xservers file serves the same purpose >=20 > The moral of the story is, whatever your desired method of starting = your=20 > Xserver, check the man page. Most display managers will have a=20 > configuration file to specify how to invoke the Xserver. I don't know = about=20 > gdm, kdm or sddm. >=20 > Normally one doesn't need to fiddle around with this as ssh tunnels X.=20= > However, in my experience tunneling through an ssh session is slow. If=20= > you're on a private network, like I am (I'm the only one using my = network)=20 > opening an unencrypted X TCP socket is fine. But if you're sharing = that=20 > network with other, i.e. work, school, etc., tunnel through ssh. The = rule=20 > of thumb is, tunnel through ssh. >=20 >=20 > --=20 > Cheers, > Cy Schubert > > FreeBSD UNIX: > Web: = https://FreeBSD.org > NTP: > Web: = https://nwtime.org >=20 > e^(i*pi)+1=3D0 --Apple-Mail=_2B9CE2C6-2DAE-40A2-8D99-E59C434626DD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On 4 Mar 2024, at 05:38, Cy Schubert <Cy.Schubert@cschubert.com> wrote:

In message <20240303200852.3d6e4ea6@ernst.home>, Gary Jennejohn = writes:
On = Sun, 3 Mar 2024 13:28:27 -0500
Tommy Johnson <tjohnson@bobdbob.com> wrote:

On Sun, 3 Mar 2024 = 18:05:51 +0000
Gary Jennejohn <garyj@gmx.de> wrote:

On Sun, 3 = Mar 2024 19:29:14 +0200
Daniel Braniss <danny@cs.huji.ac.il>= wrote:

This is the trick that has worked for me since time = immemorial:
In /etc/ttys:
ttyv8 =   "/usr/local/bin/xdm -nodaemon"  xterm   on = secure


Well, it = doesn't work now.

I've never used xdm and = have no idea what options it supports.

I fixed the problem by editing the file Xservers in = /usr/local/etc/X11/x=3D
dm
to look like:

:0 local /usr/local/bin/X :0  -listen = tcp

I am using xdm from .../ports/x11/xdm , = as opposed to any of the
newer reimplementations.


That's great! =  I was hoping that a solution like this could work, since
it's similar to xinit passing -listen tcp to the Xserver.

For xdm, add -listen tcp to your Xserver specification, i.e., = in 
/usr/local/etc/X11/xdm/Xservers,

:0 local /usr/local/bin/X = -terminate -listen tcp :0

CDE's dtlogin's Xservers file serves the same = purpose

The moral of = the story is, whatever your desired method of starting your 
Xserver, check the man page. = Most display managers will have a 
configuration file to specify = how to invoke the Xserver. I don't know about 
gdm, kdm or sddm.

Normally one doesn't need to = fiddle around with this as ssh tunnels X. 
However, in my experience = tunneling through an ssh session is slow. If 
you're on a private network, = like I am (I'm the only one using my network) 
opening an unencrypted X TCP = socket is fine. But if you're sharing that 
network with other, i.e. work, = school, etc., tunnel through ssh. The rule 
of thumb is, tunnel through = ssh.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web: =  https://FreeBSD.org
NTP: =           <cy@nwtime.org>    Web: =  https://nwtime.org

= e^(i*pi)+1=3D0

= --Apple-Mail=_2B9CE2C6-2DAE-40A2-8D99-E59C434626DD-- From nobody Mon Mar 4 05:53:55 2024 X-Original-To: hackers@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 4Tp7DR1BjRz5Bvqh for ; Mon, 4 Mar 2024 05:53:59 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tp7DQ5dJGz4JFV for ; Mon, 4 Mar 2024 05:53:58 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=References:To:Cc:In-Reply-To:Date:Subject:Mime-Version:Content-Type:Message-Id:From; bh=TD6NzF6SOS8M4lfW1HE+thGV9NJBjFYIP9qyOlbQC7E=; b=UJ0Sl5nzjOtOlQKLNzHUYkzoXU26r98icbAwaKXhp7mkJZguYg8FVhbVVZlOvLjox+0F1OXpU1aFlaW8rwCdyT4F4Vym6fyLFyl/OLF5vL49G/GbAfL4W3FeAWgZrvYvo2XeaH/fzbkhwXxAb6W0unVSPa7zycK4Sn+zYAJIcsevA3KrypNcjEryrrv5STvbsZpaJWcGVb8stQj59BqTyFk5rfWd8w2i42jmUDhBO0m42dpC3JH+bOqJkp1QxMnC+oQocPrFjTb46bwaQct+DP8/MyDc6+DkMhBpO7/Ow47IjZdrU7i69ZG3l2ez+zJy8R0STxW7QmFMCA3t2T0pow==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cse.huji.ac.il; s=57791128; h=References:To:Cc:In-Reply-To:Date:Subject:Mime-Version:Content-Type:Message-Id:From; bh=TD6NzF6SOS8M4lfW1HE+thGV9NJBjFYIP9qyOlbQC7E=; b=vwxCwciv0c0g9iunhpXkBcgWI+s2XKO4Lk0yAIBo2JAgUVxMmd46UUwZ7YP/ZKsswPC1nMwwTfZO/RPBXEIvEST8wqDf47w9NLoXlH/Uw8SKX6Wtrm+xUbVVBy0GY0qNjd76qn2kipGSDl/u2NjHj9UE/XXax8u/L9lefVvIAL2Dusdyw5BLTBASffArfXjXY4LORl5sgn9BE/xh3Le5Q3Fl3QDbVEa1jRin7BbE4peFupKzzyHjuokgQ2l8+1fN2gBJFo7BCHFk/7prn3h7ZENospGfGgF5Jd8mbXuOd3wK2SaVgmMGeFFCmp+TY9RvmWf8Kq88JqKZo9G/chyptA==; Received: from bach.cs.huji.ac.il ([132.65.80.20] helo=smtpclient.apple) by kabab.cs.huji.ac.il with esmtp id 1rh1Gt-0008My-JK; Mon, 04 Mar 2024 07:53:55 +0200 From: Daniel Braniss Message-Id: <4138795E-DBCA-416F-935D-786EC594796A@cs.huji.ac.il> Content-Type: multipart/alternative; boundary="Apple-Mail=_A3B16E00-7682-4ABA-866C-B24F48868A20" List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: How to add -listen tcp to Xorg Date: Mon, 4 Mar 2024 07:53:55 +0200 In-Reply-To: <20240304033846.B9425139@slippy.cwsent.com> Cc: garyj@gmx.de, Tommy Johnson , freebsd-hackers To: Cy Schubert References: <543CC273-7A51-4C12-981B-493CA69BE5FE@cs.huji.ac.il> <20240303181000.52322886@ernst.home> <20240303190551.7ad01ac6@ernst.home> <20240303132827.72fca2af6bce173d81794f32@bobdbob.com> <20240303200852.3d6e4ea6@ernst.home> <20240304033846.B9425139@slippy.cwsent.com> X-Mailer: Apple Mail (2.3696.120.41.1.4) 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:378, ipnet:132.64.0.0/15, country:IL] X-Rspamd-Queue-Id: 4Tp7DQ5dJGz4JFV --Apple-Mail=_A3B16E00-7682-4ABA-866C-B24F48868A20 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 thanks to all of you! adding -listen tcp to /usr/local/etc/X11/xdm/Xservers did it, and both = worked :0 local /usr/local/bin/X -terminate -listen tcp :0 or :0 local /usr/local/bin/X -terminate :0 -listen tcp btw, LISTEN in xdm is another thing, it=E2=80=99s about listening for = XDMCP requests. we used it way back in the days of the VAX and Xterminals - i'm giving = away the fact that i=E2=80=99m an old fart :-) thanks again, danny > On 4 Mar 2024, at 05:38, Cy Schubert = wrote: >=20 > In message <20240303200852.3d6e4ea6@ernst.home>, Gary Jennejohn = writes: >> On Sun, 3 Mar 2024 13:28:27 -0500 >> Tommy Johnson wrote: >>=20 >>> On Sun, 3 Mar 2024 18:05:51 +0000 >>> Gary Jennejohn wrote: >>>=20 >>>> On Sun, 3 Mar 2024 19:29:14 +0200 >>>> Daniel Braniss wrote: >>>>=20 >>>>> This is the trick that has worked for me since time immemorial: >>>>> In /etc/ttys: >>>>> ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure >>>>>=20 >>>>=20 >>>> Well, it doesn't work now. >>>>=20 >>>> I've never used xdm and have no idea what options it supports. >>>=20 >>> I fixed the problem by editing the file Xservers in = /usr/local/etc/X11/x=3D >> dm >>> to look like: >>>=20 >>> :0 local /usr/local/bin/X :0 -listen tcp >>>=20 >>> I am using xdm from .../ports/x11/xdm , as opposed to any of the >>> newer reimplementations. >>>=20 >>=20 >> That's great! I was hoping that a solution like this could work, = since >> it's similar to xinit passing -listen tcp to the Xserver. >=20 > For xdm, add -listen tcp to your Xserver specification, i.e., in =09 >=20 >=20 > :0 local /usr/local/bin/X -terminate -listen tcp :0 >=20 > CDE's dtlogin's Xservers file serves the same purpose >=20 > The moral of the story is, whatever your desired method of starting = your=20 > Xserver, check the man page. Most display managers will have a=20 > configuration file to specify how to invoke the Xserver. I don't know = about=20 > gdm, kdm or sddm. >=20 > Normally one doesn't need to fiddle around with this as ssh tunnels X.=20= > However, in my experience tunneling through an ssh session is slow. If=20= > you're on a private network, like I am (I'm the only one using my = network)=20 > opening an unencrypted X TCP socket is fine. But if you're sharing = that=20 > network with other, i.e. work, school, etc., tunnel through ssh. The = rule=20 > of thumb is, tunnel through ssh. >=20 >=20 > --=20 > Cheers, > Cy Schubert > FreeBSD UNIX: Web: https://FreeBSD.org > NTP: Web: https://nwtime.org >=20 > e^(i*pi)+1=3D0 >=20 >=20 >=20 --Apple-Mail=_A3B16E00-7682-4ABA-866C-B24F48868A20 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 thanks to all of you!

adding -listen tcp to /usr/local/etc/X11/xdm/Xservers did it, = and both worked
:0 local /usr/local/bin/X = -terminate -listen tcp :0
or
        :0 local /usr/local/bin/X = -terminate :0 -listen tcp

btw, LISTEN in xdm is another thing, = it=E2=80=99s about listening for XDMCP requests.
we used it way back in the = days of the VAX and Xterminals  - i'm giving away the fact = that
i=E2=80= =99m an old fart :-)
thanks again,
danny
On 4 Mar 2024, at 05:38, Cy Schubert <Cy.Schubert@cschubert.com> wrote:

In = message <20240303200852.3d6e4ea6@ernst.home>, Gary Jennejohn = writes:
On Sun, 3 Mar = 2024 13:28:27 -0500
Tommy Johnson <tjohnson@bobdbob.com> wrote:

On Sun, 3 Mar 2024 = 18:05:51 +0000
Gary Jennejohn <garyj@gmx.de> wrote:

On Sun, 3 = Mar 2024 19:29:14 +0200
Daniel Braniss <danny@cs.huji.ac.il>= wrote:

This is the trick that has worked for me since time = immemorial:
In /etc/ttys:
ttyv8 =   "/usr/local/bin/xdm -nodaemon"  xterm   on = secure


Well, it = doesn't work now.

I've never used xdm and = have no idea what options it supports.

I fixed the problem by editing the file Xservers in = /usr/local/etc/X11/x=3D
dm
to look like:

:0 local /usr/local/bin/X :0  -listen = tcp

I am using xdm from .../ports/x11/xdm , = as opposed to any of the
newer reimplementations.


That's great! =  I was hoping that a solution like this could work, since
it's similar to xinit passing -listen tcp to the Xserver.

For xdm, add -listen tcp to your = Xserver specification, i.e., in


:0 local /usr/local/bin/X -terminate -listen tcp :0

CDE's dtlogin's Xservers file serves the same = purpose

The moral of the story is, whatever = your desired method of starting your
Xserver, check the = man page. Most display managers will have a
configuration = file to specify how to invoke the Xserver. I don't know about
gdm, kdm or sddm.

Normally one = doesn't need to fiddle around with this as ssh tunnels X.
However, in my experience tunneling through an ssh session is = slow. If
you're on a private network, like I am (I'm the = only one using my network)
opening an unencrypted X TCP = socket is fine. But if you're sharing that
network with = other, i.e. work, school, etc., tunnel through ssh. The rule
of thumb is, tunnel through ssh.


--
Cheers,
Cy = Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX: =  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP: =           <cy@nwtime.org> =    Web:  https://nwtime.org

= e^(i*pi)+1=3D0




= --Apple-Mail=_A3B16E00-7682-4ABA-866C-B24F48868A20-- From nobody Mon Mar 4 07:07:36 2024 X-Original-To: hackers@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 4Tp8t026Tlz5C2Sl for ; Mon, 4 Mar 2024 07:08:08 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (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.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tp8sz5Q3Lz4Q3Y for ; Mon, 4 Mar 2024 07:08:07 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1709536058; x=1710140858; i=garyj@gmx.de; bh=BwokuhwPgsrk2Ap8yrBYaqrhyVTZL/5gElPDjAMf5Ng=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References: Reply-To; b=fD2m3EB8s/PHytJIenL0m4597DUv6RDJQ5jLEPnPUobYkmWqaOgDSUkRvMlcJQCg irvK4qYDDeCnrLeyJ1pQXFKk0ugCqX/uLoiV6Hr+zLChcI0vKsghqw/mFhAo4jCuT EZB/RHM4a9GmPCEOzZIVWeabTjGjGNPQi/AoC00/swP1k1uH+w8Ib+0vxWHOwpYWA PxHTVkyomJwGG1D9dk9sJ7m/uKx/PitiNLbPORiIfJRWBdsVr6Nj32Xm4SJuhoDBF ihOdJpb1AGyGWd5XQX/cgFmertlgXcSApfZTK746d+ApvMxcmVJDeE5aAB7y89UjX BcowNTsn38McOfCS4Q== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([91.59.224.160]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MgNh1-1rDkH712Ap-00hwW0; Mon, 04 Mar 2024 08:07:38 +0100 Date: Mon, 4 Mar 2024 07:07:36 +0000 From: Gary Jennejohn To: Daniel Braniss Cc: Cy Schubert , Tommy Johnson , freebsd-hackers Subject: Re: How to add -listen tcp to Xorg Message-ID: <20240304080736.6fc1ee43@ernst.home> In-Reply-To: <4138795E-DBCA-416F-935D-786EC594796A@cs.huji.ac.il> References: <543CC273-7A51-4C12-981B-493CA69BE5FE@cs.huji.ac.il> <20240303181000.52322886@ernst.home> <20240303190551.7ad01ac6@ernst.home> <20240303132827.72fca2af6bce173d81794f32@bobdbob.com> <20240303200852.3d6e4ea6@ernst.home> <20240304033846.B9425139@slippy.cwsent.com> <4138795E-DBCA-416F-935D-786EC594796A@cs.huji.ac.il> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:9axd78L/Vv5Lb3CDPmgUnJqfj4KMI9QH78TBIBHagQv659/8Ez9 4pQMzEbeLMK7beghJnbRegTgurd8Pyb7cDaXQaiIGZNBqCRKt3kLm7mcjMadYaYll4gZ1Py c07LLoqTa8ATI/OYnxa/aqQdcjjEhDUXVKZmtaIOxHGbAkM8V5Kf3AXSSlLf8Hy89zWGNz0 cl1Vvmt1edxd3jFOByAWA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:Y3ZPFVWoadk=;cvFrphSEn4++Oc+nTX6ox53dgKe VJuu88A3Q6V9dv1uyTy5kG2FPDBMbGwbPf6Jb1sX0llRm66aMRKYXgrKax8qehHbxmi9ZkIYb dtAY1k2oZ0QxwXzrP203Y7FP3/e3QIq+cFiuXwmH9SJFnltD/jybdLztj47M/UM+PVeTNNYKk YTeMfQ5W+vP6edzl+uLWpG0BTo715ifs3dDWARf05BNrusc2JXr9V7NTmjh3L/bN7PJCUxI9s MECAIHVtQEhgPH+eMfWah5TGBYlcH4kAabsQGoKdxsPibRB7FVWlQhH01Y/dujbt8N3VUJtmJ IUX+uIWQygrqXsQQCzopaZuDNxjgqTkes97xtisD4xxhs2N/w7oyjEwT8vDteQ+xOE8ryWXIX zXoZ2G8owa5i5ji2W0avLFJ1/HGxPi+zW8885OgzyeGcp5gMtCzGavzNWrZDLrraWWaVLQkhz xKZRssAqxtmpZvLZrnghMB0ItZlCEnvHs0hVr399mn8fZQhcm0StEUmVFQk9/2yKsZ3COi9LB AzzNNlp0WXK/PEZ0dmm/ZN8IMXtqO9+wZHbTfhHLodezWIOXjAdUzeoTE30fmgRVCpWILzPlV 8OJnQkjlMTldNUtlzSx0mycLYorT+e/BB7rGrmZ6R2YeIuHeldclaEWJLiV2ScQ/OVBWK+39u t4YrMm3hiG7SdIEdwJsu7MA434FQv3YDqWYXrP9meAtV0OUjIwgSX+m2cNM4VmcZWRpe0PkrA CFAIuVLekEd19FcDgdpehPR+0N+5b5dAOdhEcBSPF+JOWXLlZMsXk+Cv9Az2/O8foZNLwl/SM KGmK9UWQpfKNre/9G0ow3zNtZFcVId12pHyBUZ95qDExg= 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:8560, ipnet:212.227.0.0/16, country:DE] X-Rspamd-Queue-Id: 4Tp8sz5Q3Lz4Q3Y On Mon, 4 Mar 2024 07:53:55 +0200 Daniel Braniss wrote: > thanks to all of you! > > adding -listen tcp to /usr/local/etc/X11/xdm/Xservers did it, and both w= orked > :0 local /usr/local/bin/X -terminate -listen tcp :0 > or > :0 local /usr/local/bin/X -terminate :0 -listen tcp > > btw, LISTEN in xdm is another thing, it?s about listening for XDMCP requ= ests. > we used it way back in the days of the VAX and Xterminals - i'm giving = away the fact that > i'm an old fart :-) > thanks again, > danny I'm an old fart too :) But we used serial terminals to talk to the VAX when I was doing UNIX development in Berkeley and Munich for UniSoft (now long dead - RIP) from 1984 to 1989. Xterminals were used at one of the german companies I worked at in Munich. I also had a few at home. They were useful, but it's much more convenient to have the Xserver runniing on a GPU IMHO. =2D- Gary Jennejohn From nobody Mon Mar 4 14:55:17 2024 X-Original-To: hackers@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 4TpMFH0tqSz5ClLx for ; Mon, 4 Mar 2024 14:55:31 +0000 (UTC) (envelope-from allezvicki@gmail.com) Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0: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 4TpMFG3Fq6z43lt for ; Mon, 4 Mar 2024 14:55:30 +0000 (UTC) (envelope-from allezvicki@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=D1c0tES0; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of allezvicki@gmail.com designates 2607:f8b0:4864:20::130 as permitted sender) smtp.mailfrom=allezvicki@gmail.com Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-365c810523dso7703375ab.1 for ; Mon, 04 Mar 2024 06:55:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709564129; x=1710168929; 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=2m13DlpVomygGwoz1prvTqEVfColSScQYiOhd9pPX74=; b=D1c0tES0/EuASlsa60q5ouuqPoDa7HBlktylioRh9gWThTrj4Y7MYkSnhwUdBL3oim SF6Lhbc5Y3Tf6LWFtc7jtLZ0pnY3pfUXUSQyUUQK7AjxmNhTSYS10xPclop3E0iLN2V8 0mCSTHZTtHXhqdIbMgp8JVbInzPDvN0an4dZ/78EoxfXh89kh/6j0fujizWgx3IinAiF 2LDrA39c1zqqabuPz5zrsQRqbZWUPtMhlxupA41q9ThtDzRssf85pfEaxke9ei1ITIHj rXgEYYIEuOh2mNXHfxIV+wUP9u7ksZSdIsAHT1zUliqrxce53ogijlgAxJgS+KwaD2R7 +3bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709564129; x=1710168929; 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=2m13DlpVomygGwoz1prvTqEVfColSScQYiOhd9pPX74=; b=TFhYOhtP15wCeZZR6fLjhTGtaGjCDT0/oBs7cDmiylGKhttXCYk7MhbwGDda9pXMsF 8p+0CmoNO7KiEgF53rMHp6vJ/vvmdkBZ+nZQ6RSQ1pAZ9CxPL0+vFrb9QK7hOze9OcHq SZEB7XPWvAl7o+IOJA1+k2ZVM/EY4CSOjTCgM6/R/tgVYU77lX6k6VDo24841t5mhpwf dGrZBATsmlymo4r5rtmnIroZRDGhTiVYEcFTc5LKIffZ/YMURhhXxLQTS6RjZBc3Z1V4 a7T5hrMQZHfOPj7pU4X+9yOt5u3XGRCeB2qKo+c7o+y6RKNhv5X1LstGdfgLFpndesTS 8oFw== X-Gm-Message-State: AOJu0Yxo/Nv+hUb5+lqsDXJ/sqEc8c00oeUzRLq91OyVgFqdnZ9uVVpG G0Rlae0szkfaB5xc+tlxKm1twKI3oiTWlEpm74FKoULcXNl2rWRkYw6aIQ6Ak1Pi4giWaQG/Hgr k8B+G3VPv6YGSoNdGQQfz+NFrmddc93mvv8pLDSoe X-Google-Smtp-Source: AGHT+IFeXEzy/frgE3m4ZlM11z9QRuSdc5C0DkM4M/k8UtT5uyY8mJ3+wScLsz49MaTAEnnamMr1z+3lO2ehc18/1co= X-Received: by 2002:a05:6e02:12c8:b0:365:3409:8748 with SMTP id i8-20020a056e0212c800b0036534098748mr13466344ilm.25.1709564129122; Mon, 04 Mar 2024 06:55:29 -0800 (PST) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Hanwen Gu Date: Mon, 4 Mar 2024 22:55:17 +0800 Message-ID: Subject: Fwd: GSOC Network Configuration Libraries To: hackers@freebsd.org Content-Type: multipart/alternative; boundary="000000000000a322590612d6eae4" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.98)[-0.979]; 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/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[hackers@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::130:from] X-Rspamd-Queue-Id: 4TpMFG3Fq6z43lt --000000000000a322590612d6eae4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable ---------- Forwarded message --------- From: Hanwen Gu Date: Mon, Mar 4, 2024 at 10:50=E2=80=AFPM Subject: GSOC Network Configuration Libraries To: allanjude@freebsd.org Cc: Hi, I am a second year student at Huazhong University of Science and Technology (Wuhan, China), and I'm interested in working with FreeBSD on the Network Configuration Libraries project for GSOC 2024. FreeBSD has been my daily driver for several months now and I'd really love to contribute back to the community. I am familiar with C systems programming and networking, and I've been able to configure ipfw NAT for my bhyve vms. I am planning on working on a proposal for this project. If you could provide me with more guidance or suggestions, I would greatly appreciate it. Thanks for reading! Regards, Hanwen Gu --000000000000a322590612d6eae4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


---------- Forwarded message ---------
From: Hanwen Gu <allezvicki@gmail.com>
Da= te: Mon, Mar 4, 2024 at 10:50=E2=80=AFPM
Subject: GSOC Network Configura= tion Libraries
To: allanjude@fr= eebsd.org <allanjude@freebs= d.org>
Cc: <hackers@fr= eebsg.org>


Hi,

I am a secon= d year student at Huazhong University of Science and
Technology (Wuhan, = China), and I'm interested in working with FreeBSD
on the Network Co= nfiguration Libraries project for GSOC 2024.

FreeBSD has been my dai= ly driver for several months now and I'd really
love to contribute b= ack to the community. I am familiar with C systems
programming and netwo= rking, and I've been able to configure ipfw NAT
for my bhyve vms.
I am planning on working on a proposal for this project. If you could<= br>provide me with more guidance or suggestions, I would greatly
appreci= ate it.

Thanks for reading!

Regards,
Hanwen Gu
--000000000000a322590612d6eae4-- From nobody Mon Mar 4 16:54:12 2024 X-Original-To: hackers@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 4TpPtq103gz5CwXd for ; Mon, 4 Mar 2024 16:54:43 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (udns.ultimatedns.net [24.113.41.81]) (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 "ultimatedns.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TpPtp3pzgz4LkN for ; Mon, 4 Mar 2024 16:54:42 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of bsd-lists@bsdforge.com has no SPF policy when checking 24.113.41.81) smtp.mailfrom=bsd-lists@bsdforge.com Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 424GsCtv076924; Mon, 4 Mar 2024 08:54:19 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Date: Mon, 04 Mar 2024 08:54:12 -0800 From: Chris To: Daniel Braniss Cc: freebsd-hackers Subject: Re: How to add -listen tcp to Xorg In-Reply-To: <20240303181000.52322886@ernst.home> References: <543CC273-7A51-4C12-981B-493CA69BE5FE@cs.huji.ac.il> <20240303181000.52322886@ernst.home> User-Agent: UDNSMS/17.0 Message-ID: <9041d56f25e83e51f2e6c571fc0448ad@bsdforge.com> X-Sender: bsd-lists@bsdforge.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: / X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: local_wl_ip X-Spamd-Result: default: False [0.00 / 15.00]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; R_SPF_NA(0.00)[no SPF record]; local_wl_ip(0.00)[24.113.41.81]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[hackers@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+] X-Rspamd-Queue-Id: 4TpPtp3pzgz4LkN On 2024-03-03 09:10, Gary Jennejohn wrote: > On Sun, 3 Mar 2024 16:46:46 +0200 > Daniel Braniss wrote: > >> Hi, >> In the past Xorg listen on port 6000 was the default, now it?s disabled. >> Some years ago I changed this behavior back to enable, but now >> I can?t find my patch, and looking at the latest sources is mind boggling, >> trying to >> set listen tcp is not working. >> Any help is most welcome, >> Danny >> man 7 X should provide for your needs. :) ... DISPLAY NAMES From the user's perspective, every X server has a display name of the form: hostname:displaynumber.screennumber or protocol/hostname:displaynumber.screennumber This information is used by the application to determine how it should connect to the server and which screen it should use by default (on displays with multiple monitors): protocol The protocol specifies the protocol to use for communication. Exactly which protocols are supported is platform dependent, but most commonly supported ones are: tcp TCP over IPv4 or IPv6 inet TCP over IPv4 only inet6 TCP over IPv6 only unix UNIX Domain Sockets (same host only) local Platform preferred local connection method If the protocol is not specified, Xlib uses whatever it believes is the most efficient transport. hostname ... HTH --Chris From nobody Tue Mar 5 05:22:13 2024 X-Original-To: hackers@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 4TpkTY3f9pz5Bq7p for ; Tue, 5 Mar 2024 05:22:25 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TpkTY0zGNz4tsN for ; Tue, 5 Mar 2024 05:22:24 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=hsrBGch741pBwpw9q/gw27VlJj9qFz/5Mv2m7EueSGY=; b=iVbzdbTU6Mpri45mY4Hj0ugw4OUZEysq1BATt8djg7RQyDhZ3FIaieeFXDl/opDZcXD8Dax6rw7cKG27smv/NdsomnDzt/NNbZwCNrNQo/QYQL62IhvQrm+zX9Vt2p5HNgYqIsfb/8S9ZAkrgGRONjE3tBPpqMFYwAQD0wS+rrBJzDvwTH/iTWFeW7CE+nqsOKAN1qJAX/UPLcftcMZkGc+5fW9wRug1C9r2XqVYEyXFS+MU1EaL2RxaSVkpPOVFnD6qorlWNh6sHqhMdse+rwFLKz1UFTQA9gaPF8ti8P4kjErRAJN3/6BpcH7zuwSNxljsczrS1MXvM32EHapIlw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cse.huji.ac.il; s=57791128; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=hsrBGch741pBwpw9q/gw27VlJj9qFz/5Mv2m7EueSGY=; b=uctYQZou0ON/X98hC0CZ4UES+Jr5WaMrl9K7iEY9bKRECOwHW0ZWqbgyNIo7RhfXwWrNo6L986PH9TPcHHjpy2ypbaZGVD64tHMv8Jf/8gifiwxW3eLhymLLapRLZFBflgzAbu5Y97ZUi5ZA/jLZEH5g+4iHlSzUio24aW88L4BZ3iHLmvJT+5p+hw4A8JbmjlPDG7NABdco3hkD+1PNzLThObeHyKdmob/BNtd9zZld89HlsiYh0YRqrr6kIHOWJge5T8dwrpSuFBHBpsB4ZCLCiWXzi3LKfqwQ2kVzlpxxrWgqTGJ3vBD4tfu92gbBiSNI6nIXJ29iP5mRKNLeqw==; Received: from bach.cs.huji.ac.il ([132.65.80.20] helo=smtpclient.apple) by kabab.cs.huji.ac.il with esmtp id 1rhNFl-000Czc-Kx; Tue, 05 Mar 2024 07:22:13 +0200 Content-Type: text/plain; charset=utf-8 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: How to add -listen tcp to Xorg From: Daniel Braniss In-Reply-To: <9041d56f25e83e51f2e6c571fc0448ad@bsdforge.com> Date: Tue, 5 Mar 2024 07:22:13 +0200 Cc: freebsd-hackers Content-Transfer-Encoding: quoted-printable Message-Id: <322E51C0-3105-4982-B10A-19F6AF3BB3E4@cs.huji.ac.il> References: <543CC273-7A51-4C12-981B-493CA69BE5FE@cs.huji.ac.il> <20240303181000.52322886@ernst.home> <9041d56f25e83e51f2e6c571fc0448ad@bsdforge.com> To: Chris X-Mailer: Apple Mail (2.3696.120.41.1.4) 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:378, ipnet:132.64.0.0/15, country:IL] X-Rspamd-Queue-Id: 4TpkTY0zGNz4tsN > On 4 Mar 2024, at 18:54, Chris wrote: >=20 > On 2024-03-03 09:10, Gary Jennejohn wrote: >> On Sun, 3 Mar 2024 16:46:46 +0200 >> Daniel Braniss wrote: >>> Hi, >>> In the past Xorg listen on port 6000 was the default, now it?s = disabled. >>> Some years ago I changed this behavior back to enable, but now >>> I can?t find my patch, and looking at the latest sources is mind = boggling, trying to >>> set listen tcp is not working. >>> Any help is most welcome, >>> Danny > man 7 X > should provide for your needs. :) i didn=E2=80=99t have xorg-docs installed, so I missed that :-) in any case problem solved, thanks danny > ... > DISPLAY NAMES > =46rom the user's perspective, every X server has a display name = of the > form: >=20 > hostname:displaynumber.screennumber > or > protocol/hostname:displaynumber.screennumber >=20 > This information is used by the application to determine how it = should > connect to the server and which screen it should use by default = (on > displays with multiple monitors): >=20 > protocol > The protocol specifies the protocol to use for = communication. > Exactly which protocols are supported is platform = dependent, > but most commonly supported ones are: >=20 > tcp TCP over IPv4 or IPv6 > inet TCP over IPv4 only > inet6 TCP over IPv6 only > unix UNIX Domain Sockets (same host only) > local Platform preferred local connection method > If the protocol is not specified, Xlib uses whatever it > believes is the most efficient transport. >=20 > hostname > ... >=20 > HTH >=20 > --Chris From nobody Tue Mar 5 09:09:05 2024 X-Original-To: freebsd-hackers@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 4TpqWJ6Q8Vz5CF3C for ; Tue, 5 Mar 2024 09:09:16 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from smtp.krpservers.com (smtp.krpservers.com [62.13.128.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.krpservers.com", Issuer "RapidSSL TLS RSA CA G1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TpqWH02fyz4PD2 for ; Tue, 5 Mar 2024 09:09:14 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tdx.co.uk header.s=krpdkim header.b="oXFj9/5D"; dmarc=pass (policy=none) header.from=tdx.co.uk; spf=pass (mx1.freebsd.org: domain of kpielorz_lst@tdx.co.uk designates 62.13.128.145 as permitted sender) smtp.mailfrom=kpielorz_lst@tdx.co.uk Received: from [10.12.30.106] by smtp.krpservers.com (8.16.1/8.15.2) with ESMTPSA id 425995Ku044207 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Mar 2024 09:09:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tdx.co.uk; s=krpdkim; t=1709629746; bh=QsMieM61cVTrtlgHWh8Op2TDKf1m3Jognn4jMHsBwVQ=; h=Date:From:To:Subject; b=oXFj9/5D1wUEfO5uuPpozYPlddyA0SJwyXu/3oG0Z7NCJoJ3Uy9fdGd9k31o4SipC 180sA5+TBnBKvZsUF6x2d/4MDuIgjWt7Ktl46QW+aWhygMG9xzAo+0fe/lEK2qDVW/ nwMZmCu4WYtMJMm+WucqWdyuKBjH931BIYraeunHY55mBm2wPlB/MzdIzxRaqgXCFu gUMaaPN18Gg0CwO/rUIGvOrNKPaQxLZ/RPvB+KIfxas9CUAOecmVd267RLc7/u19D1 8qULH/erFZl31e/RPc5X3GD5VJ1hwkiMnTjzDXs8v1IBSoEOAeo9D8snIN4hkGn2m/ VqmkM83wXuMfw== Date: Tue, 05 Mar 2024 09:09:05 +0000 From: Karl Pielorz To: Mark Millard , FreeBSD Hackers Subject: Re: ... was killed: a thread waited too long to allocate a page [actually: was killed: failed to reclaim memory problem] Message-ID: <6426C1F92FAEEB4E74A29F7D@[10.12.30.106]> In-Reply-To: References: X-Mailer: Mulberry/4.0.8 (Win32) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.40 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[tdx.co.uk,none]; MID_RHS_IP_LITERAL(0.50)[]; R_SPF_ALLOW(-0.20)[+a:smtp.krpservers.com]; R_DKIM_ALLOW(-0.20)[tdx.co.uk:s=krpdkim]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:60969, ipnet:62.13.128.0/22, country:GB]; RCVD_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FREEMAIL_TO(0.00)[yahoo.com,freebsd.org]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[tdx.co.uk:+] X-Rspamd-Queue-Id: 4TpqWH02fyz4PD2 --On 01 February 2024 08:30 -0800 Mark Millard wrote: > One direction of control is . . . > > What do you have for ( copied from my /boot/loader.conf ): > ># ># Delay when persistent low free RAM leads to ># Out Of Memory killing of processes: > vm.pageout_oom_seq=120 > > The default is 12 (last I knew, anyway). > > The 120 figure has allowed me and others to do buildworld, > buildkernel, and poudriere bulk runs on small arm boards > using all cores that otherwise got "failed to reclaim > memory" (to use the modern, improved [not misleading] > message text). Similarly for others that had other kinds > of contexts that got the message. Ok, as hopefully a final follow up after some weeks - thanks to those that posted replies, and having made the change above: vm.pageout_oom_seq=120 This seems to have cured the issue, at least for us. Reading through other replies / posts - it looks like most things these days, there's a number of different ways you could try and tackle this - but the above (as the first thing we did) seems to have fixed it. Slightly concerning that an otherwise 32G system w/ZFS, that I would call 'lightly loaded' can run into this issue (and only since going to 13.2) - but there you go :) I can't remember the last time I had to 'tweak' anything with FreeBSD - so I can't complain really. -Karl From nobody Wed Mar 6 02:28:56 2024 X-Original-To: hackers@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 4TqGb11Cbqz5DvfV for ; Wed, 6 Mar 2024 02:29:01 +0000 (UTC) (envelope-from jrm@ftfl.ca) Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) (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 4TqGb01YwBz47cq for ; Wed, 6 Mar 2024 02:29:00 +0000 (UTC) (envelope-from jrm@ftfl.ca) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none); spf=pass (mx1.freebsd.org: domain of jrm@ftfl.ca designates 209.85.219.169 as permitted sender) smtp.mailfrom=jrm@ftfl.ca Received: by mail-yb1-f169.google.com with SMTP id 3f1490d57ef6-dcbd1d4904dso7394982276.3 for ; Tue, 05 Mar 2024 18:29:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709692138; x=1710296938; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=CXsXLHt6MANOKJL4VbNAJPgXapd58z2GT9yHS4lezPw=; b=afE3SYbo9eA/l3aOAQKwCu4g3D8tmersdnww+Z5Zjcj3MFEJDnLWeE4x309KxgoQT9 AWv63s0TNnZ32RNFD1Fl08rfGXqDadHDqEkmE1AD98PwPWhy2WgDVDAxzVfMMaqVW9Zd rZlOJezmK/OLSqm2Am9dHNV+S23KUZRfOpAQzMc9kRM5+x8SmCSxQeQPpDzu7uSy6IPZ c3KTCY90DGtnnzt/zFBy9sxjL07CfNZwOpvXFJ1a4BzHOslQp2vC02CcQ3fClkjFWWk6 7u4LEVuUwHzXrnhFEso+KODHhSgP9UkT1UDP4N/eMrhGOwG6i+VxivWeSAp5FvZn2Fjq e+rA== X-Gm-Message-State: AOJu0YzSTHXIlZPAD77+B95FTupID1FSzzN3fzZ6dOuHMUte28W2WHHi 08494dmt3HraIUztcY0gZOung4VJkHO0dyUoFhi8Nlyfv3vxngsQRDWNbRQWYpUVkbW9XMcTZXc = X-Google-Smtp-Source: AGHT+IEpS8OOjn2KolwSoRNjAWtuq4rYaaItuw83MBjwQBtX7i7DYjSFF1te5Y2+yaOUe9kW4RYPbw== X-Received: by 2002:a25:eb10:0:b0:dc6:23ac:9ef2 with SMTP id d16-20020a25eb10000000b00dc623ac9ef2mr10043432ybs.19.1709692138247; Tue, 05 Mar 2024 18:28:58 -0800 (PST) Received: from phe.ftfl.ca.ftfl.ca (drmons0544w-156-34-250-113.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.250.113]) by smtp.gmail.com with ESMTPSA id l2-20020ac84582000000b0042efde2345csm1392435qtn.51.2024.03.05.18.28.57 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Mar 2024 18:28:57 -0800 (PST) From: Joseph Mingrone To: Hanwen Gu Cc: hackers@freebsd.org Subject: Re: Fwd: GSOC Network Configuration Libraries In-Reply-To: (Hanwen Gu's message of "Mon, 4 Mar 2024 22:55:17 +0800") References: Date: Tue, 05 Mar 2024 22:28:56 -0400 Message-ID: <86r0go855j.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: - X-Spamd-Result: default: False [-1.93 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FORGED_SENDER(0.30)[jrm@FreeBSD.org,jrm@ftfl.ca]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_SHORT(-0.03)[-0.033]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FREEFALL_USER(0.00)[jrm]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.219.169:from]; FROM_HAS_DN(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_NEQ_ENVFROM(0.00)[jrm@FreeBSD.org,jrm@ftfl.ca]; ARC_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; MLMMJ_DEST(0.00)[hackers@freebsd.org]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.219.169:from] X-Rspamd-Queue-Id: 4TqGb01YwBz47cq Hi Hanwen, It's great to hear from potential GSoC contributors already running FreeBSD. And, It sounds like you're on the right track by starting early and contacting Allan, the proposed mentor. It's important that you two discuss the project early on to ensure everyone's expectations align. You should cover key points, such as required skills, project difficulty, and duration. Allan may also recommend some ways you could explore the project more, such as investigating some related bugs. If you both decide that this is something you want to spend your summer on, this page has some tips for writing a good proposal. https://google.github.io/gsocguides/student/writing-a-proposal You probably found it already, but we also have information about FreeBSD and GSoC at https://www.freebsd.org/projects/summerofcode/. Feel free to post any technical questions about the project here, or contact soc-admins@FreeBSD.org with any other questions about the FreeBSD GSoC application process. Kind regards, Joe On Mon, 2024-03-04 at 22:55, Hanwen Gu wrote: > ---------- Forwarded message --------- > From: Hanwen Gu > Date: Mon, Mar 4, 2024 at 10:50=E2=80=AFPM > Subject: GSOC Network Configuration Libraries > To: allanjude@freebsd.org > Cc: > Hi, > I am a second year student at Huazhong University of Science and > Technology (Wuhan, China), and I'm interested in working with FreeBSD > on the Network Configuration Libraries project for GSOC 2024. > FreeBSD has been my daily driver for several months now and I'd really > love to contribute back to the community. I am familiar with C systems > programming and networking, and I've been able to configure ipfw NAT > for my bhyve vms. > I am planning on working on a proposal for this project. If you could > provide me with more guidance or suggestions, I would greatly > appreciate it. > Thanks for reading! > Regards, > Hanwen Gu From nobody Wed Mar 6 03:47:21 2024 X-Original-To: hackers@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 4TqJKm1h7sz5BZGV for ; Wed, 6 Mar 2024 03:47:40 +0000 (UTC) (envelope-from allezvicki@gmail.com) Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) (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 4TqJKl75F8z4J1R; Wed, 6 Mar 2024 03:47:39 +0000 (UTC) (envelope-from allezvicki@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-il1-x135.google.com with SMTP id e9e14a558f8ab-366019c21b4so4385585ab.1; Tue, 05 Mar 2024 19:47:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709696858; x=1710301658; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4v6BQ7RuK7tnV8bZAMZ8HylsXroOtARCdCTOhpZ5Oig=; b=bNK4zgVM16tJi1iPZY8lBGIHsTAIS4sNXFSTqeHC2KAqpRoOeFRYJ5aqTknTKqxU+B GuSTjZUwO15cNiTzg+3DdJJfK2c49cKYtZefpTCCC0zQwaprbULshrTmglCXyppjG7xC dxCeJ7pJ07kF+w0Pk201L+2xmsoeC0U9idwaC7MrMSaSqnXlNuBDEwj0XbTT4hHCSMjE 1wL8bOsoYltJblfiTJp63a6PbcW2Z3SEDOyEdMZR2dZY7XaZmfqokUY17KQgHTiI37jP iC9za8osL7aSeJZop4FDqUZigXDCP5TFpT+6MPZR9G68HOHilR43azADY0aHtXcIzjxk At5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709696858; x=1710301658; h=content-transfer-encoding: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=4v6BQ7RuK7tnV8bZAMZ8HylsXroOtARCdCTOhpZ5Oig=; b=C/ah6aTwGUaIOOt8RIqlKtXw6GCzkCAHvoFLpv+DntLYItdvXtKFyH67U9RZdj52Fx CtsKN0q+Sj5Vx7mySDW0bG5dH/UKMuLaUKWReObJ2nP0cUGl6zkrUyxraELkgTu991uR zga+JsaU8r0m7qHIHrGbBradeLpwro63Qe6K34X+5ltL+wOoNzDeHXN6Cga5NMfYPQ3a bjn9QNsRe3VfXMPo9tYUeJ0S67vTTpwFYE0z5I8fUCa5+CUZT3f51i9KgbxO7DWSW/kc xc4Ab/Z31D+g+2mbGprF6mJ7iNRqGJFZcrl/4EEQRSNZB+5++qQDiHBmtEywOWZ3tt4/ vPMA== X-Gm-Message-State: AOJu0YzcI2M2woIdQ7OUjsiHzyMhqAJY2afvKM6lw2aScPEsQvSxeuJQ 6SroI8XHZM/CiMqf39UlLfzoDSsg+CAUpfd7TsAnWG16IHleWWMMtO3bkIY13FIc07TzSgC+RMg QymM9VFDkuzALTVT222gWFhSOowkv2uW9h7LA4jYH X-Google-Smtp-Source: AGHT+IERLwusDOW2m0I02Etc8br1RoV0IR/nHMHmFfzabIQ3NKfelLNbQ6ER13Wc2R1PIhEGLWyFCeu+Dr2MmKzsmmc= X-Received: by 2002:a05:6e02:1b09:b0:365:b41:213 with SMTP id i9-20020a056e021b0900b003650b410213mr19350657ilv.17.1709696857632; Tue, 05 Mar 2024 19:47:37 -0800 (PST) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: <86r0go855j.fsf@phe.ftfl.ca> In-Reply-To: <86r0go855j.fsf@phe.ftfl.ca> From: Hanwen Gu Date: Wed, 6 Mar 2024 11:47:21 +0800 Message-ID: Subject: Re: Fwd: GSOC Network Configuration Libraries To: Joseph Mingrone Cc: hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4TqJKl75F8z4J1R Hi Joe, Thank you for the advice. I will try to cover more information in later communications. Thanks, Hanwen On Wed, Mar 6, 2024 at 10:28=E2=80=AFAM Joseph Mingrone w= rote: > > Hi Hanwen, > > It's great to hear from potential GSoC contributors already running > FreeBSD. And, It sounds like you're on the right track by starting > early and contacting Allan, the proposed mentor. It's important that > you two discuss the project early on to ensure everyone's expectations > align. You should cover key points, such as required skills, project > difficulty, and duration. Allan may also recommend some ways you could > explore the project more, such as investigating some related bugs. > > If you both decide that this is something you want to spend your summer > on, this page has some tips for writing a good proposal. > > https://google.github.io/gsocguides/student/writing-a-proposal > > You probably found it already, but we also have information about > FreeBSD and GSoC at https://www.freebsd.org/projects/summerofcode/. > > Feel free to post any technical questions about the project here, or > contact soc-admins@FreeBSD.org with any other questions about the > FreeBSD GSoC application process. > > Kind regards, > > Joe > > On Mon, 2024-03-04 at 22:55, Hanwen Gu wrote: > > > ---------- Forwarded message --------- > > From: Hanwen Gu > > Date: Mon, Mar 4, 2024 at 10:50=E2=80=AFPM > > Subject: GSOC Network Configuration Libraries > > To: allanjude@freebsd.org > > Cc: > > > > Hi, > > > I am a second year student at Huazhong University of Science and > > Technology (Wuhan, China), and I'm interested in working with FreeBSD > > on the Network Configuration Libraries project for GSOC 2024. > > > FreeBSD has been my daily driver for several months now and I'd really > > love to contribute back to the community. I am familiar with C systems > > programming and networking, and I've been able to configure ipfw NAT > > for my bhyve vms. > > > I am planning on working on a proposal for this project. If you could > > provide me with more guidance or suggestions, I would greatly > > appreciate it. > > > Thanks for reading! > > > Regards, > > Hanwen Gu From nobody Wed Mar 6 16:48:05 2024 X-Original-To: hackers@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 4Tqdnp3tzhz5Cvrx for ; Wed, 6 Mar 2024 16:54:38 +0000 (UTC) (envelope-from pmc@citylink.dinoex.sub.org) Received: from uucp.dinoex.org (uucp.dinoex.org [IPv6:2a0b:f840::12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "uucp.dinoex.sub.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tqdnk6jKhz4k0V; Wed, 6 Mar 2024 16:54:34 +0000 (UTC) (envelope-from pmc@citylink.dinoex.sub.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pmc@citylink.dinoex.sub.org designates 2a0b:f840::12 as permitted sender) smtp.mailfrom=pmc@citylink.dinoex.sub.org; arc=pass ("uucp.dinoex.org:s=M20221114:i=1") Received: from uucp.dinoex.org (uucp.dinoex.org [IPv6:2a0b:f840:0:0:0:0:0:12]) by uucp.dinoex.org (8.18.1/8.18.1) with ESMTPS id 426Gs6gk027640 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 6 Mar 2024 17:54:06 +0100 (CET) (envelope-from pmc@citylink.dinoex.sub.org) ARC-Seal: i=1; a=rsa-sha256; d=uucp.dinoex.org; s=M20221114; t=1709744049; cv=none; b=dqRXMpzB+4b/OB/wvPkOG9dCfpwZ1OzSwlTZ5leDkNopAQrvMrZufbdORblJer4gL15lv3oPGokML+AWAoTpcwPtUDlALR2GjJGZSaRG8rmQ8/yKKZhg6UgTIXio9RAK2iU9wSTJWGPd1Zl6/CMSppGg7rXv0cadKRp8OEf2Qmk= ARC-Message-Signature: i=1; a=rsa-sha256; d=uucp.dinoex.org; s=M20221114; t=1709744049; c=relaxed/simple; bh=qlsG44p+M2/2eafle0vF9vq6nfEWy0MIfg8PG3DDPII=; h=Received:Received:Received:Received:X-Authentication-Warning:Date: From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:X-Milter:X-Greylist; b=R4ToFrBDp2PcqNwd69+keXzRsvK+vU3nYprRuRNOTtcu3w+EO+bETyNlWuVNvuIXIIkm+YiHttcivYX8MCghCWzIuIGRUeN3Og9AlTg9tbZArWETKicrsDm6xuJzqeG9FLxQ9iezjfqfbsJuupVZadW4z4TnD0RhyfnNApOCroo= ARC-Authentication-Results: i=1; uucp.dinoex.org Received: (from uucp@localhost) by uucp.dinoex.org (8.18.1/8.18.1/Submit) with UUCP id 426Gs6s6027639; Wed, 6 Mar 2024 17:54:06 +0100 (CET) (envelope-from pmc@citylink.dinoex.sub.org) Received: from disp.intra.daemon.contact (disp-e.intra.daemon.contact [IPv6:fd00:0:0:0:0:0:0:112]) by admn.intra.daemon.contact (8.17.1/8.17.1) with ESMTPS id 426GmWOI002708 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Wed, 6 Mar 2024 17:48:33 +0100 (CET) (envelope-from pmc@citylink.dinoex.sub.org) Received: from disp.intra.daemon.contact (localhost [127.0.0.1]) by disp.intra.daemon.contact (8.17.1/8.17.1) with ESMTPS id 426Gm5Os045783 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 6 Mar 2024 17:48:05 +0100 (CET) (envelope-from pmc@citylink.dinoex.sub.org) Received: (from pmc@localhost) by disp.intra.daemon.contact (8.17.1/8.17.1/Submit) id 426Gm5t4045782; Wed, 6 Mar 2024 17:48:05 +0100 (CET) (envelope-from pmc@citylink.dinoex.sub.org) X-Authentication-Warning: disp.intra.daemon.contact: pmc set sender to pmc@citylink.dinoex.sub.org using -f Date: Wed, 6 Mar 2024 17:48:05 +0100 From: "Peter 'PMc' Much" To: hackers@freebsd.org Cc: allezvicki@gmail.com, jrm@freebsd.org, allanjude@freebsd.org Subject: Re: Fwd: GSOC Network Configuration Libraries Message-ID: List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Milter: Spamilter (Reciever: uucp.dinoex.org; Sender-ip: 0:0:2a0b:f840::; Sender-helo: uucp.dinoex.org;) X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (uucp.dinoex.org [IPv6:2a0b:f840:0:0:0:0:0:12]); Wed, 06 Mar 2024 17:54:09 +0100 (CET) X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; ARC_ALLOW(-1.00)[uucp.dinoex.org:s=M20221114:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; MISSING_XM_UA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:205376, ipnet:2a0b:f840::/32, country:DE]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; RCPT_COUNT_THREE(0.00)[4]; HAS_XAW(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[sub.org]; RCVD_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[hackers@freebsd.org]; MIME_TRACE(0.00)[0:+] X-Rspamd-Queue-Id: 4Tqdnk6jKhz4k0V Hi, I had noticed that project suggestion by Allan Jude. This is an interesting matter, as, in fact, ipfw lacks some kind of higher level interface to configure it. I was confronted with this lack of tooling a few years ago when I moved my jails to VIMAGE, And I noticed that combining NAT functionality with stateful rule behaviour (and possibly other features like packet forwarding) brings along a couple of gotchas - it is not really trivial; and also, many of the examples circling on the net were (are?) kinda sub-optimal. Finally I decided to just write the necessary code. However, I chose the approach that appeared most feasible to me (for my needs, obviousely) which happened to be not a library, but a freestanding web-application. Also I decided to do a full solution that can handle any number of interconnected interfaces and networks, and insert any number of filters into any flow (where filters could be NAT, suricata, NPTv6, or whatever); so this is not (only) for a laptop. Then, I asked around if anybody would be interested in the matter, and found low interest in ipfw in general, and no interest at all in GUI tools (GUI is apparently un-Berkeley). Consequentially I didn't bother to write a documentation, or think about a license to publish the material (because why should I throw stuff after people who aren't interested?) Anyway, you might be interested is issues like this PR 269770, and there is also a few kernel patches I needed, but these are mostly for IPv6 tunneling and hot reloading. cheerio, PMc From nobody Fri Mar 8 18:21:44 2024 X-Original-To: freebsd-hackers@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 4TrvdW54V3z5Db6P for ; Fri, 8 Mar 2024 18:21:51 +0000 (UTC) (envelope-from paulf2718@gmail.com) Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (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 4TrvdV6gbnz4x3y for ; Fri, 8 Mar 2024 18:21:50 +0000 (UTC) (envelope-from paulf2718@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=MPjShg4+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of paulf2718@gmail.com designates 2a00:1450:4864:20::32a as permitted sender) smtp.mailfrom=paulf2718@gmail.com Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-412e96284b9so17480065e9.3 for ; Fri, 08 Mar 2024 10:21:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709922108; x=1710526908; darn=freebsd.org; h=content-transfer-encoding:subject:from:content-language:to :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=G9Z7hthGQ9h7zj5+z3Q9uLLaoR9gZwcAPbXFqx2s7C4=; b=MPjShg4+DnAtPQBoCKuH7alFNC1OUMBRJHwVRv9drUYQEPRfyoi1oTyz1MCX/gB50B xo8XylgeLJD8FNLsuMKc1KmaeXfAjmVzlD6SN9iIcFTsPt5IHcKCEISFX41B0CcHbLoJ OeJVajQitoDqXchzclu6AJYlkyrqxOdWUC2uUVqRPTBnEPlZI2a4183a4u8vraNat0l9 4kFQDFC2DIKzSr6ph0YKV5u/tHQechdWit92rIomcwGP2nB5rnL9Sd6RiPCNAZFR2Xxz 1zw1HpfQ8ztdm/TofAvh3rLPL+OpWtA3Mhy9zW5Lvkabdr7X+uwPGfqbpi9x7vjybmpN f76w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709922108; x=1710526908; h=content-transfer-encoding:subject:from:content-language:to :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=G9Z7hthGQ9h7zj5+z3Q9uLLaoR9gZwcAPbXFqx2s7C4=; b=WLpsudTaJl0haau9t8smRrQ6tCxizox+OEkEPw5sO7jJoFSxjFod1BdyeSsDivVv6v dhz8q8JOH+DSbSZ35XZFg9rxZ7+kNn34l7N9by1kPS8oT5SqIp/YyGBJVzSI7lBNNt+x 1X+/Ug+Muwx7NUrve++/Lk+MybeyorSXfxJYM5reajsUppoHoBD8THwF8ZJ07HqWKc75 Dv6Ho5GGb6JPT8n4vtqS+xJJwGQzQQKXBPpBDKlfnbnH5Ipe5H6JjhaZXee8LiKO5G1g 1aabuJIHDgbWiUv9ltz5lxFWGmIkIcH2KIYQcE27Yud7oXrDpeIX9abhhjUoLcGQ69cj utIg== X-Gm-Message-State: AOJu0Yzbr1s+1pAJEIziQsf++9jTvjKXuHSfWSlH2DUmsYOmxWIh3E7H f1TFJkvA2IhsaF8MAkudF3lOn6VjGKjlqc7OnwVUVAbuecaiW4wX1FEIErPu X-Google-Smtp-Source: AGHT+IH5sSp24IMvIPwl5jdfNKfwBj1ygTdJ3gohvulzmsAEA1UGO5e8QmMUUpEp6MdEsxMt5Ta0Ng== X-Received: by 2002:a05:600c:3490:b0:412:f05a:3996 with SMTP id a16-20020a05600c349000b00412f05a3996mr44589wmq.18.1709922107776; Fri, 08 Mar 2024 10:21:47 -0800 (PST) Received: from ?IPV6:2a01:cb15:8010:2f00:1aa9:5ff:fe16:2efb? ([2a01:cb15:8010:2f00:1aa9:5ff:fe16:2efb]) by smtp.gmail.com with ESMTPSA id he7-20020a05600c540700b0041312cf472fsm133954wmb.25.2024.03.08.10.21.45 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 08 Mar 2024 10:21:46 -0800 (PST) Message-ID: Date: Fri, 8 Mar 2024 19:21:44 +0100 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: freebsd-hackers@FreeBSD.org Content-Language: en-US From: Paul Floyd Subject: Valgrind on arm64 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)[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)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; 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)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32a:from] X-Rspamd-Queue-Id: 4TrvdV6gbnz4x3y Hi [reposting the same message that I posted to the Userland forum] I'm close to being ready with a port of Valgrind on arm64 (currently only i386 and amd64 are officially supported). I'd appreciate it if anyone could build and test it. The git repo is here https://github.com/paulfloyd/freebsdarm64_valgrind To build, run the following autogen.sh configure --prefix=where_you_want_to_install gmake gmake install Iif you have GCC installed run configure with "CC=clang CXX=clang++". If you prefer not to install it, you can run it from the build directory with the script "vg-in-place". There's one more issue that I'd like to iron out - DRD isn't detecting pthread_barrier issues. After that I'll push the code upstream and update the devel/valgrind-devel port. I expect Valgrind 3.23 will be out by the end of April and I'll update devel/valgrind at that time. A+ Paul From nobody Sun Mar 10 05:23:05 2024 X-Original-To: freebsd-hackers@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 4TspGL6mwzz5DH4B for ; Sun, 10 Mar 2024 05:23:22 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-22.consmr.mail.gq1.yahoo.com (sonic317-22.consmr.mail.gq1.yahoo.com [98.137.66.148]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TspGL03D4z43Fd for ; Sun, 10 Mar 2024 05:23:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=nm+rjizT; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.66.148 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1710048199; bh=ayIgCVb5/sS1RzsV3lDbbOfSOgFdbnD2fTMYAc2d92c=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=nm+rjizTSJdEu3E9bjpqNo8Zxs7r+iMq9blRqnZZZQAE4DPf7bZmLOgnegiwxBhj/noLVDvR0FNF7kN0clTcMm24vhY4e7Ja99hh3jv2MjRjXhR1G7eFkNH6XKNrbc3I0F8lBSiMSHd92jNd0ayI5JqG0p6LhkeT/7lDD1fv/SBS6DPr6KWLlvSauwLRStmErA+n99FmE94bwfDrSMdrxcpVq7gPr8Ga/wHineJKfQQjqXi30UQxUyDV0KrqDeq1cTAxSprZ3+lApbRDay50xw+MwdYBorvC1GpdBqUdaYoMYtr3qVSndLQjsl4Ca3vCTUPlbyusyIK3O3ynH32hYA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1710048199; bh=AqXUNla6QFpeuGeOsCgXAdmA+ScpvpeJtHr1/djq8Nn=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=ZZujDL3brQDAdDW5FlVj6Bgdk8+af0muHIVirmPfkvpJHow2/GwRWrLUBYkmzfjFY40fsQpFiOepbhFvg8O8WrVqr+bgr/etKq6LnSXTToQMGkck76DzZgV0TQpQE8OI/utoBe7MWoF3ISyApukisLwyCjURD54OPa5nFEeJ1Z60f3bLUQVRkuHc9oAgtMIaNZIaJjNn6aPMTym6Cz866XWgtilqjKZunFYT3Wl1ZG6drympOmZNzY10PrWvZV4sNfESUuwiZCLF4ObIvrIIR1ljUslH5bKR7QKskq14gusICTgCirUHPy9tNI1yYCd05bOGSzR4ZdSKZkARZijjQw== X-YMail-OSG: vbWxlxgVM1ns_KuBwqqLUXHsN.3.mCSXW7.KeBC5dSQnVxxl.l_YmvrWiMJlDt9 LjG8rVJAA9GKFqBPr.uTOct.MmvLTqEni0FH5XPsk35yfrzng48gRJ2U2bqp120898zt64KmViaD 1lbRjpty4GRDyHUB3TjqtMCPgNKMkQoLVdA5R2P3ELrLSPxaWVoiJtmOQNtEkS.q2_eZccjjjWfF w.QHQlF04k5ypf9WvEnd8RAT.js8TXSogN6_dWG6aC6qtBCayza5OTNK4zKpomjyxAeBPmxXvLx_ z_qxIOFylodkpiyiHTvH3SGZ8VHPrWhgBAZ15CKCpz2qF1Au.Bi_7lXbzdOEBAQOukIddVjjPz4F e.zICUFC6GGemAOoecne.cvU5lMXAhSu42UmMCPFWlGpfu3XY.HzaQOXFKDhscibVRfH.W_lVLJA qhHQ3VY8N0Mux3fUEOq0NOJRDrRSGNbNWaBoG_qF1QAXRV8lpCFnG31H2chFH0MD4nAyBYzBQrss sByjjQ3xiNr5mrHOE.6FDhnVwnfsqz7mHnV9BzIHE5AE9opM77T2u2j_3hWxoMqB.nPD9jS6XgnN ShgWhhUzoEl_hdtauOGRZHY2pLP1HA0Xh7CptcnqGi2VBdJr0wD_CBsyxQOlF5yFTM5CNPw.WF4L 0PgdInmW.f_SIq0R4TpUAjPsBC72PCW9tADtGZoCFzchoyPde29ANzKd.KN9soAt68xNkgnYYx4z LFasFGdbl24Y3JgX9dvM0F6FyKyG8nCKM0TBiHGqh2wPDWHY1ajfNF_6508Y8dVYnTh1xrJLEiOz oAXkWHS_5.5FK1stGOjsHgF2S6grBCAGLk8xSTSdSD_Yi0tjBVcd2E.lRbRZvkSC.8JQLFDDPcbi bBjiHsOaQm5QsqgdAtTzBkAm_vPA2pp.WZWsKL34ZpORLdZtxdKwZSlo0ezgDUfRXLxwSPAgZ.We eYhkwJrJs0peOvzqeEsEb8mEfr_e4eQ9_eeVIK13zxuyFPvO9fpHWKalfF3kyzGyLS_PiajVxQyR okVg0tqwlv7WqhYJF9Q27FeQXCqirbBGlwy27bnL9s01_ORN5JU6ZQLExvvnpYYe6FvomQmE7BZ0 696r5Jmy7l9IkbyuwX08Svubzr2APw5VCZH8BDNH5mLuy.lYt2BhPKjl26p4AVj5fZQyK8_zr.z5 ELaKTErD86NfwOS4aD.0UodQF.iHwaOfKkeWQU8MycVChWASBG2D6_47Dcig88et7MH1dgC145Uf f5CxpJZXGdU8s83b9X9L3eTm.dIrNW4fl_n7Xwaf7tlf7fVxt3iv3DWujQAnRWSH1lhHZWKk9WyC MEqx9L4cd2LDHruAsRWadglWSGWbGBbbP36w0NHMNk2yy7Mv8uRX.K9RlZLtZGpdcielpf5eFVn0 yqoueftruClUCdTmNHaQS28kfQXLgFOojEoQYcplHW4HtKc6ifYVvSuPJECqv0cYf_k8uR5k._70 Aa01RaTsRtfbi9zIWVe7kjnLzXmfq_Sw6maHHmpnK8NkPJ0MybGZDSxp8GNDJOclQ5UIGzTWWtEC 4RTv8sIIvIpgHymlxJNmC7yUyMNSnWyjZ5KawaDjVBX9yL4Pq0tNbomuRPS4Vn.cEaKqM48V9A75 nnG2DOndi.xci.wMjj9GOBVkzDXHQyPFpLDsPr4FOf5HzgFuwKiAb2ZbY1w0XJnnE8HUUkroPqX. 0iCsEV4cS5JWGOovPUZIjfJusDN5O6q0Vih5hkY0Pk9il.5il0tOhrSFavwK8DqSaDovNTUiqz.N 45CQsp.VYLxKWYyg.vCi41Q2KDoQPl3vovIxrPeeU3KcdEvd.toHpNGhJqUrjW7cEdvv7b_eid3k xF8ibMO5yHN.rwWr_gfWLjfkvZgJ5gZ_982gMZNojxsTAccWDWJuP_buOSnZPsmFDYvPMeZ98zOh deLZs9HVhapSkuVCXxYMF_IETEMhBjDqAd2S3zgE_FQb1m.ZY3yP3rGDLvQLhV_69DBHmxJYJlX8 .Yrf_Br6tIqdmCS4civrqrRpIjp48ZSg0Oqel9o2fEfq6YFMgRRz8d12pDhIhYbAde3sNKWVzwEC JdJFOvFXxv8KDZzNOY9IoQsIPH8Vk.urQNH1tOX5IREffxToQrgNyMu1nqeH5ZJFVdv8quQ4h2F5 HMDfIQeKBFWlMoiHoRASEJ2MdIOW72JN4vLmsQhgtOe8oURzN__5rIw4IdrgWlVxh59JDtom3Ds. Ha6kfJzqzdDhHqIoczbPHrPJ4hW5Lfkn_GYYLQqbqEQaa41T.NlXflg-- X-Sonic-MF: X-Sonic-ID: 716bc353-8837-4f43-b559-fa3791b1ec13 Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Sun, 10 Mar 2024 05:23:19 +0000 Received: by hermes--production-gq1-5c57879fdf-6xjwd (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 18ecc9f8bf17ae4ad9d89e65ba101bbf; Sun, 10 Mar 2024 05:23:15 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\)) Subject: Header inclusion question(s), for example use of cpusetid_t vs/ explicit inclusion of sys/types.h Message-Id: <6D583EFB-BD79-49F9-BCA9-AB22DA77DFB8@yahoo.com> Date: Sat, 9 Mar 2024 21:23:05 -0800 To: freebsd-hackers X-Mailer: Apple Mail (2.3774.400.31) References: <6D583EFB-BD79-49F9-BCA9-AB22DA77DFB8.ref@yahoo.com> 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)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.66.148:from]; APPLE_MAILER_COMMON(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.66.148:from] X-Rspamd-Queue-Id: 4TspGL03D4z43Fd FYI: /usr/include/sys/types.h:typedef __cpusetid_t cpusetid_t; I've been experimenting with clang-tidy (really clang-tidy18 in a llvm17 libc++ context). Its misc-* checks include reporting when the likes of: / . . . : warning: no header providing "cpusetid_t" is directly included = [misc-include-cleaner] In other words, it is suggesting an explicit include: #include // for cpusetid_t no matter if it is indirectly included or not. I'll note that clang_tidy also reports the likes of: / . . . : : warning: included header param.h is not used directly = [misc-include-cleaner] if nothing directly provided in sys/param.h is referenced, in other words, if sys/param.h is at most indirectly causing other files to provide some of what happens to be used in the translation unit. My overall question is: is it generally reasonable to follow the suggestions that would eliminate these shorts of clang-tidy reports? Basically: include just the files that directly provides what happens to be directly used in a transition unit. =3D=3D=3D Mark Millard marklmi at yahoo.com