(Created page with "=Description= This is the test case to check if it's possible for other applications (system-config-printer in this case) to modify the firewall. =How to test= === Prerequisit...") |
mNo edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
=How to test= | =How to test= | ||
=== | === 1. Prerequisite === | ||
system-config-printer >= 1.3.12-1.fc18 | |||
=== 2. Run system-config-printer === | |||
=== Run system-config-printer === | |||
system-config-printer --debug | system-config-printer --debug | ||
Line 24: | Line 16: | ||
Whether you see the dialog and what items the dialog contains depends on what zone the interface is in. | Whether you see the dialog and what items the dialog contains depends on what zone the interface is in. | ||
For example: | For example: | ||
In 'trusted' zone you won't see the dialog at all because all | In 'trusted' zone you won't see the dialog at all because all traffic is trusted. | ||
In 'work' | In 'home' and 'work' zones you won't see it either because all needed services are already allowed. | ||
In 'public' (the default) it will ask you | In 'public' (the default) it will ask you for allowing of 'incoming IPP Browse packets'. | ||
Press 'Adjust Firewall'. | Press 'Adjust Firewall'. | ||
=== Check === | === 3. Check === | ||
After this the needed services should be allowed | After this the needed services should be allowed, see | ||
firewall-cmd --list | firewall-cmd --list-all | ||
and check that you see ipp-client, mdns and ipp services. | and check that you see ipp-client, mdns and ipp services. | ||
In the output of system-config-printer --debug you should see something similar to: | In the output of system-config-printer --debug you should see something similar to: | ||
Using | |||
Using /org/fedoraproject/FirewallD1 | |||
Examining firewall | Examining firewall | ||
Firewall data obtained | |||
Using cached firewall data | |||
Asking for permission to adjust firewall: | Asking for permission to adjust firewall: | ||
The firewall may need adjusting in order to detect network printers. Adjust the firewall now? | The firewall may need adjusting in order to detect network printers. Adjust the firewall now? | ||
- Allow all incoming IPP Browse packets | - Allow all incoming IPP Browse packets | ||
Fetching devices after firewall dialog response | Fetching devices after firewall dialog response | ||
Now quit system-config-printer, do 'service firewalld restart' and try again to test whether the changes previously done to firewall are permanent, i.e. system-config-printer shouldn't ask again to allow once allowed service. |
Latest revision as of 09:44, 11 October 2012
Description
This is the test case to check if it's possible for other applications (system-config-printer in this case) to modify the firewall.
How to test
1. Prerequisite
system-config-printer >= 1.3.12-1.fc18
2. Run system-config-printer
system-config-printer --debug
Click the blue 'plus' button. After entering your password you should see a dialog asking you if you want to adjust firewall. Whether you see the dialog and what items the dialog contains depends on what zone the interface is in. For example: In 'trusted' zone you won't see the dialog at all because all traffic is trusted. In 'home' and 'work' zones you won't see it either because all needed services are already allowed. In 'public' (the default) it will ask you for allowing of 'incoming IPP Browse packets'. Press 'Adjust Firewall'.
3. Check
After this the needed services should be allowed, see
firewall-cmd --list-all
and check that you see ipp-client, mdns and ipp services.
In the output of system-config-printer --debug you should see something similar to:
Using /org/fedoraproject/FirewallD1 Examining firewall Firewall data obtained Using cached firewall data Asking for permission to adjust firewall: The firewall may need adjusting in order to detect network printers. Adjust the firewall now? - Allow all incoming IPP Browse packets Fetching devices after firewall dialog response
Now quit system-config-printer, do 'service firewalld restart' and try again to test whether the changes previously done to firewall are permanent, i.e. system-config-printer shouldn't ask again to allow once allowed service.