Skip to content

Commit f16f5d6

Browse files
committed
fix(vm): enable NFT_LOG kernel module for nftables bypass detection
The nftables log statement requires CONFIG_NFT_LOG, which was not included in the VM guest kernel config. Without it, nft rejects rules containing the log keyword with "No such file or directory".
1 parent 0dee90a commit f16f5d6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎crates/openshell-driver-vm/runtime/kernel/openshell.kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ CONFIG_NFT_NUMGEN=y
7979
CONFIG_NFT_FIB_IPV4=y
8080
CONFIG_NFT_FIB_IPV6=y
8181
CONFIG_NFT_LIMIT=y
82+
CONFIG_NFT_LOG=y
8283
CONFIG_NFT_REDIR=y
8384
CONFIG_NFT_TPROXY=y
8485

0 commit comments

Comments
 (0)