An open and free bittorrent tracker https://erdgeist.org/gitweb/opentracker
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
3.9 KiB

преди 12 години
преди 12 години
преди 12 години
преди 12 години
преди 12 години
преди 12 години
преди 12 години
преди 12 години
  1. # opentracker config file
  2. #
  3. # I) Address opentracker will listen on, using both, tcp AND udp family
  4. # (note, that port 6969 is implicite if ommitted).
  5. #
  6. # If no listen option is given (here or on the command line), opentracker
  7. # listens on 0.0.0.0:6969 tcp and udp.
  8. #
  9. # The next variable determines if udp sockets are handled in the event
  10. # loop (set it to 0, the default) or are handled in blocking reads in
  11. # dedicated worker threads. You have to set this value before the
  12. # listen.tcp_udp or listen.udp statements before it takes effect, but you
  13. # can re-set it for each listen statement. Normally you should keep it at
  14. # the top of the config file.
  15. #
  16. # listen.udp.workers 4
  17. #
  18. # listen.tcp_udp 0.0.0.0
  19. # listen.tcp_udp 192.168.0.1:80
  20. # listen.tcp_udp 10.0.0.5:6969
  21. #
  22. # To only listen on tcp or udp family ports, list them this way:
  23. #
  24. # listen.tcp 0.0.0.0
  25. # listen.udp 192.168.0.1:6969
  26. #
  27. # Note, that using 0.0.0.0 for udp sockets may yield surprising results.
  28. # An answer packet sent on that socket will not necessarily have the
  29. # source address that the requesting client may expect, but any address
  30. # on that interface.
  31. #
  32. # II) If opentracker runs in a non-open mode, point it to files containing
  33. # all torrent hashes that it will serve (shell option -w)
  34. #
  35. # access.whitelist /path/to/whitelist
  36. #
  37. # or, if opentracker was compiled to allow blacklisting (shell option -b)
  38. #
  39. # access.blacklist ./blacklist
  40. #
  41. # It is pointless and hence not possible to compile black AND white
  42. # listing, so choose one of those options at compile time. File format
  43. # is straight forward: "<hex info hash>\n<hex info hash>\n..."
  44. #
  45. # If you do not want to grant anyone access to your stats, enable the
  46. # WANT_RESTRICT_STATS option in Makefile and bless the ip addresses
  47. # allowed to fetch stats here.
  48. #
  49. # access.stats 192.168.0.23
  50. #
  51. # There is another way of hiding your stats. You can obfuscate the path
  52. # to them. Normally it is located at /stats but you can configure it to
  53. # appear anywhere on your tracker.
  54. #
  55. # access.stats_path stats
  56. # III) Live sync uses udp multicast packets to keep a cluster of opentrackers
  57. # synchronized. This option tells opentracker which port to listen for
  58. # incoming live sync packets. The ip address tells opentracker, on which
  59. # interface to join the multicast group, those packets will arrive.
  60. # (shell option -i 192.168.0.1 -s 9696), port 9696 is default.
  61. #
  62. # livesync.cluster.listen 192.168.0.1:9696
  63. #
  64. # Note that two udp sockets will be opened. One on ip address 0.0.0.0
  65. # port 9696, that will join the multicast group 224.0.42.23 for incoming
  66. # udp packets and one on ip address 192.168.0.1 port 9696 for outgoing
  67. # udp packets.
  68. #
  69. # As of now one and only one ip address must be given, if opentracker
  70. # was built with the WANT_SYNC_LIVE feature.
  71. #
  72. # IV) Sync between trackers running in a cluster is restricted to packets
  73. # coming from trusted ip addresses. While source ip verification is far
  74. # from perfect, the authors of opentracker trust in the correct
  75. # application of tunnels, filters and LAN setups (shell option -A).
  76. #
  77. # livesync.cluster.node_ip 192.168.0.4
  78. # livesync.cluster.node_ip 192.168.0.5
  79. # livesync.cluster.node_ip 192.168.0.6
  80. #
  81. # This is the admin ip address for old style (HTTP based) asynchronus
  82. # tracker syncing.
  83. #
  84. # batchsync.cluster.admin_ip 10.1.1.1
  85. #
  86. # V) Control privilege drop behaviour.
  87. # Put in the directory opentracker will chroot/chdir to. All black/white
  88. # list files must be put in that directory (shell option -d).
  89. #
  90. #
  91. # tracker.rootdir /usr/local/etc/opentracker
  92. #
  93. # Tell opentracker which user to setuid to.
  94. #
  95. # tracker.user nobody
  96. #
  97. # VI) opentracker can be told to answer to a "GET / HTTP"-request with a
  98. # redirect to another location (shell option -r).
  99. #
  100. # tracker.redirect_url https://your.tracker.local/