From owner-freebsd-bugs Wed Aug 9 22: 0: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id EDC0737B71D for ; Wed, 9 Aug 2000 22:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA13769; Wed, 9 Aug 2000 22:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 9E42137BA17 for ; Wed, 9 Aug 2000 21:54:42 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: (from robert@localhost) by fledge.watson.org (8.9.3/8.9.3) id AAA18425; Thu, 10 Aug 2000 00:54:37 -0400 (EDT) (envelope-from robert) Message-Id: <200008100454.AAA18425@fledge.watson.org> Date: Thu, 10 Aug 2000 00:54:37 -0400 (EDT) From: rwatson@freebsd.org Reply-To: rwatson@freebsd.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/20515: rsh (and possibly others) give misleading v4/v6 messages Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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