1. 17 Mar, 2020 1 commit
  2. 21 Jan, 2020 1 commit
  3. 07 Jan, 2020 1 commit
  4. 30 Dec, 2019 1 commit
  5. 28 Dec, 2019 2 commits
    • 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
  6. 19 Nov, 2019 1 commit
  7. 25 Sep, 2019 1 commit
  8. 24 Sep, 2019 1 commit
  9. 20 Aug, 2019 1 commit
  10. 25 Jun, 2019 1 commit
    • Damian Johnson's avatar
      Fix fallback irc notifications · 0ae0b8b2
      Damian Johnson authored
      Correcting a regression with the earlier change...
      
        Traceback (most recent call last):
          File "/srv/doctor.torproject.org/doctor/fallback_directories.py", line 92, in <module>
            main()
          File "/srv/doctor.torproject.org/doctor/fallback_directories.py", line 87, in main
            util.send('Announce or', body = body, to = ['tor-misc@commit.noreply.org'])
        NameError: global name 'body' is not defined
      0ae0b8b2
  11. 22 Jun, 2019 1 commit
    • Damian Johnson's avatar
      Shorten and summarize fallback directory irc notifications · 352d5de7
      Damian Johnson authored
      Adjusting the irc notifications per teor's request...
      
        https://trac.torproject.org/projects/tor/ticket/30940
      
      In particiular notifications now begin with a count summary (like emails), and
      present at most four relays. For example...
      
        [fallback-directories] 157/157 (100%) fallback directories have become slow or unresponsive...
        [fallback-directories] 8FA37B93397015B2BC5A525C908485260BE9F422 => ORPort is unreachable (81.7.11.96:9001)
        [fallback-directories] 36B9E7AC1E36B62A9D6F330ABEB6012BA7F0D400 => ORPort is unreachable (37.187.22.87:9001)
        [fallback-directories] 230A8B2A8BA861210D9B4BA97745AEC217A94207 => ORPort is unreachable (163.172.176.167:443)
        [fallback-directories] 823AA81E277F366505545522CEDC2F529CE4DC3F => ORPort is unreachable (192.160.102.164:9001)
        [fallback-directories] ... and 153 more
      352d5de7
  12. 19 May, 2019 1 commit
  13. 03 Apr, 2019 1 commit
    • Damian Johnson's avatar
      Loosen netbsd package version parsing · 90777b92
      Damian Johnson authored
      Recently netbsd changed its tor version to "0.3.5.8nb2"...
      
        http://pkgsrc.se/net/tor
      
      Clearly the 'nb2' suffix isn't part of our upstream version. I'm not entirely
      sure what it means (maybe a re-packaging of 0.3.5.8?). Adjusting the version
      parsing I use for netbsd to ignore it.
      90777b92
  14. 15 Jan, 2019 1 commit
  15. 01 Jan, 2019 1 commit
    • 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
  16. 17 Dec, 2018 1 commit
  17. 18 Nov, 2018 1 commit
  18. 11 Nov, 2018 2 commits
    • Damian Johnson's avatar
      Track debian source packages · 87459ad5
      Damian Johnson authored
      Great point from Iain that we should be keeping an eye on the source url rather
      than individual packages.
      87459ad5
    • Damian Johnson's avatar
      Reintroduce txtorcon's deb · 25f98d00
      Damian Johnson authored
      Heard back from Iain. He indicated that python2 packages are being removed for
      Debian's next release, but txtorcon's python3 package is still around.
      25f98d00
  19. 09 Nov, 2018 5 commits
    • Damian Johnson's avatar
      Update mac links · b49dfdb2
      Damian Johnson authored
      Our wiki now links to different pages. Scanning the same for version
      information.
      
      Unfortunately the page line with the version don't have any anchors to key off,
      but in practice this seems fine for the moment.
      b49dfdb2
    • Damian Johnson's avatar
      Add torsock's netbsd package · 6f45e9ee
      Damian Johnson authored
      The wiki no longer points toward the 'wip' page so we can now include it like
      our other packages.
      6f45e9ee
    • Damian Johnson's avatar
      Drop txtorcon's deb · ec5e3d6b
      Damian Johnson authored
      The page we link to has been gone for about a week. A few days ago I reached
      out to Iain to see if the package was renamed but haven't yet heard back.
      ec5e3d6b
    • Damian Johnson's avatar
      Replace package wiki index table · c3bcf445
      Damian Johnson authored
      Our PACKAGES constant match our wiki's layout so there's no need to have a
      separate dictionary with static indices. In the process also learned that we
      weren't tracking Nyx's Fedora package.
      c3bcf445
    • Damian Johnson's avatar
      Track txtorcon's NetBSD packages · e3609021
      Damian Johnson authored
      Txtorcon also now has a NetBSD package so tracking that as well.
      e3609021
  20. 08 Nov, 2018 1 commit
    • Damian Johnson's avatar
      Track Stem and Nyx's NetBSD packages · de040d97
      Damian Johnson authored
      Added new packages to the wiki so gotta adjust this script as well. Yeah, yeah,
      stinky I do all this index stuff but the point of this script is to be an
      effort saving daemon for me so meh.
      de040d97
  21. 03 Nov, 2018 1 commit
    • Damian Johnson's avatar
      Drop ooniprobe's debian package · 805a859b
      Damian Johnson authored
      The debian package link no longer works. Reached out to Arturo and Iain to see
      if that's intentional, and if the package has possibly been renamed.
      805a859b
  22. 02 Nov, 2018 1 commit
  23. 28 Oct, 2018 1 commit
    • Damian Johnson's avatar
      Bump fallback notification theshold (25% => 50%) · ce681b89
      Damian Johnson authored
      This has been notifying everyone for weeks due to breaching the 25% thresold.
      Four days ago I reached out to teor and Nick to see what we want to do with
      this but haven't heard back.
      
      DocTor notices need to spur action or they're just noise. Bumping the threshold
      to 50% so this no longer emails us.
      ce681b89
  24. 27 Sep, 2018 1 commit
  25. 01 Aug, 2018 1 commit
  26. 22 Jul, 2018 1 commit
  27. 23 Jun, 2018 1 commit
  28. 15 Jun, 2018 1 commit
    • 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
  29. 27 May, 2018 1 commit
    • Damian Johnson's avatar
      Report fallback directory DirPort failures · 1e61af07
      Damian Johnson authored
      The whole point of our fallback directory daemon is to tell us how many
      fallbacks are unusable, but now that one of their DirPorts is misbehaving
      it's resulting in uncaught exceptions. Interestingly, we're getting quite a
      range...
      
        Traceback (most recent call last):
          File "fallback_directories.py", line 82, in <module>
            main()
          File "fallback_directories.py", line 57, in main
            downloader.get_consensus(endpoints = [(relay.address, relay.dir_port)]).run()
          File "/home/atagar/Desktop/tor/doctor/stem/descriptor/remote.py", line 445, in run
            return list(self._run(suppress))
          File "/home/atagar/Desktop/tor/doctor/stem/descriptor/remote.py", line 456, in _run
            raise self.error
        HTTPError: HTTP Error 404: Not Found
      
      ... as well as...
      
        HTTPError: HTTP Error 503: Directory busy, try again later
      
      ... or...
      
        CertificateError: hostname '85.214.62.48' doesn't match either of 'andamur.com', 'www.andamur.com'
      
      Our DescriptorDownloader raises an unpleasantly large array of exceptions so
      unfortunately requires a catch-all here (maybe I'll change that at some point
      in stem...).
      1e61af07
  30. 13 May, 2018 1 commit
  31. 10 May, 2018 1 commit
  32. 08 May, 2018 2 commits
  33. 29 Apr, 2018 1 commit
    • Damian Johnson's avatar
      Surface errors when health check fails · fc76344d
      Damian Johnson authored
      Oops, since we iterate it suppresses errors resulting in a pretty unhelpful
      notice...
      
        Traceback (most recent call last):
          File "/srv/doctor.torproject.org/doctor/relay_check.py", line 63, in <module>
            main()
          File "/srv/doctor.torproject.org/doctor/relay_check.py", line 32, in main
            ))[0]
        IndexError: list index out of range
      fc76344d