| Summary: | cannot escape telnet connection after recent changes | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Paul Herman <pherman> |
| Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->feedback 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. State Changed From-To: feedback->closed Submitter reports that the problem has been resolved 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.
|
Recent changes to telnet prevent the use of the escape character during authentification. Fix: I don't know. 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.