<meta charset="utf-8"><div>Hi Matthias,</div><div><br></div><div>We use the hostname for follow-up diagnosis after identifying application failures. In such scenarios it is useful to know which of the RabbitMQ servers behind the (transparent) load-balancer to investigate.</div>
<div><br></div>Fair point on the information leakage, but I'm not sure why you're concerned about the server hostname being exposed as it used to be exposed until recently. <meta charset="utf-8">We could also use a name/token specified in the server configuration file if you prefer not to expose DNS names. <div>
<br></div><div>Otherwise we'll have to figure a way get this information from the load-balancers.</div><div><br></div><div>Sigurd</div><div><br><div class="gmail_quote">2010/9/1 Matthias Radestock <span dir="ltr"><<a href="mailto:matthias@rabbitmq.com">matthias@rabbitmq.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Sigurd,<div class="im"><br>
<br>
On 01/09/10 11:21, Michael Bridgen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
A follow-on thought: could you add a key with the server hostname to<br>
the server_properties dict sent back from the server on<br>
connection.start? That would solve our diagnostics needs (and maybe<br>
Aaron's too) without breaking your conformance to the spec.<br>
</blockquote>
<br>
The server properties is more or less a free-form map, so yes, it's<br>
certainly possible a hostname (or more likely, a node name including the<br>
hostname) could go there.<br>
<br>
There may be concerns around leaking infrastructural information that<br>
way, but probably not strong ones.<br>
</blockquote>
<br></div>
I am reluctant to add ad-hoc properties without a sound technical rationale. And yes the information leakage *is* a concern.<br>
<br>
Can you explain what you are trying to do?<br>
<br>
connection.redirect and the known_hosts field got removed because they a) duplicate what load balancers do much better, and b) don't work in many network setups since they rely on the clients to be able to resolve servers by their internal names.<br>
<br>
<br>
Regards,<br><font color="#888888">
<br>
Matthias.<br>
</font></blockquote></div><br></div>