Abstract
correct routing is a key factor to maintain the stability and efficiency of P2P network. There are many types of attacks aiming at P2P routing, which seriously threats the security of P2P network. We proposed an improved routing algorithm based on asymmetric nested encryption detection. The algorithm can periodically inspect every node in routing path, and eliminate bad nodes and instable nodes in routing path with little time, so as to raise the security capability of P2P routing in high. Simulation experiments demonstrate the improved algorithm can effectively enhance the routing security of P2P network.