Re: ENOENT when adding conntrack rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9 February 2018 at 13:47, Andreas Koller <kollergefahr@xxxxxx> wrote:
> Hi,
>
> I'm trying to add the following rule:
> nft add rule filter input ct state established,related accept
> but continue getting ENOENT (no such file or directory)
>
> Both the table and the chain are existing:
>
> table inet filter {
>         chain input {
>                 type filter hook input priority 0; policy accept;
>         }
> }
>

Try:

nft add rule inet filter input [...]

you are missing the family, which is by default 'ip'.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux