Bug 1404076
Summary: | Querying for a port range within another port range in firewalld gives 'no' output. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Akhil John <ajohn> |
Component: | firewalld | Assignee: | Eric Garver <egarver> |
Status: | CLOSED ERRATA | QA Contact: | Jiri Peska <jpeska> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.1 | CC: | atragler, egarver, jmaxwell, jpeska, rkhan, sukulkar, todoleza |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | firewalld-0.8.2-1.el8 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-04 01:39:57 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: | 1637204 | ||
Bug Blocks: | 1807630, 1825061 |
Description
Akhil John
2016-12-13 01:58:20 UTC
*** Bug 1563281 has been marked as a duplicate of this bug. *** Fixes upstream: 2925de324443 ("ports: allow querying a single added by range") 3fb707228ced ("tests/regression: add coverage for rhbz 1404076") moving to rhel8 as a bug report, ports within a range are correctly reported as present, but that does not apply for subranges. firewalld-0.7.0-5.el8.noarch last line should be also 'yes' for port in 3199 3200 3250 3299 3300 3200-3300 3250-3260 ; do echo -ne "port $port/tcp:\t"; firewall-cmd --query-port $port/tcp; done port 3199/tcp: no port 3200/tcp: yes port 3250/tcp: yes port 3299/tcp: yes port 3300/tcp: yes port 3200-3300/tcp: yes port 3250-3260/tcp: no (In reply to Tomas Dolezal from comment #7) > port 3200-3300/tcp: yes this port range was defined before the output in previous comment # firewall-cmd --list-ports 3200-3300/tcp Upstream: fae2b48a5880 ("test: regression/rhbz1404076: enhance to include sub ranges") f12e1587433c ("fix: source_port: support querying sub ranges") 6c0b07ad482d ("fix: port: support querying sub ranges") cd8e0c3774a6 ("improvement: port: simplify queryPort") Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (firewalld bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4461 |