Package: opentracker
Version: 0.0~git20210823.110868e-2+b1
Severity: normal
X-Debbugs-Cc: a...@debian.org

Dear Agathe,

from the /usr/share/doc/opentracker/README.Debian, I thougth that it is possible
to switch from white- to blacklist or use no list at all (public tracker):  

| By default, the tracker is run in "private" mode using a whitelist access.
| You need to explicitly list all of the torrent hashes that you want to 
announce
| into the /etc/opentracker/whitelist.txt file.
|
| If you want to switch to "public" mode, allowing to announce any torrent hash,
| you can comment the "access.whitelist" option in
| /etc/opentracker/opentracker.conf.

However, especially the last paragraph seems to be wrong, running without 
"access.whitelist" does not allow any trackers (like an empty whitelist).  

>From upstream's documentation [1]:

| Some variables in opentracker's Makefile control features and behaviour of 
opentracker. Here they are:
| [...]
| You can change that behaviour by enabling ONE of -DWANT_ACCESSLIST_BLACK or 
-DWANT_ACCESSLIST_WHITE.
                                           ^^^^^
So, it looks like the use cases whitelist tracker, blacklist tracker and open 
tacker
are defined by compile time options and can't be modified later when invoking 
the 
program.  Comments in the config file state:

#      It is pointless and hence not possible to compile black AND white
#      listing, so choose one of those options at compile time.
                                               ^^^^^^^^^^^^^^^
Several tests and package rebuilds with different compile flags in 
debian/rules have confirmed this. 

Hm. It would of course be great to be able to modify the mode with options / 
config file. 

Best regards,

  Andi


[1] http://erdgeist.org/arts/software/opentracker/

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages opentracker depends on:
ii  libc6      2.36-8
ii  libowfat0  0.32-4
ii  zlib1g     1:1.2.13.dfsg-1

opentracker recommends no packages.

opentracker suggests no packages.

-- Configuration Files:
/etc/opentracker/whitelist.txt changed:
a2a3a73e80da24ab2a4ac2a0624bdefb9b1fa20a


-- no debconf information

Reply via email to