From 6baac8300d9c9c8f1093d1f468443d4891cb5702 Mon Sep 17 00:00:00 2001 From: ramon Date: Thu, 11 Dec 2014 13:07:04 +0000 Subject: #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 --- repoman/bin/torrent-tracker | 6 +++--- 1 file 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" -- cgit v1.2.3-18-g5258