Uncooperative behaviors of peers are great threats to current unstructured peer-to-peer (P2P) systems. To solve this problem, we present a trust-based topology management protocol (TTMP), which aims to promote the fairness and service quality of P2P system by integrating a trust model into its topology management. To achieve this goal, TTMP divides a single connection between every pair of neighboring peers in current networks into two links: an In-Link and an Out-Link. A peer can only get services by its In-Links and provide services through its Out-Links. And TTMP manages these two types of ...