From nobody Sat Nov 05 13:48:42 2022 X-Original-To: current@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 4N4Jk74j10z4hkJV for ; Sat, 5 Nov 2022 13:48:47 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N4Jk65tWYz3ChY; Sat, 5 Nov 2022 13:48:46 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from smtpclient.apple (unknown [IPv6:2001:67c:370:128:4157:3bf6:a280:22db]) (Authenticated sender: macmic) by drew.franken.de (Postfix) with ESMTPSA id 3127C751CFA10; Sat, 5 Nov 2022 14:48:43 +0100 (CET) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: trpt(8) to be decomissioned From: tuexen@freebsd.org In-Reply-To: <20221105015421.DC4B037F@slippy.cwsent.com> Date: Sat, 5 Nov 2022 13:48:42 +0000 Cc: Gleb Smirnoff , Max Baroi , Mike Karels , current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <97286FA9-DD47-4EB2-BD7A-C2A8BC8B62B5@karels.net> <4e69d854-e872-4833-b836-f9caf5fe76f0@baroi.com> <20221105015421.DC4B037F@slippy.cwsent.com> To: Cy Schubert X-Mailer: Apple Mail (2.3731.200.110.1.12) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 4N4Jk65tWYz3ChY X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 193.175.24.27 is neither permitted nor denied by domain of tuexen@freebsd.org) smtp.mailfrom=tuexen@freebsd.org X-Spamd-Result: default: False [-2.70 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[193.175.24.27:from]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:680, ipnet:193.174.0.0/15, country:DE]; FROM_NO_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; FREEFALL_USER(0.00)[tuexen]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCVD_VIA_SMTP_AUTH(0.00)[] X-ThisMailContainsUnwantedMimeParts: N > On 5. Nov 2022, at 01:54, Cy Schubert = wrote: >=20 > In message , Gleb Smirnoff writes: >> Max, >>=20 >> the reason I want to retire it is not that it consumes 40 Kb >> in the repository. The reason is that knows kernel structures, >> and fails to compile after changes to them. So the tool that >> nobody uses requires special care when working on TCP. The >> kernel headers disclose the structures for trpt (with some >> protection with _WANT_TCPCB, though) and some software from >> ports (not calling names!) would start use them too. Now a >> kernel developer needs to care not only about trpt, but >> about this software, too. >=20 > I recall when Bryan Cantrill came to one of the local hotels here to=20= > announce Solaris 9, I remember him saying that Solaris truss was now = an app=20 > that called DTrace functions. If people feel the need for trpt-like=20 > utility, would it be an idea to write it using DTrace calls? Could it = be a=20 > GSoC project? It would be kind of neat for a co-op student or someone = to=20 > get their feet wet with systems programming. >=20 > I typically use DTrace when snooping around looking for that = proverbial=20 > needle in a haystack. And TCPDEBUG seems to be one of those things = that=20 > DTrace was designed to replace. >=20 > It would be a good project to have a still in school upcoming = developer to=20 > work on. That plan is to use BBLog as an replacement. Best regards Michael >=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 >=20 >=20