-
Notifications
You must be signed in to change notification settings - Fork 20
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
error "netlink receive: no such file or directory" #58
Comments
Hey 👋 From the top of my head, I can't name a reason for ENOENT at this point. Maybe the queue is overloaded and elements in the queue are dropped?
You mean, this issue happens only if you set a verdict for a packet? |
I'm logging stats and there are no drops on kernel or user space aojea/kindnet#181 (comment) I wonder if the problem is that it takes too much to emit a verdict... |
Could you provide a minimal reproducible example? |
I see them in the CI jobs I have , https://github.com/aojea/kindnet/actions/runs/13032434599 but that is a very complex environment , is a kubernetes cluster will multiple applications running ... I can try to get a reproducer or more info, do you have some suggestion on some instrumentation I can add to when it fails so we can have more information? |
Can you check and log the returned error for d.nfq.SetVerdict()? I'm wondering if this reveals more information. |
no luck, there is no errors setting the verdict |
Thanks for this great project, really useful ... I'm happily using it for two kubernetes projects
https://github.com/kubernetes-sigs/kube-network-policies/
https://github.com/aojea/kindnet
The later project also vendors the forme.
I have an issue that I'm puzzled with trying to solve, I've implemented a dnscache using nfqueue , basically I send the packet to userspace and if it is cached it drops the packet and I spoof the answer, and if there is any error or not cached, the packet is accepted and it goes through.
The problem is that I started to see errors where the packets are dropped, aojea/kindnet#158 ,
no such file or directory
that IIUIC is ENOENT , but I would not expect to have data lossThe nftables rules are very simple, it just matches dns packets sent to some specific ips from some predetermined range
Appreciate If you have any thoughts or hints to try to solve that problem
The text was updated successfully, but these errors were encountered: