You can use the Content Filter to ban sites that contain words of your choice.
You can use the existing content filter phrase filters or create your own.
Here is how to create your own.
Create a folder called
MyFilterCreate a text file called
weighted using the following format and place it inside the
MyFilter folder you created.
#My List
<badword><160>
<anotherbadword><160>
<yetanotherbadword><160>
Replace the first part (badword) with the word you want to ban, replace the second part (160) with the weight you want this word to have.
(Have a look at Max. score for phrases (50-300) to get an idea here: Proxy => HTTP => Content filter)
Now place your
MyFilter folder in /etc/dansguardian/phraselists (you will see a lot of other folders here)
First you need to activate your content filter,
then go to Proxy => HTTP => Content filter and click on Uncategorized - You will now see your
MyFilter filter.
Activate the
MyFilter filter and save.
You can even create your own category for your filter if you edit the categories file in /etc/dansguardian/phraselists
This should give you an idea on where to start.