vina92 / xbt

Automatically exported from code.google.com/p/xbt
0 stars 0 forks source link

A way to provide a white/black list file without using MySQL #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I'm not sure if this is already supported, but given XBT tracker's poor 
documentation, I was not able to find it. What I would really like is to have 
is a white or blacklist provided to XBTT in the form of a text file with hashes 
in it, just like opentracker supports. I'm asking for this because I don't want 
to run a whole database server just to have such a feature available.... The 
location to such a list could be provided in the config file of the tracker and 
sending a HUP signal would tell it to reload the list so it can see new entries 
were added or removed.

Would this be possible to implement? 

Thanks

Original issue reported on code.google.com by neutri...@gmail.com on 10 Jul 2011 at 2:01

GoogleCodeExporter commented 8 years ago
It's already implemented. Set mysql_host = "-" and it'll read xbt_torrents.txt 
every once in a while.

BTW, doesn't opentracker meet your needs?

Original comment by olafvdspek on 11 Jul 2011 at 11:05

GoogleCodeExporter commented 8 years ago
Hi Olaf,

Thanks for replying. One further question I have. Is there a variable in the 
config to point to this xbt_torrents.txt file? I mean something like 
xbt_whitelist = /path/to/file/whitelist.txt

About opentracker, it does, but for same strange reason XBTT somehow uses less 
bandwidth compared to it (this after some testing I've done). No idea why that 
is and am unsure if my tests were correct or not. Still I want to try out XBTT 
:)

Original comment by neutri...@gmail.com on 11 Jul 2011 at 11:11

GoogleCodeExporter commented 8 years ago
No, the filename is hard-coded. You can edit the source.

Original comment by olafvdspek on 11 Jul 2011 at 11:13

GoogleCodeExporter commented 8 years ago
OK, thanks. That's all for now :)

Original comment by neutri...@gmail.com on 11 Jul 2011 at 11:20