Difference between revisions of "Tracker/en"

From Ace Stream Wiki
Jump to: navigation, search
 
Line 3: Line 3:
 
  ACE Stream Engine linux-version starting from version 2.0.8 can work in tracker mode.
 
  ACE Stream Engine linux-version starting from version 2.0.8 can work in tracker mode.
  
Для запуска трекера используется следующая команда:
+
The following command is used to start the tracker:
 
  <tt>acestreamengine --mode tracker</tt>
 
  <tt>acestreamengine --mode tracker</tt>
  
Параметры запуска трекера:
+
Parameters of  tracker's start:
* <tt>--port</tt>: порт, на котором будет работать трекер (по умолчанию 8630)
+
* <tt>--port</tt>: port, on which the tracker will work (by default 8630)
* <tt>--bind</tt>: ip-адрес интерфейса, на котором будет работать трекер (по умолчанию трекер слушает на всех доступных интерфейсах). Можно задать несколько интерфейсов, используя несколько опций <tt>--bind</tt>
+
* <tt>--bind</tt>: ip-address of interface, on which the tracker will work (by default the tracker listens on all available interfaces). It is possible to specify multiple interfaces using multiple options <tt>--bind</tt>
* <tt>--reannounce-interval</tt>: интервал в секундах между анонсами от пиров (по умолчанию 1800)
+
* <tt>--reannounce-interval</tt>: interval in seconds between announces from peers (by default 1800)
* <tt>--peer-timeout</tt>: интервал в секундах, после которого пир удаляется из списка активных, если от него не был получен анонс (по умолчанию 2700)
+
* <tt>--peer-timeout</tt>: interval in seconds, after which a peer is deleted from a list of active peers, if any announce was not received from it (by default 2700)
* <tt>--state-dir</tt>: директория для хранения временных файлов (по умолчанию /tmp)
+
* <tt>--state-dir</tt>: directory for keeping temporary files (by default /tmp)
* <tt>--pid-file-dir</tt>: директория, в которой будет создан pid-файл с названием acestreamengine-tracker-PORT.pid (по умолчанию /tmp)
+
* <tt>--pid-file-dir</tt>: directory, in which pid-file with the name acestreamengine-tracker-PORT.pid will be created (by default /tmp)
  
;Примеры
+
;Examples
  <tt>Запустить трекер на всех доступных интерейсах на порту 8877:
+
  <tt>Start the tracker on all available interfaces on the port 8877:
 
  acestreamengine --mode tracker --port 8877
 
  acestreamengine --mode tracker --port 8877
 
   
 
   
  Запустить трекер на локалхосте на порту 8877:
+
  Start the tracker on a localhost on the port 8877:
 
  acestreamengine --mode tracker --port 8877 --bind 127.0.0.1 --reannounce-interval 300 --peer-timeout 450</tt>
 
  acestreamengine --mode tracker --port 8877 --bind 127.0.0.1 --reannounce-interval 300 --peer-timeout 450</tt>
  
Трекер работает по протоколу HTTP (в будущем будет включена поддержка UDP).
+
The tracker works via HTTP protocol (UDP support will be included in future).
  
Announce URL трекера:
+
Announce URL of the tracker:
 
  <nowiki>http://tracker_host:port/announce</nowiki>
 
  <nowiki>http://tracker_host:port/announce</nowiki>
  
Некоторую статистику по работе трекера можно посмотреть по такому адресу:
+
Some statistics about tracker's work can be seen here:
 
  <nowiki>http://tracker_host:port</nowiki>
 
  <nowiki>http://tracker_host:port</nowiki>
  
Например, если трекер запустили на сервере с адресом 192.168.1.113 на порту 8630, то announce URL будет таким:
+
For example, if the tracker has been started from a server with the address 192.168.1.113 on the port 8630, then announce URL will be the following:
 
  <nowiki>http://192.168.1.113:8630/announce</nowiki>
 
  <nowiki>http://192.168.1.113:8630/announce</nowiki>

Latest revision as of 10:04, 23 September 2014

ACE Stream Engine can work in a mode of a bittorrent tracker that allows using external tracker (not integrated into the source) without any need to install and configure additional software.

ACE Stream Engine linux-version starting from version 2.0.8 can work in tracker mode.

The following command is used to start the tracker:

acestreamengine --mode tracker

Parameters of tracker's start:

  • --port: port, on which the tracker will work (by default 8630)
  • --bind: ip-address of interface, on which the tracker will work (by default the tracker listens on all available interfaces). It is possible to specify multiple interfaces using multiple options --bind
  • --reannounce-interval: interval in seconds between announces from peers (by default 1800)
  • --peer-timeout: interval in seconds, after which a peer is deleted from a list of active peers, if any announce was not received from it (by default 2700)
  • --state-dir: directory for keeping temporary files (by default /tmp)
  • --pid-file-dir: directory, in which pid-file with the name acestreamengine-tracker-PORT.pid will be created (by default /tmp)
Examples
Start the tracker on all available interfaces on the port 8877:
acestreamengine --mode tracker --port 8877

Start the tracker on a localhost on the port 8877:
acestreamengine --mode tracker --port 8877 --bind 127.0.0.1 --reannounce-interval 300 --peer-timeout 450

The tracker works via HTTP protocol (UDP support will be included in future).

Announce URL of the tracker:

http://tracker_host:port/announce

Some statistics about tracker's work can be seen here:

http://tracker_host:port

For example, if the tracker has been started from a server with the address 192.168.1.113 on the port 8630, then announce URL will be the following:

http://192.168.1.113:8630/announce