Bug 47930 - IPv6 for cupsd.conf
IPv6 for cupsd.conf
Status: RESOLVED DUPLICATE of bug 34482
Product: UCS
Classification: Unclassified
Component: Printserver
UCS 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
https://help.univention.com/t/cups-ip...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-10-09 08:29 CEST by Christian Völker
Modified: 2018-10-09 09:43 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.114
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Völker univentionstaff 2018-10-09 08:29:46 CEST
Template file
/etc/univention/templates/files/etc/cups/cupsd.conf
is not IPv6 compatible.
==========================================================
# Attention!
# You may only print out of the _univention_master_server subnet.
# If you want to print from other subnets, please edit the following lines:
#
<Location />
    Order Deny,Allow
@!@
from univention.config_registry.interfaces import Interfaces
allow = configRegistry.get('cups/location/base')
if allow and allow != "networks":
        for addr in allow.split():
                print '    Allow From %s' % (addr,)
else:
        interfaces = Interfaces(configRegistry)
        for _name, iface in interfaces.ipv4_interfaces:
                print '    Allow From %s' % (iface.ipv4_address().masked().with_netmask,)
@!@
    Allow From 127.0.0.1
    Deny From All
</Location>
==========================================================

UCS is supposed to support IPv6 so this should even be valid for any apps running on UCS.
Comment 1 Erik Damrose univentionstaff 2018-10-09 09:43:50 CEST

*** This bug has been marked as a duplicate of bug 34482 ***