Skip to content
Snippets Groups Projects
  1. May 06, 2016
  2. May 04, 2016
    • Marek Vavrusa's avatar
      lib/validate: fixed memory bug · 797a6c43
      Marek Vavrusa authored
      this code used memory pool of source packet instead
      of the answer, this could result in invalidated
      memory read if the memory occupied by source
      packet was rewritten
      797a6c43
  3. Apr 18, 2016
    • Marek Vavrusa's avatar
      daemon: mode(strict|normal|permissive) · e61c48ef
      Marek Vavrusa authored
      the daemon has now three modes of strictness
      checking from strict to permissive.
      it reflects the tradeoff between resolving the
      query in as few steps as possible and security
      for insecure zones
      e61c48ef
  4. Apr 15, 2016
  5. Apr 14, 2016
  6. Mar 10, 2016
  7. Feb 24, 2016
  8. Feb 23, 2016
  9. Feb 17, 2016
  10. Feb 12, 2016
  11. Feb 11, 2016
  12. Feb 08, 2016
    • Marek Vavrusa's avatar
      lib/validate: scrubbed extra rrs in NS were checked · 78cb3f07
      Marek Vavrusa authored
      the validator module should ignore any data that
      will be scrubbed, that includes non-authoritative
      data outside current bailiwick. previously, 
      validator attempted to ignore these records only
      for answer section and had a special case for NS
      records.
      
      cache: non-authoritative NS records are always
      unchecked and must be treated as insecure
      
      affected: www.iana.org trying to provide
      delegation information for CNAME target, which is
      moot with CNAME target explicit-fetch policy unless
      the the resolver already knows DNSKEY with which
      is could verify the records
      78cb3f07
  13. Jan 29, 2016
  14. Jan 20, 2016
    • Marek Vavrusa's avatar
      lib/iterate: ignore out-of-bailiwick NSs for positive answers · 18e2771b
      Marek Vavrusa authored and Grigorii Demidov's avatar Grigorii Demidov committed
      there are broken resolution chains where a zone cut is advertised,
      but it doesn't exist and the final NS answers from its parent's
      zone cut, which is an attempt to escape bailiwick
      
      example:
      
      resolving A ab.cd.ef
      NS ef responds:
       - ab.cd.ef NS X ; adverises ab.cd.ef zone cut
      X responds:
       - A ab.cd.ef A 1.2.3.4
       - cd.ef NS X ; escapes previously advertised cut
      
      on the other hand, it is important to fail early for referrals as
      it signifies a lame answer
      18e2771b
  15. Jan 19, 2016
    • Marek Vavrusa's avatar
      lib/iterate: ignore out-of-bailiwick NSs for positive answers · 2800e375
      Marek Vavrusa authored
      there are broken resolution chains where a zone cut is advertised,
      but it doesn't exist and the final NS answers from its parent's
      zone cut, which is an attempt to escape bailiwick
      
      example:
      
      resolving A ab.cd.ef
      NS ef responds:
       - ab.cd.ef NS X ; adverises ab.cd.ef zone cut
      X responds:
       - A ab.cd.ef A 1.2.3.4
       - cd.ef NS X ; escapes previously advertised cut
      
      on the other hand, it is important to fail early for referrals as
      it signifies a lame answer
      2800e375
  16. Dec 17, 2015
  17. Dec 11, 2015
  18. Dec 08, 2015
  19. Nov 25, 2015
    • Marek Vavruša's avatar
      build: amalgamated build support with AMALG=1 · af4254d1
      Marek Vavruša authored
      amalgamated build concatenates all files into a single .c file to
      allow compiler see all symbols and produce possibly smaller code.
      for binary distributions this is what you want, as it's faster but
      may consume more memory during compilation.
      it however cannot do incremental builds.
      af4254d1
  20. Nov 19, 2015
  21. Nov 13, 2015
  22. Nov 03, 2015
  23. Oct 28, 2015
  24. Oct 27, 2015
  25. Oct 23, 2015
    • Marek Vavruša's avatar
      lib/cache: more granular control for rank check on insertion · a2b9d06d
      Marek Vavruša authored
      for pktcache same or better rank is required (because it’s a direct answer)
      for rrcache better rank is required (unless doing write-through)
      
      for both cases, no cache rank check is needed when inserting secure data
      
      security note: this mitigates possible non-auth NS hijacking
      a2b9d06d
  26. Oct 22, 2015
  27. Oct 19, 2015
  28. Oct 15, 2015
  29. Oct 14, 2015
  30. Oct 13, 2015