maidsafe-archive / MaidSafe

This is the super-project in which each MaidSafe library resides. Some information is common to all libraries, and is detailed here. Library-specific information can be found in each library's wiki.
Other
583 stars 101 forks source link

Node bootstraps off own 5483 #87

Closed muecs closed 11 years ago

muecs commented 11 years ago

When trying to connect a node (client or vault) from one of our Linux test machines to an existing running network, and an invalid peer endpoint is passed in, it tries to bootstrap off itself because its IP is in the list of hard-coded contacts. This will make the join succeed because the node itself started listening on port 5483 before attempting to join. Subsequent RPCs will of course fail.

Expected behaviour: Fail right away when trying to connect to a non-existing network, no matter if hard-coded contact or not. Perhaps port 5483 should only ever be opened once we've got at least one connection to another node.

Fraser999 commented 11 years ago

Migrated to https://github.com/maidsafe/MaidSafe-RUDP/issues/9