summaryrefslogtreecommitdiffstats
path: root/repoman/bin/torrent-tracker
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2014-12-11 13:07:04 +0000
committerramon <ramongomez@us.es>2014-12-11 13:07:04 +0000
commit6baac8300d9c9c8f1093d1f468443d4891cb5702 (patch)
treed205396978054298b2a28a3f8d4ba62f0bae76ff /repoman/bin/torrent-tracker
parent0a73548885756656cb51f1a501bbdf68a915677e (diff)
#536: Mejorar la seguridad modificando {{{torrent-tracker}}} para evitar la descarga no autorizadas de torrents ({{{BTALLOW_GET=0}}}).
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4458 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'repoman/bin/torrent-tracker')
-rwxr-xr-xrepoman/bin/torrent-tracker6
1 files changed, 3 insertions, 3 deletions
diff --git a/repoman/bin/torrent-tracker b/repoman/bin/torrent-tracker
index f355b81a..7a0ac7ae 100755
--- a/repoman/bin/torrent-tracker
+++ b/repoman/bin/torrent-tracker
@@ -6,9 +6,9 @@ BTTRACKDFILE=/tmp/dstate
BTTRACKLOG=/opt/opengnsys/log/bttrack.log
BTINTERVAL=10
BTTORRENTSDIR=/opt/opengnsys/images
-BTALLOW_GET=1
-#BTTRACK_OPTIONS=" --port $BTTRACKPORT --dfile $BTTRACKDFILE --reannounce_interval $BTINTERVAL --logfile $BTTRACKLOG --allowed_dir $BTTORRENTSDIR --allow_get $BTALLOW_GET --parse_allowed_interval 1"
-# nuevos parametros basados en EAC 05-04-2009 antonio doblas viso.
+# Desactivar descarga de torrents desde clientes no autorizados.
+BTALLOW_GET=0
+# parametros basados en EAC 05-04-2009 antonio doblas viso.
BTTRACK_OPTIONS=" --save_dfile_interval $BTINTERVAL --timeout_downloaders_interval $BTINTERVAL --port $BTTRACKPORT --dfile $BTTRACKDFILE --reannounce_interval $BTINTERVAL --logfile $BTTRACKLOG --allowed_dir $BTTORRENTSDIR --allow_get $BTALLOW_GET "
BTTRACKPID="/var/run/bttrack.pid"
BTSEEDERPID="/var/run/btseeder.pid"