> -----Original Message----- > From: squid-users <squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf > Of Amos Jeffries > Sent: Thursday, September 20, 2018 3:50 PM > To: squid-users@xxxxxxxxxxxxxxxxxxxxx > Subject: Re: Help: squid restarts and squidGuard die > > On 21/09/18 3:46 AM, Donald Muller wrote: > > > >> -----Original Message----- > >> From: Matus UHLAR - fantomas > >> Sent: Thursday, September 20, 2018 7:16 AM > >> > >> On 19.09.18 20:47, Donald Muller wrote: > >>> So instead of using squidguard are you saying you should use > >>> something > >> like the following? > >>> > >>> acl ads dstdomain -i "/etc/squid/squid-ads.acl" > >>> acl adult dstdomain -i "/etc/squid/squid-adult.acl" > >>> > >>> http_access deny ads > >>> http_access deny adult > >>> > >>> Do the lists need to be sorted in alphabetical order? > >> > >> I don't think so - the lists are parsed to in -memory format for > >> faster processing. > >> > > > > Does Squid monitor dstdomain files for changes and reload them or does a > '-k reconfigure' need to be issued? > > > > Not currently. I'm looking for a nice portable way to do file watching. > > The Linux inotify system can apparently be used to send the -k reconfigure > command on FS changes in the config directory. Though I've yet to see any > working example and have not had the time myself to experiment on it. > > Patches and/or info welcome. This might be a good starter project if anyone > wants to dip their fingers into the Squid code. > I will be downloading the blacklists from the internet and I'm sure that there will be sites that I want to whitelist via acl whitelist dstdomain "/some folder path/whitelist.acl" http_access allow whitelist What logging do I need to enable to capture when a domain is blacklisted? > Amos > _______________________________________________ > squid-users mailing list > squid-users@xxxxxxxxxxxxxxxxxxxxx > http://lists.squid-cache.org/listinfo/squid-users _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users