1. 31 Jul, 2020 5 commits
  2. 27 Jul, 2020 5 commits
    • Evan Hunt's avatar
      Merge branch '1619-rpz-wildcard-passthru-ignored-v9_11' into 'v9_11' · 64e1429f
      Evan Hunt authored
      Resolve "RPZ wildcard passthru ignored"
      See merge request !3874
    • Diego dos Santos Fronza's avatar
      Update copyrights · 4bc9ee18
      Diego dos Santos Fronza authored
    • Diego dos Santos Fronza's avatar
      Add CHANGES entry · cba75d58
      Diego dos Santos Fronza authored
    • Diego dos Santos Fronza's avatar
    • Diego dos Santos Fronza's avatar
      Fix rpz wildcard name matching · 33ae88f0
      Diego dos Santos Fronza authored
      Whenever an exact match is found by dns_rbt_findnode(),
      the highest level node in the chain will not be put into
      chain->levels[] array, but instead the chain->end
      pointer will be adjusted to point to that node.
      Suppose we have the following entries in a rpz zone:
      example.com     CNAME rpz-passthru.
      *.example.com   CNAME rpz-passthru.
      A query for www.example.com would result in the
      following chain object returned by dns_rbt_findnode():
      chain->level_count = 2
      chain->level_matches = 2
      chain->levels[0] = .
      chain->levels[1] = example.com
      chain->levels[2] = NULL
      chain->end = www
      Since exact matches only care for testing rpz set bits,
      we need to test for rpz wild bits through iterating the nodechain, and
      that includes testing the rpz wild bits in the highest level node found.
      In the case of an exact match, chain->levels[chain->level_matches]
      will be NULL, to address that we must use chain->end as the start point,
      then iterate over the remaining levels in the chain.
  3. 24 Jul, 2020 5 commits
  4. 23 Jul, 2020 2 commits
  5. 20 Jul, 2020 3 commits
  6. 16 Jul, 2020 2 commits
  7. 15 Jul, 2020 9 commits
  8. 14 Jul, 2020 4 commits
  9. 13 Jul, 2020 5 commits