Linux Netfilter discussions
 help / color / mirror / Atom feed
From: leroy christophe <christophe.leroy@c-s.fr>
To: netfilter@vger.kernel.org, Pablo Neira Ayuso <pablo@netfilter.org>
Subject: Re: How are ct helper to be configured with NFT ?
Date: Fri, 05 Dec 2014 08:27:11 +0100	[thread overview]
Message-ID: <54815E4F.10500@c-s.fr> (raw)
In-Reply-To: <54761724.9060201@c-s.fr>

Hi,

I still get the warning from the kernel

# tftp -g server -r test.c
[ 1359.853269] nf_conntrack: automatic helper assignment is deprecated 
and it will be removed soon. Use the iptables CT target to attach 
helpers instead.
test.c               100% 
|************************************************************************| 
804   0:00:00 ETA

# nft list ruleset
table ip filter {
         chain output {
                  type filter hook output priority 0;
                  udp dport tftp ct helper "tftp"
         }

         chain input {
                  type filter hook input priority 0;
                  oifname "lo" accept
                  ct state { established, related} accept
                  ct state new tcp dport ssh accept
                  ip protocol icmp accept
                  drop
         }

         chain forward {
                  type filter hook forward priority 0;
                  drop
         }
}

Can you help ?

Thanks
Christophe

Le 26/11/2014 19:08, leroy christophe a écrit :
> I need to do something equivalent to
>
>     iptables -t raw -A OUTPUT -p udp -d 192.168.2.1 --dport tftp -j CT 
> --helper tftp
>
>
> I tried the following
>
> nft add rule filter output ct helper "tftp" udp dport tftp
>
> But it looks like it doesn't work, I still get.
>
> [ 1113.706274] nf_conntrack: automatic helper assignment is deprecated 
> and it will be removed soon. Use the iptables CT target to attach 
> helpers instead.
>
> What is the correct syntaxe for that ?
>
> Christophe


  reply	other threads:[~2014-12-05  7:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-26 18:08 How are ct helper to be configured with NFT ? leroy christophe
2014-12-05  7:27 ` leroy christophe [this message]
2014-12-05 10:38   ` Pablo Neira Ayuso
2015-02-25 12:16     ` leroy christophe
2015-02-25 15:58       ` Jason Sipula
2015-10-12 18:06         ` christophe leroy
2015-10-12 18:11           ` Jason Sipula
2015-10-13  5:49             ` Christophe Leroy
2015-10-12 18:21           ` Pablo Neira Ayuso
2016-03-02 18:14             ` christophe leroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54815E4F.10500@c-s.fr \
    --to=christophe.leroy@c-s.fr \
    --cc=netfilter@vger.kernel.org \
    --cc=pablo@netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox