Date: 22 Mar 2001 16:08:34 +0100 From: assar@freebsd.org To: Daniel Eischen <eischen@vigrid.com> Cc: current@freebsd.org Subject: Re: telnet broken with auto-negotiation of encrypt/decrypt change Message-ID: <5ln1adlu31.fsf@assaris.sics.se> In-Reply-To: Daniel Eischen's message of "Thu, 22 Mar 2001 07:51:07 -0500 (EST)" References: <Pine.SUN.3.91.1010322074520.28064A-100000@pcnet1.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Eischen <eischen@vigrid.com> writes: > As someone else has already posted, the following will reproduce > the behaviour on my system: > > bash-2.02$ telnet localhost > Trying ::1... > Connected to localhost. > Escape character is '^]'. > Trying SRA secure login: > User (deischen): ^C^C^C^C^C^C^C > Password: > [ SRA login failed ] > User (deischen): ^Z > [1]+ Stopped telnet localhost > bash-2.02$ kill -9 13164 > [1]+ Killed telnet localhost > > Once you login and are connected, telnet can then again be escaped > with CTRL-]. Thanks. The problem is with SRA using fgets/getpass for its prompts. The simplest way of fixing this is by disabling SRA with the following patch: /assar Index: secure/lib/libtelnet/Makefile =================================================================== RCS file: /home/ncvs/src/secure/lib/libtelnet/Makefile,v retrieving revision 1.18 diff -u -w -u -w -r1.18 Makefile --- secure/lib/libtelnet/Makefile 2000/07/16 05:52:55 1.18 +++ secure/lib/libtelnet/Makefile 2001/03/22 15:05:50 @@ -3,10 +3,10 @@ LIB= telnet SRCS= genget.c getent.c misc.c encrypt.c auth.c \ - enc_des.c sra.c pk.c + enc_des.c pk.c CFLAGS+= -DHAS_CGETENT -DENCRYPTION -DDES_ENCRYPTION -DAUTHENTICATION \ - -DSRA -I${TELNETDIR} \ + -I${TELNETDIR} \ NOPIC= yes To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5ln1adlu31.fsf>