On Mon, Jan 21, 2002 at 02:32:44AM +0100, Are wrote: > Why does Fred waste time trying to connect to obvious bad adresses? > > eg: > # unique contacts: 81, live connections: 10 > # format: <contact attempts> <successful> <live connections> <address> > # > 467 0 0 void/(void) > 370 0 0 tcp/192.168.123.119 > > > void/(void) is the most tried outbound contact ;) > > Why isnt these pruned from the node tables at an earlier stage??
It certainly isn't trying to dns resolve a void/(void) address - they always fail automatically and have nothing to do with tcp. Making the VoidAddress.connect() method always fail is a lot cleaner than adding arbitrary checks "at an earlier stage" - we want an attempted connection to a void/ address to behave exactly like a failed connection to any other address anyways (in, for example, that it tries to fall back on any already open connections to that peer). It is a little weird that you are seeing so many of them, since to my knowledge only the FNP client uses them - who is using the FNP client? -- Oskar Sandberg oskar at freenetproject.org _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
