Page 1 of 1

no-qanon plugin, or any way to block many domains?

Posted: Fri Jun 17, 2022 12:36 pm
by DeliBoy
I recently came across the no-qanon project, and was wondering if there was a way to get this in a plugin. I currently use the DNS Adblocking plugin, and it works well.

They also provide a large list of domains that get blocked. I've used Gargoyle to block individual domains, but I don't see a way to import a list into the hostfile, or similar. Am I missing something?

I can't post a link, but the no-qanon project can be found on github, created by rimu.

Re: no-qanon plugin, or any way to block many domains?

Posted: Fri Jun 17, 2022 4:19 pm
by ispyisail

Re: no-qanon plugin, or any way to block many domains?

Posted: Sat Jun 18, 2022 7:30 am
by Lantis
Modify the adblock plugin to pull in another source. There is no support for adding sources by config or by GUI, so you have to mod the plugin.
https://github.com/ericpaulbishop/gargo ... ck.sh#L105
Duplicate line 105 and change the source to
https://raw.githubusercontent.com/rimu/ ... _hosts.txt
i.e. add a line such as

Code: Select all

ewget https://raw.githubusercontent.com/rimu/no-qanon/master/dnsmasq_hosts.txt 2>/dev/null | awk -v r="$ENDPOINT_IP4" '{sub(/^0.0.0.0/, r)} $0 ~ "^"r' > /tmp/block.build.list

Re: no-qanon plugin, or any way to block many domains?

Posted: Thu Jun 23, 2022 10:06 pm
by DeliBoy
Thanks, I'll give it a try.