From nobody Sat Sep 24 04:35:13 2022 X-Original-To: dev-commits-src-main@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 4MZGQs2dPWz4cJXv; Sat, 24 Sep 2022 04:35:17 +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 4MZGQr41bVz3Mty; Sat, 24 Sep 2022 04:35:16 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id buXloqOLKS8WrbwsmopZgj; Sat, 24 Sep 2022 04:35:16 +0000 Received: from spqr.komquats.com ([70.66.148.124]) by cmsmtp with ESMTPA id bwsjomRzxlahmbwskoVhHQ; Sat, 24 Sep 2022 04:35:16 +0000 X-Authority-Analysis: v=2.4 cv=d8PmdDvE c=1 sm=1 tr=0 ts=632e8904 a=Cwc3rblV8FOMdVN/wOAqyQ==:117 a=Cwc3rblV8FOMdVN/wOAqyQ==:17 a=kj9zAlcOel0A:10 a=xOM3xZuef0cA:10 a=1QTDH3R-AAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=dHuJ8WvTVJm_A1gyLJsA:9 a=CjuIK1q_8ugA:10 a=A7PbjfUNzwAiWwc5k9lq: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 93A7B70F; Fri, 23 Sep 2022 21:35:13 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 5EB8223C; Fri, 23 Sep 2022 21:35:13 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Mike Karels cc: Gregory Byshenk , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 24e1824e4646 - main - Deprecate telnet daemon In-reply-to: References: <202209211517.28LFHkoJ089471@gitrepo.freebsd.org> <20220921163951.17C77AC@slippy.cwsent.com> <8EC34FC3-F299-4B03-AD4E-83D062D0E9F6@karels.net> <5c162710def7eb94c032dfab73e9560e@lerctr.org> <6C27C573-601C-40F8-99C9-C964F9C2B3E2@karels.net> Comments: In-reply-to Mike Karels message dated "Thu, 22 Sep 2022 07:44:57 -0500." List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 Sep 2022 21:35:13 -0700 Message-Id: <20220924043513.5EB8223C@slippy.cwsent.com> X-CMAE-Envelope: MS4xfLnMeig7XVLbxvzZ82EpPQAWlrnPY2OYSYVyqfGCUpEOTAjN0JZDcNXJvevUbp64S9xLirYT5H5+z/n2Rv74RY+rzx9b0cjLbSLhJ1W4nPHneJ29k1uy U35Zq3/O5ihNDQ4TYO75sTfwX41nlZTBMdinWZ8vWebZUoycgDQMf23hon2sQ74hms63Hu4p6xujL4crO/6jvOPJudoXEigSzYByKyAz74vLhRwlDxWSPgK8 PhNEnCqFtSHYYJvyPi4Ni7nC6TbbQtllW+uraiDk0Boye+5VYn5Wo4uPLKQfVkHbU6oZr7kyfx/n51zJ3N6bEizwKcseePEwtdHU3JoMeV8Kzc25g5x4c/6V ruZevLPz X-Rspamd-Queue-Id: 4MZGQr41bVz3Mty X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 3.97.99.32) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-1.80 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MV_CASE(0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[3.97.99.32:from]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-src-main@freebsd.org,dev-commits-src-all@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; R_SPF_NA(0.00)[no SPF record]; TO_MATCH_ENVRCPT_SOME(0.00)[]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US]; REPLYTO_EQ_FROM(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[cschubert.com: no valid DMARC record]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-ThisMailContainsUnwantedMimeParts: N In message , Mike Karels write s: > On 22 Sep 2022, at 7:14, Gregory Byshenk wrote: > > > On Wed, Sep 21, 2022 at 04:42:32PM -0500, Mike Karels wrote: > > > >> Ditto on the finger memory. And I tried this: > >> > >> mike@backup$ nc mail 25 > >> 220 mail.karels.net Service ready > >> helo backup.karels.net > >> 500 Command missing Carriage Return > >> > >> telnet also accepts a service name instead of a port number (part of t= > he > >> finger memory). > > > > I understand the finger memory. Sometimes at $job I still type > > 'telnet' on machines that I know do not have a telnet client. > > > > But a 'nc -t ' should solve the problem you > > show above. It does for me, in any case. > > It does not; the result is the same. The man page does not > say anything about newline handling with -t; not sure what > it is supposed to do. > > I also note that nc doesn=E2=80=99t pass control characters like > ^D and ^C. > > Responding to an earlier message: telnet should remain in > base, not moved to a port. Another idea that just occurred to me while reviewing some code is, should we adopt the NetBSD telnet (and optionally telnetd)? Telnet is not the most interesting software to work on and is easily forgotten, not to mention we're all busy working on other more useful projects. NetBSD somewhat more active maintenance of telnet/telnetd would free up FreeBSD resources. I've been toying with the idea of possibly net/netbsd-telnet and net/netbsd-telnetd ports. But if we feel replacing FreeBSD telnet/telnetd with NetBSD versions might free up some resources, it's worth pondering and discussing replacing what we have in src with the NetBSD versions. Though our contrib/telnet was a vendor import at some point. Where did we get it from? Does that upstream still exist? Seems logical to me that for software in its twilight years we may be better off collaborating with other BSDs to reduce effort needed to maintain such software. Just throwing it out there for people to think about this weekend. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0