Re: git: 24e1824e4646 - main - Deprecate telnet daemon

From: Mike Karels <mike_at_karels.net>
Date: Wed, 21 Sep 2022 18:02:17 UTC
On 21 Sep 2022, at 11:39, Cy Schubert wrote:

> In message <202209211517.28LFHkoJ089471@gitrepo.freebsd.org>, Brooks Davis
> writ
> es:
>> The branch main has been updated by brooks:
>>
>> URL: https://cgit.FreeBSD.org/src/commit/?id=24e1824e4646237c5ab8e63f59fa38e0
>> 76f18ba7
>>
>> commit 24e1824e4646237c5ab8e63f59fa38e076f18ba7
>> Author:     Brooks Davis <brooks@FreeBSD.org>
>> AuthorDate: 2022-09-21 15:17:04 +0000
>> Commit:     Brooks Davis <brooks@FreeBSD.org>
>> CommitDate: 2022-09-21 15:17:04 +0000
>>
>>     Deprecate telnet daemon
>>
>>     The telnetd codebase is old, unmaintained, and has a number of quality
>>     issues.  Users wishing to provide telnetd service should find a
>>     maintained implementation.  The telnet client is NOT deprecated as it
>>     is lower risk.
>>
>>     Reviewed by:    pauamma, kevans, kp, melifaro
>>     MFC After:      3 days
>>     Differential Revision:  https://reviews.freebsd.org/D36619
>> ---
>>  contrib/telnet/telnetd/telnetd.8 | 7 ++++++-
>>  1 file changed, 6 insertions(+), 1 deletion(-)
>>
>> diff --git a/contrib/telnet/telnetd/telnetd.8 b/contrib/telnet/telnetd/telnet
>> d.8
>> index 6c5db4596661..07ce62936d23 100644
>> --- a/contrib/telnet/telnetd/telnetd.8
>> +++ b/contrib/telnet/telnetd/telnetd.8
>> @@ -28,7 +28,7 @@
>>  .\"	@(#)telnetd.8	8.4 (Berkeley) 6/1/94
>>  .\" $FreeBSD$
>>  .\"
>> -.Dd August 28, 2008
>> +.Dd September 21, 2022
>>  .Dt TELNETD 8
>>  .Os
>>  .Sh NAME
>> @@ -47,6 +47,11 @@ protocol server
>>  .Op Fl p Ar loginprog
>>  .Op Fl u Ar len
>>  .Op Fl debug Op Ar port
>> +.SH DEPRECATION NOTICE
>> +.Nm
>> +is deprecated and may not be available in
>> +.Fx 14.0
>> +and later.
>>  .Sh DESCRIPTION
>>  The
>>  .Nm
>>
>
> I'm not sure if here is a good place but we might want to mention that
> those who still need telnetd will find it in ports/net/freebsd-telnetd.
>
> The same repo contains the telnet client. When we're ready I can quickly
> produce a telnet client port from the same git repo. (Similarly ftp and
> ftpd.)

I have no problem with deprecating (or removing) telnetd in base.  I
think the client should remain, though.  I use it frequently, although
not on the telnet port.  ftp* are another issue; anonymous FTP is a
perfectly reasonable usage.  I use it to download FreeBSD images often.

		Mike
> -- 
> Cheers,
> Cy Schubert <Cy.Schubert@cschubert.com>
> FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org
> NTP:           <cy@nwtime.org>    Web:  https://nwtime.org
>
>     		e^(i*pi)+1=0