Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3082 - [nft|bpf] netdev packet logging not possible due to unset kconf #8544

Closed
openwrt-bot opened this issue May 9, 2020 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

n8v8R:

nftables|bpf have access to netdev however with https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/generic/config-5.4;h=cdee4c973b2d6a642dadff38a95ec45b309c2dc2;hb=refs/heads/master#l3661

# CONFIG_NF_LOG_NETDEV is not set

it is not possible:

  • to debug nftables|bpf rules applied to netdev
  • to build nftables|bpf rules from packets logged on netdev

The kconf for 5.4 is just reference, the issue though is present in all branches.

upstream reference https://github.com/torvalds/linux/blob/v5.4/net/netfilter/Kconfig#L77

@openwrt-bot
Copy link
Author

n8v8R:

Tested with

{"kernel":"5.4.45","hostname":"OpenWrt","system":"ARMv7 Processor rev 1 (v7l)","model":"Turris Omnia","board_name":"cznic,turris-omnia","release":{"distribution":"OpenWrt","version":"SNAPSHOT","revision":"r13552-cd09f26660","target":"mvebu/cortexa9","description":"OpenWrt SNAPSHOT r13552-cd09f26660"}}


xzgrep NF_LOG_NETDEV /proc/config.gz

CONFIG_NF_LOG_NETDEV is not set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant