Subject: bin/7979: krb v4 encrypted telnet doesn't work anymore
To: None <gnats-bugs@gnats.netbsd.org>
From: John Kohl <jtk@kolvir.arlington.ma.us>
List: netbsd-bugs
Date: 07/13/1999 09:35:52
>Number:         7979
>Category:       bin
>Synopsis:       krb v4 encrypted telnet (to alternate ports) doesn't work anymore
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 13 09:35:01 1999
>Last-Modified:
>Originator:     John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release:        NetBSD-current, 1999-07-13
>Environment:
	
System: NetBSD kolvir.arlington.ma.us 1.4F NetBSD 1.4F (KOLVIR) #0: Mon Jul 12 19:09:08 EDT 1999 jtk@kolvir.arlington.ma.us:/usr/u4/sandbox/src/sys/arch/i386/compile/KOLVIR i386


>Description:
1.	Telnet used to interpret negative ports to mean "connect to
abs(port) and use telnet negotiation".

When I try a negative port, I get:
% telnet -ax -l jtk <hostname> -<portnum>
<hostname>: servname not supported for ai_socktype
Exit 1

1a.  Supplying a positive port number gets me an IPV6 address for the
host rather than an IPv4 address:
% telnet <hostname> <portnum>
Trying c058:ed02:6c:6578:7261:7331:322e:6c65...
telnet: socket: Protocol not supported
Exit 1

2. I'm not sure completely whether this is a result of that problem or
something else, but encrypted telnet generates gibberish once connected
(and no longer displays the message "output is now encrypted" when
.telnetrc ocntains:
DEFAULT
        unset flusho
        unset stop
        unset start
        unset localchars
        set autoe
        set autod
        set ver
        environ export USER
)

>How-To-Repeat:
	
>Fix:
	
>Audit-Trail:
>Unformatted: