From a00543b6bc6255daf2c406f91c2a37d6de2cfbca Mon Sep 17 00:00:00 2001 From: Kirill Fomichev Date: Fri, 1 May 2020 10:34:57 +0300 Subject: [PATCH] Fix docs about misconfigured neighbor port --- src/ripple/peerfinder/README.md | 4 ++-- src/ripple/peerfinder/impl/Logic.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ripple/peerfinder/README.md b/src/ripple/peerfinder/README.md index c289ac34f..ab1ac4491 100644 --- a/src/ripple/peerfinder/README.md +++ b/src/ripple/peerfinder/README.md @@ -138,8 +138,8 @@ When a peer receives an Endpoint message that originates from a neighbor connection test on that neighbor by initiating an outgoing connection to the remote IP address as seen on the connection combined with the port advertised in the Endpoint message. If the test fails, then the peer considers its neighbor -firewalled (intentionally or due to misconfiguration) and no longer forwards -Endpoint messages for that peer. This prevents poor quality unconnectible +firewalled (intentionally or due to misconfiguration) and not forward neighbor +endpoint in Endpoint messages. This prevents poor quality unconnectible addresses from landing in the caches. If the incoming connection test passes, then the peer fills in the Endpoint message with the remote address as seen on the connection before storing it in its cache and forwarding it to other peers. diff --git a/src/ripple/peerfinder/impl/Logic.h b/src/ripple/peerfinder/impl/Logic.h index 103d00625..f3c91cec4 100644 --- a/src/ripple/peerfinder/impl/Logic.h +++ b/src/ripple/peerfinder/impl/Logic.h @@ -829,7 +829,7 @@ public: } // We only add to the livecache if the neighbor passed the - // listening test, else we silently drop their messsage + // listening test, else we silently drop neighbor endpoint // since their listening port is misconfigured. // livecache_.insert(ep);