From nobody Sun Nov 06 20:16:47 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 4N55Hy5jFKz4h1tY for ; Sun, 6 Nov 2022 20:17:18 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (glebi.us [162.251.186.162]) (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 "cell.glebi.us", Issuer "cell.glebi.us" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N55Hx57MQz44v8 for ; Sun, 6 Nov 2022 20:17:17 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (localhost [127.0.0.1]) by cell.glebi.us (8.16.1/8.16.1) with ESMTPS id 2A6KGmcN015712 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 6 Nov 2022 12:16:48 -0800 (PST) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.glebi.us (8.16.1/8.16.1/Submit) id 2A6KGltt015711; Sun, 6 Nov 2022 12:16:47 -0800 (PST) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.glebi.us: glebius set sender to glebius@freebsd.org using -f Date: Sun, 6 Nov 2022 12:16:47 -0800 From: Gleb Smirnoff To: Chris Cc: Max Baroi , Mike Karels , current@freebsd.org Subject: Re: trpt(8) to be decomissioned Message-ID: References: <97286FA9-DD47-4EB2-BD7A-C2A8BC8B62B5@karels.net> <4e69d854-e872-4833-b836-f9caf5fe76f0@baroi.com> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4N55Hx57MQz44v8 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 162.251.186.162 is neither permitted nor denied by domain of glebius@freebsd.org) smtp.mailfrom=glebius@freebsd.org X-Spamd-Result: default: False [-3.10 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[current@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:27348, ipnet:162.251.186.0/24, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_THREE(0.00)[3]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[freebsd.org]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[glebius]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; HAS_XAW(0.00)[]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Chris, On Fri, Nov 04, 2022 at 10:35:17AM -0700, Chris wrote: C> > the reason I want to retire it is not that it consumes 40 Kb C> > in the repository. The reason is that knows kernel structures, C> > and fails to compile after changes to them. So the tool that C> > nobody uses requires special care when working on TCP. The C> > kernel headers disclose the structures for trpt (with some C> > protection with _WANT_TCPCB, though) and some software from C> > ports (not calling names!) would start use them too. Now a C> > kernel developer needs to care not only about trpt, but C> > about this software, too. C> > C> > On the kernel side there is also TCPDEBUG code that needs C> > to be kept compilable, while apparently nobody uses it. C> While I really hate hearing that small utils C> (almost elegant in their simplicity) that have worked perfectly C> well for a great many years must be kicked to the curb. I guess C> I can see your point. However I think TCPDEBUG affects a great C> deal more that trpt(8). I hope your not implying that it should C> go as well. I'd like to hear use scenarios of TCPDEBUG without trpt. What does it provide that other logging facilities (BB, DTrace) doesn't? -- Gleb Smirnoff