1. 26 May, 2017 2 commits
  2. 16 May, 2017 2 commits
  3. 12 May, 2017 1 commit
  4. 11 May, 2017 1 commit
  5. 10 May, 2017 2 commits
  6. 09 May, 2017 2 commits
  7. 08 May, 2017 1 commit
    • Karsten Loesing's avatar
      Add support for six new key-value pairs added by OnionPerf. · ee696b09
      Karsten Loesing authored
      OnionPerf adds six new key-value pairs to the .tpf format that
      Torperf/CollecTor did not produce: ENDPOINTLOCAL, ENDPOINTPROXY,
      ENDPOINTREMOTE, HOSTNAMELOCAL, HOSTNAMEREMOTE, and SOURCEADDRESS.
      
      We should add support for these keys to metrics-lib, so that we can
      start using their values.
      
      Implements #22122.
      ee696b09
  8. 07 Apr, 2017 1 commit
    • Karsten Loesing's avatar
      Don't skip unrecognized lines in certain cases. · 8f69d784
      Karsten Loesing authored
      When we started using Java 7's switch-on-String in 2b4d7732, we broke
      unrecognized line parsing in extra-info descriptors.  Namely, when we
      reached the end of a crypto block we didn't reset the list for
      collecting crypto lines.  So far so good, but any following
      unrecognized lines would be collected as crypto lines and later
      discarded, rather than being added to the unrecognized-lines list and
      later reported.
      
      This only affects relay descriptors, because sanitized bridge
      descriptors don't contain crypto blocks.  And it only affects relay
      descriptors with crypto blocks, like "identity-ed25519", whereas relay
      extra-info descriptors published by older versions were not affected.
      
      Fixes #21890.
      8f69d784
  9. 17 Feb, 2017 2 commits
  10. 14 Feb, 2017 2 commits
  11. 01 Feb, 2017 1 commit
  12. 31 Jan, 2017 1 commit
  13. 05 Jan, 2017 1 commit
  14. 20 Dec, 2016 1 commit
    • Karsten Loesing's avatar
      Add methods for loading and saving a history file. · 56840df1
      Karsten Loesing authored
      The history file implementation in `DescriptorReader` writes the
      history file passed in `setExcludeFiles()` immediately after reading
      and parsing the last descriptor and putting it into the queue,
      regardless of whether the application has finished processing those
      descriptors.
      
      If the application fails after the history file is written, it may not
      be able to process descriptors in the next execution that have still
      been in the queue at the time of failing.
      
      This commit deprecates the `setExcludeFiles()` method and replaces it
      by a `setHistoryFile()` and a `saveHistoryFile()` method.
      Applications would use `setHistoryFile()` before starting to read
      descriptors, process all descriptors, perform any cleaning up, and
      then call `saveHistoryFile()`.
      
      Implements #20521.
      56840df1
  15. 19 Oct, 2016 2 commits
  16. 09 Oct, 2016 1 commit
    • Karsten Loesing's avatar
      Avoid running into an IOException and logging it. · f7f56dd8
      Karsten Loesing authored
      When we recently switched from System.err printing to slf4j logging,
      we started logging an IOException that we shouldn't be running into
      and that we simply ignored before.  This exception gets thrown when
      DescriptorReaderImpl attempts to read a parse history file that
      doesn't exist (yet).  We should simply check whether that files exists
      before attempting to read it.
      
      Fixes #20320.
      f7f56dd8
  17. 31 Aug, 2016 2 commits
  18. 24 Aug, 2016 1 commit
  19. 22 Aug, 2016 1 commit
  20. 01 Aug, 2016 1 commit
  21. 06 Jul, 2016 1 commit
  22. 05 Jul, 2016 3 commits
  23. 14 Jun, 2016 1 commit
  24. 31 May, 2016 3 commits
  25. 20 May, 2016 4 commits