Skip to content
Snippets Groups Projects

knot: add support for ECS EDNS option

Merged Mark Karpilovskij requested to merge ecs_support into master

Adds a server configuration option for enabling EDNS Client Subnet. If enabled, all responses to queries containing ECS contain ECS themselves.

Merge request reports

Pipeline #36373 passed with warnings

Pipeline passed with warnings for 81004fcb on ecs_support

Approval is optional

Merged by Daniel SalzmanDaniel Salzman 6 years ago (May 22, 2018 8:16am UTC)

Merge details

  • Changes merged into master with 6ac2bad0.
  • Deleted the source branch.
  • Auto-merge enabled

Pipeline #36466 passed

Pipeline passed for 6ac2bad0 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Just a note that the spec says server must NOT send ECS back if it's not supported (used) by the server.

    Maybe this should be part of geoip module. IIRC it used to be like that.

  • If the configuration option is enabled, the server supports ECS even though it does not necessarily use it to create responses. This is okay with RFC 7871 which states that "when a query containing an ECS option is received, an Authoritative Nameserver supporting ECS MAY use the address information specified in the option to generate a tailored response". Sure, it does not make much sense to enable it if no module makes use of it, so the user will probably enable it only together with the geoip module or perhaps other features which might make use of ECS in the future.

    Edited by Mark Karpilovskij
  • You are right. I thought there was some case in ECS support probing where this was relevant but there is not.

    The MR looks good to me btw. :thumbsup_tone1:

  • Daniel Salzman added 1 commit

    added 1 commit

    • 81004fcb - knot: add support for ECS EDNS option

    Compare with previous version

  • Daniel Salzman enabled an automatic merge when the pipeline for 81004fcb succeeds

    enabled an automatic merge when the pipeline for 81004fcb succeeds

  • Daniel Salzman mentioned in commit 6ac2bad0

    mentioned in commit 6ac2bad0

Please register or sign in to reply
Loading