*BSD News Article 51384


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!tank.news.pipex.net!pipex!warwick!usenet.eel.ufl.edu!usenet.cis.ufl.edu!jfh
From: jfh@cis.ufl.edu (James F. Hranicky)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Bug in the resolve libraris
Date: 22 Sep 1995 17:01:48 GMT
Organization: University of Florida, Computer Science Department
Lines: 101
Distribution: world
Message-ID: <43uq5s$mc8@sand.cis.ufl.edu>
NNTP-Posting-Host: aviator.cis.ufl.edu
Originator: jfh@aviator.cis.ufl.edu


Howdy folks, 

I think I've run into a bug in the FreeBSD resolve libraries.
All error messages are from /var/log/messages.

(We use "bounce-xxx" as a temp hostname here at UF).


  Here's the bsd uname info:

	[jfh@bounce-bsd:/] 22 % uname -a
	FreeBSD bounce-bsd.cis.ufl.edu 2.0.5-RELEASE FreeBSD 2.0.5-RELEASE #0: 
	Fri Sep  8 16:17:01  1995     
	root@bounce-bsd.cis.ufl.edu:/usr/src/sys/compile/KERNEL.EDO.IRQ  i386

On to the problem:

-------------------------------------

  On freefall.cis:		(you get r.arpa)

	[jfh@freefall:~] 93 % rsh bounce-bsd ls
	Permission denied.
	[jfh@freefall:~] 94 % grep freefall /etc/hosts
	128.227.224.32  freefall        freefall.cis.ufl.edu
	
  On the bsd machine, syslog reports:
	
	Sep 22 12:07:31 bounce-bsd rshd[3282]: jfh@r.arpa as jfh: 
					       ^^^^^^^^^^
	permission denied. cmd='ls'

---------------------------------------

  On redbug.cis:		(you get ddr.arpa)

	[jfh@redbug:~] 5 % rsh bounce-bsd ls
	Permission denied.
	[jfh@redbug:~] 6 % grep redbug /etc/hosts
	128.227.224.18  redbug.cis.ufl.edu      loghost

  On the bsd machine:

	Sep 22 12:28:15 bounce-bsd rshd[3308]: jfh@ddr.arpa as jfh: 
					       ^^^^^^^^^^^^
	permission denied. cmd='ls'

---------------------------------------

  On tick.cis:			(you get -addr.arpa)

	[jfh@tick:~] 3 % rsh bounce-bsd ls
	Permission denied.
	[jfh@tick:~] 4 % grep tick /etc/hosts
	128.227.224.30  tick.cis.ufl.edu        tick    loghost

  On the bsd machine:

	Sep 22 12:31:40 bounce-bsd rshd[3314]: jfh@-addr.arpa as jfh:
					       ^^^^^^^^^^^^^^
	 permission denied. cmd='ls'

---------------------------------------

Here are the reverse pointers:

freefall:	32.224.227.128.in-addr.arpa
redbug:		18.224.227.128.in-addr.arpa
tick:		30.224.227.128.in-addr.arpa


But, for some reason, if you line up the hostnames two spaces ahead
of 'in-addr.arpa,' you get the above pattern:

freefall		(r.arpa)
  in-addr.arpa
	^^^^^^
redbug			(ddr.arpa)
  in-addr.arpa
      ^^^^^^^^
tick			(-addr.arpa)
  in-addr.arpa
    ^^^^^^^^^^

Anyone else seen or know about this bizarre bug??

This machine is running as an nis-client to SunOS 4.1.3 NIS, and is
one of our hosts.equiv.

-------------------------------------------------------------------------------
|                       Jim Hranicky, Systems Administrator                   |
|  Computer & Information Sciences & Engineering Department, Univ of Florida  |
| E314E CSE Building             jfh@cis.ufl.edu         Phone (904) 392-1057 |
|                          http://www.cis.ufl.edu/~jfh                        |
-------------------------------------------------------------------------------

P.S. Apparently, it's just keying on the host name, not the domain, as I 
tried this from "gibson.ucet.ufl.edu" (hostname as long as "redbug"), and
also got "ddr.arpa."