Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for transmission #7

Open
TooncesToo opened this issue Jul 3, 2023 · 3 comments
Open

Add support for transmission #7

TooncesToo opened this issue Jul 3, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request new client

Comments

@TooncesToo
Copy link

TooncesToo commented Jul 3, 2023

Would it be possible to add support for transmission to set peer-port?
Either using transmission-remote by installing transmission-cli package and passing the proper command line something like: $ transmission-remote $TRANSMISSION_HOST:$TRANSMISSION_PORT --auth=$TRANSMISSION_USERNAME:$TRANSMISSION_PASSWORD -p $WINDSCRIBE_PORT

You would need to export the Windscribe port found as an environment variable but it would make it easier to add support for other BT clients.

Or another option is through an rpc call to http://host:9091/transmission/rpc

RPC would not require a client but may be a little more to configure than using the transmission-remote client.

Some references: https://www.reddit.com/r/selfhosted/comments/rzzn3q/cronjob_for_updating_transmissions_peerport_to/
https://linux.die.net/man/1/transmission-remote

Thanks!

@dumbasPL
Copy link
Owner

dumbasPL commented Jul 3, 2023

I haven't used windscribe for a while, but now that mullvad nuked port forwarding, I might return to it.

As for adding support for other torrent clients, well, this project was initially meant to be a quick and dirty hack, but now that there is interest in it, I think it would be a good idea to re-brand it to just windscribe-ephemeral-port, add support for all kinds of torrent clients, maybe add a generic webhook, maybe an ability to run a program/bash script with the new port as an argument, and maybe even re-write it in rust ;)

some time ago @EnumC forked it and added qbittorrent support.

@dumbasPL dumbasPL self-assigned this Jul 3, 2023
@dumbasPL dumbasPL added enhancement New feature or request new client labels Jul 3, 2023
@dumbasPL
Copy link
Owner

dumbasPL commented Jul 9, 2023

Progress update.

  • implement clients
    • deluge
    • transmission
    • qbittorrent
    • windscribe
  • main update logic
  • update scheduling
  • package
    • rename the project to windscribe-ephemeral-port
    • cargo crate
    • Docker image
    • AUR
    • CI/CD
  • config format
  • readme
  • changelog
  • migration guide

changes can be tracked in the v3 branch

@dumbasPL
Copy link
Owner

Progress update 2:
I've been running the dev build of v3 for a while now in my lab and it seems to be rock solid so I'll try to get everything documented and published when I'll have some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new client
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants