[squid-users] problem with squidGuard redirect page after upgrading squid

Marcus Kool marcus.kool at urlfilterdb.com
Fri Jan 8 14:57:22 UTC 2016



On 01/07/2016 06:48 PM, Jason Haar wrote:
> On 08/01/16 01:56, Marcus Kool wrote:
>> Can you explain what the huge number of regexes is used for ?
> malware urls. I'm scraping them from publicly available sources like
> phishtank, malwaredomains.com. Ironically, they don't need to be regexes
> - but squid only has a "url_regex" acl type - so regex it is (can't use
> dstdomain because we want to block "http://good.site/bad.url" - not all
> of "good.site")
>

ufdbGuard always blocks "longer URLs", so if the database contains
www.example.com/foo, ufdbGuard also blocks www.example.com/foo?bar=1
and www.example.com/foobar.html so no regexes are required.

Marcus


More information about the squid-users mailing list