Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 1995 22:53:16 +0200
From:      kieber@sax.sax.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/706: .rhosts weirdness
Message-ID:  <199508222053.WAA09966@sax.sax.de>
Resent-Message-ID: <199508222100.OAA17171@freefall.FreeBSD.org>

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

>Number:         706
>Category:       bin
>Synopsis:       increased root DNS traffic and long latencies for r-commands
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 22 14:00:02 PDT 1995
>Last-Modified:
>Originator:     Ulf Kieber
>Organization:
SaxNet e. V.
>Release:        FreeBSD 2.0-BUILT-19950603 i386
>Environment:

FreeBSD sax.sax.de 2.0.5-RELEASE FreeBSD 2.0.5-RELEASE #1: Mon Aug 14 21:18:11 MET DST 1995     root@sax.sax.de:/usr/src/sys/compile/SAX  i386

>Description:

If I'm trying to rsh from a host, that's located almost at the end of
my .rhosts to the machine named in >Environment it takes an eternity
to complete.

Following is a snippet of my .rhosts (which in reality is much
longer):

irz101 uk1
irz101.inf.tu-dresden.de uk1
141.76.2.1 uk1
irz102 uk1
irz102.inf.tu-dresden.de uk1
141.76.2.2 uk1
irz103 uk1
irz103.inf.tu-dresden.de uk1
141.76.2.3 uk1

tcpdump on the FreeBSD machine gives me:

sax.sax.de /root# tcpdump -i ed0 -nt ip src host 193.175.26.33 and ip dst host 141.76.1.9 and dst port 53
tcpdump: listening on ed0
 ...
193.175.26.33.1568 > 141.76.1.9.53: 49+ (42)
193.175.26.33.1569 > 141.76.1.9.53: 50+ (31)
193.175.26.33.1570 > 141.76.1.9.53: 51+ A? irz101. (24)
193.175.26.33.1572 > 141.76.1.9.53: 52+ (42)
193.175.26.33.1574 > 141.76.1.9.53: 53+ (31)
193.175.26.33.1576 > 141.76.1.9.53: 54+ A? irz102. (24)
193.175.26.33.1578 > 141.76.1.9.53: 55+ (42)
193.175.26.33.1580 > 141.76.1.9.53: 56+ (31)
193.175.26.33.1581 > 141.76.1.9.53: 57+ A? irz103. (24)
193.175.26.33.1582 > 141.76.1.9.53: 58+ (42)
193.175.26.33.1583 > 141.76.1.9.53: 59+ (31)
 ...

The entries for the unqualified hostnames

irz101 uk1
irz102 uk1
irz103 uk1

obviously get tries as _root_ level domains, which tremendously
increases the DNS traffic to the root name servers.

>How-To-Repeat:

Create a long .rhosts which many unqualified hostnames in it on a
FreeBSD 2.0.5R machine and try rsh-ing to it from a host located neer
the end of the .rhosts.

>Fix:
	
Not yet.  Gotta walk throu the code.
>Audit-Trail:
>Unformatted:



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