summaryrefslogtreecommitdiff
path: root/scripts/maint
AgeCommit message (Collapse)Author
2017-11-05lintchanges: Allow 'fixes bugs a, b, and c'Nick Mathewson
2017-10-17Add dirauth changes as a lintchanges categoryNick Mathewson
2017-09-21Make check-spaces part of the standard "make check" processNick Mathewson
To do this, we had to make sure it passes when the changes directory is empty. I also tried to improve the quality of the output, and fix some false-positive cases. Let's see how this goes! Closes ticket 23564.
2017-09-18Merge remote-tracking branch 'ewongbb/chkdblcolon'Nick Mathewson
2017-09-18Add check for double-semi-colons at the end of a lineEdmund Wong
2017-09-15update script to use /* */ commentsNick Mathewson
2017-09-15Merge branch 'annotate_ifdefs'Nick Mathewson
2017-09-08test: Add an HS v3 reachability unit testDavid Goulet
This is a large and important unit test for the hidden service version 3! It tests the service reachability for a client using different consensus timings and makes sure that the computed hashring is the same on both side so it is actually reachable. Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-09-07Whoops -- I messed a calltool targetNick Mathewson
2017-09-07Add support for running "calltool" on Tor via "make callgraph".Nick Mathewson
Closes #19307.
2017-09-06Add a python script to annotate our #elses and #endifsNick Mathewson
2017-06-14Remove old callgraph scripts; recommend calltool instead.Nick Mathewson
2017-05-16Update fallback whitelist and blacklist based on operator emailsteor
Part of 21283.
2017-05-16Update fallback stability requirementsteor
Decrease the minimum number of fallbacks to 100. Final fix to 20913.
2017-05-16Merge branch 'fallbacks-201702-v3' into fallbacks-2017-05teor
2017-05-16Make the usage example in updateFallbackDirs.py actually workteor
And explain what it does. Fixes bug 22270 in 0.3.0.3-alpha.
2017-03-15Run the copyright update script.Nick Mathewson
2017-03-15Update updateCopyright to 2017Nick Mathewson
2017-02-28Update changelog sorting rules to know about dirauth changesNick Mathewson
2017-02-27Move a relay to the blacklist because its details changedteor
(And its contact email address no longer works.)
2017-02-27Update the fallback whitelist and blacklist based on operator emailsteor
2017-02-27Modify fallback stability requirementsteor
Increase the fallback stability requirement to 30 days. When this was at 7 days, we chose far too many unstable fallbacks. Decrease the guard flag requirement to 0.8. When this was at 0.9, we lost too many fallbacks due to version upgrades. (The running and v2dir flags ensure DirPorts are available to clients.) Partial fixes to #20913.
2017-01-25Add the output file to the usageSuphanat Chunhapanya
2017-01-25Add usage for check_existingSuphanat Chunhapanya
2017-01-25Logging existing fallbacks at warning levelSuphanat Chunhapanya
2017-01-25Automate checking existing fallbacksSuphanat Chunhapanya
2017-01-11Warn on Tor versions with the 'tor-' prefixcypherpunks
Closes ticket 21096.
2017-01-11Fix coding style issues in the changes file lintercypherpunks
Found using flake8 which gave the following output; lintChanges.py:10:13: E225 missing whitespace around operator lintChanges.py:25:1: E302 expected 2 blank lines, found 1 lintChanges.py:46:5: F841 local variable 'lines' is assigned to but never used lintChanges.py:52:32: E228 missing whitespace around modulo operator lintChanges.py:53:11: E201 whitespace after '(' lintChanges.py:56:41: E228 missing whitespace around modulo operator Part of ticket 21096.
2016-12-21Add and update fallback directory detailsteor
These updates were made after the December 2016 list was created.
2016-12-19Blacklist a fallback that was removed by the operatorteor
2016-12-19Update fallback whitelist and blacklistteor
Based on: * fallback directory mirror checks, * operator emails and tickets, both before and after the Dec 2016 emails: https://lists.torproject.org/pipermail/tor-relays/2016-December/011113.html https://lists.torproject.org/pipermail/tor-relays/2016-December/011330.html
2016-12-19Avoid an error in the fallback script when a fallback doesn't have any uptimeteor
Sometimes, the fallback generation script doesn't add attributes to the fallbacks in the list. If this happens, log an error, and avoid selecting that fallback. This is a rare issue: it should not change selection behaviour. Fixes issue #20945.
2016-12-19Allow fallbacks serving consensuses that expired less than 24 hours agoteor
This works around #20909, where relays serve stale consensuses for a short time, and then recover. Update to the fix for #20539.
2016-12-19Avoid checking fallback candidates' DirPorts if they are down in OnionOOteor
Exclude relays that have been down for 1 or more days from the fallback candidate list. When a relay operator has multiple relays, this prioritises relays that are up over relays that are down. Fixes issue #20926.
2016-12-19Be more tolerant of a decreased number of fallbacksteor
2016-12-19Reduce fallback bandwidth requirement to 1 MByte/steor
2016-12-19Allow 3 fallbacks per operatorteor
This is safe now we are choosing 200 fallbacks. Closes ticket 20912.
2016-12-19Require fallbacks to have 90% Running, V2Dir, and Guard flagsteor
This allows 73% of clients to bootstrap in the first 5 seconds without contacting an authority. Part of #18828.
2016-12-19Require fallback directories to have the same address and port for 7 daysteor
7 days is a tradeoff between the expected time between major Tor releases, which is 6 months, and the number of relays with enough stability. Relays whose OnionOO stability timer is reset on restart by bug #18050 should upgrade to Tor 0.2.8.7 or later, which has a fix for this issue. Closes ticket #20880; maintains short-term fix in e220214 in tor-0.2.8.2-alpha.
2016-12-19Display the fingerprint when downloading consensuses from fallbacksteor
2016-12-19Update fallback whitelist based on relay descriptorsteor
These updates assume that the changes were intentional and permanent. The operators were emailed to confirm.
2016-12-19Exclude relays that deliver an expired consensus from the fallback listteor
Part of #20539, based on #20501.
2016-12-19Exclude relay versions affected by #20499 from the fallback listteor
Part of #20539, based on #20509.
2016-12-19Update fallback whitelist and blacklistteor (Tim Wilson-Brown)
Update fallback whitelist and blacklist based on: * pre-0.2.9 checks * operator opt-ins and opt-outs, via emails and tickets
2016-12-19Make fallback sort order configurableteor
Closes issue #20882.
2016-12-19Select 200 fallback directories by default for each releaseteor
Closes ticket #20881.
2016-12-19Provide bandwidth and consensus weight for each candidate fallbackteor
And make it clear that updateFallbackDirs.py outputs bandwidth in megabytes per second. Closes #20878.
2016-12-19Add a missed return to fallbackdir_comment() in updateFallbackDirs.pyteor
Closes ticket #20877.
2016-12-16Use the new message functioncypherpunks
Substitutions were made using `sed -e 's/print/msg/g'`.
2016-12-16Add a function to keep track of found errorscypherpunks