Alpine 3.19 with Squid 6.6, or the edge Squid 6.7 - do not work properly
Hello,
I found a configuration that works well with Alpine 3.18.4 and a non-existent Squid 6.6 (which was replaced with 6.7 in edge branch), but the same configuration does not work properly with Squid 6.6 (on the Alpine 3.19 branch) or Squid 6.7 (on the edge branch). This configuration fails because Squid does not even start listening on port 3333.
pid_filename /tmp/squid.pid
http_port 3128 worker-queues
http_port 127.0.0.1:3333
workers 10
cache deny all
cache_dir null /tmp
shutdown_lifetime 1 seconds
coredump_dir /var/run/squid
max_filedescriptors 1024
logfile_rotate 0
logformat squidchild %tl %ts.%03tu %6tr %>a %Ss/%03>Hs %<st %rm %ru %[un %Sh/%<a %mt
access_log stdio:/var/log/squid/access.log squidchild
cache_log stdio:/var/log/squid/cache2.log
cache_store_log stdio:/var/log/squid/store.log
debug_options ALL,1 33,5 5,5 11,2 48,5
acl safe_ports port 80 # http
acl safe_ports port 8080 # http
acl manager_port port 3333 # for prometheus exporter
acl ssl_ports port 443 # https
acl ssl_ports port 8443 # alternate https
acl high_safe_ports port 1025-4999 5001-65535 # unregistered ports, except 5000
http_access deny !safe_ports !high_safe_ports !ssl_ports !manager_port
http_access deny CONNECT !ssl_ports
acl localnet src 100.0.0.0/8
http_access allow localnet
http_access allow localhost to_localhost high_safe_ports
http_access allow manager manager_port localhost to_localhost
http_access deny manager
# cache_peer commented out
retry_on_error on
connect_retries 10
always_direct deny all
never_direct allow all
peer_connect_timeout 90 seconds
server_idle_pconn_timeout 60 seconds
pconn_lifetime 60 seconds
client_persistent_connections on
server_persistent_connections on
client_idle_pconn_timeout 60 seconds
half_closed_clients on
request_timeout 10 minutes