Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2002 23:00:26 -0600 (MDT)
From:      Scott Carmichael <freebsd@jobeus.net>
To:        freebsd-net@freebsd.org, <freebsd-hackers@freebsd.org>
Subject:   IP resolving
Message-ID:  <20021013225806.M95476-100000@samwise.jobeus.net>

next in thread | raw e-mail | index | archive | help
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.

Thanks,
Scott

---------- Forwarded message ----------
Date: Fri, 11 Oct 2002 14:14:08 -0600 (MDT)
From: Scott Carmichael <freebsd@jobeus.net>
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, I get a console message about the mismatch, and
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.

This is annoying for a few reasons... A. I don't know where people are
connecting from, B. When I get a console message for every time a user
connects to pop3 to check their email and they check it every 5 minutes,
24 hours a day, I miss good important messages, and C. It used to resolve
to IPs instead of hostnames when this occurred when I ran OpenBSD last
year.

An example of what I mean about the 'unresolving IPs' is the following:

At school, the Computer Science department runs a DNS server with two
views, inside and outside. If you're off-campus, you can't resolve, say
"zone34wb.cpsc.ucalgary.ca", but if you're on campus, this will resolve
properly.

When I connect to my computer at home from this computer, 'w' will instead
report:

 2:11PM  up 1 day,  2:28, 1 user, load averages: 1.15, 1.06, 1.01
USER             TTY      FROM              LOGIN@  IDLE WHAT
jobe             p0       samwise           1:53PM     - w

Where 'samwise' is the name of my computer.

Temporarily, this is solvable by editing my /etc/hosts file to include all
the Computers I know in the Computer Science department, but alas, it
happens with other users as well that are on various ISPs around the
country.

Can I fix this? At least so that 'who' or 'w' will report the IP addresses
instead of just giving up? And can I get rid of the console messages?

Thanks a ton,

Scott Carmichael
http://jobeus.net/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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