eBPF Dynblocks based on Qname #16528
-
|
Hey, I'm using dnsdist 2.0.1, and I've been trying to enable some dynblocks based on Qnames thanks to setSuffixMatchRule, for the blocks to then be performed using BPFFilters I defined. Here are my configs : Now the issue I get is that the dynblocks are added in userspace, and not by eBPF. & I'm not so sure on what the setFilterMatchRule is supposed to do, is it normal that the Qname is blocked using userspace and not the qnamefilter eBPF map ? Some info : when I use a setQueryRate, I get no issue and the client is blocked using eBPF ; I also get the same issue even if I use the default eBPF settings of dnsdist. Is there another way to achieve some eBPF dynamic blocks based on the requested Qnames ? Thanks ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
This is intended: we unfortunately have not been able to do suffix-based blocking on names via eBPF, because of limitations imposed by the eBPF verifier (number of instructions, complexity of the program). We can block an exact name, but not a name and everything under it, which is what we would need to keep feature parity with the non-eBPF blocks. |
Beta Was this translation helpful? Give feedback.
This is intended: we unfortunately have not been able to do suffix-based blocking on names via eBPF, because of limitations imposed by the eBPF verifier (number of instructions, complexity of the program). We can block an exact name, but not a name and everything under it, which is what we would need to keep feature parity with the non-eBPF blocks.