Skip to content

Conversation

@rgacogne
Copy link
Member

@rgacogne rgacogne commented Nov 13, 2020

Short description

This commit switches to the use of eBPF positive offsets to access the content of the transport and application layers, since using negative offsets (needed to access the other layers) led to issues with long qnames.
This is cleaner anyway :-)

Backport of #9689 to rel/dnsdist-1.5.x.

(cherry picked from commit abbc728)

Checklist

I have:

  • read the CONTRIBUTING.md document
  • compiled this code
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)
  • checked that this code was merged to master

This commit switches to the use of eBPF positive offsets to access
the content of the transport and application layers, since using
negative offsets (needed to access the other layers) led to issues
with long qnames.
This is cleaner anyway :-)

(cherry picked from commit abbc728)
@rgacogne rgacogne added this to the dnsdist-1.5.x milestone Nov 13, 2020
@rgacogne rgacogne merged commit e73a8c1 into PowerDNS:rel/dnsdist-1.5.x Nov 13, 2020
@rgacogne rgacogne deleted the ddist15-fix-ebpf-long-names branch November 13, 2020 11:23
@rgacogne rgacogne mentioned this pull request Mar 10, 2021
8 tasks
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.

1 participant