1. 09 Jul, 2018 1 commit
    • Iain R. Learmonth's avatar
      Provides more accurate DNS results · 48e5ff84
      Iain R. Learmonth authored
      This commit adds two new fields: {un,}verified_host_names.
      Whereas previously InetAddress was used to resolve reverse domain
      names, this instead changes the lookup mechanism to use JNDI allowing
      for a deeper view into the DNS. It also accounts for the fact that
      multiple PTR records are not forbidden in the DNS specification and are
      often used in shared hosting scenarios.
      A host name is considered verified if it has a matching forward record.
      If a PTR value is found to have multiple A records, it will be
      considered verified if any one of the A records matches the original
      address. If no matching record is found, it will be reported as an
      unverified host name.
      Previously, unverified host names were discarded internally by the
      InetAddress lookup mechanism and so this data could not be used.
      To maintain "bug compatibility" with the previous implementation of the
      "host_name" field, which will now be deprecated, the IP address is
      returned when a lookup fails.
      The host_name field continues to be used, but now will consider all
      verified and unverified host names. If finer grained filtering is
      needed, then a seperate ticket could be filed for that, but it is
      unclear that it is useful enough to justify the work.
      Fixes: #18342
  2. 29 May, 2018 2 commits
  3. 17 Apr, 2018 2 commits
  4. 16 Apr, 2018 1 commit
  5. 06 Apr, 2018 1 commit
  6. 05 Apr, 2018 1 commit
  7. 04 Apr, 2018 1 commit
  8. 27 Mar, 2018 1 commit
    • iwakeh's avatar
      Only unescape valid UTF. · 532ef347
      iwakeh authored
      Add a utility method for only un-escaping valid utf and supply a test
      as well as test data for this issue.
      Fixes task-22594.
  9. 13 Mar, 2018 3 commits
  10. 08 Mar, 2018 1 commit
  11. 07 Feb, 2018 3 commits
    • Karsten Loesing's avatar
      Prepare for 5.0-1.10.1 release. · a66bfd14
      Karsten Loesing authored
    • Karsten Loesing's avatar
      Prepare for 5.0-1.10.0 release. · 9830f7ae
      Karsten Loesing authored
    • Karsten Loesing's avatar
      Don't rely on system time for writing histories. · a7418b7c
      Karsten Loesing authored
      Rather than on system time we're now depending on the last time a
      relay or bridge was seen in a consensus or status to determine when
      history ends for this relay.
      This has the advantage of making the write step deterministic, and it
      produces the exact same graph intervals for the different documents of
      a given relay or bridge.
      A minor downside is that we're now depending on node statuses _and_
      another status file in order to produce a history document. Should be
      Define graph end as last full data point before the relay/bridge was
      last seen.
      Also make sure that graphs end at that defined graph end and do not
      continue just because there's more history available. This is mostly
      to exclude falsely-reported statistics.
      Implements #16513.
  12. 20 Dec, 2017 1 commit
  13. 28 Nov, 2017 1 commit
  14. 18 Nov, 2017 4 commits
  15. 17 Nov, 2017 4 commits
  16. 03 Nov, 2017 1 commit
  17. 30 Oct, 2017 1 commit
    • Karsten Loesing's avatar
      Support quoted qualified search terms. · 75981fe7
      Karsten Loesing authored
      With this patch, the "search" parameter does not only accept unquoted
      qualified search terms like `search=contact:John Doe` where "John"
      would be looked up in the contact line and "Doe" in the nickname or
      base64-encoded fingerprint. It also accepts quoted qualified search
      terms like `search=contact:"John Doe"` where "John Doe" would be
      looked up in the contact line. It further accepts escaped double
      quotes (\") within quoted qualified search terms.
      Implements #21366.
  18. 26 Oct, 2017 1 commit
    • Karsten Loesing's avatar
      Fix two NullPointerExceptions. · 563f762c
      Karsten Loesing authored
      There's a relay running an alternate Tor version that produces
      descriptors without "uptime" line, and the directory authorities don't
      include a "v" line for that relay, likely because its platform string
      does not include the magic word "Tor".
      Fixes #24012.
  19. 09 Oct, 2017 1 commit
  20. 19 Sep, 2017 2 commits
    • iwakeh's avatar
      Add build revision field to documents. · 0f28ea28
      iwakeh authored
      Implements task-23778.
    • Karsten Loesing's avatar
      Fix the "running" field in bridge details documents. · 68819a08
      Karsten Loesing authored
      When we set this field in the update process, we only looked whether
      the bridge is contained in the last known bridge network status. We
      also need to check whether it has the "Running" flag assigned there.
      This is different from relays, because the consensus only lists relays
      with the "Running" flag since a couple of years, whereas the bridge
      network status lists all known bridges.
      Fixes #23467. Spotted by nusenu.
  21. 16 Sep, 2017 1 commit
  22. 15 Sep, 2017 2 commits
  23. 31 Aug, 2017 1 commit
  24. 30 Aug, 2017 3 commits