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

Merged
merged 3 commits into from Jun 24, 2016

Projects

None yet

2 participants

@rgacogne
Member

No description provided.

rgacogne added some commits Jun 1, 2016
@rgacogne rgacogne dnsdist: Add eBPF source address v4/v6 and qname filtering 87b515e
@rgacogne rgacogne eBPF: eBPF case-insensitive qname filtering
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.
d45189b
@ahupowerdns ahupowerdns merged commit 212da05 into PowerDNS:master Jun 24, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@rgacogne rgacogne deleted the rgacogne:dnsdist-ebpf branch Jun 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment