RE: What's changed relating to localhost then?

From: Don Bowman <don_at_sandvine.com>
Date: Sat, 22 Nov 2003 18:01:01 -0500
From: Christian Laursen [mailto:xi_at_borderworlds.dk]
> 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.

This seems to break amd:

amd[751]: Map support for: root, passwd, hesiod, union, nis, ndbm, file,
error.                
amd[751]: AMFS: nfs, link, nfsx, nfsl, host, linkx, program, union, inherit,
ufs,
amd[751]:       cdfs, pcfs, auto, direct, toplvl, error.   
amd[751]: FS: cd9660, nfs, nfs3, msdosfs, ufs, unionfs.
amd[751]: Network 1: wire="10.128.2.0" (netnumber=10.128.2).

amd[751]: Network 2: wire="192.168.3.0" (netnumber=192.168.3).

amd[751]: My ip addr is 127.0.0.1                          
amd[752]: released controlling tty using setsid()
amd[752]: file server localhost, type local, state starts up
amd[753]: /phaedrus: disabling nfs congestion window       
amd[752]: ignoring request from 10.128.2.57:1018, expected 127.0.0.1
Received on Sat Nov 22 2003 - 14:01:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:30 UTC