Squid blocks IPs I don't want to get blocked. To troubleshoot the situation I'd like to start squid in debug mode. I couldn't find an option in the web GUI and thus want to start squid manually from command line. Unfortunately squid complains about a missing PID file and terminates:
$ sudo squid -k debug -f /usr/local/etc/squid/squid.conf
2020/11/24 18:28:47| FATAL: failed to open /var/run/squid/squid.pid: (2) No such file or directory
exception location: File.cc(190) open
How to correctly start squid from command line on OPNsense?
Thanks in advance!
Simon
PS: Sorry if this question has been answered before, I tried the forum search, but didn't find a post.
why not to use "debug_options 28,3" or some?
you can add .conf file with option to /usr/local/etc/squid/pre-auth/*.conf and restart squid
I had a look at https://wiki.squid-cache.org/SquidFaq/SquidAcl#I_set_up_my_access_controls.2C_but_they_don.27t_work.21__why.3F (https://wiki.squid-cache.org/SquidFaq/SquidAcl#I_set_up_my_access_controls.2C_but_they_don.27t_work.21__why.3F) and added
debug_options ALL,1 33,2
and
debug_options ALL,1 33,2 28,9
and reloaded squid via the web GUI. But no additional information showed up in the access.log file.
its in cache.log
thx for the pointer. Now I just need to understand the log... :o