« Previous | Next » 

Revision d85fb227

IDd85fb22738f97061d0ef0388bcc3ac0338034b7b
Parent ef7fb5ca
Child a3b74b71

Added by Stefano Traverso about 9 years ago

Added basic structures and code to put peers blacklist.

Idea is:
1) when peerA has to remove peerB from its neighborood, it can
put peerB in its local black list if peerB has not been a "good" neighbor.

2) If peerB got blacklisted from peerA, peerA will not insert peerB in its neighborood
until a timeout expires.

3) Blacklist is periodically iterated to look for entries (peers) whose timeout
has expired.

4) Perceived "goodness" of peerB for peerA can be defined in topology.c. Notice
that this measure should be experience-based (better not blacklist peers
simply looking at their external characteristics [RTT, bandwidth, etc.]).

Signed-off-by: Stefano Traverso <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences