Bug 128541 - allow service names in "Other ports" for firewall configuration
Summary: allow service names in "Other ports" for firewall configuration
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-securitylevel
Version: rawhide
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Chris Lumens
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2004-07-24 20:30 UTC by John Reiser
Modified: 2007-11-30 22:10 UTC (History)
0 users

Clone Of:
Last Closed: 2005-03-29 16:44:02 UTC

Attachments (Terms of Use)

Description John Reiser 2004-07-24 20:30:44 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040625

Description of problem:
The names of well-known services (such as "nfs", "ipp", etc.) should
be allowed in the "Other ports" list.  Having to enter numerical port
numbers and protocol names is cumbersome and error-prone.  Also, it is
a regression from RedHat 9, where such names could be used in the
analogous part of an anaconda install.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. RedHat > System Settings > Security Level
2. Enter "nfs" in the Other ports list
3. Click OK.

Actual Results:  Invalid port given: nfs.  The proper format is
'port:protocol, port:protocol'.  For example, '1234:udp, 3456:tcp'

Expected Results:  The ports and protocols necessary for services that
are well-known by name should be enabled in the firewall configuration.

Additional info:

Similar to enhancement request bug #124161, but I count this as a bug
because it is a regression from previous Features and Usability.

Comment 1 Paul Nasrat 2004-07-28 08:27:50 UTC
The following syntax works:


Looking at how anaconda historically handled this was to add :tcp to
services without a protocol specified.  

Comment 2 Chris Lumens 2005-03-29 16:44:02 UTC
Changed the error message to say that service names are fine to use.  Also made
sure to display service names instead of port names in the other ports field.

Note You need to log in before you can comment on or make changes to this bug.