From owner-freebsd-bugs Tue Aug 22 14:00:09 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id OAA17181 for bugs-outgoing; Tue, 22 Aug 1995 14:00:09 -0700 Received: (from gnats@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id OAA17171 ; Tue, 22 Aug 1995 14:00:05 -0700 Resent-Date: Tue, 22 Aug 1995 14:00:05 -0700 Resent-Message-Id: <199508222100.OAA17171@freefall.FreeBSD.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, kieber@sax.sax.de Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id NAA16943 for ; Tue, 22 Aug 1995 13:53:20 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA24745; Tue, 22 Aug 1995 22:53:17 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) id WAA09966; Tue, 22 Aug 1995 22:53:16 +0200 Message-Id: <199508222053.WAA09966@sax.sax.de> Date: Tue, 22 Aug 1995 22:53:16 +0200 From: kieber@sax.sax.de Reply-To: kieber@sax.sax.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/706: .rhosts weirdness Sender: bugs-owner@freebsd.org Precedence: bulk >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: