From owner-freebsd-hackers Fri Oct 18 11: 5:24 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4869637B401 for ; Fri, 18 Oct 2002 11:05:22 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id A220243E9C for ; Fri, 18 Oct 2002 11:05:21 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org ([12.234.91.48]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021018180520.IMMJ26432.sccrmhc02.attbi.com@blossom.cjclark.org>; Fri, 18 Oct 2002 18:05:20 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.3/8.12.3) with ESMTP id g9II5KWn045773; Fri, 18 Oct 2002 11:05:20 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.3/8.12.3/Submit) id g9II5J2Z045772; Fri, 18 Oct 2002 11:05:19 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Fri, 18 Oct 2002 11:05:19 -0700 From: "Crist J. Clark" To: Scott Carmichael Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: IP resolving Message-ID: <20021018180519.GB45449@blossom.cjclark.org> Reply-To: "Crist J. Clark" References: <20021013225806.M95476-100000@samwise.jobeus.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021013225806.M95476-100000@samwise.jobeus.net> User-Agent: Mutt/1.4i X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Oct 13, 2002 at 11:00:26PM -0600, Scott Carmichael wrote: > Can someone help me here? Is there a code change I can make somewhere? > > Please CC me on any replies, as I am not subscribed to -net or -hackers. -net removed. -hackers left (although this might be more of a -questions thread). > ---------- Forwarded message ---------- > Date: Fri, 11 Oct 2002 14:14:08 -0600 (MDT) > From: Scott Carmichael > To: freebsd-questions@FreeBSD.ORG > Subject: IP resolving > > I would like to know two things... Why FreeBSD acts in the following way > while OpenBSD does not, and if it's possible to fix this? > > It seems that if anyone connects to my FreeBSD server wish a hostname that > does not match their IP, "Hostname does not match their IP?" What exactly does that mean? All the OS knows is the remote IP address. It doesn't know what hostname the remote claims to have. The application server might receive a hostname though, but then I would expect the behavior to vary according to the application used to connect. > I get a console message about the mismatch, and Something is generating a message to syslogd(8). Figure out what it is and edit syslog.conf(5) appropriately. Are you using TCP wrappers or something? > then if they connect via rlogin or ssh, 'who', 'w', 'last', etc. all > report that they are connected _from_ MY box, which they aren't. Strange. What does 'netstat -a' or 'sockstat' report? 'w' works fine for me. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message