[squid-users] Squid proxy not working when upgrade from 27 to 3.5

Matus UHLAR - fantomas uhlar at fantomas.sk
Tue Oct 23 10:00:39 UTC 2018


What does mean "Squid proxy not working"?
On 23.10.18 03:52, Angus J. wrote:
>The result of squid -k parse

did you read this output?
did you do other thing Amos has recommended to you?

according to logs down, squid DOES listen for connections.

>oul163:/etc/squid # squid -k parse

>2018/10/23 16:51:05| Processing: acl localnet src 192.168.0.0/16

>2018/10/23 16:51:05| Processing: acl localnet src 192.168.31.0/24
>2018/10/23 16:51:05| WARNING: (A) '192.168.31.0/24' is a subnetwork of (B)
>'192.168.0.0/16'
>2018/10/23 16:51:05| WARNING: because of this '192.168.31.0/24' is ignored
>to keep splay tree searching predictable
>2018/10/23 16:51:05| WARNING: You should probably remove '192.168.31.0/24'
>from the ACL named 'localnet'

... there's no point in adding 192.168.0.0/16 and 192.168.31.0/24 both
- squid recommends you to remove 192.168.31.0/24

>2018/10/23 16:51:05| Processing: acl all src all

>2018/10/23 16:51:05| WARNING: (B) '::/0' is a subnetwork of (A) '::/0'
>2018/10/23 16:51:05| WARNING: because of this '::/0' is ignored to keep
>splay tree searching predictable
>2018/10/23 16:51:05| WARNING: You should probably remove '::/0' from the ACL
>named 'all'

acl "all" is built-in, you don't have to define it.


>2018/10/23 16:51:05| Processing: acl manager proto cache_object
>2018/10/23 16:51:05| UPGRADE: ACL 'manager' is now a built-in ACL. Remove it
>from your config file.

...the same applies for "manager" acl.

>2018/10/23 16:51:05| Processing: acl localhost src 127.0.0.1/32
>2018/10/23 16:51:05| WARNING: (B) '127.0.0.1' is a subnetwork of (A)
>'127.0.0.1'
>2018/10/23 16:51:05| WARNING: because of this '127.0.0.1' is ignored to keep
>splay tree searching predictable
>2018/10/23 16:51:05| WARNING: You should probably remove '127.0.0.1' from
>the ACL named 'localhost'

seems that you have localhost defined two times. 

>2018/10/23 16:51:05| Processing: acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
>2018/10/23 16:51:05| WARNING: (B) '127.0.0.0/8' is a subnetwork of (A)
>'127.0.0.0/8'
>2018/10/23 16:51:05| WARNING: because of this '127.0.0.0/8' is ignored to
>keep splay tree searching predictable
>2018/10/23 16:51:05| WARNING: You should probably remove '127.0.0.0/8' from
>the ACL named 'to_localhost'

... and same applies to to_localhost


-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
My mind is like a steel trap - rusty and illegal in 37 states. 


More information about the squid-users mailing list