summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2018-05-14Update cov-diff to handle new gcov, and remove timestampsNick Mathewson
The new gcov sometimes emits *s if there is a line containing multiple basic blocks, and some are not executed. (The gcov documentation says something weird about this point, so I'm trying to interpret it into the compilerese that I'm familiar with.) That's bug 26101. Also, when we're looking for unique variations in our coverage, we would like cov-diff to suppress timestamps on the diffs. That's bug 26102. Both of these are bugfixes on 0.2.5.1-alpha when the cov-diff script was introduced. My apologies for the perl.
2018-04-18Remove a comment about 0.2.8 that will soon be irrelevant.Nick Mathewson
(It becomes irrelevant on 15 May 2018 when 0.2.5 is EOL.)
2018-03-21maint: Add script for vendoring/updating Rust dependencies.Isis Lovecruft
* ADD documentation for usage both inside the script and in doc/HACKING/CodingStandardsRust.md * FIXES part of #25310: https://bugs.torproject.org/25310
2018-02-07Fix spelling mistakes corresponding to ticket #23650Deepesh Pathak
2018-01-16Update scan-build.sh to work with the latest clangalyzerNick Mathewson
2018-01-05Stop logging excessive information about fallback netblocksteor
Implements ticket 24791
2018-01-05Adjust fallback selection parametersteor
Avoid selecting fallbacks that change their IP addresses too often. Select more fallbacks by ignoring the Guard flag, and allowing lower cutoffs for the Running and V2Dir flags. Also allow a lower bandwidth, and a higher number of fallbacks per operator (5% of the list). Implements ticket 24785.
2018-01-05Update dependency list for the fallback scriptteor
Comment-only change. Implements #24711.
2018-01-05Make updateFallbackDirs.py search harder for pythonteor
(Some OSs don't put it in /usr/bin.) Fixes bug 24708; bugfix on 0.2.8.1-alpha.
2018-01-05Revise the generateFallbackDirLine.py script to use descriptorsteor
Patch by atagar, part of #24706.
2018-01-05Add fallback directory mirror helper scriptsteor
Add the generateFallbackDirLine.py script for automatically generating fallback directory mirror lines from relay fingerprints. No more typos! Add the lookupFallbackDirContact.py script for automatically looking up operator contact info from relay fingerprints. Implements ticket 24706.
2018-01-05Add a generated timestamp to the fallback directory headerteor
This can act as a revision counter, as requested by atagar in 24742. Part of 24725.
2018-01-05Remove an incorrect C comment from updateFallbackDirs.py's list generation codeteor
Part of #24725.
2018-01-05Add a delimiter to the end of each fallback entryteor
This helps external parsers. Also, add comments indicating where to add new fields in the fallback format. Part of 24725.
2018-01-05Remove commas and equals signs from external string inputs to the fallback listteor
This makes sure that list parsers only see one comma per fallback entry, and only see one equals sign per field. Implements ticket 24726.
2018-01-05Add an extrainfo cache flag for each fallback in a C commentteor
This allows stem to use fallbacks to fetch extra-info documents, rather than using authorities. Implements ticket 22759.
2018-01-05Add a nickname to each fallback in a C commentteor
This makes it easier for operators to find their relays, and allows stem to use nicknames to identify fallbacks. Implements ticket 24600.
2018-01-05Remove the "weight=10" line from fallback directory mirror entriesteor
This removes some redundant repeated lines. Ticket 24681 will maintain the current fallback weights by changing Tor's default fallback weight to 10. Implements ticket 24679.
2018-01-05Add a type and version header to the fallback directory mirror fileteor
This helps external parsers like stem and Relay Search. Implements ticket 24725.
2018-01-05Stop refusing fallbacks on the same machineteor
We only occasionally checked for fallbacks on the same machine. And I'm not convinced it makes much of a difference with ~150 fallbacks. Part of #22321.
2018-01-05Forgive fallback operators that were blacklisted due to a details changeteor
(But have since run a stable relay.) Part of #22321.
2018-01-05Some fallbacks changed their details: assume the changes are permanentteor
We have already updated the details for operators who replied to: https://lists.torproject.org/pipermail/tor-relays/2017-December/013988.html Closes #24678.
2018-01-05Update fallback directory mirror details based on opt-ins and opt-outsteor
https://lists.torproject.org/pipermail/tor-relays/2017-December/013898.html Part of 22321.
2018-01-05Update fallback whitelist and blacklist based on 2017 changesMatt Traudt
This covers #22321 comments 3-14, including some child tickets. Part of #22321. Patch by pastly.
2018-01-05Update comment and add changes file for 20942teor
2018-01-05Set CONSENSUS_EXPIRY_TOLERANCE to 0Dominique Ingoglia
2017-12-20Remove merge-conflict detritusNick Mathewson
2017-12-20Make fallback script usage instructions create a log fileteor
Comment-only change. Closes 24682.
2017-11-05Merge branch 'maint-0.3.2'Nick Mathewson
2017-11-05lintchanges: Allow 'fixes bugs a, b, and c'Nick Mathewson
2017-10-31all the other lines here had a tab; make this one blend inRoger Dingledine
2017-10-26Revert "Temporarily disable compilation of the v3 hs fuzzing code"David Goulet
This reverts commit 5ef656e7d1b1e1e74c46bd02ce8faaa1d8d09403.
2017-10-17Add dirauth changes as a lintchanges categoryNick Mathewson
2017-10-02Don't move gcov output to root directoryTaylor Yu
In scripts/test/coverage, avoid attempting to move gcov output files to the root directory when given no arguments. Fixes bug 23741.
2017-09-28Improve cov-diff script to account for new files.Nick 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-19plural in manpageNick Mathewson
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-15Merge branch 'scan-build-032'Nick Mathewson
2017-09-15update script to use /* */ commentsNick Mathewson
2017-09-15Merge branch 'annotate_ifdefs'Nick Mathewson
2017-09-12Teach the scan-build script to output to a chosen directoryNick Mathewson
2017-09-12Add more checkers to scan-build.Nick Mathewson
2017-09-12Use all+only the default checkers in scan-build scriptNick 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-09-05Merge branch 'http_tunnel_squashed'Nick Mathewson