Debian Bug report logs - #585527
netkit-telnet: telnet and telnetd should support real LINEMODE

Package: netkit-telnet-ssl; Maintainer for netkit-telnet-ssl is Debian QA Group <packages@qa.debian.org>;

Reported by: Howard Chu <hyc@symas.com>

Date: Fri, 11 Jun 2010 12:24:02 UTC

Severity: wishlist

Tags: moreinfo, patch

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Alberto Gonzalez Iniesta <agi@inittab.org>:
Bug#585527; Package netkit-telnet. (Fri, 11 Jun 2010 12:24:04 GMT) (full text, mbox, link).


Acknowledgement sent to Howard Chu <hyc@symas.com>:
New Bug report received and forwarded. Copy sent to Alberto Gonzalez Iniesta <agi@inittab.org>. (Fri, 11 Jun 2010 12:24:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Howard Chu <hyc@symas.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: netkit-telnet: telnet and telnetd should support real LINEMODE
Date: Fri, 11 Jun 2010 04:44:34 -0700
[Message part 1 (text/plain, inline)]
Package: netkit-telnet
Version: 0.17
Severity: wishlist
Tags: patch


This patch is actually just a stepping stone to getting the desired functionality
into ssh, but I'm starting here in case peoploe still use telnet.

On high latency, congested networks, it's advantageous to do as much character
processing as possible on the local client, and only send complete lines of input
to the remote server. Up till now the Linux kernel has lacked the features needed
for full support of the RFC1184 Telnet LineMode option, but I've posted a patch
to implement the missing kernel features.

http://marc.info/?l=linux-kernel&m=127625158418585&w=2

The patches here are needed to make telnet and telnetd compile and run properly
when building with -DLINEMODE instead of -DKLUDGELINEMODE.


-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-rc7 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/
[linemode.txt (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#585527; Package netkit-telnet. (Mon, 14 Jun 2010 11:03:07 GMT) (full text, mbox, link).


Acknowledgement sent to Alberto Gonzalez Iniesta <agi@inittab.org>:
Extra info received and forwarded to list. (Mon, 14 Jun 2010 11:03:07 GMT) (full text, mbox, link).


Message #10 received at 585527@bugs.debian.org (full text, mbox, reply):

From: Alberto Gonzalez Iniesta <agi@inittab.org>
To: Howard Chu <hyc@symas.com>, 585527@bugs.debian.org
Subject: Re: Bug#585527: netkit-telnet: telnet and telnetd should support real LINEMODE
Date: Mon, 14 Jun 2010 12:54:44 +0200
On Fri, Jun 11, 2010 at 04:44:34AM -0700, Howard Chu wrote:
> Package: netkit-telnet
> Version: 0.17
> Severity: wishlist
> Tags: patch
> 
> 
> This patch is actually just a stepping stone to getting the desired functionality
> into ssh, but I'm starting here in case peoploe still use telnet.
> 
> On high latency, congested networks, it's advantageous to do as much character
> processing as possible on the local client, and only send complete lines of input
> to the remote server. Up till now the Linux kernel has lacked the features needed
> for full support of the RFC1184 Telnet LineMode option, but I've posted a patch
> to implement the missing kernel features.
> 
> http://marc.info/?l=linux-kernel&m=127625158418585&w=2
> 
> The patches here are needed to make telnet and telnetd compile and run properly
> when building with -DLINEMODE instead of -DKLUDGELINEMODE.

Hi Howard,

Thanks for the patch. I have to do some heavy maintenance on the package
and once that's ready I'll include your patch.

Regards,

Alberto


-- 
Alberto Gonzalez Iniesta    | Formación, consultoría y soporte técnico
agi@(inittab.org|debian.org)| en GNU/Linux y software libre
Encrypted mail preferred    | http://inittab.com

Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3




Information forwarded to debian-bugs-dist@lists.debian.org, Alberto Gonzalez Iniesta <agi@inittab.org>:
Bug#585527; Package netkit-telnet. (Mon, 14 Jun 2010 20:21:07 GMT) (full text, mbox, link).


Acknowledgement sent to Howard Chu <hyc@symas.com>:
Extra info received and forwarded to list. Copy sent to Alberto Gonzalez Iniesta <agi@inittab.org>. (Mon, 14 Jun 2010 20:21:07 GMT) (full text, mbox, link).


Message #15 received at 585527@bugs.debian.org (full text, mbox, reply):

From: Howard Chu <hyc@symas.com>
To: Alberto Gonzalez Iniesta <agi@inittab.org>
Cc: 585527@bugs.debian.org
Subject: Re: Bug#585527: netkit-telnet: telnet and telnetd should support real LINEMODE
Date: Mon, 14 Jun 2010 12:35:57 -0700
Alberto Gonzalez Iniesta wrote:
> On Fri, Jun 11, 2010 at 04:44:34AM -0700, Howard Chu wrote:
>> Package: netkit-telnet
>> Version: 0.17
>> Severity: wishlist
>> Tags: patch
>>
>>
>> This patch is actually just a stepping stone to getting the desired functionality
>> into ssh, but I'm starting here in case peoploe still use telnet.
>>
>> On high latency, congested networks, it's advantageous to do as much character
>> processing as possible on the local client, and only send complete lines of input
>> to the remote server. Up till now the Linux kernel has lacked the features needed
>> for full support of the RFC1184 Telnet LineMode option, but I've posted a patch
>> to implement the missing kernel features.
>>
>> http://marc.info/?l=linux-kernel&m=127625158418585&w=2
>>
>> The patches here are needed to make telnet and telnetd compile and run properly
>> when building with -DLINEMODE instead of -DKLUDGELINEMODE.
>
> Hi Howard,
>
> Thanks for the patch. I have to do some heavy maintenance on the package
> and once that's ready I'll include your patch.

Great, thanks. No rush though, these patches are useless until the kernel 
patches go in.

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/




Information forwarded to debian-bugs-dist@lists.debian.org, Alberto Gonzalez Iniesta <agi@inittab.org>:
Bug#585527; Package netkit-telnet. (Sat, 19 Jun 2010 01:48:03 GMT) (full text, mbox, link).


Acknowledgement sent to Howard Chu <hyc@highlandsun.com>:
Extra info received and forwarded to list. Copy sent to Alberto Gonzalez Iniesta <agi@inittab.org>. (Sat, 19 Jun 2010 01:48:03 GMT) (full text, mbox, link).


Message #20 received at 585527@bugs.debian.org (full text, mbox, reply):

From: Howard Chu <hyc@highlandsun.com>
To: 585527@bugs.debian.org
Subject: Updated patch
Date: Fri, 18 Jun 2010 18:35:06 -0700
[Message part 1 (text/plain, inline)]
The kernel interface has changed a little bit relative to the BSD-ish behavior 
in the last patch.

http://lkml.org/lkml/2010/6/18/281

No data accompanies the TIOCPKT_IOCTL flag any more; this makes its behavior 
more in line with the other TIOCKPKT_* flags and decouples the application 
layer from the kernel-specific termios layout.

I've attached an updated telnet / telnetd diff to handle this change (note 
that it actually simplifies the code compared to the original BSD behavior).

And just to repeat, these telnet patches are useless without the kernel 
patches. Corresponding glibc patches will also be needed to expose the new 
ioctl bits too.
-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/
[netkit.dif (video/dv, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Alberto Gonzalez Iniesta <agi@inittab.org>:
Bug#585527; Package netkit-telnet. (Mon, 19 Jan 2015 20:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Howard Chu <hyc@symas.com>:
Extra info received and forwarded to list. Copy sent to Alberto Gonzalez Iniesta <agi@inittab.org>. (Mon, 19 Jan 2015 20:57:04 GMT) (full text, mbox, link).


Message #25 received at 585527@bugs.debian.org (full text, mbox, reply):

From: Howard Chu <hyc@symas.com>
To: 585527@bugs.debian.org
Subject: Re: Bug#585527: netkit-telnet: telnet and telnetd should support real LINEMODE
Date: Mon, 19 Jan 2015 20:14:15 +0000
On Mon, 14 Jun 2010 12:54:44 +0200 Alberto Gonzalez Iniesta 
<agi@inittab.org> wrote:
> On Fri, Jun 11, 2010 at 04:44:34AM -0700, Howard Chu wrote:
> > Package: netkit-telnet
> > Version: 0.17
> > Severity: wishlist
> > Tags: patch
> >
> >
> > This patch is actually just a stepping stone to getting the desired functionality
> > into ssh, but I'm starting here in case peoploe still use telnet.
> >
> > On high latency, congested networks, it's advantageous to do as much character
> > processing as possible on the local client, and only send complete lines of input
> > to the remote server. Up till now the Linux kernel has lacked the features needed
> > for full support of the RFC1184 Telnet LineMode option, but I've posted a patch
> > to implement the missing kernel features.
> >
> > http://marc.info/?l=linux-kernel&m=127625158418585&w=2
> >
> > The patches here are needed to make telnet and telnetd compile and run properly
> > when building with -DLINEMODE instead of -DKLUDGELINEMODE.
>
> Hi Howard,
>
> Thanks for the patch. I have to do some heavy maintenance on the package
> and once that's ready I'll include your patch.

It's been quite a while and this patch is being discussed again on the 
Linux-kernel mailing list. Fyi, it still applies cleanly to current 
netkit source. Please merge it, thanks.
>
> Regards,
>
> Alberto
>
>
> --
> Alberto Gonzalez Iniesta    | Formación, consultoría y soporte técnico
> agi@(inittab.org|debian.org)| en GNU/Linux y software libre
> Encrypted mail preferred    | http://inittab.com
>
> Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/



Message sent on to Howard Chu <hyc@symas.com>:
Bug#585527. (Thu, 16 Feb 2017 23:39:05 GMT) (full text, mbox, link).


Message #28 received at 585527-submitter@bugs.debian.org (full text, mbox, reply):

From: Mats Erik Andersson <mats.andersson@gisladisker.se>
To: 585527-submitter@bugs.debian.org
Cc: control@bugs.debian.org
Subject: [src:netkit-telnet] Incomplete linemode patch.
Date: Fri, 17 Feb 2017 00:31:15 +0100
package src:netkit-telnet
tags 585527 + moreinfo
thanks

The suggested patch is applicable with some fuzz,
but the resulting client is really not able to use
linemode since it still sends every single character
to the server, not complete lines as intended.

Further arguments as to the sense of these suggested
changes are needed before really closing in on an
improved package source.

Regards,
  M E Andersson, present maintainer of netkit-telnet.



Added tag(s) moreinfo. Request was from Mats Erik Andersson <mats.andersson@gisladisker.se> to control@bugs.debian.org. (Fri, 17 Feb 2017 23:57:04 GMT) (full text, mbox, link).


Bug reassigned from package 'netkit-telnet' to 'src:netkit-telnet'. Request was from Mats Erik Andersson <mats.andersson@gisladisker.se> to control@bugs.debian.org. (Fri, 17 Feb 2017 23:57:05 GMT) (full text, mbox, link).


Bug reassigned from package 'src:netkit-telnet' to 'netkit-telnet-ssl'. Request was from Bastian Germann <bage@debian.org> to control@bugs.debian.org. (Fri, 23 Sep 2022 08:15:18 GMT) (full text, mbox, link).


No longer marked as found in versions 0.17. Request was from Bastian Germann <bage@debian.org> to control@bugs.debian.org. (Fri, 23 Sep 2022 08:15:18 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Dec 6 08:29:13 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.