added three P2P attack algorithms