Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1374116

Summary: firewall-cmd --list-all-zones does not show default icmp blocks
Product: Red Hat Enterprise Linux 7 Reporter: Jim Wildman <jwildman>
Component: firewalldAssignee: Thomas Woerner <twoerner>
Status: CLOSED NOTABUG QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: todoleza
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-18 15:00:30 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:

Description Jim Wildman 2016-09-08 02:16:51 UTC
Description of problem:
firewall-cmd --list-all-zones does not show the default ipv6 icmp blocks that are implemented.  These blocks can be displayed with ip6tables -L -n

Version-Release number of selected component (if applicable):
firewalld-0.3.9-14.el7.noarch


How reproducible:
Build a base RHEL 7.latest
Verify firewalld is active

# firewall-cmd --list-all-zones | grep icmp
  icmp-blocks: 
  icmp-blocks: 
  icmp-blocks: 
  icmp-blocks: 
  icmp-blocks: 
  icmp-blocks: 
  icmp-blocks: 
  icmp-blocks: 
  icmp-blocks: 

# ip6tables -L -n | grep icmp
ACCEPT     icmpv6    ::/0                 ::/0                
REJECT     all      ::/0                 ::/0                 reject-with icmp6-adm-prohibited
ACCEPT     icmpv6    ::/0                 ::/0                
REJECT     all      ::/0                 ::/0                 reject-with icmp6-adm-prohibited

Expected results:
I expected to see the icmpv6 rejects in the icmp-block listings for the default zone

Additional info:
I also have not found how to turn the icmpv6 reject strings off (I will file another bug for that).

Comment 2 Thomas Woerner 2016-09-30 12:03:20 UTC
This request was very late for 7.3. I am proposing it for 7.4

Comment 3 Thomas Woerner 2017-01-18 15:00:30 UTC
There is no default reject of ICMP types. The default is to accept all icmp types, which can be limited using icmp-block or icmp-block-inversion. There is no icmp-block by default.

The reject line form your "ip6tables -L" output is the final reject line, which is rejecting everything that has not been allowed. But as all ICMP types are accepted before this does not affect ICMP types.

Closing as NOT A BUG.