Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1452681 - firewalld: ERROR: INVALID_MODULE: nf_nat_ftp
firewalld: ERROR: INVALID_MODULE: nf_nat_ftp
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: firewalld (Show other bugs)
7.3
All Linux
medium Severity medium
: rc
: 7.4
Assigned To: Eric Garver
Tomas Dolezal
:
Depends On:
Blocks: 1420851 1472751 1470965
  Show dependency treegraph
 
Reported: 2017-05-19 09:09 EDT by dbodnarc
Modified: 2018-04-10 06:31 EDT (History)
5 users (show)

See Also:
Fixed In Version: firewalld-0.4.4.4-7.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-10 06:30:16 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:0702 None None None 2018-04-10 06:31 EDT

  None (edit)
Description dbodnarc 2017-05-19 09:09:17 EDT
Description of problem:
When I restart firewalld - it successfully unloads the firewall netfilter kernel modules and loads just the modules that are needed for the new configuration:
# systemctl restart firewalld
or
# firewall-cmd --complete-reload

The actual problem is that firewalld unloads netfilter modules which cannot be included in its configuration: we cannot include nf_nat_ftp module into firewalld configuration:

as per manual page `man firewall-cmd`:
------------------------------------------------------------------
       --permanent --service=service --add-module=module
           Add a new module to the permanent service.
------------------------------------------------------------------
to include `nf_nat_ftp` kernel module for ftp service I used the mentioned syntax, but once tried I received the following error:
Error: INVALID_MODULE: nf_nat_ftp

Are there any limitations for the kernel modules which can be included?

Version-Release number of selected component (if applicable):
> RHEL7.3
# rpm -q firewalld kernel
firewalld-0.4.3.2-8.el7.noarch
kernel-3.10.0-514.el7.x86_64

How reproducible:
# firewall-cmd --permanent --service=ftp --add-module=nf_nat_ftp
Error: INVALID_MODULE: nf_nat_ftp

Actual results:
Error: INVALID_MODULE: nf_nat_ftp

Expected results:
success
Comment 2 Tomas Dolezal 2017-05-22 08:50:38 EDT
the above command suceeded in newer version, but the module is still not loadable by firewalld due to 'nf_conntrack_' built-in prefix requirement

# rpm -q firewalld
firewalld-0.4.4.4-3.el7.noarch
# firewall-cmd --permanent --service=ftp --add-module=nf_nat_ftp
success
# firewall-cmd --add-service ftp
Error: INVALID_HELPER: nf_nat_ftp
# firewall-cmd --permanent --new-helper nat-ftp --module nf_nat_ftp
Error: INVALID_MODULE: 'nf_nat_ftp' does not start with 'nf_conntrack_'
Comment 7 Tomas Dolezal 2017-08-08 05:40:54 EDT
granting qa_ack for 7.5; RPL
Comment 13 errata-xmlrpc 2018-04-10 06:30:16 EDT
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/RHEA-2018:0702

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