Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2000 00:54:37 -0400 (EDT)
From:      rwatson@freebsd.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/20515: rsh (and possibly others) give misleading v4/v6 messages
Message-ID:  <200008100454.AAA18425@fledge.watson.org>

next in thread | raw e-mail | index | archive | help

>Number:         20515
>Category:       bin
>Synopsis:       rsh gives misleading IPv4 and IPv6 connection messages
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 09 22:00:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Robert Watson
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:

IPv4 and IPv6 enabled (default)
Disable rsh for both in /etc/inetc.conf

>Description:

Misleading try/fail messages result in operator confusion

% rsh localhost
connect to address 127.0.0.1: Connection refused
Trying ::1...
connect to address 127.0.0.1: Connection refused
Trying ::1...
connect to address 127.0.0.1: Connection refused
Trying ::1...

It appears that both IPv4 and IPv6 are tried, and both fail from
connection refused.  However, the messages are different and confusing.
Should probably read:

Trying 127.0.0.1...
connect to address 127.0.0.1: Connection refused
Trying ::1...
connect to address ::1: Connection refused
...

Also, rsh now appears to retry connecting via the same medium
multiple times (6 times, in this case).  I do not believe it used to
do that, satisfying itself with one connection refused on IPv4 before
giving up.

>How-To-Repeat:

Comment out rsh stuf in inetd.conf
rsh localhost

>Fix:

None available.


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008100454.AAA18425>