From pherman@frenchfries.net Sat Apr 7 00:26:41 2001 Return-Path: Received: from mr200.netcologne.de (mr200.netcologne.de [194.8.194.109]) by hub.freebsd.org (Postfix) with ESMTP id CB3D737B422 for ; Sat, 7 Apr 2001 00:26:36 -0700 (PDT) (envelope-from pherman@frenchfries.net) Received: from husten.security.at12.de (dial-213-168-92-244.netcologne.de [213.168.92.244]) by mr200.netcologne.de (Mirapoint) with ESMTP id ADN50916; Sat, 7 Apr 2001 09:26:34 +0200 (CEST) Received: from localhost (localhost.security.at12.de [127.0.0.1]) by husten.security.at12.de (8.11.3/8.11.3) with ESMTP id f377NMC51395 for ; Sat, 7 Apr 2001 09:23:22 +0200 (CEST) (envelope-from pherman@frenchfries.net) Message-Id: <200104070722.f377MBY49433@husten.security.at12.de> Date: Sat, 7 Apr 2001 09:22:13 +0200 (CEST) From: Paul Herman To: FreeBSD-gnats-submit@freebsd.org Subject: cannot escape telnet connection after recent changes >Number: 26397 >Category: bin >Synopsis: cannot escape telnet connection after recent changes >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 07 00:30:02 PDT 2001 >Closed-Date: Sat Apr 7 17:13:44 PDT 2001 >Last-Modified: Sat Apr 21 09:50:01 PDT 2001 >Originator: Paul Herman >Release: FreeBSD 4.3-RC i386 >Organization: >Environment: System: FreeBSD husten.security.at12.de 4.3-RC FreeBSD 4.3-RC #21: Sat Mar 31 22:58:52 CEST 2001 pherman@husten.security.at12.de:/usr/obj/usr/src/sys/husten i386 >Description: Recent changes to telnet prevent the use of the escape character during authentification. >How-To-Repeat: bash-2.04$ telnet localhost Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Trying SRA secure login: User (pherman): ^]^]^]^]^]^]^]^]^]^]^Z [1]+ Stopped telnet localhost bash-2.04$ kill %1 [1]+ Terminated telnet localhost bash-2.04$ telnet -X SRA localhost Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. login: telnet> cl Connection closed. bash-2.04$ telnet -K localhost Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. FreeBSD/i386 (husten.security.at12.de) (ttypa) login: telnet> cl Connection closed. >Fix: I don't know. >Release-Note: >Audit-Trail: State-Changed-From-To: open->feedback State-Changed-By: roam State-Changed-When: Sat Apr 7 05:51:05 PDT 2001 State-Changed-Why: Can you update your sources and try again? Nick Sayer's commit of 2001/04/05 10:27:08 PDT seems to have fixed it for me. http://www.freebsd.org/cgi/query-pr.cgi?pr=26397 State-Changed-From-To: feedback->closed State-Changed-By: greid State-Changed-When: Sat Apr 7 17:13:44 PDT 2001 State-Changed-Why: Submitter reports that the problem has been resolved http://www.freebsd.org/cgi/query-pr.cgi?pr=26397 From: Peter Pentchev To: Paul Herman Cc: freebsd-gnats-submit@FreeBSD.org, Nick Sayer Subject: Re: bin/26397: cannot escape telnet connection after recent changes Date: Sat, 21 Apr 2001 19:38:33 +0300 Hmm.. this is interesting. Nick Sayer CC'd - yes, I can confirm that 4.3-STABLE as of a few hours ago does NOT allow ^] escape to command mode during the SRA auth phase. In theory, you could always go into command mode by just typing 'telnet', and only then 'o hostname' or something.. you could disable SRA by using 'telnet -X SRA hostname'.. but an escape to command mode during the SRA auth phase would be nice :) Nick? G'luck, Peter -- .siht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI On Sat, Apr 21, 2001 at 06:04:22PM +0200, Paul Herman wrote: > On Sat, 7 Apr 2001, Paul Herman wrote: > > > On Sat, 7 Apr 2001 roam@FreeBSD.ORG wrote: > > > > > Can you update your sources and try again? Nick Sayer's commit > > > of 2001/04/05 10:27:08 PDT seems to have fixed it for me. > > > > Yep, it works. OK to close this PR. > > Sorry to bring this back up, but I think I spoke too soon. After > upgrading to 4.3-STABLE this morning (with an empty /usr/obj), I've > got the problem again. > > cd /usr/src/usr.bin/telnet; make install # works OK, no SRA > cd /usr/src/secure/usr.bin/telnet; make install # doesn't work > > "make installworld" installs the secure/ telnet. > > I see that Nick's changes have to do with SIG* handling. I can break > out of a telnet login prompt with ^C, but it exits. I'm looking to > get into command mode, i.e. "telnet>" prompt via ^] at the login > prompt. > > Can anyone else confirm this? Again, this only seems to happen while > doing SRA authentification. >Unformatted: