[squid-users] Squid configuration cache_peer does not take effect?

yohan83942 457636876 at qq.com
Tue Feb 4 06:50:35 UTC 2020


Something new has happened.

[root at localhost squid-5.0.1]# /usr/local/squid/sbin/squid -z
2020/02/04 14:46:00| ERROR: Unknown TLS option '-bump'
[root at localhost squid-5.0.1]# 2020/02/04 14:46:00| Created PID file
(/usr/local/squid/var/run/squid.pid)
2020/02/04 14:46:00 kid1| ERROR: Unknown TLS option '-bump'

This problem does not seem to affect the agent. But `cache_peer` still has
no effect.

# Squid normally listens to port 3128
sslproxy_cert_error allow all
#sslproxy_flags DONT_VERIFY_PEER
http_access allow all
always_direct allow all
ssl_bump bump all
ssl_bump stare all 
sslproxy_cert_error allow all
http_port 3128 ssl-bump cert=/usr/local/squid/etc/squid/squid.pem
key=/usr/local/squid/etc/squid/squid.pem generate-host-certificates=on
options=NO_SSLv2
#http_port 3128

#cache_peer 127.0.0.1 http parent 10809 0 no-query
#cache_peer 192.168.1.101 parent 10809 0 no-query originserver weight=1
#cache_peer_domain a www.google.com
#cache_peer_access a allow all

cache_peer 192.168.1.101 parent 10809 0 no-query ssl-bump ssl
sslcert=/usr/local/squid/etc/squid/squid.pem
sslcafile=/usr/local/squid/etc/squid/squid.pem
never_direct allow all

Squid does not access the Internet through 192.168.1.101:10809?

Can Squid access the Internet through a Socket5 proxy?



--
Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html


More information about the squid-users mailing list