Skip to content

BT DHT does not respect the client_bind_address setting #129

@Shot2

Description

@Shot2

MLDonkey built from 3.2.1 release source, enabling (among others) the BT protocol. Running under Debian 12.

The setting "client_bind_addr" (used for P2P client connections) is set by myself as 10.46.46.5. Things work as expected, but for one thing.

Short excerpt from 'netstat -puant' for mlnet:

udp        0      0 10.46.46.5:14663        0.0.0.0:*                           75004/mlnet
udp        0      0 10.46.46.5:14664        0.0.0.0:*                           75004/mlnet
udp        0      0 0.0.0.0:14665           0.0.0.0:*                           75004/mlnet
udp        0      0 10.46.46.5:14666        0.0.0.0:*                           75004/mlnet

As can be seen, the various P2P services in use respect the setting and properly bind to 10.46.46.5 ... except for the BT DHT service (configured by myself to use UDP port 14665), which here incorrectly binds to 0.0.0.0.

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