What's changed relating to localhost then?

Christian Laursen xi at borderworlds.dk
Sat Nov 22 10:43:34 PST 2003


Steve Ames <steve at energistic.com> writes:

> If you telnet to 127.0.0.1 the system still believes you are
> coming from your public IP. Bizarre that. Other IPs don't act
> that way. My system has two public IPs and 127.0.0.1. If I
> telnet to myself on either of the public IPs then I appear
> from the correct IP. However 127.0.0.1 no longer seems to 
> work that way and that does break a number of things that
> expect to be connected to by 127.0.0.1

I can confirm this behaviour. It is possible to force the local
address to 127.0.0.1 though.

[xi at borg ~]$ telnet 127.0.0.1 25                                        [19:39]
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 borg.borderworlds.dk ESMTP Postfix

Nov 22 19:39:44 borg postfix/smtpd[2683]: connect from borg.borderworlds.dk[10.1.0.2]

[xi at borg ~]$ telnet -s 127.0.0.1 127.0.0.1 25                           [19:40]
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 borg.borderworlds.dk ESMTP Postfix

Nov 22 19:40:06 borg postfix/smtpd[2683]: connect from localhost[127.0.0.1]

Fortunately this behaviour didn't break anything here, but it does seem
broken nonetheless.

I updated my machine earlier today and got 5.2-BETA:

FreeBSD borg.borderworlds.dk 5.2-BETA FreeBSD 5.2-BETA #3: Sat Nov 22 13:25:47 CET 2003     root at borg.borderworlds.dk:/usr/obj/usr/src/sys/BORG  i386

-- 
Best regards
    Christian Laursen


More information about the freebsd-current mailing list