Bug 994125

Summary: cli: show time-out and distinguish time-outed rules
Product: Red Hat Enterprise Linux 7 Reporter: Tomas Dolezal <todoleza>
Component: firewalldAssignee: Eric Garver <egarver>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: low Docs Contact:
Priority: low    
Version: 7.0CC: atragler, jpopelka, jscotka, pvrabec, rkhan, sukulkar, todoleza
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-05 14:27:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 980210, 1295396    

Description Tomas Dolezal 2013-08-06 14:35:21 UTC
Description of problem:
cli: be able to show how much time does have a rule left (e.g. --add-service=http --timeout=60) in a table

when displaying running configuration by --list-all, mark rules/services, with a timeout active, somehow to distinguish them among the others

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

How reproducible:
always

Steps to Reproduce:
setup: firewall-cmd --add-service=http --timeout $((4*60))
firewall-cmd <list timeouted>
firewall-cmd --list-all

Expected results:
please fix or provide information why do you think it shouldn't be fixed this way
thanks

Additional info:
CCed affiliated users

I think marking them with other colour or (better) asterisk sign would suffice

Comment 3 Jiri Popelka 2013-09-20 11:29:35 UTC
(In reply to Tomas Dolezal from comment #0)
> when displaying running configuration by --list-all, mark rules/services,
> with a timeout active, somehow to distinguish them among the others

Nice idea, the problem is that we don't ship such info (e.g. whether the port/service is activated only temporarily) over D-Bus. To fix it we'd have to add it there and therefore change the D-Bus interface which is IMHO not feasible at the moment.

> I think marking them with other colour or (better) asterisk sign would suffice

However using colours could be a nice feature, so with the following commit we indicate non-zero exit status with red color.
https://git.fedorahosted.org/cgit/firewalld.git/commit/?id=789ff4d2487e13da120706e3cd94066803e31338

Comment 4 Thomas Woerner 2013-10-23 14:49:01 UTC
This is not possible at the moment.

We will re-think about this for the firewalld recode in C. But it will surely require a D-BUS interface change, which will not be possible.

Proposing for 7.1 to re-think about it.

Comment 19 Eric Garver 2019-03-05 14:27:41 UTC
Closing as WONTFIX. Bug has been open for 5.5 years with no action and minimal reports from users.