Skip to content
Snippets Groups Projects
  1. Nov 12, 2015
  2. Nov 05, 2015
  3. Nov 03, 2015
  4. Oct 29, 2015
  5. Oct 28, 2015
  6. Oct 27, 2015
  7. Oct 26, 2015
  8. Oct 24, 2015
  9. Oct 23, 2015
    • Marek Vavruša's avatar
      lib/resolve: minim=off when there is NODATA between cached target/cut · 348096a6
      Marek Vavruša authored
      when resolver finds a zone cut from cache, it checks whether there is an empty non-terminal between target QNAME and cached zone cut.
      this is indicated by presence of NODATA/NXDOMAIN in packet cache.
      if it finds one, it turns off qname minimisation and continues,
      this saves one query for empty non-term zones like ‘co.jp’
      
      caveat: only direct child of the cut can be considered (e.g. ‘co.jp’ for ‘jp’), otherwise we would leak information to parent if the zone cut fell out of cache and NODATA existed
      348096a6
    • 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
    • Marek Vavruša's avatar
      lib/zonecut: shuffle root NS list to lower a.root preference · 51547bec
      Marek Vavruša authored
      reason: a root gives consistently unpredictable performance, which
      we cannot take into consideration for the first start. j,k roots
      moved to the front as they're everywhere and less loaded than a
      swamped with requests from legacy tools
      51547bec
    • Marek Vavruša's avatar
      doc: modules/tinyweb · 54dbd5c2
      Marek Vavruša authored
      54dbd5c2