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 1571957 - using set-log-denied after adding icmp-block-inversion shows firewalld error
Summary: using set-log-denied after adding icmp-block-inversion shows firewalld error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: firewalld
Version: 7.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Eric Garver
QA Contact: Tomas Dolezal
URL:
Whiteboard:
: 1636146 (view as bug list)
Depends On: 1637204
Blocks: 1654714
TreeView+ depends on / blocked
 
Reported: 2018-04-25 19:22 UTC by Akhil John
Modified: 2019-08-06 12:03 UTC (History)
3 users (show)

Fixed In Version: firewalld-0.6.3-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-06 12:03:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3486611 0 Troubleshoot None Firewalld shows ERROR when set-log-denied after enabling icmp-block-inversion. 2019-07-25 09:17:43 UTC
Red Hat Product Errata RHBA-2019:2024 0 None None None 2019-08-06 12:03:34 UTC

Description Akhil John 2018-04-25 19:22:11 UTC
Description of problem:


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

How reproducible:


Steps to Reproduce:
1. # firewall-cmd --permanent --zone=public --add-icmp-block-inversion
2. # firewall-cmd --reload
3. # firewall-cmd --set-log-denied=all

Actual results:

---------- /var/log/firewalld -----------------
2018-04-25 14:30:33 ERROR: Failed to apply rules. A firewall reload might solve the issue if the firewall has been modified using ip*tables or ebtables.
2018-04-25 14:30:33 ERROR: '/usr/sbin/iptables -w2 -I FWDI_public 5 -t filter -p icmp -j LOG --log-prefix FWDI_public_ICMP_BLOCK: ' failed: iptables: Index of insertion too big.

2018-04-25 14:30:34 ERROR: Failed to apply rules. A firewall reload might solve the issue if the firewall has been modified using ip*tables or ebtables.
2018-04-25 14:30:34 ERROR: '/usr/sbin/ip6tables -w2 -I FWDI_public 5 -t filter -p ipv6-icmp -j LOG --log-prefix FWDI_public_ICMP_BLOCK: ' failed: ip6tables: Index of insertion too big.

Expected results:
There should be no errors.

Comment 2 Eric Garver 2018-08-08 21:17:56 UTC
Upstream commits:

  95e15bf5c621 ("nftables: fix set-log-denied if target is not ACCEPT")
  0603c8b2a983 ("tests/regression: add coverage for rhbz 1571957")
  5c5efa952611 ("backends: always pass log_denied value to set_rule()/set_rules()")
  9b3d7255be65 ("ipXtables: fix ICMP block inversion with set-log-denied")

Comment 3 Eric Garver 2018-10-04 15:13:54 UTC
*** Bug 1636146 has been marked as a duplicate of this bug. ***

Comment 8 errata-xmlrpc 2019-08-06 12:03:14 UTC
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, 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-2019:2024


Note You need to log in before you can comment on or make changes to this bug.