[PATCH] [RHEL/6] When disabling print server capabilities search only for uncommented occurrences of Port and Listen CUPS directives

Jan Lieskovsky jlieskov at redhat.com
Thu Mar 6 17:00:15 UTC 2014


When disabling print server capabilities search only for uncommented (possibly
whitespace prefixed) occurrences of Port and Listen directives in /etc/cups/cupsd.conf
(so for example when Port directive is present, but commented out the rule wouldn't fail,
when it should actually pass).

Also allow IP address of localhost to be specified in IPv6 form in the Listen directive
pattern.

Patch tested on RHEL-6 and seems to be working properly.

Please review.

Thank you && Regards, Jan.
--
Jan iankko Lieskovsky / Red Hat Security Technologies Team

P.S.: Also adjusted changed object versions & test_attestation entry.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-RHEL-6-When-disabling-print-server-capabilities-sear.patch
Type: text/x-patch
Size: 2852 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/scap-security-guide/attachments/20140306/789ebc80/attachment.bin>


More information about the scap-security-guide mailing list