Open PrOOnOOb opened 2 years ago
I can reproduce the issue by
sudo nft delete table ip crowdsec
sudo cscli decisions add --ip 1.2.3.4
The bouncer then emits the error
ERRO[27-07-2022 17:42:57] unable to commit add decisions Receive: netlink receive: no such file or directory
Upon deleting some decision, bouncer emits the error
ERRO[27-07-2022 17:46:07] unable to commit delete decisions Receive: netlink receive: no such file or directory
@PrOOnOOb any chance there's some service deleting the table ?
Hey no there is no service running that deletes rules or otherwise interferes with the firewall.
Hello, i have a problem with the nftables bouncer there are many errors in the bouncer log files all errors
it seems like the bouncer can not create the needed tables if i create the tables manually, the tables stay empty.
Unless i restart the bouncer then the bouncer delete the tables but did not create new ones i don't use any firewall managing tools like ufw. Rules I created manually works fine
i enabled the debugging mode for the bouncer the log is attached crowdsec-firewall-bouncer.log
it looks to me like according to the logs, the bouncer manages to create everything (table, chain, set, rule) The whole thing runs on a VServer with OpenVZ virtualization (Debian 11 Kernel 4.19.0 I have crowdsec on several other servers that are kvm virtualized, everything runs without problems. I have no way to test it on another OpenVZ server. I tried to repeat in an LXC container, everything works under the same conditions. Are problems with OpenVZ known? Or is it a different problem that I am overlooking?