Skip to content

Validate outbound peer handshakes against BEP 3 #198

Description

@artrixdotdev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions