* NFTables: Can not add logs
@ 2020-09-29 10:00 Andreas Hoefler
2020-09-29 10:05 ` Florian Westphal
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Hoefler @ 2020-09-29 10:00 UTC (permalink / raw)
To: netfilter@vger.kernel.org
Hi
I am trying to figure out why I sometimes lose connection during some test activites.
Therefore I would like to use the logging option to see what has been dropped.
But I get:
nft add rule x y log
Error: Could not process rule: No such file or directory
add rule x y log
^^^^^^^^^^^^^^^^^
My config looks like this:
root@cpm:/lib/modules/5.4.58-rt35-gec079e118e# cat /proc/config.gz | gunzip | grep NFT
# CONFIG_NFT_NUMGEN is not set
CONFIG_NFT_CT=y
# CONFIG_NFT_FLOW_OFFLOAD is not set
CONFIG_NFT_COUNTER=y
# CONFIG_NFT_CONNLIMIT is not set
CONFIG_NFT_LOG=y
CONFIG_NFT_LIMIT=y
# CONFIG_NFT_MASQ is not set
# CONFIG_NFT_REDIR is not set
CONFIG_NFT_NAT=y
# CONFIG_NFT_TUNNEL is not set
# CONFIG_NFT_OBJREF is not set
# CONFIG_NFT_QUOTA is not set
# CONFIG_NFT_REJECT is not set
# CONFIG_NFT_COMPAT is not set
CONFIG_NFT_HASH=y
# CONFIG_NFT_XFRM is not set
# CONFIG_NFT_SOCKET is not set
# CONFIG_NFT_OSF is not set
# CONFIG_NFT_TPROXY is not set
# CONFIG_NFT_SYNPROXY is not set
# CONFIG_NFT_DUP_NETDEV is not set
# CONFIG_NFT_FWD_NETDEV is not set
# CONFIG_NFT_DUP_IPV4 is not set
# CONFIG_NFT_FIB_IPV4 is not set
# CONFIG_NFT_DUP_IPV6 is not set
# CONFIG_NFT_FIB_IPV6 is not set
# CONFIG_NFT_BRIDGE_META is not set
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
Is there anything I am missing or should the above work?
Thx
Andy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: NFTables: Can not add logs
2020-09-29 10:00 NFTables: Can not add logs Andreas Hoefler
@ 2020-09-29 10:05 ` Florian Westphal
2020-09-29 13:51 ` Andreas Hoefler
0 siblings, 1 reply; 3+ messages in thread
From: Florian Westphal @ 2020-09-29 10:05 UTC (permalink / raw)
To: Andreas Hoefler; +Cc: netfilter@vger.kernel.org
Andreas Hoefler <andreas.hoefler@hitachi-powergrids.com> wrote:
> Hi
>
> I am trying to figure out why I sometimes lose connection during some test activites.
> Therefore I would like to use the logging option to see what has been dropped.
>
> But I get:
> nft add rule x y log
> Error: Could not process rule: No such file or directory
> add rule x y log
^^^^^^^^^^^^^^^^^
> CONFIG_NFT_LOG=y
Missing CONFIG_NF_LOG_IPV4?
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: NFTables: Can not add logs
2020-09-29 10:05 ` Florian Westphal
@ 2020-09-29 13:51 ` Andreas Hoefler
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Hoefler @ 2020-09-29 13:51 UTC (permalink / raw)
To: Florian Westphal; +Cc: netfilter@vger.kernel.org
>Andreas Hoefler <andreas.hoefler@hitachi-powergrids.com> wrote:
>> Hi
>>
>> I am trying to figure out why I sometimes lose connection during some test activites.
>> Therefore I would like to use the logging option to see what has been dropped.
>>
>> But I get:
>> nft add rule x y log
>> Error: Could not process rule: No such file or directory add rule x y
>> log
>^^^^^^^^^^^^^^^^^
>> CONFIG_NFT_LOG=y
>
>Missing CONFIG_NF_LOG_IPV4?
Absolutely! Thx a lot.
Cheers
Andy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-29 13:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-29 10:00 NFTables: Can not add logs Andreas Hoefler
2020-09-29 10:05 ` Florian Westphal
2020-09-29 13:51 ` Andreas Hoefler
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.