Skip to content
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

dnsdist: Add eBPF source address and qname/qtype filtering #4006

Merged
merged 3 commits into from Jun 24, 2016

Conversation

rgacogne
Copy link
Member

No description provided.

Split address and qname filtering into separate functions,
process the first bytes of the qname in the first function
to keep the second one under 4096 instructions.
The `imm` field of `struct bpf_insn` is signed, fix the cast.
Wrap FDs so they are released when we throw an exception in the ctor.
@ahupowerdns ahupowerdns merged commit 212da05 into PowerDNS:master Jun 24, 2016
@rgacogne rgacogne deleted the dnsdist-ebpf branch June 24, 2016 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants