All of lore.kernel.org
 help / color / mirror / Atom feed
* Why does messenger sends the address of himself and of the connecting peer
@ 2017-10-20 15:25 Ricardo Dias
  2017-10-20 15:30 ` Jason Dillaman
  2017-10-20 15:40 ` Sage Weil
  0 siblings, 2 replies; 5+ messages in thread
From: Ricardo Dias @ 2017-10-20 15:25 UTC (permalink / raw)
  To: Ceph Development

Hi,

In the current messenger protocol, upon accepting a new connection, the
messenger sends it's address and the connecting peer address along with
the banner string. Why does the connecting peer need these addresses?
Moreover, the connecting peer uses the connecting peer address (sent
from the server) to set as it's own address.

What happens if the network is rewriting addresses  because of NAT, or
whatever other strange reasons?

I also saw that the code that encodes these addresses have a comment
saying "// legacy". Should we remove these addresses from the new V2
protocol, or do we still need them?

Thanks,
Ricardo

-- 
Ricardo Dias
Senior Software Engineer - Storage Team
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton,
HRB 21284
(AG Nürnberg)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-23 12:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-20 15:25 Why does messenger sends the address of himself and of the connecting peer Ricardo Dias
2017-10-20 15:30 ` Jason Dillaman
2017-10-20 15:40 ` Sage Weil
2017-10-23  8:47   ` Ricardo Dias
2017-10-23 12:14     ` Sage Weil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.