Reliable sources

From MLDonkey
Jump to: navigation, search

reliable_sources feature can (somewhat) help you download files from a mix of good sources and bad sources (sending corrupted data).

The problem is since you can only validate a chunk as a whole, if you received data from several sources you can't tell who sent broken data.

Each source gets a score (reliable, neutral or suspicious of level x):

You can check sources (currently IP addresses) scores with dump_reliability.

That algorithm should work, discriminating bad sources through dichotomy principe, but it may not be fast enough when they're lots of corrupting sources, as many users only keep their IP for 24h or less.

Feel free to suggest improvements.

Personal tools