Bugtraq mailing list archives

Re: Internet Worm


From: seeger () cis ufl edu (F. L. Charles Seeger III)
Date: Tue, 18 Oct 1994 21:09:46 -0400


+------ jim () Tadpole COM wrote (Tue, 18-Oct-94, 13:57 -0500):
|
| Sun (at least in SunOS 4) didn't do any "mucking about" with
| libresolv and YP in libc.

Wrongo!.  Sun changed the semantics of the gethostbyaddr() resolver
function and changed several programs, including rlogin, to depend
on the changed semantics for security.

The change has gethostbyaddr() checking its result with a call to
gethostbyname(), i.e. checking that the DNS has both a PTR record
and a matching A record for that IP address and associated host name.
The intent is to prevent spoofing.  IMHO, this ought to be done
either in the application program or in a separate library call.

Regards,
Chuck



Current thread: