I
I
Ivan Semenov2017-08-21 09:52:33
Squid
Ivan Semenov, 2017-08-21 09:52:33

How to configure Dansguardian to correctly filter the page by phrases?

Good day everyone!
I have a question about setting up the dansguardian content filter, or rather, about its filtering algorithm. There is a list of phrases for which it should block, and block all pages where there is at least one word, but this does not happen.
What was done:
For the experiment, I turned off all the lists and created my list in utf8 encoding and two more files in 1251 and koi8 encoding. I fill the utf8 file with phrases and then transfer these phrases to the other two with recoding with a script. Next, I restart dansguardian and try to check its work, but out of 20 pages, only one or two are blocked.
List content:

#listcategory: "Bad words (Russian)"
<Самоубийство><90>
<суицид><80>
<Суицид><80>
<Суицид причины><85>
<Суицидальное>,<поведение><65>
<Суицидальное поведение><70>
<тротил><65>
<Тротил><65>
<тринитротолуол><80>
<Тринитротолуол><80>
<взрывчатые>,<вещества><100>
<Взрывчатые>,<вещества><100>
<добровольное>,<самоуничтожение><80>
<Добровольное>,<самоуничтожение><80>

I re-read the instructions for compiling a list of phrases ten times, but it did not work, the algorithm that is described there does not work.
Instructions for filling the list: dansguardian.ucoz.ru/files/Phraseslists_0.pdf
Configuration file: www.evernote.com/l/AuuSEod6y1tBnLVhgvzpqPCczpy6LyOwjIQ
Dear gurus, help solve this problem!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question