[Zope-dev] [Checkins] SVN: Zope/branches/2.12/ - LP #143533: Instead of showing "0.0.0.0" as server name when no

Jens Vagelpohl jens at dataflake.org
Wed Jul 14 10:43:35 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 7/14/10 16:28 , Wichert Akkerman wrote:
> On 7/14/10 16:19 , Jens Vagelpohl wrote:
>> Log message for revision 114741:
>>    - LP #143533: Instead of showing "0.0.0.0" as server name when no
>>      specific listening IP is configured for the HTTP server, do a
>>      socket lookup to show the current server's fully qualified name.
> 
> Can I object to this change? I would much rather always see the IP
> address than just the hostname since that is a lot more information.  If
> we change this can we please make it show both IP and hostname?

Hi Wichert,

The IP makes no sense, because 0.0.0.0 is strictly speaking correct as
the IP value, since the process is listening on all interfaces. At that
point we have no progress at all. 0.0.0.0 doesn't tell the viewer
anything about what server it came from, either.

If you were to somehow determine a physical IP then you may confuse the
admin who wanted the process to listen on all interfaces, but then gets
told only about one. As a compromise I used the FQDN instead of an IP.

Putting both a name and an IP into that field violates the RFC[1].

jens

[1] https://bugs.launchpad.net/zope2/+bug/143533/comments/1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkw9zRcACgkQRAx5nvEhZLLYuACgkh+O8jI2WX11NN8ZkDnhYVMi
he8An3mpxVL4ENVb/s6uMX75JB5/zY9B
=7AdY
-----END PGP SIGNATURE-----


More information about the Zope-Dev mailing list