aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/transmission-daemon
diff options
context:
space:
mode:
authorBen Woods <woodsb02@FreeBSD.org>2018-01-20 01:20:19 +0000
committerBen Woods <woodsb02@FreeBSD.org>2018-01-20 01:20:19 +0000
commit5dd21e42a3a7072e3c746ca61d1ac3edb0708e13 (patch)
tree8234d272ed49686e536ec09026ded8cb2cd13fe7 /net-p2p/transmission-daemon
parentd09ecf81bad302fa846ad94b33fc34975b378fd0 (diff)
downloadports-5dd21e42a3a7072e3c746ca61d1ac3edb0708e13.tar.gz
ports-5dd21e42a3a7072e3c746ca61d1ac3edb0708e13.zip
net-p2p/transmission-daemon: Improve UPDATING entry and add pkg-message
This will ensure users who do not read UPDATING are still presented with the message about how to allow clients to connect to the daemon using DNS when they upgrade the package. PR: 225150 Reported by: swills Security: https://www.vuxml.org/freebsd/3e5b8bd3-0c32-452f-a60e-beab7b762351.html
Notes
Notes: svn path=/head/; revision=459492
Diffstat (limited to 'net-p2p/transmission-daemon')
-rw-r--r--net-p2p/transmission-daemon/Makefile1
-rw-r--r--net-p2p/transmission-daemon/pkg-message18
2 files changed, 19 insertions, 0 deletions
diff --git a/net-p2p/transmission-daemon/Makefile b/net-p2p/transmission-daemon/Makefile
index b05e04878e06..44f4dc78a07a 100644
--- a/net-p2p/transmission-daemon/Makefile
+++ b/net-p2p/transmission-daemon/Makefile
@@ -12,6 +12,7 @@ DESCR= ${.CURDIR}/pkg-descr
MASTERDIR= ${.CURDIR}/../transmission-cli
PLIST= ${.CURDIR}/pkg-plist
SLAVEPORT= daemon
+PKGMESSAGE= ${.CURDIR}/pkg-message
USE_RC_SUBR= transmission
USERS= transmission
diff --git a/net-p2p/transmission-daemon/pkg-message b/net-p2p/transmission-daemon/pkg-message
new file mode 100644
index 000000000000..d5deda16112f
--- /dev/null
+++ b/net-p2p/transmission-daemon/pkg-message
@@ -0,0 +1,18 @@
+------------------------------------------------------------------------
+To allow clients to connect to the transmission daemon using DNS with
+any hostname other than localhost, do one of the following:
+ - Enable password authentication, then any hostname is allowed.
+ This can be achieved by either:
+ - setting rpc-authentication-required to true, and adding
+ credentials to the rpc-username and rpc-password fields in
+ settings.json (must be done whilst the transmission service is
+ stopped); or
+ - running transmission-daemon with the following arguments
+ (these can be set with transmission_flags in /etc/rc.conf):
+ -t -u USERNAME -v PASSWORD
+ OR
+ - Add the allowed server hostnames to the rpc-host-whitelist setting
+ in settings.json (must be done whilst the transmission service is
+ stopped). Note that this value is NOT a list of allowed CLIENTS,
+ but instead a list of allowed SERVER hostnames.
+------------------------------------------------------------------------