[squid-users] Squid 2.7 to Squid 3.5

Amos Jeffries squid3 at treenet.co.nz
Tue Oct 18 05:03:29 UTC 2016


On 17/10/2016 2:27 p.m., Johnny Lam wrote:
> Dear all,
> 
> 
> Sorry for missing the conf in my previous mail.
> 
> Below is my conf in squid 2.7
> 
> acl dest dst 10.68.8.146/32
> http_access deny !dest
> auth_param basic program ../libexec/ncsa_auth.exe ../etc/password.txt
> acl User_Authorized proxy_auth REQUIRED
> http_access allow User_Authorized
> 
> I tried to use the same in 3.5 but seems not work, any idea how should I
> handle it ?
> As I found that the default conf for Squid 3.5 is quite long, Can I just
> remove them all and put my 2.7 config in ?

Yes you can do that. Run squid -k parse after doing so and fix the
errors that are logged.

I think it is the auth helper name that is the main error here. The
squid-3.5 equivalent of that helper is called basic_nsca_auth.exe for
your OS.


FYI: the minimal default Squid-3 config can be found at
<http://wiki.squid-cache.org/Squid-3.5>

I recommend you copy those 2.7 settings into the line marked as "INSERT
YOUR OWN RULE(S) HERE" instead of using the above 2.7 conf as-is.

Amos


More information about the squid-users mailing list