Transmission: Bind to an interface

Created on 19 Jul 2017  路  6Comments  路  Source: transmission/transmission

Currently transmission only allows binding to a fixed IPv4 or IPv6 address. This is problematic if the IP address we want to bind to changes dynamically based on DHCP.

This issue was first brought up on the original transmission trac some 8 years ago:

https://trac.transmissionbt.com/ticket/2313

Work was done to add a bind-interface-device parameter which toggled SO_BINDTODEVICE on kernels that supported it, and use a polling technique on systems that did not (OSX/FreeBSD).

The final patch was submitted 17 months ago and can be found here:

https://trac.transmissionbt.com/attachment/ticket/2313/bind-to-interface-r14706.patch

However I can't see any evidence that it was ever encorporated into any current branch in the git.

Most helpful comment

The track is back up, but I've uploaded the raw patch to pastebin just in case it goes down again:

https://pastebin.com/HJQbr1xD

All 6 comments

By the way, ipv4 bind is working, but ipv6 + ipv4 bind is'nt working ! Does anyone have the same problem ?

I'd like to see this integrated as well.

Could someone repost the patch please ?
https://trac.transmissionbt.com/ is down, the archive is available at https://web.archive.org/web/20170706233743/https://trac.transmissionbt.com/ticket/2313 but unfortunately the patch isn't saved by the Wayback Machine.

I made a TRAC archive by the Wayback Machine September 12, 2018 https://github.com/transmission/transmission/issues/703#issuecomment-434789322 but yes, unfortunately the patch was not saved by the Wayback Machine.

The track is back up, but I've uploaded the raw patch to pastebin just in case it goes down again:

https://pastebin.com/HJQbr1xD

Why this hasn't been implemented yet?

Was this page helpful?
0 / 5 - 0 ratings