Linux Netfilter discussions
 help / color / mirror / Atom feed
* nftables jump <chain> target invalid argument
@ 2013-11-14 16:53 Alex Chapman
  2013-11-15 13:06 ` Eric Leblond
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Chapman @ 2013-11-14 16:53 UTC (permalink / raw)
  To: netfilter@vger.kernel.org

Hi,

When attempting to use the jump target to forward traffic to a newly created chain I get the following error:

[root@home nftables]# nft add rule filter forward ip daddr 9.9.9.9 jump new
<cmdline>:1:1-49: Error: Could not process rule in batch: Invalid argument
add rule filter forward ip daddr 9.9.9.9 jump new
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


[root@home nftables]# nft list table filter
table ip filter {
        chain input {
                 type filter hook input priority 0;
        }

        chain forward {
                 type filter hook forward priority 0;
        }

        chain output {
                 type filter hook output priority 0;
        }

        chain new {
        }
}


Is this the correct use of the command? 

Thanks! 		 	   		  

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: nftables jump <chain> target invalid argument
  2013-11-14 16:53 nftables jump <chain> target invalid argument Alex Chapman
@ 2013-11-15 13:06 ` Eric Leblond
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Leblond @ 2013-11-15 13:06 UTC (permalink / raw)
  To: Alex Chapman; +Cc: netfilter@vger.kernel.org

Hello,

On Thu, 2013-11-14 at 16:53 +0000, Alex Chapman wrote:
> Hi,
> 
> When attempting to use the jump target to forward traffic to a newly created chain I get the following error:
> 
> [root@home nftables]# nft add rule filter forward ip daddr 9.9.9.9 jump new
> <cmdline>:1:1-49: Error: Could not process rule in batch: Invalid argument
> add rule filter forward ip daddr 9.9.9.9 jump new
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Looks like an issue. I'm investigating into it.

BR,
-- 
Eric Leblond <eric@regit.org>
Blog: https://home.regit.org/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-15 13:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-14 16:53 nftables jump <chain> target invalid argument Alex Chapman
2013-11-15 13:06 ` Eric Leblond

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox