Univention Bugzilla – Bug 46213
Correct squid.conf template for local ip addresses
Last modified: 2021-05-03 21:33:52 CEST
UCS generates squid.conf with incorrect localnet lines for the local ip addresses, so every restart (also via cronjob) produces warnings: Feb 3 09:36:44 srv005 squid3[3226]: Starting Squid HTTP Proxy 3.x: squid32018/02/03 09:36:44| aclIpParseIpData: WARNING: Netmask masks away part of the specified IP in '10.0.1.12/24' Feb 3 09:36:44 srv005 squid3[3226]: 2018/02/03 09:36:44| aclIpParseIpData: WARNING: Netmask masks away part of the specified IP in '10.0.2.5/24' Please correct the template, so ip adresses will followed by the correct subnetmask of /32 and daily reload/restart don't produce warnings (that send via email). --- /etc/squid3/squid.conf.gen 2018-02-03 09:40:51.773426506 +0100 +++ /etc/squid3/squid.conf 2018-02-03 10:03:04.496192959 +0100 @@ -46,8 +46,8 @@ acl web_ports port 21 # network ACLs -acl localnet0 src 10.0.1.12/24 -acl localnet1 src 10.0.2.5/24 +acl localnet0 src 10.0.1.12/32 +acl localnet1 src 10.0.2.5/32 acl localnet2 src 10.0.1.0/24 acl localnet3 src 10.0.2.0/24 acl localnet4 src 10.0.3.0/24 UCS: 4.2-3 errata284 App Center compatibility: 4 Installed: mobydick=1.0.0 pkgdb=10 squid=3.4 Upgradable: