You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we absorb (add to our peerstore) addresses other peers report to see us dialing from. For UDP based transports, this may be fine, as it may help with NAT traversal. However, with TCP, this is currently[1] strictly an error. There must be calls to peerstore.AddAddresses(self, <observed addr>). We should find them and destroy them. Likely places: Identify service, Swarm, Host.
[1] vanilla net.TCP* does not allow you to listen AND dial out from the same TCP port. It is on my long TODO PQ to make this possible, which would put our TCP addresses in the same camp as UDP addresses: others' reports may actually be useful. But probably should still not be added to the peerstore.
The text was updated successfully, but these errors were encountered:
Currently, we absorb (add to our peerstore) addresses other peers report to see us dialing from. For UDP based transports, this may be fine, as it may help with NAT traversal. However, with TCP, this is currently[1] strictly an error. There must be calls to
peerstore.AddAddresses(self, <observed addr>)
. We should find them and destroy them. Likely places:Identify
service,Swarm
,Host
.[1] vanilla
net.TCP*
does not allow you to listen AND dial out from the same TCP port. It is on my long TODO PQ to make this possible, which would put our TCP addresses in the same camp as UDP addresses: others' reports may actually be useful. But probably should still not be added to the peerstore.The text was updated successfully, but these errors were encountered: