OPNsense Forum

English Forums => Web Proxy Filtering and Caching => Topic started by: ikkeT on January 17, 2018, 09:15:33 pm

Title: block lists not including urls nor expressions?
Post by: ikkeT on January 17, 2018, 09:15:33 pm
Hi,

I enabled transparent squid with adblocking, using UT1 list. It's great feature! However it didn't stop many Finnish ad sites, so I started digging into files and their formats. I noticed the urls or expressions don't get included, only domain list is added, and even that is formatted to include dot [.] in front of each domain. Is this just work in progress, or does opnsense squid not support the urls and expressions?

Another thing, what's the easiest way of adding my own list? Is it enough to have it in .gz file on own web server and adding it to remote control lists? Or have you noticed UT1 would take such input? It seems there is pretty good local list available for adblock plus: http://adb.juvander.net/Finland_adb.txt , which would be worth converting to squid format for myself, in case if it supported url and expressions files.

Here's how the file list looks like in UT1 block list for ads:
Code: [Select]
$ tree publicite/
publicite/
├── domains
├── expressions
├── urls
└── usage

Here's how expressions should work: http://www.squidguard.org/Doc/expressionlist.html
Title: Re: block lists not including urls nor expressions?
Post by: elektroinside on January 17, 2018, 09:19:41 pm
If you only try to block ads, why not use the most simple method available?
Use the DNS servers from here: https://adguard.com/en/adguard-dns/overview.html

Free, easy, simple, 0 maintenance, effective :)

P.S. Hopefully works with finish ad servers as well :D
Title: Re: block lists not including urls nor expressions?
Post by: ikkeT on January 18, 2018, 04:35:48 pm
If you only try to block ads, why not use the most simple method available?
Use the DNS servers from here: https://adguard.com/en/adguard-dns/overview.html

Free, easy, simple, 0 maintenance, effective :)

P.S. Hopefully works with finish ad servers as well :D
I was thinking of running dns ad block, but I thought to give proxy a try. It's more fine grained blocking, once I just figure out how.
Title: Re: block lists not including urls nor expressions?
Post by: elektroinside on January 18, 2018, 05:54:26 pm
I'm not using proxies for quite a while now, so i've lost my touch. Hopefully, somebody else is more trained and can answer your questions :)