Skip to content
Snippets Groups Projects
  1. Dec 07, 2022
  2. Nov 24, 2022
  3. Dec 15, 2021
    • Georg Koppen's avatar
      Bug 40027: MIME boundary outputs on IRC · 69e2a2db
      Georg Koppen authored and David Goulet's avatar David Goulet committed
      We use the opportunity to reduce noise in #tor-bots by removing
      consensus-health checker output. Relevant parties get Cc'ed in doctor's
      output or one can subscribe to the tor-consensus-health@ list.
      
      Closes: #40027.
      69e2a2db
  4. Aug 09, 2021
  5. Feb 23, 2021
  6. Feb 22, 2021
    • Damian Johnson's avatar
      Expand DIRAUTH_SKIP_CHECKS suppressions · e4e2b437
      Damian Johnson authored and Georg Koppen's avatar Georg Koppen committed
      DIRAUTH_SKIP_CHECKS prevented us from downloading (and by extension checking)
      a dirauth's consensus documents, but it did not suppress other checks (presence
      in votes, ORPort reachability, etc). This expands the suppression to cover
      everything that references the DIRECTORY_AUTHORITIES global, which should
      hopefully be everything.
      
      ------------------------------------------------------------
      DocTor Output Before
      ------------------------------------------------------------
      
      WARNING: moria1 is missing the server descriptor of dannenberg
      WARNING: moria1 is missing the server descriptor of Faravahar
      WARNING: dizum is missing the server descriptor of dannenberg
      WARNING: dizum is missing the server descriptor of Faravahar
      WARNING: gabelmoo is missing the server descriptor of dannenberg
      WARNING: gabelmoo is missing the server descriptor of Faravahar
      WARNING: maatuska is missing the server descriptor of dannenberg
      WARNING: maatuska is missing the server descriptor of Faravahar
      WARNING: Faravahar is missing the server descriptor of dannenberg
      WARNING: longclaw is missing the server descriptor of dannenberg
      WARNING: longclaw is missing the server descriptor of Faravahar
      WARNING: bastet is missing the server descriptor of dannenberg
      WARNING: bastet is missing the server descriptor of Faravahar
      WARNING: The following directory authorities do not support the consensus method that the consensus uses: Faravahar
      NOTICE: Consensus fetched from dizum was missing the following authority signatures: dannenberg, Faravahar
      NOTICE: Consensus fetched from gabelmoo was missing the following authority signatures: dannenberg, Faravahar
      NOTICE: Consensus fetched from maatuska was missing the following authority signatures: dannenberg, Faravahar
      NOTICE: Consensus fetched from Faravahar was missing the following authority signatures: dannenberg, Faravahar
      NOTICE: Consensus fetched from longclaw was missing the following authority signatures: dannenberg, Faravahar
      NOTICE: Consensus fetched from bastet was missing the following authority signatures: dannenberg, Faravahar
      NOTICE: The following directory authorities are not reporting bandwidth scanner results: Faravahar
      WARNING: The following authorities are missing from the consensus: dannenberg, Faravahar
      NOTICE: Authorities disagree about the BadExit flag for 867982ADCFBE55EC1C00A5B34C8991FF87605906 (with flag: longclaw, gabelmoo, moria1, without flag: Faravahar)
      NOTICE: Authorities disagree about the BadExit flag for B9324F1BEDB1DF62AEE219B0CC41507CE710BA3C (with flag: longclaw, gabelmoo, moria1, without flag: Faravahar)
      NOTICE: Authorities disagree about the BadExit flag for 81F59E8936D0B2105182E4B8200AC07D9274961F (with flag: longclaw, gabelmoo, moria1, without flag: Faravahar)
      NOTICE: Authorities disagree about the BadExit flag for 8A3606F17B1DDAC4F8BFA0C99E656FFA11CC747D (with flag: longclaw, gabelmoo, moria1, without flag: Faravahar)
      NOTICE: Authorities disagree about the BadExit flag for 35449EB3D025CC24601FB43884F9699367D677CF (with flag: longclaw, gabelmoo, without flag: Faravahar, moria1)
      
      ------------------------------------------------------------
      DocTor Output After
      ------------------------------------------------------------
      
      WARNING: moria1 is missing the server descriptor of Faravahar
      WARNING: dizum is missing the server descriptor of Faravahar
      WARNING: gabelmoo is missing the server descriptor of Faravahar
      WARNING: maatuska is missing the server descriptor of Faravahar
      WARNING: longclaw is missing the server descriptor of Faravahar
      WARNING: bastet is missing the server descriptor of Faravahar
      WARNING: The following directory authorities do not support the consensus method that the consensus uses: Faravahar
      NOTICE: Consensus fetched from moria1 was missing the following authority signatures: Faravahar
      NOTICE: Consensus fetched from dizum was missing the following authority signatures: Faravahar
      NOTICE: Consensus fetched from gabelmoo was missing the following authority signatures: Faravahar
      NOTICE: Consensus fetched from maatuska was missing the following authority signatures: Faravahar
      NOTICE: Consensus fetched from Faravahar was missing the following authority signatures: Faravahar
      NOTICE: Consensus fetched from longclaw was missing the following authority signatures: Faravahar
      NOTICE: Consensus fetched from bastet was missing the following authority signatures: Faravahar
      NOTICE: The following directory authorities are not reporting bandwidth scanner results: Faravahar
      WARNING: The following authorities are missing from the consensus: Faravahar
      NOTICE: Authorities disagree about the BadExit flag for 81F59E8936D0B2105182E4B8200AC07D9274961F (with flag: gabelmoo, moria1, longclaw, without flag: Faravahar)
      NOTICE: Authorities disagree about the BadExit flag for 35449EB3D025CC24601FB43884F9699367D677CF (with flag: gabelmoo, longclaw, without flag: Faravahar, moria1)
      NOTICE: Authorities disagree about the BadExit flag for B9324F1BEDB1DF62AEE219B0CC41507CE710BA3C (with flag: gabelmoo, moria1, longclaw, without flag: Faravahar)
      NOTICE: Authorities disagree about the BadExit flag for 8A3606F17B1DDAC4F8BFA0C99E656FFA11CC747D (with flag: gabelmoo, moria1, longclaw, without flag: Faravahar)
      NOTICE: Authorities disagree about the BadExit flag for 867982ADCFBE55EC1C00A5B34C8991FF87605906 (with flag: gabelmoo, moria1, longclaw, without flag: Faravahar)
      e4e2b437
  7. Jan 14, 2021
  8. Jan 13, 2021
  9. Jan 12, 2021
  10. Dec 07, 2020
  11. Nov 10, 2020
  12. Jun 18, 2020
  13. Dec 30, 2019
  14. Dec 28, 2019
    • Damian Johnson's avatar
      Drop unused skip constants · 062cace5
      Damian Johnson authored
      The last commit added unused DIRAUTH_SKIP_REACHABLE and DIRAUTH_SKIP_SEEN
      constants. If we have use for this at some point then happy to reintroduce
      them, but for the moment dead code is unhelpful.
      062cace5
    • Starlight's avatar
      resolve ticket 32842 · 5303c453
      Starlight authored and Damian Johnson's avatar Damian Johnson committed
      replace hard coded exclusion of authority tor26 with three
      lists that during checks determine which authorities to not
      a) check reachability for
      b) check presence in consensus for
      c) request and validate documents from
      
      correct defect where router-line IPv4 OR address was not
      checked for reachability
      
      eliminate Python 3 exception by truncating array index
      expression result to integer (further 2to3 revisions
      applied during testing but not committed)
      5303c453
  15. Nov 19, 2019
  16. Sep 24, 2019
  17. Aug 20, 2019
  18. Jan 01, 2019
    • Damian Johnson's avatar
      Update copyright dates for 2019 · 342dab71
      Damian Johnson authored
      Happy new year! Bumping the dates for 2019...
      
        % find . -type f -iname '*.py' -exec sed -i 's/-2018/-2019/g' "{}" +;
        % grep -R "# Copyright 2018," ./*
      342dab71
  19. Dec 17, 2018
  20. Nov 02, 2018
  21. Jun 15, 2018
    • Damian Johnson's avatar
      Stacktrace when tor26 lacks authority flag · a7989448
      Damian Johnson authored
      Oops, need to be a tad more defensive here...
      
      	Traceback (most recent call last):
        	File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 976, in <module>
          	main()
      	  File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 258, in main
        	  issues += run_checks(consensuses, votes)
      	  File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 352, in run_checks
        	  issues = checker(latest_consensus, consensuses, votes)
      	  File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 640, in has_authority_flag
        	  seen_authorities.remove('tor26')
      	KeyError: 'tor26'
      a7989448
  22. May 13, 2018
  23. May 10, 2018
  24. Apr 22, 2018
    • Damian Johnson's avatar
      Errors are getting incorrectly suppressed · 023cbeef
      Damian Johnson authored
      Interesting! Roger reported an issue where he isn't getting notified about
      moria1's bwauth scanner being down. In taking a look at the logs I'm indeed
      seeing something funky...
      
        04/21/2018 21:05:46 [DEBUG] NOTICE: The following directory authorities are not reporting bandwidth scanner results: gabelmoo
        04/21/2018 21:05:47 [INFO] Suppressing The_following_directory_authorities_are_not_reporting_bandwidth_scanner_results:_gabelmoo, time remaining is 1
        3 hours
        04/21/2018 21:05:47 [INFO] All 1 issues were suppressed. Not sending a notification.
        04/21/2018 21:05:47 [DEBUG] Checks finished, runtime was 46.84 seconds
        04/21/2018 22:05:45 [DEBUG] ERROR: The following directory authorities are not reporting bandwidth scanner results: gabelmoo, moria1
        04/21/2018 22:05:46 [INFO] All 1 issues were suppressed. Not sending a notification.
        04/21/2018 22:05:46 [DEBUG] Checks finished, runtime was 45.56 seconds
      
      I suspect what's happening is this...
      
        * When only gabelmoo is down this is a NOTICE runlevel notification, which
          works.
      
        * When moria1 is down as well it's an ERROR runlevel notice which should
          generate an email every hour, but isn't. I think this is due to a bug where
          ERROR notices in specific are getting incorrectly suppressed.
      
      Lets give this a try...
      023cbeef
  25. Apr 14, 2018
  26. Apr 13, 2018
  27. Apr 11, 2018
    • Damian Johnson's avatar
      Disable DocTor checks for tor26 · 5bae2023
      Damian Johnson authored
      To cut down on abuse tor26 rejects DirPort requests without a '.z' suffix
      (technically it throttles them, but I've never seen one work so effectively
      it's blocked). Stem no longer appends this suffix, using headers to indicate
      the compression it wants instead.
      5bae2023
  28. Apr 01, 2018
  29. Mar 24, 2018
  30. Feb 17, 2018
  31. Feb 11, 2018
  32. Jan 22, 2018
  33. Dec 18, 2017
  34. Nov 02, 2017
    • Damian Johnson's avatar
      Drop bwauth exception for gabelmoo · d54d5b3a
      Damian Johnson authored
      Earlier gabelmoo's bwauth had issues and after a while Sebastian disabled it.
      During it we disabled this check so he woulnd't spam for having *or* omitting
      bwauth measurements. Sebastian's now running a bwauth again so dropping this
      exception.
      d54d5b3a
  35. Aug 27, 2017
  36. May 10, 2017
  37. May 09, 2017
    • Damian Johnson's avatar
      Syntax error · d8f4d7a0
      Damian Johnson authored
      Stupid me, missing a bracket. Would be nice if we had a test suite for these... :/
      d8f4d7a0
Loading