Created attachment 1084667 [details] Java class to list printers Description of problem: Java can not print when Masquerade is enabled Version-Release number of selected component (if applicable): firewalld-0.3.14.2-4.fc22 How reproducible: Compile the attached Test.java Steps to Reproduce: 1. Launch the Firewall Configuration tool 2. Check the Masquerade box 3. Run java Test Actual results: $ java Test Default PrintService: null no PrintService found Expected results: $ java Test Default PrintService: IPP Printer : CUPSPDFPrinter number of Services 6 printer name 1 CUPSPDFPrinter accepting accepting-jobs printer name 2 gbhurlaa accepting accepting-jobs printer name 3 gbhurlaa.confidential accepting accepting-jobs printer name 4 gbhurlh3 accepting accepting-jobs printer name 5 gbhurlh3.confidential accepting accepting-jobs printer name 6 PostScript accepting accepting-jobs Additional info: From looking at the cups ouput you can see that incoming connections that should be coming from localhost are coming in from the external ip address. When masquerading is disabled these connections come from 127.0.0.1 The masquerade rule added to iptables should exclude traffic to localhost
I had a similar issue with rabbitmq-server, which does not start due to masquerading issues. I reported a bug upstream in firewalld: https://github.com/t-woerner/firewalld/issues/61
firewalld-0.4.0-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-fc0691e6a7
firewalld-0.4.0-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-fc0691e6a7
firewalld-0.4.0-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-fc0691e6a7
firewalld-0.4.0-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-fc0691e6a7
firewalld-0.4.0-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Any chance of getting this built for F22 as well (where it was orginally reported)?
I don't think so, 0.4.0 has a lot changes. But the package itself is 'noarch' so you should be good to go with the F23 one.