Univention Bugzilla – Bug 36623
local networks only parsed from "interfaces/eth"
Last modified: 2015-03-25 16:42:30 CET
2014111221000249 squid.conf template does iterate over "interfaces/eth" to figure out the "local neworks". In times of bug26058 this is insufficient :-)
from univention.management.console.modules.setup.network import Interfaces i = Interfaces() print i.items() → we could move the lib from system-setup into univention.lib. It is capable of everything which have to do with bonding, bridging, vlan, ethernet. It is generic so that it does not depend on the rest of system setup.
r59012 | Bug #36623 squid: Support interfaces other then ethX Use univention.config_registry.interfaces#Interfaces Package: univention-squid Version: 8.0.2-3.225.201503151642 Branch: ucs_4.0-0 Scope: errata4.0-1 r59014 | Bug #36623 squid: Support interfaces other then ethX YAML 2015-03-13-univention-squid.yaml QA: ucr set interfaces/restart/auto=false interfaces/br0/{address=1.2.3.4,netmask=255.0.0.0,network=1.0.0.0,broadcast=1.255.255.255} ucr filter < squid.conf | grep localnet
Code review: OK Tests: OK Advisory: OK
<http://errata.univention.de/ucs/4.0/126.html>