aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorwoodsb02 <woodsb02@FreeBSD.org>2018-01-20 09:20:19 +0800
committerwoodsb02 <woodsb02@FreeBSD.org>2018-01-20 09:20:19 +0800
commit3b0fc14b5b46b66e113de92e35e9395bb614c3bb (patch)
tree8234d272ed49686e536ec09026ded8cb2cd13fe7 /net-p2p
parentddbdc30eff2b2140c608da20d50a98281554a680 (diff)
downloadfreebsd-ports-gnome-3b0fc14b5b46b66e113de92e35e9395bb614c3bb.tar.gz
freebsd-ports-gnome-3b0fc14b5b46b66e113de92e35e9395bb614c3bb.tar.zst
freebsd-ports-gnome-3b0fc14b5b46b66e113de92e35e9395bb614c3bb.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
Diffstat (limited to 'net-p2p')
-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.
+------------------------------------------------------------------------