Giter VIP home page Giter VIP logo

Comments (11)

phendryx avatar phendryx commented on August 16, 2024 1

@sparklyballs found a different way to update the block list, http://blog.shvetsov.com/2010/09/automatically-update-transmission-block.html. So we borrowed the idea. The update script now downloads the url that is stored in the settings.json file, decompresses it, puts it in the right directory and restarts the transmission daemon. No need for authentication or passing cleartext passwords.

from docker-transmission.

sparklyballs avatar sparklyballs commented on August 16, 2024

Blocklists can be enabled via the webui by clicking the spanner/wrench and navigating to :-

screen shot 2016-10-16 at 13 14 43

There is also an update button there.

from docker-transmission.

snowwing avatar snowwing commented on August 16, 2024

Yes, but that's the problem. It's a manual update. So you have to remember to update it regularly. If you set up the cron job then you don't have to worry about it.

But maybe this should be running in a separate docker container?

from docker-transmission.

sparklyballs avatar sparklyballs commented on August 16, 2024

the issue with a cron job is user/password for people who have secured their webui as per instructions in our readme.

from docker-transmission.

snowwing avatar snowwing commented on August 16, 2024

Could that be passed in as a parameter -e UIADMIN= -e UIPASS= ?

from docker-transmission.

phendryx avatar phendryx commented on August 16, 2024

I have a feature branch that is mostly complete for this. The update script is smart enough to look at the settings.json file, for the blocklist-enabled variable to be set to true and optionally uses authentication if rpc-authentication-required is set to true, using 2 environment variables set in the docker configuration. It will be run once a day.

PR should be submitted tomorrow sometime.

from docker-transmission.

sparklyballs avatar sparklyballs commented on August 16, 2024

i really dislike passing in usernames and passwords through environment variables and try to avoid it all costs.
All it takes is docker inspect <container-name> and it will show the credentials in plain text.

from docker-transmission.

phendryx avatar phendryx commented on August 16, 2024

Only other options I see is maybe a file in the /config directory that would contain the username and password. Would that be better?

from docker-transmission.

snowwing avatar snowwing commented on August 16, 2024

Genuine question as I am not sure of the security implications, but if someone can run docker inspect on the host don't you have bigger problems then them discovering the password?

from docker-transmission.

sparklyballs avatar sparklyballs commented on August 16, 2024

from the outside world yes, but not all threats are external.

from docker-transmission.

snowwing avatar snowwing commented on August 16, 2024

Thank you @sparklyballs and @phendryx

from docker-transmission.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.