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.
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:
Why this hasn't been implemented yet?
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