Score:0

Squid Transparent **HTTPS** Proxy not starting

us flag

My goal is to transparently intercept HTTP and HTTPS requests by using custom certificates and the following configuration:

acl clients src 192.168.160.0/24

http_access allow localhost
http_access allow clients
http_access deny all

http_port 0.0.0.0:3128 intercept
https_port 0.0.0.0:3129 intercept ssl-bump cert=/etc/squid/ssl_cert/myCA.pem generate-host-certificates=on dynamic_cert_mem_cache_size=10MB

sslcrtd_program /usr/lib/squid/security_file_certgen -s /var/lib/ssl_db -M 10MB
acl step1 at_step SslBump1
#ssl_bump peek step1
#ssl_bump bump all

ssl_bump server-first all

sslproxy_cert_error allow all   # It would also allow SSL connections which might be unsecure.
# only wait 5 seconds to terminate active connections
shutdown_lifetime 1 second

However, my squid server-unit won't start because of the following (very weird and unrelated seeming) error.

Feb 09 12:49:31 ubuntu-server-vm systemd[1]: Failed to start Squid Web Proxy Server.
Feb 09 12:49:31 ubuntu-server-vm squid[211266]: storeDirWriteCleanLogs: Starting...
Feb 09 12:49:31 ubuntu-server-vm squid[211266]:   Finished.  Wrote 0 entries.
Feb 09 12:49:31 ubuntu-server-vm squid[211266]:   Took 0.00 seconds (  0.00 entries/sec).
Feb 09 12:49:31 ubuntu-server-vm squid[211266]: FATAL: mimeLoadIcon: cannot parse internal URL: http://ubuntu-server-vm:0/squid-internal-static/icons/silk/image.png

Notice: ubuntu-server-vm is the name of the host

guiverc avatar
cn flag
Ubuntu 21.04 (along with all flavors) is *End-of-Life* and thus unsupported on this site (https://askubuntu.com/help/on-topic), and many other Ubuntu sites, unless your question is specific to moving to a supported release of Ubuntu. https://fridge.ubuntu.com/2022/01/21/ubuntu-21-04-hirsute-hippo-end-of-life-reached-on-january-20-2022/ https://help.ubuntu.com/community/EOLUpgrades
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.