Red Hat Bugzilla – Bug 128541
allow service names in "Other ports" for firewall configuration
Last modified: 2007-11-30 17:10:46 EST
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):
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.
Similar to enhancement request bug #124161, but I count this as a bug
because it is a regression from previous Features and Usability.
The following syntax works:
Looking at how anaconda historically handled this was to add :tcp to
services without a protocol specified.
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.