NetBSD Problem Report #7979

Received: (qmail 5547 invoked from network); 13 Jul 1999 16:21:58 -0000
Message-Id: <199907131621.MAA11955@kolvir.arlington.ma.us>
Date: Tue, 13 Jul 1999 12:21:52 -0400 (EDT)
From: John Kohl <jtk@kolvir.arlington.ma.us>
Reply-To: jtk@kolvir.arlington.ma.us
To: gnats-bugs@gnats.netbsd.org
Subject: krb v4 encrypted telnet doesn't work anymore
X-Send-Pr-Version: 3.95

>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
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 13 09:35:01 +0000 1999
>Closed-Date:    Fri Aug 20 13:33:54 +0000 1999
>Last-Modified:  Fri Aug 20 13:35:08 +0000 1999
>Originator:     John Kohl
>Release:        NetBSD-current, 1999-07-13
>Organization:
NetBSD Kernel Hackers `R` Us
>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:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jtk 
State-Changed-When: Fri Aug 20 06:33:54 PDT 1999 
State-Changed-Why:  
bugs fixed/were not bugs any more. 
>Unformatted:
 The encryption problems were probably pilot error/build mismatches.  Latest
 sources build OK and work OK.
 The IPV6 problem was a library issue addressed separately.
 The negative port number problem I fixed earlier.
 --jtk, 1999-08-20

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.