Bug 498429 - adding cups to allowed services in the firewall does not allow broadcasting
Summary: adding cups to allowed services in the firewall does not allow broadcasting
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: Printing (show other bugs)
Version: Milestone 1
Hardware: All SUSE Other
: P3 - Medium : Normal (vote)
Target Milestone: Factory
Assignee: Johannes Meixner
QA Contact: Johannes Meixner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 811188
  Show dependency treegraph
 
Reported: 2009-04-27 13:06 UTC by Christian Trippe
Modified: 2016-04-15 09:36 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
fixed /etc/sysconfig/SuSEfirewall2.d/services/cups (383 bytes, text/plain)
2009-06-03 12:38 UTC, Johannes Meixner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Trippe 2009-04-27 13:06:30 UTC
User-Agent:       Mozilla/5.0 (compatible; Konqueror/4.2; Linux) KHTML/4.2.2 (like Gecko) SUSE

I wanted to have my network in an external zone, but allow network printing via cups. So I enabled the cups service in the firewall module of yast, but still no remote printers were listed in the printer module of yast, although several are available in my network.

I have to manually add '631' in the field for the external zone in the broadcast section of the firewall module or to modify to receive the printers via cups.

Reproducible: Always

Actual Results:  
No remote printers found after enabling the cups service in the firewall module.

Expected Results:  
Remote printers are shown after enabling cups service in the firewall.
Comment 1 Ludwig Nussel 2009-05-15 06:58:50 UTC
/etc/sysconfig/SuSEfirewall2.d/services/cups needs to list 'ipp' in BROADCAST as well to make this work.
Comment 2 Johannes Meixner 2009-05-19 06:47:28 UTC
Christian Trippe,
revert your manually add '631' in the field for the external
zone in the broadcast section of the firewall module and
set in /etc/sysconfig/SuSEfirewall2.d/services/cups
---------------------------------------------------------------
BROADCAST="ipp"
---------------------------------------------------------------
and restart the firewall "SuSEfirewall2 restart"
and verify if it still works for you.
Comment 3 Christian Trippe 2009-05-19 10:32:33 UTC
I have done the steps from comment #2 and it still works for me.
Comment 4 Johannes Meixner 2009-05-19 11:05:12 UTC
Many Thanks!
I appreciate your feedback!

/etc/sysconfig/SuSEfirewall2.d/services/cups
belongs to the cups-libs RPM and therefore
I change the component to "Printing".
Comment 5 Johannes Meixner 2009-06-03 12:38:17 UTC
Created attachment 295949 [details]
fixed /etc/sysconfig/SuSEfirewall2.d/services/cups

"diff old new" results:
---------------------------------------------------------------------
< # space separated list of allowed UDP broadcast ports
< BROADCAST=""
---
> # space separated list of allowed UDP ports for UDP broadcasts
> BROADCAST="ipp"
---------------------------------------------------------------------
Comment 6 Johannes Meixner 2009-06-03 12:54:37 UTC
Fixed for openSUSE 11.2 and
submitted to home:jsmeix:Factory/cups and
created submitreq for openSUSE:Factory.
Comment 7 Bernhard Wiedemann 2016-04-15 09:36:13 UTC
This is an autogenerated message for OBS integration:
This bug (498429) was mentioned in
https://build.opensuse.org/request/show/11406 Factory / cups