Re: nft -f fails with netlink: Error: Could not process rule: Message too long

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

 



Off the top of my head,  --echo  and  --debug all  will increase the quantity of output (the latter quite a lot).

Eric


------- Original Message -------
On Thursday, January 12th, 2023 at 23:05, Gio <gioflux@xxxxxxxxx> wrote:


> Hi,
> I have a relatively small config.nft file with ~220 lines that I am
> trying to load onto my system. When I do this I get the below error
> message.
> 
> The ruleset is very small, so I don't expect this to be a buffer
> issue. Are there any recommended troubleshooting steps or perhaps a
> way to load the file in a more verbose way to see in which line of the
> config.nft file this error is triggered?
> 
> Thanks.
> 
> root@nf:~/nftables-geoip# nft -f noverbose.nft
> netlink: Error: Could not process rule: Message too long
> root@nf:~/nftables-geoip# wc -l noverbose.nft
> 221 noverbose.nft




[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