diff options
author | ramon <ramongomez@us.es> | 2014-12-11 13:07:04 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2014-12-11 13:07:04 +0000 |
commit | 6baac8300d9c9c8f1093d1f468443d4891cb5702 (patch) | |
tree | d205396978054298b2a28a3f8d4ba62f0bae76ff /repoman/bin/torrent-tracker | |
parent | 0a73548885756656cb51f1a501bbdf68a915677e (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-x | repoman/bin/torrent-tracker | 6 |
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" |