Re: nftables: log in netdev not possible? (Error: Could not process rule: No such file or directory)

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

 



On Fri, Oct 21, 2016 at 12:53:56PM +0200, Sverd Johnsen wrote:
> This works:
> 
> table netdev filter {
>     chain test {
>         type filter hook ingress device eth0 priority 0; policy accept;
>         counter packets 43 bytes 2820
>     }
> }
> 
> This does not:
> 
> table netdev filter {
>   chain test {
>   type filter hook ingress device eth0 priority 0;
>     counter log
>   }
> }
> 
> # nft -f /etc/nftables.conf
> 
> 
> 
> 
>  :(
> /etc/nftables.conf:112:1-2: Error: Could not process rule: No such
> file or directory
> table netdev filter {
> ^^

Just for the record (people searching for this), I posted this patch,
so this should hit upstream for the 4.10 release:

http://patchwork.ozlabs.org/patch/687918/
--
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