Skip to content

Performance vulnerability in dname compression #173

Description

@vzuevsky

We saw some automated NSEC walks were degrading performance of our HW fleet. Based on that, I had designed an exploit that exacerbated the impact. Both scenaria employ query packets with the maximal number of labels:

Screenshot 2022-04-18 at 17 59 34

I profiled software performance under degradation and observed the culprit, that happens be LDNS wire compression algorithm as per this flame chart:

flame

I have now redesigned that algorithm and would like to contribute with a patch. I have also added a doc file explaining the proposed fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions