![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
github.com/noah-huppert/qbittorrent-port-plugin
Automatically sets qBittorrent's torrent port based on a status file.
If you have a setup which runs your VPN and puts the port that is forwarded in a file then this tool will configure qBittorrent to use this port for torrenting.
The noahhuppert/qbittorrent-port-updater
Docker image is provided for each release. Environment variables are used for configuration, see the Configuration section.
Run the container so that it has access to a directory with a file containing the port which is forwarded. This file will be checked periodically by the program.
See examples/
for common container deployment tool examples.
Configuration values are supplied via environment variables:
QBITTORRENT_PORT_UPDATER_PORT_FILE
(String, Required): Path to file which contains only the VPNs forwarded portQBITTORRENT_PORT_UPDATER_REFRESH_INTERVAL_SECONDS
(String, Default: 60
): The number of seconds between refreshes of reading the port file and setting qBittorrent torrent portQBITTORRENT_PORT_UPDATER_QBITTORRENT_API_NETLOC
(String, Required): Network location of qBittorrent serverQBITTORRENT_PORT_UPDATER_QBITTORRENT_USERNAME
(String, Default: admin
): The username used to authenticate with the qBittorrent APIQBITTORRENT_PORT_UPDATER_QBITTORRENT_PASSWORD
(String, Required): The password used to authenticate with the qBittorrent APIQBITTORRENT_PORT_UPDATER_ALLOW_PORT_FILE_NOT_EXIST
(Boolean, Default: true
): If true
then the program will allow the port file to not exist, this is useful if your VPN takes a moment to create the file. Set to false
to raise an error if the port file does not existQBITTORRENT_PORT_UPDATER_VERBOSE
(Boolean, Default: false
): If true
debug information, with potentially sensitive values, will be printed to the consoleWritten in Go. Calls the qBittorrent API.
To develop:
go mod download
dev-example.env
named dev.env
, fill in your own valuesgo run .
To make a new release:
v<major>.<minor>.<patch>
docker build -t noahhuppert/qbittorrent-port-updater:<VERSION> .
docker push noahhuppert/qbittorrent-port-updater:<VERSION>
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.