Search squid archive

Re: Site filtering issue.... Resolved

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Thanks for the reply Felix. I guess that must have helped. I did as
> you said but that seem to block all the sites. Which made me think
> that the order of the commands make a difference. Which is why, I
> followed the default squid.conf file and put the commands in some what
> the same order as it is on there. I also had to add in some other
> syntax's
> Well, I have a working squid now. It was just the order that was
> messing up everything.
> Here is the working config.
> I will try to setup SARG along with squid. Lets hope it goes well.

There is one more point to fix.
>From your example all those 'dstdomain_regex' should be just 'dstdomain'
ACL. Much faster and scalable for longer lists.


> acl ads_blacklist dstdom_regex "/etc/squid/blacklist/ads/domains"
> acl aggressive_blacklist dstdom_regex
> "/etc/squid/blacklist/aggressive/domains"
> acl audio-video_blacklist dstdom_regex
> "/etc/squid/blacklist/audio-video/domains"
> acl drugs_blacklist dstdom_regex "/etc/squid/blacklist/drugs/domains"
> acl gambling_blacklist dstdom_regex
> "/etc/squid/blacklist/gambling/domains"
> acl hacking_blacklist dstdom_regex "/etc/squid/blacklist/hacking/domains"
> acl mail_blacklist dstdom_regex "/etc/squid/blacklist/mail/domains"
> acl porn_blacklist dstdom_regex "/etc/squid/blacklist/porn/domains"
> acl proxy_blacklist dstdom_regex "/etc/squid/blacklist/proxy/domains"
> acl redirector_blacklist dstdom_regex
> "/etc/squid/blacklist/redirector/domains"
> acl spyware_blacklist dstdom_regex "/etc/squid/blacklist/spyware/domains"
> acl suspect_blacklist dstdom_regex "/etc/squid/blacklist/suspect/domains"
> acl violence_blacklist dstdom_regex
> "/etc/squid/blacklist/violence/domains"
> acl warez_blacklist dstdom_regex "/etc/squid/blacklist/warez/domains"
> acl networking_blacklist dstdom_regex
> "/etc/squid/blacklist/networking/domains"
> acl torrent_blacklist dstdom_regex "/etc/squid/blacklist/torrent/domains"
>

Amos



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux