2013-03-04 - Re: [GRASE-Hotspot] Squid custom rules

Header Data

From: Tim White <ti***8@gmail.com>
Message Hash: 0d938e2f6cbc50210b2d5e87065b948e1e701c7840573c5d919f373c227004c1
Message ID: <51351BBB.3070707@gmail.com>
Reply To: <B3927F11C872D64EAF092F537F1C37660EE1BC40@jupiter.pslcol.com.co>
UTC Datetime: 2013-03-04 15:10:03 UTC
Raw Date: Tue, 05 Mar 2013 08:10:03 +1000

Raw message

On 05/03/13 07:46, Pablo Arango Correa wrote:
>
> Hello Guys,
>
> Where can I include my own squid rules. I can see two conf files 
> (squid.sonf) and (squid.conf.grase) and the folder grase.d/ where one 
> can save new .conf files... but none have worked for me... Thanks!
>
>

Hi Pablo

The grase.d folder should in theory work. You'll see at the bottom of 
the squid.conf.grase file, the following line
include /etc/squid3/grase.d/*.conf
This means it'll load any files in that directory that end in .conf 
after loading all of the squid.conf.grase file. (The squid.conf.grase 
file is setup to override the squid.conf file, so the squid.conf file is 
ignored).

Make sure your files in grase.d are named with .conf on the end.

Otherwise try "squid3 -f /etc/squid3/squid.conf.grase -X" and look 
through the debug output to see what's happening when it loads. You may 
need to run that with sudo or as root.

Tim

Thread