Note: You must initialize new cache directories before you can start squid. Do this by running "squid -z" as 'root' or 'squid'. If your cache directories are already initialized (e.g. after an upgrade of squid) you do not need to initialize them again. o When using DiskD storage scheme remember to read documentation: http://wiki.squid-cache.org/Features/DiskDaemon and alter your kern.ipc defaults in /boot/loader.conf. DiskD will not work reliably without this. Last recomendations were: kern.ipc.msgmnb=8192 kern.ipc.msgssz=64 kern.ipc.msgtql=2048 o The pre-translated error pages are no longer included into the port. If you need them install www/squid-langpack port as well. o The default configuration will deny everyone but the local host and local networks as defined in RFC 1918 for IPv4 and RFCs 4193 and 4291 for IPv6 access to the proxy service. Edit the "http_access allow/deny" directives in /usr/local/etc/squid/squid.conf to suit your needs. o If AUTH_SQL option is set, please, don't forget to install one of following perl modules depending on database you like: databases/p5-DBD-mysql (MySQL) databases/p5-DBD-mysql4 (MariaDB) databases/p5-DBD-Pg databases/p5-DBD-SQLite To enable Squid, set squid_enable=yes in either /etc/rc.conf, /etc/rc.conf.local or /etc/rc.conf.d/squid Please see /usr/local/etc/rc.d/squid for further details. Note: If you just updated your Squid installation from an earlier version, make sure to check your Squid configuration against the 3.4 default configuration file /usr/local/etc/squid/squid.conf.sample. /usr/local/etc/squid/squid.conf.documented is a fully annotated configuration file you can consult for further reference. Additionally, you should check your configuration by calling 'squid -f /path/to/squid.conf -k parse' before starting Squid. ===== Message from squid-langpack-7.0.0.20240307: -- To use the squid language pack, use the directive: error_directory /usr/local/share/squid-langpack/language in your squid.conf. Example: error_directory /usr/local/share/squid-langpack/sk >>> Running www/squid test suite... src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml: uses Mask regex with MaskPerItem=N src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml: uses Mask regex with MaskPerItem=N src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml: uses Mask regex with MaskPerItem=N src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml: uses Mask regex with MaskPerItem=N src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml: uses Mask regex with MaskPerItem=N src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml: uses Mask regex with MaskPerItem=N src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml: uses Mask regex with MaskPerItem=N src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml: uses Mask regex with MaskPerItem=N src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml: does not specify a Mask regex src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml: does not specify a Mask regex src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml: does not specify a Mask regex src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml: does not specify a Mask regex src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml: does not specify a Mask regex src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml: does not specify a Mask regex src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml: does not specify a Mask regex test -x /usr/plugins/www/squid/src/opnsense/scripts/syslog/logformats/squid.py test -x /usr/plugins/www/squid/src/opnsense/scripts/proxy/lib/__init__.py test -x /usr/plugins/www/squid/src/opnsense/scripts/proxy/setup.sh test -x /usr/plugins/www/squid/src/opnsense/scripts/proxy/fetchACLs.py test -x /usr/plugins/www/squid/src/opnsense/scripts/proxy/download_error_pages.py test -x /usr/plugins/www/squid/src/opnsense/scripts/proxy/deploy_error_pages.py test -x /usr/plugins/www/squid/src/opnsense/scripts/proxy/generate_cert.php PHP 8.3.30 | 10 parallel jobs ............................................ 44/44 (100 %) Checked 44 files in 0 seconds No syntax error found /usr/plugins/www/squid/src/opnsense/scripts/syslog/logformats/squid.py:39:93: E271 multiple spaces after keyword /usr/plugins/www/squid/src/opnsense/scripts/syslog/logformats/squid.py:62:97: E271 multiple spaces after keyword /usr/plugins/www/squid/src/opnsense/scripts/syslog/logformats/squid.py:94:45: E226 missing whitespace around arithmetic operator /usr/plugins/www/squid/src/opnsense/scripts/syslog/logformats/squid.py:97:21: E126 continuation line over-indented for hanging indent /usr/plugins/www/squid/src/opnsense/scripts/proxy/fetchACLs.py:57:27: E231 missing whitespace after ',' /usr/plugins/www/squid/src/opnsense/scripts/proxy/fetchACLs.py:92:26: E111 indentation is not a multiple of 4 /usr/plugins/www/squid/src/opnsense/scripts/proxy/fetchACLs.py:92:26: E117 over-indented /usr/plugins/www/squid/src/opnsense/scripts/proxy/fetchACLs.py:107:26: E111 indentation is not a multiple of 4 /usr/plugins/www/squid/src/opnsense/scripts/proxy/fetchACLs.py:107:26: E117 over-indented /usr/plugins/www/squid/src/opnsense/scripts/proxy/fetchACLs.py:111:18: E111 indentation is not a multiple of 4 /usr/plugins/www/squid/src/opnsense/scripts/proxy/fetchACLs.py:111:18: E117 over-indented /usr/plugins/www/squid/src/opnsense/scripts/proxy/lib/__init__.py:36:1: E302 expected 2 blank lines, found 1 /usr/plugins/www/squid/src/opnsense/scripts/proxy/lib/__init__.py:116:34: W605 invalid escape sequence '\s' /usr/plugins/www/squid/src/opnsense/scripts/proxy/lib/__init__.py:116:62: W605 invalid escape sequence '\s' /usr/plugins/www/squid/src/opnsense/scripts/proxy/lib/__init__.py:128:48: W605 invalid escape sequence '\s' /usr/plugins/www/squid/src/opnsense/scripts/proxy/lib/__init__.py:128:54: W605 invalid escape sequence '\s' /usr/plugins/www/squid/src/opnsense/scripts/proxy/lib/__init__.py:128:79: E203 whitespace before ',' /usr/plugins/www/squid/src/opnsense/scripts/proxy/lib/__init__.py:128:80: E231 missing whitespace after ',' Total number of style warnings: 1 Total number of style errors: 3 FILE: ...src/opnsense/mvc/app/models/OPNsense/Proxy/Migrations/M1_0_0.php ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 35 | ERROR | Class name "M1_0_0" is not in PascalCase format ---------------------------------------------------------------------- FILE: ...s/www/squid/src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.php ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 72 | ERROR | There must be a comment when fall-through is | | intentional in a non-empty case body ---------------------------------------------------------------------- FILE: ...se/mvc/app/controllers/OPNsense/Proxy/Api/SettingsController.php ---------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ---------------------------------------------------------------------- 217 | WARNING | Line exceeds 120 characters; contains 122 characters 316 | ERROR | Method name "SettingsController::pac_set_helper" is | | not in camel caps format ---------------------------------------------------------------------- Time: 111ms; Memory: 8MB >>> Installing packages in /usr/obj/usr/tools/config/26.1/amd64: os-web-proxy-sso Updating database digests format: ... done Checking integrity... done (0 conflicting) The following package(s) are locked or vital and may not be removed: beep boost-libs brotli ca_root_nss choparp colordiff cpdup cpustats curl cyrus-sasl cyrus-sasl-gssapi dhcp6c dhcrelay dnsmasq dpinger easy-rsa expat filterlog flock flowd gettext-runtime git glib gmp hostapd hostwatch hyperscan icu ifinfo iftop indexinfo ivykis jansson jq json-c kea krb5 ldns libargon2 libcbor libedit libevent libffi libfido2 libiconv libidn2 libinotify libltdl liblz4 libmcrypt libnet libnghttp2 libpfctl libpsl libsodium libucl libunistring libuuid libxml2 libyaml lighttpd log4cplus lua54 lzo2 monit mpd5 mpdecimal nettle nspr nss ntp oniguruma openldap26-client openssh-portable openssl openvpn opnsense opnsense-installer opnsense-lang opnsense-update os-debug p5-Error p5-File-Slurp pam_opnsense pcre2 perl5 pftop php83 php83-ctype php83-curl php83-dom php83-filter php83-gettext php83-ldap php83-mbstring php83-pcntl php83-pdo php83-pear php83-pear-Crypt_CHAP php83-pear-PHP_CodeSniffer php83-pecl-mcrypt php83-pecl-radius php83-pecl-xdebug php83-phalcon php83-phar php83-phpseclib php83-session php83-simplexml php83-sockets php83-sqlite3 php83-tokenizer php83-xml php83-xmlwriter php83-zlib phpunit9-php83 pkcs11-helper pkg py313-Babel py313-Jinja2 py313-aioquic py313-anyio py313-async_generator py313-attrs py313-bottleneck py313-certifi py313-cffi py313-charset-normalizer py313-cryptography py313-dnspython py313-duckdb py313-h11 py313-h2 py313-hpack py313-httpcore py313-httpx py313-hyperframe py313-idna py313-iniconfig py313-jq py313-ldap3 py313-markupsafe py313-numexpr py313-numpy py313-outcome py313-packaging py313-pandas py313-pluggy py313-pyasn1 py313-pyasn1-modules py313-pycodestyle py313-pycparser py313-pygments py313-pylsqpack py313-pyopenssl py313-pypcap py313-pysocks py313-pytest py313-python-dateutil py313-pytz py313-pyyaml py313-requests py313-scapy py313-service-identity py313-six py313-sniffio py313-socksio py313-sortedcontainers py313-sqlite3 py313-trio py313-truststore py313-tzdata py313-ujson py313-urllib3 py313-vici python313 radvd readline rrdtool samplicator sqlite3 strongswan sudo suricata syslog-ng unbound wpa_supplicant zip zstd Deinstallation has been requested for the following 3 packages (of 0 packages in the universe): Installed packages to be REMOVED: os-squid: 1.4 squid: 6.14_1 squid-langpack: 7.0.0.20240307 Number of packages to be removed: 3 The operation will free 11 MiB. [1/3] Deinstalling os-squid-1.4... [1/3] Deleting files for os-squid-1.4: .......... done Reloading plugin configuration Flushing all caches...done. [2/3] Deinstalling squid-6.14_1... [2/3] Deleting files for squid-6.14_1: .......... done ==> You should manually remove the "squid" user ==> You should manually remove the "squid" group [3/3] Deinstalling squid-langpack-7.0.0.20240307... [3/3] Deleting files for squid-langpack-7.0.0.20240307: .......... done Installing pkg-2.3.1_1... the most recent version of pkg-2.3.1_1 is already installed Installing os-web-proxy-sso-2.2_3... `-- Installing msktutil-1.2.2... `-- Extracting msktutil-1.2.2: ..... done Extracting os-web-proxy-sso-2.2_3: .......... done Cannot 'restart' configd. Set configd_enable to YES in /etc/rc.conf or use 'onerestart' instead of 'restart'. Reloading plugin configuration Flushing all caches...done. Configuring system logging...done. Reloading template OPNsense/ProxySSO: configd socket missing (@/var/run/configd.socket) pkg: POST-INSTALL script failed >>> Running www/web-proxy-sso test suite... test -x /usr/plugins/www/web-proxy-sso/src/opnsense/scripts/OPNsense/ProxySSO/kerberos_test.sh test -x /usr/plugins/www/web-proxy-sso/src/opnsense/scripts/OPNsense/ProxySSO/squid-gen-keytab.sh src/opnsense/mvc/app/controllers/OPNsense/ProxySSO/Api/ServiceController.php: exec("ping -c 1 -W 1 {$host_esc}", $output, $retval); src/opnsense/mvc/app/controllers/OPNsense/ProxySSO/Api/ServiceController.php: $resolv_direct = chop(shell_exec("drill {$hostname} | grep -A 1 'ANSWER SECTION' | tail -n 1 | awk '{print \$5}'")); src/opnsense/mvc/app/controllers/OPNsense/ProxySSO/Api/ServiceController.php: exec("drill {$hostname}", $output); src/opnsense/mvc/app/controllers/OPNsense/ProxySSO/Api/ServiceController.php: exec("drill -x {$resolv_direct}", $output); src/opnsense/mvc/app/controllers/OPNsense/ProxySSO/Api/ServiceController.php: $resolv_reverse = chop(shell_exec("drill -x {$resolv_direct} | grep -A 1 'ANSWER SECTION' | tail -n 1 | awk '{print \$5}'")); src/opnsense/mvc/app/controllers/OPNsense/ProxySSO/Api/ServiceController.php: $resolv_reverse = chop(shell_exec("drill -x {$ldap_ip_esc} | grep -A 1 'ANSWER SECTION' | tail -n 1 | awk '{print \$5}'")); src/opnsense/mvc/app/controllers/OPNsense/ProxySSO/Api/ServiceController.php: exec("drill -x {$ldap_ip_esc}", $output); src/opnsense/mvc/app/controllers/OPNsense/ProxySSO/Api/ServiceController.php: $resolv = chop(shell_exec("drill {$ldap_fqdn_esc} | grep -A 1 'ANSWER SECTION' | tail -n 1 | awk '{print \$5}'")); src/opnsense/mvc/app/controllers/OPNsense/ProxySSO/Api/ServiceController.php: exec("drill {$ldap_fqdn_esc}", $output); PHP 8.3.30 | 10 parallel jobs ................... 19/19 (100 %) Checked 19 files in 0 seconds No syntax error found Total number of style warnings: 10 Total number of style errors: 0 FILE: .../mvc/app/controllers/OPNsense/ProxySSO/Api/ServiceController.php ---------------------------------------------------------------------- FOUND 0 ERRORS AND 10 WARNINGS AFFECTING 10 LINES ---------------------------------------------------------------------- 78 | WARNING | Line exceeds 120 characters; contains 134 characters 160 | WARNING | Line exceeds 120 characters; contains 124 characters 161 | WARNING | Line exceeds 120 characters; contains 142 characters 172 | WARNING | Line exceeds 120 characters; contains 137 characters 179 | WARNING | Line exceeds 120 characters; contains 130 characters 190 | WARNING | Line exceeds 120 characters; contains 135 characters 194 | WARNING | Line exceeds 120 characters; contains 134 characters 209 | WARNING | Line exceeds 120 characters; contains 126 characters 238 | WARNING | Line exceeds 120 characters; contains 127 characters 266 | WARNING | Line exceeds 120 characters; contains 217 characters ---------------------------------------------------------------------- Time: 76ms; Memory: 8MB 5265.19 real 147.54 user 74.81 sys