Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566642 - net-p2p/transmission: add network interface binding
Summary: net-p2p/transmission: add network interface binding
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-23 16:16 UTC by gentooer
Modified: 2016-03-04 02:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
binding interface patch for transmission 2.84 (bind-to-interface-r14243-trunk.patch,68.53 KB, patch)
2015-11-23 16:16 UTC, gentooer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gentooer 2015-11-23 16:16:02 UTC
Created attachment 417670 [details, diff]
binding interface patch for transmission 2.84

Recently I searched for a possibility to have transmission listen to a certain network interface, e.g. ppp0 or eth0. This functionality, however, is not yet implemented and it is unclear whether it will be in the near future. But there is a patch floating around. I stepped up and adjusted it to apply to the most recent version of transmission (2.84):

https://forum.transmissionbt.com/viewtopic.php?t=11452
https://trac.transmissionbt.com/ticket/2313

The patch is attached.

One problem remain: if the network interface is restarted, e.g. if it is a VPN, transmission loses the binding. I cured that by having openvpn restart transmission, but there could be a sysconfig file added:

https://gist.github.com/gene1wood/a35acd65ab932f6f665f

So the ebuild basically needs a use flag which enables the flag and provide the cited sysconfig file (or not). Anyway, even if you do not like this feature, I wanted to share the patch.
Comment 1 Mike Gilbert gentoo-dev 2016-03-04 02:28:17 UTC
Sorry, I'm not adding patches which add features like this. Get it accepted upstream.