Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rtorrent-docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
rtorrent-docker
Commits
fc665122
Verified
Commit
fc665122
authored
2 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
feat: improve rtorrent options
parent
4b75e358
No related branches found
No related tags found
No related merge requests found
Pipeline
#2897
passed
2 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
daemon/Dockerfile
+3
-0
3 additions, 0 deletions
daemon/Dockerfile
daemon/src/rtorrent.rc
+3
-3
3 additions, 3 deletions
daemon/src/rtorrent.rc
with
6 additions
and
3 deletions
daemon/Dockerfile
+
3
−
0
View file @
fc665122
...
...
@@ -62,6 +62,9 @@ COPY src/rtorrent.rc /rtorrent.rc
COPY
entrypoint.sh /entrypoint.sh
ENV
RT_TRACKER_UDP="yes"
ENV
RT_MIN_PORT=50000
ENV
RT_MAX_PORT=50000
ENV
RT_PROTO_DHT="disable"
ENV
RT_PROTO_PEX="no"
ENV
RT_MAX_UP=100
ENV
RT_MAX_UP_GLOBAL=250
...
...
This diff is collapsed.
Click to expand it.
daemon/src/rtorrent.rc
+
3
−
3
View file @
fc665122
...
...
@@ -8,14 +8,14 @@ method.insert = cfg.session, private|const|string, /session/
method.insert = cfg.logfile, private|const|string, (cat,(cfg.tmp),"rtorrent.log")
# Listening port for incoming peer traffic
network.port_range.set =
50000-50000
network.port_range.set =
(system.env,RT_MIN_PORT)-(system.env,RT_MAX_PORT)
network.port_random.set = no
# Distributed Hash Table and Peer EXchange
# Enable tracker-less torrents but vulnerable to passive sniffing
# DHT and PEX are always disabled for private torrents
dht.mode.set =
disable
protocol.pex.set =
no
dht.mode.set =
(system.env,RT_PROTO_DHT)
protocol.pex.set =
(system.env,RT_PROTO_PEX)
trackers.use_udp.set = (system.env,RT_TRACKER_UDP)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment