* nftables: log in netdev not possible? (Error: Could not process rule: No such file or directory)
@ 2016-10-21 10:53 Sverd Johnsen
2016-10-27 19:35 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Sverd Johnsen @ 2016-10-21 10:53 UTC (permalink / raw)
To: netfilter
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 {
^^
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: nftables: log in netdev not possible? (Error: Could not process rule: No such file or directory)
2016-10-21 10:53 nftables: log in netdev not possible? (Error: Could not process rule: No such file or directory) Sverd Johnsen
@ 2016-10-27 19:35 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2016-10-27 19:35 UTC (permalink / raw)
To: Sverd Johnsen; +Cc: netfilter
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-27 19:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-21 10:53 nftables: log in netdev not possible? (Error: Could not process rule: No such file or directory) Sverd Johnsen
2016-10-27 19:35 ` Pablo Neira Ayuso
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.