Bug 197486

Summary: system-config-security level does not retain added other ports
Product: [Fedora] Fedora Reporter: Will Starck <wjs>
Component: system-config-securitylevelAssignee: Chris Lumens <clumens>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: john.mellor, ledge00, nathanbates99, rustysawdust, thu
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 1.6.16-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-08 17:29:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Will Starck 2006-07-02 21:41:40 UTC
Description of problem:

when making changes in the gui security and firewall app, previously saved open ports are closed after 
adding a new port


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


How reproducible: adding new ports under "other ports" disables previously saved other ports


Steps to Reproduce:
1. Open System>Administration>Security Level and FIrewall
2. Open Other ports and save a port, such as 110
3. Click OK then Save
4. Repeat same procedure but this time add a new port, such as 10000 or whatver
5. Click OK then Save
6. Port 110 will not be reachable 
  
Actual results: ports saved under "Other ports" do not retain previously saved state when new ports are 
added


Expected results: Opposite of above...


Additional info:

Comment 1 Will Starck 2006-07-02 21:47:16 UTC
Incidentally, the saved port will still show in the list of "other" ports, but it will not be reachable from the 
internet

Comment 2 Ledge 2006-07-03 22:17:48 UTC
I have very similar experience to this.  Additional ports (typically larger than
1024) are not presented in the GUI, but seem to be listed with "iptables -L".

How reproducible: every time.

Steps to Reproduce:
1. Execute "iptables -L" as root and note open ports.
2. Open System>Administration>Security Level and Firewall
3. Open Other ports and save a port, such as 113, that's not listed above.
4. Click OK then Save
5. Execute "iptables -L" as root again. Port 113 is now listed (dpt:auth) as open.
6. Open System>Administration>Security Level and Firewall.  "auth:tcp" is listed
in Other Ports.  Add another port such as 7005 "afs3-volser"
7. Click OK then Save
8. Executing "iptables -L" as root indicates "afs3-volser" is open.
9. Open System>Administration>Security Level and Firewall. "afs3-volser" is NOT
listed in Other Ports.  Only "auth:tcp" is listed in the Other Ports section.

Expected Results:  both "auth:tcp" and "afs3-volers" should be listed in the
Other Ports section of the GUI.

Actual Results: Only "auth:tcp" is listed in the Other Ports section. 
"afs3-volser" is not listed in the Other Ports section.

Component Version: system-config-securitylevel-1.6.16-2

Comment 3 Chris Lumens 2006-07-06 13:49:50 UTC
*** Bug 197751 has been marked as a duplicate of this bug. ***

Comment 4 Chris Lumens 2006-07-11 17:19:00 UTC
Can you try the system-config-securitylevel from Rawhide and see if that works
better for you?  There were problems with port names containing dashes, but I
fixed those up post-FC5.  I thought it had been made into an update, but I guess
not.

Comment 5 Nathan Bates 2006-07-18 00:48:18 UTC
I tried the latest/updated RPM before I filed this bug report.
system-config-securitylevel-1.6.16-1

Comment 6 Chris Lumens 2006-07-18 13:50:30 UTC
Nathan - the latest for FC5 is 1.6.16-2, which was released as an update.  That
version probably doesn't fix it either.  However, the latest in development is
1.6.22-2, which should contain a fix.  I think you should be able to install it
onto an FC5 system.  I don't think there are too many updates that will get
pulled in for it.

Comment 7 Chris Lumens 2006-08-04 17:02:13 UTC
*** Bug 200725 has been marked as a duplicate of this bug. ***

Comment 8 Chris Lumens 2006-08-04 17:03:23 UTC
Please try 1.6.16-3, in updates-testing.

Comment 9 John Mellor 2006-08-05 12:40:57 UTC
As you can verify by inspecting
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/5/i386/
there is no new system-config-securitylevel package available.  Was it withdrawn
or something?

Comment 10 Chris Lumens 2006-08-07 13:44:02 UTC
I built it on Friday, but the release team has not yet pushed it.  I guess just
check back in a day or two, and I'll bug them to make sure they do something
about it.