Skip to Main Content
In unstructured peer-to-peer (P2P) networks, there exist numerous malicious nodes, whose false behaviors decrease the efficiency and reliability of the search. This paper is devoted to decrease the negative effects of those nodes in resource searching process by regarding P2P networks as social-like networks. Forwarding trust, routing trust and transaction trust are proposed to assess the quality of a friend node and are evaluated according to its previous behaviors in its transactions history with other nodes. When a peer node selects friends to forward the query message, the friends with high trust and correlation will be given priority. The simulation results show that our algorithm effectively screens out the malicious nodes. Meanwhile, the cooperation of the honest peers is reinforced and the query efficiency for honest peers is improved remarkably as well.