Skip to content

Consider refusing to store nodes/peers with local IP addresses #91

Open
@feross

Description

@feross

If the DHT returns nodes or peers with local IP addresses, should we store them? That means that a remote attacker can make the DHT or bittorrent peer connect to local services. Is this unsafe?

Local IP ranges:
192.168.0.0 - 192.168.255.255 (65,536 IP addresses)
172.16.0.0 - 172.31.255.255 (1,048,576 IP addresses)
10.0.0.0 - 10.255.255.255 (16,777,216 IP addresses)

Localhost:
127.0.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions