Fix docs about misconfigured neighbor port

This commit is contained in:
Kirill Fomichev
2020-05-01 10:34:57 +03:00
committed by Nik Bougalis
parent dbd25f0e32
commit a00543b6bc
2 changed files with 3 additions and 3 deletions

View File

@@ -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.

View File

@@ -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);