Re: [squid-users] Squid 2.7 to Squid 3.5

2016-10-17 Thread Amos Jeffries
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


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
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Squid 2.7 to Squid 3.5

2016-10-17 Thread Johnny Lam
Some more information,

 - tell us which system / distribution / version you are running this on
I am running it on Windows machine.

Regards,
Johnny


2016-10-17 9:27 GMT+08:00 Johnny Lam :

> 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 ?
>
> Hope you guys can help. Many Thanks!
>
> Regards,
> Johnny
>
>
> 2016-10-17 7:20 GMT+08:00 Yuri Voinov :
>
>>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA256
>>
>> You have in the cryochamber, apparently, there was no internet :) :) It's
>> not been :)
>>
>>
>> 17.10.2016 4:17, Yuri Voinov пишет:
>> >
>> > In _your_ environment :) All world uses DNS caches ;)
>> >
>> >
>> > 17.10.2016 3:07, reinerotto пишет:
>> > > Sorry, I forgot: Another difference is, that response times are lower
>> today.
>> > > (BTW: I also did a SM-4 ...)
>> >
>> >
>> >
>> > > --
>> > > View this message in context:
>> > http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-2-7
>> -to-Squid-3-5-tp4680115p4680120.html
>> > > Sent from the Squid - Users mailing list archive at Nabble.com.
>> > > ___
>> > > squid-users mailing list
>> > > squid-users@lists.squid-cache.org
>> > > http://lists.squid-cache.org/listinfo/squid-users
>> >
>> >
>>
>> -BEGIN PGP SIGNATURE-
>> Version: GnuPG v2
>>
>> iQEcBAEBCAAGBQJYBAtYAAoJENNXIZxhPexG7ZkH/2M//fMMpMAvIJUCn1Ld+0JC
>> WMOqVMaaQ6JHVH6KC2nLRmpqnX/g0baypqy8/z85BRNQJdnv6Re1PGFCKuO45Ne7
>> ackHSX5Q6BZ4s8iHp9Drn3n3yf0siDjjSois31LCMlFZiIwgANYr1dYoFaJgIghw
>> V2kDRauZFK15v/G1FsASEmgWz1r8bd14RH6utHijtGCG+EY9sdtFiqA+mjJ7cFsR
>> l9jukvXyN2jluJZxxh6yeRqSLg1mKA23vbkf4BdQPMZS6YrT44YC4TJjdb7JQzcY
>> 1GGRwiygvOLM/baaSCXTzL3ZSPiBszdwzPJH8UOOYiHc+CY6g2ScjNHTGCK6blQ=
>> =YH6E
>> -END PGP SIGNATURE-
>>
>>
>> ___
>> squid-users mailing list
>> squid-users@lists.squid-cache.org
>> http://lists.squid-cache.org/listinfo/squid-users
>>
>>
>
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Squid 2.7 to Squid 3.5

2016-10-16 Thread Johnny Lam
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 ?

Hope you guys can help. Many Thanks!

Regards,
Johnny


2016-10-17 7:20 GMT+08:00 Yuri Voinov :

>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> You have in the cryochamber, apparently, there was no internet :) :) It's
> not been :)
>
>
> 17.10.2016 4:17, Yuri Voinov пишет:
> >
> > In _your_ environment :) All world uses DNS caches ;)
> >
> >
> > 17.10.2016 3:07, reinerotto пишет:
> > > Sorry, I forgot: Another difference is, that response times are lower
> today.
> > > (BTW: I also did a SM-4 ...)
> >
> >
> >
> > > --
> > > View this message in context:
> > http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-2-
> 7-to-Squid-3-5-tp4680115p4680120.html
> > > Sent from the Squid - Users mailing list archive at Nabble.com.
> > > ___
> > > squid-users mailing list
> > > squid-users@lists.squid-cache.org
> > > http://lists.squid-cache.org/listinfo/squid-users
> >
> >
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2
>
> iQEcBAEBCAAGBQJYBAtYAAoJENNXIZxhPexG7ZkH/2M//fMMpMAvIJUCn1Ld+0JC
> WMOqVMaaQ6JHVH6KC2nLRmpqnX/g0baypqy8/z85BRNQJdnv6Re1PGFCKuO45Ne7
> ackHSX5Q6BZ4s8iHp9Drn3n3yf0siDjjSois31LCMlFZiIwgANYr1dYoFaJgIghw
> V2kDRauZFK15v/G1FsASEmgWz1r8bd14RH6utHijtGCG+EY9sdtFiqA+mjJ7cFsR
> l9jukvXyN2jluJZxxh6yeRqSLg1mKA23vbkf4BdQPMZS6YrT44YC4TJjdb7JQzcY
> 1GGRwiygvOLM/baaSCXTzL3ZSPiBszdwzPJH8UOOYiHc+CY6g2ScjNHTGCK6blQ=
> =YH6E
> -END PGP SIGNATURE-
>
>
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
>
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Squid 2.7 to Squid 3.5

2016-10-16 Thread Yuri Voinov

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
 
You have in the cryochamber, apparently, there was no internet :) :)
It's not been :)


17.10.2016 4:17, Yuri Voinov пишет:
>
> In _your_ environment :) All world uses DNS caches ;)
>
>
> 17.10.2016 3:07, reinerotto пишет:
> > Sorry, I forgot: Another difference is, that response times are
lower today.
> > (BTW: I also did a SM-4 ...)
>
>
>
> > --
> > View this message in context:
>
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-2-7-to-Squid-3-5-tp4680115p4680120.html
> > Sent from the Squid - Users mailing list archive at Nabble.com.
> > ___
> > squid-users mailing list
> > squid-users@lists.squid-cache.org
> > http://lists.squid-cache.org/listinfo/squid-users
>
>

-BEGIN PGP SIGNATURE-
Version: GnuPG v2
 
iQEcBAEBCAAGBQJYBAtYAAoJENNXIZxhPexG7ZkH/2M//fMMpMAvIJUCn1Ld+0JC
WMOqVMaaQ6JHVH6KC2nLRmpqnX/g0baypqy8/z85BRNQJdnv6Re1PGFCKuO45Ne7
ackHSX5Q6BZ4s8iHp9Drn3n3yf0siDjjSois31LCMlFZiIwgANYr1dYoFaJgIghw
V2kDRauZFK15v/G1FsASEmgWz1r8bd14RH6utHijtGCG+EY9sdtFiqA+mjJ7cFsR
l9jukvXyN2jluJZxxh6yeRqSLg1mKA23vbkf4BdQPMZS6YrT44YC4TJjdb7JQzcY
1GGRwiygvOLM/baaSCXTzL3ZSPiBszdwzPJH8UOOYiHc+CY6g2ScjNHTGCK6blQ=
=YH6E
-END PGP SIGNATURE-



0x613DEC46.asc
Description: application/pgp-keys
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Squid 2.7 to Squid 3.5

2016-10-16 Thread Yuri Voinov

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
 
In _your_ environment :) All world uses DNS caches ;)


17.10.2016 3:07, reinerotto пишет:
> Sorry, I forgot: Another difference is, that response times are lower today.
> (BTW: I also did a SM-4 ...)
>
>
>
> --
> View this message in context:
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-2-7-to-Squid-3-5-tp4680115p4680120.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-BEGIN PGP SIGNATURE-
Version: GnuPG v2
 
iQEcBAEBCAAGBQJYA/yVAAoJENNXIZxhPexG2nwH/3F38+kl+E9l5enSFnmiYYx0
J7zBnK8Zxc5FyKS4bGpfvn+jOa7ivz9aBWBovoarZghboVZ3jdGOHs1wsuInFQyW
/Id09VmZi1ttaxKxIBtFsSJcaGOlnhlBEXCzJZXd14GH/NfS8J0sUx2QsrK3Abr1
ohNTRFJ/ebakXm7moYfx4mLf7vjwm7OHncxX78pLZa0z72GtXpXQy9ZPcSJnF4Nm
U+6N3rYC2qPfsKlOl40qF2mXVIA8fUVZWfii1NqLE+Odid4zW4afpzIRRrz/jbFx
Y/XaQ8GTlJp/xzHXm0+wTOFHKNhYClyp6rYNyWFGhYSJeM8GFYh/LZpDSmUIZFc=
=ESWC
-END PGP SIGNATURE-



0x613DEC46.asc
Description: application/pgp-keys
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Squid 2.7 to Squid 3.5

2016-10-16 Thread reinerotto
Sorry, I forgot: Another difference is, that response times are lower today.
(BTW: I also did a SM-4 ...)



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-2-7-to-Squid-3-5-tp4680115p4680120.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Squid 2.7 to Squid 3.5

2016-10-16 Thread Yuri Voinov

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
 
Come on! You think so?! :)


17.10.2016 3:02, reinerotto пишет:
> Off topic, but anyway:
>> Not a word, man. 10 years in IT - eternity :)<
> Not true.
> 40yrs ago we already did interrupt driven programming or 20 yrs ago online
> apps for mobile touchscreens with radio link.
> Only real difference: Better graphics today :-)
>
>
>
>
> --
> View this message in context:
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-2-7-to-Squid-3-5-tp4680115p4680118.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-BEGIN PGP SIGNATURE-
Version: GnuPG v2
 
iQEcBAEBCAAGBQJYA+zxAAoJENNXIZxhPexGt5cH/303rJuUGd8GMGzxsgpUdPFO
Xr17gS6K+g6yND7fxlEQnxe98Zp1j4Jqqgbf8k4xDMhXiCDdwYSlrW4nTk1s72bs
X6rJXJHUKdu+sY5LZ6BHIfwX9D53+Y0jlW4iyM96sdakGpI8jpHUGROlF0fYCBjx
qFlJSGgim0rOiwyUk9jqKZUMEy9G6xVCBXQ6dNxbhCNJzxyFpbX9MoaDZrC9yjfG
Y094gzqO5Q3jRY1T9v/gz93OJZMi+uLRQosk/9LUnTqSUvrZ1Y01A9W/Nmj6N0wD
S90EJy++mfaL+KmMy8rIuOv9G0Gc4Yqy7qU0QExQTH9mdFU7woQvxgjv4VxuaUw=
=l/5o
-END PGP SIGNATURE-



0x613DEC46.asc
Description: application/pgp-keys
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Squid 2.7 to Squid 3.5

2016-10-16 Thread reinerotto
Off topic, but anyway:
>Not a word, man. 10 years in IT - eternity :)<
Not true. 
40yrs ago we already did interrupt driven programming or 20 yrs ago online
apps for mobile touchscreens with radio link.
Only real difference: Better graphics today :-)




--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-2-7-to-Squid-3-5-tp4680115p4680118.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Squid 2.7 to Squid 3.5

2016-10-16 Thread Yuri Voinov

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
 


16.10.2016 19:20, Johnny Lam пишет:
> Dear All,
>
> I've encountered a issue during upgrade from 2.7 to 3.5, please find
my config below. Seems everything changed in version 3.5.
Not a word, man. 10 years in IT - eternity :)

You'd still awake in 22 century. Come out already from the cryochamber!
>
> Hope you guys can help, Thanks!

PS. And - yes, html formatting e-mails out of fashion in the last
century! Now, such a font is selected, only 15-year-old girl :))
>
> Regards,
> Johnny
>
>
>
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-BEGIN PGP SIGNATURE-
Version: GnuPG v2
 
iQEcBAEBCAAGBQJYA64NAAoJENNXIZxhPexG+C0IAMM1cOoTV/4saDdfbiA7H6b4
LK6ThPQBS//ekHNh/5i5rglrX4YDGP4s7Pd1D+m3UiAuhP39ah1oWpwJLt8Yb8VQ
sRKELaa8nUNSvojf8w7s5llACxONBn66YERT3qvizi4su8AouGtNlOTRvfjJG8pL
eRiZqbwT7TlIJcBm1z8ddlJW2StRCHiA3XeFQ0/j63RAtSwrakO0/K2IlfC0qcgZ
fC+BefIhsghcRnR3OhX17rWiAhnZxtJNtrnnuLhMYHDhUd/5o0PgBX2CbbswGeie
t+Vijqj3Bnbkkn/DJJDnUQshGiPpedtDLY5101Kf3ERWc1blHxzqgzMjE1Kl9Xg=
=2a2J
-END PGP SIGNATURE-



0x613DEC46.asc
Description: application/pgp-keys
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Squid 2.7 to Squid 3.5

2016-10-16 Thread Antony Stone
On Sunday 16 October 2016 at 15:20:39, Johnny Lam wrote:

> Dear All,
> 
> I've encountered a issue during upgrade from 2.7 to 3.5, please find my
> config below. Seems everything changed in version 3.5.

No config to be found :(

Please:

 - post your squid.conf without comments or blank lines

 - tell us which system / distribution / version you are running this on

 - tell us what "issue" means - ie: what problem are you experiencing?

> Hope you guys can help, Thanks!

The more info you give us, the better our chances :)


Antony.

-- 
The Magic Words are Squeamish Ossifrage.

   Please reply to the list;
 please *don't* CC me.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users