Outbound peer connections currently accept the returned handshake without checking the info hash/protocol via the existing validation path. Update the outbound connection flow to reject/sever peers whose handshake does not match the expected torrent info hash or BitTorrent protocol string, as required by BEP 3.
Outbound peer connections currently accept the returned handshake without checking the info hash/protocol via the existing validation path. Update the outbound connection flow to reject/sever peers whose handshake does not match the expected torrent info hash or BitTorrent protocol string, as required by BEP 3.