aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
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
2017-09-05Add a fuzzer for HTTP CONNECTNick Mathewson
2017-08-28Temporarily disable compilation of the v3 hs fuzzing codeNick Mathewson
Turns out, it wasn't up-to-date with the latest v3 hs API :(
2017-08-28Merge remote-tracking branch 'haxxpop/fuzzing-hsv3'Nick Mathewson
2017-08-24Add Coccinelle patch for replacing NULL/non-NULL tt_assert().Alexander Færøy
This patch replaces tt_assert() checks for NULL/non-NULL values with tt_ptr_op().
2017-08-24Add Coccinelle patch for replacing tt_assert() usage on integer types.Alexander Færøy
This patch replaces tt_assert() comparison of integers and unsigned integers with their respective tt_int_op or tt_uint_op counterpart.
2017-08-24Add Coccinelle patch for replacing tt_assert(0) with tt_abort().Alexander Færøy
2017-08-24Add Coccinelle patch for detecing places where CEIL_DIV should be used.Alexander Færøy
2017-08-24Add script for cleaning op operator usage in test files.Alexander Færøy
This patch adds a script written by Nick for bug #13172 to clean up the usage of ==, !=, <, >, <=, and >= by replacing them with their symbolic OP_* counterpart. This will ensure that a tool like Coccinelle doesn't get confused and silently ignore large blocks of code.