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 1841292 - nftables manpage omits 'notrack' keyword
Summary: nftables manpage omits 'notrack' keyword
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: nftables
Version: 8.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Phil Sutter
QA Contact: Jiri Peska
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-28 19:09 UTC by Tomas Dolezal
Modified: 2020-11-04 02:00 UTC (History)
3 users (show)

Fixed In Version: nftables-0.9.3-14.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1850527 (view as bug list)
Environment:
Last Closed: 2020-11-04 01:58:24 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:4535 0 None None None 2020-11-04 01:58:38 UTC

Description Tomas Dolezal 2020-05-28 19:09:37 UTC
Description of problem:
in iptables' raw table there's -j NOTRACK target which should translate into 'notrack' as described at nftables wiki [1]. current manpage uses this keyword only in examples without having it in correct section (around CT?).

[1] https://wiki.nftables.org/wiki-nftables/index.php/Setting_packet_connection_tracking_metainformation

Version-Release number of selected component (if applicable):
nftables-0.9.3-12.el8.x86_64

How reproducible:
always

Steps to Reproduce:
observe nft manpage

Actual results:
>tcp flags syn notrack
..is the only mention of this after "Make SYN packets untracked." example

Expected results:
possibly exhaustive list of all permitted keywords (with kernel version support information if needed) that would include "notrack"

Additional info:
iptables-translate also fails to translate this rule:
>iptables-translate -t raw -A PREROUTING -p tcp --dport 6801 -j NOTRACK
nft # -t raw -A PREROUTING -p tcp --dport 6801 -j NOTRACK

Comment 1 Phil Sutter 2020-06-22 13:26:59 UTC
Missing translation fixed upstream by commit:

commit f3d4a3ddbcfca15a00dd9758f481420038f6de10
Author: Pablo Neira Ayuso <pablo>
Date:   Wed Apr 15 18:16:41 2020 +0200

    extensions: libxt_CT: add translation for NOTRACK
    
    Signed-off-by: Pablo Neira Ayuso <pablo>


Missing man page entry fixed upstream as well:

commit f16fbe76f62dcb9f7395d1837ad2d056463ba55f
Author: Phil Sutter <phil>
Date:   Mon Jun 22 15:07:40 2020 +0200

    doc: Document notrack statement
    
    Merely a stub, but better to mention it explicitly instead of having it
    appear in synproxy examples and letting users guess as to what it does.
    
    Signed-off-by: Phil Sutter <phil>
    Reviewed-by: Florian Westphal <fw>

Comment 2 Tomas Dolezal 2020-06-23 17:43:05 UTC
Hello Phil,
(In reply to Phil Sutter from comment #1)
> Missing translation fixed upstream by commit:
> 
> commit f3d4a3ddbcfca15a00dd9758f481420038f6de10
> Author: Pablo Neira Ayuso <pablo>
> Date:   Wed Apr 15 18:16:41 2020 +0200
> 
>     extensions: libxt_CT: add translation for NOTRACK
>     
>     Signed-off-by: Pablo Neira Ayuso <pablo>

I saw this commit in iptables repo which is not related to nftables component AFAIK. Could you please check that it's the correct commit and bugzilla?

Comment 3 Phil Sutter 2020-06-24 09:41:06 UTC
Hi Tomas,

(In reply to Tomas Dolezal from comment #2)
> Hello Phil,
> (In reply to Phil Sutter from comment #1)
> > Missing translation fixed upstream by commit:
> > 
> > commit f3d4a3ddbcfca15a00dd9758f481420038f6de10
> > Author: Pablo Neira Ayuso <pablo>
> > Date:   Wed Apr 15 18:16:41 2020 +0200
> > 
> >     extensions: libxt_CT: add translation for NOTRACK
> >     
> >     Signed-off-by: Pablo Neira Ayuso <pablo>
> 
> I saw this commit in iptables repo which is not related to nftables
> component AFAIK. Could you please check that it's the correct commit and
> bugzilla?

Ah, sorry for the confusion. Indeed the two mentioned commits belong to
different repositories. I'll clone this ticket for iptables component to add
translation for NOTRACK target.

From a technical point of view we're talking features here. Would you agree? If so, I guess we should move the ticket(s) to 8.4.

Cheers, Phil

Comment 4 Tomas Dolezal 2020-06-24 16:18:20 UTC
Phil,
as this is just a documentation fix, I don't see a reason not to include it now.
The iptables "translation" bug 1850527 is indeed RFE, I also removed Documentation keyword there as it was not relevant at all.

Comment 10 errata-xmlrpc 2020-11-04 01:58:24 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 (nftables 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/RHEA-2020:4535


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