Re: [Zope-dev] [Checkins] SVN: Zope/branches/2.12/ - LP #143533: Instead of showing "0.0.0.0" as server name when no
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? Wichert.
-----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-----
On 7/14/10 16:43 , Jens Vagelpohl wrote:
-----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.
I don't mind doing this for a SERVER_NAME in the response, but looking at the diff from the commit email you also changed the startup message from Zope 2 with this change. That is the bit I find problematic: I want to be able to immediately see if the Zope instance is bound to a specific IP address or ANY/0.0.0.0. Wichert.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Wichert Akkerman wrote:
I don't mind doing this for a SERVER_NAME in the response, but looking at the diff from the commit email you also changed the startup message from Zope 2 with this change. That is the bit I find problematic: I want to be able to immediately see if the Zope instance is bound to a specific IP address or ANY/0.0.0.0.
+1 Andreas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkw90PQACgkQCJIWIbr9KYz67ACglrN0trl3IjP94Bir9nL2dSWm 3ToAnRzXftOgHCNMGIE4U4uQqMTD3G/m =c5UK -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 7/14/10 17:00 , Andreas Jung wrote:
Wichert Akkerman wrote:
I don't mind doing this for a SERVER_NAME in the response, but looking at the diff from the commit email you also changed the startup message from Zope 2 with this change. That is the bit I find problematic: I want to be able to immediately see if the Zope instance is bound to a specific IP address or ANY/0.0.0.0.
+1
http://svn.zope.org/?rev=114752&view=rev http://svn.zope.org/?rev=114753&view=rev jens -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkw91GoACgkQRAx5nvEhZLIfiACfU5qSaehfJwWAGxRcMoIgxOgT RcMAnArhiGoZyxoIpnYJblyIOs00Zd8G =Z2S5 -----END PGP SIGNATURE-----
On 7/14/10 17:14 , Jens Vagelpohl wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 7/14/10 17:00 , Andreas Jung wrote:
Wichert Akkerman wrote:
I don't mind doing this for a SERVER_NAME in the response, but looking at the diff from the commit email you also changed the startup message from Zope 2 with this change. That is the bit I find problematic: I want to be able to immediately see if the Zope instance is bound to a specific IP address or ANY/0.0.0.0.
+1
Thanks! Wichert.
participants (3)
-
Andreas Jung -
Jens Vagelpohl -
Wichert Akkerman