summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
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
2016-12-16Restrict unsafe constructs and enable all warningscypherpunks
2016-12-16Declare all variables to be localcypherpunks
Without the 'my' keyword the variables are global and Perl requires global symbols to include an explicit package name.
2016-12-16Convert tabs to spacescypherpunks
2016-12-08Update to trunnel 1.5.1Nick Mathewson
2016-10-31Make trunnel find files recursivelyDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2016-09-22fix crash in lintChanges.pyNick Mathewson
2016-09-06checkSpace.pl now forbids more identifiers.Nick Mathewson
The functions it warns about are: assert, memcmp, strcat, strcpy, sprintf, malloc, free, realloc, strdup, strndup, calloc. Also, fix a few lingering instances of these in the code. Use other conventions to indicate _intended_ use of assert and malloc/realloc/etc.
2016-08-02Update lintChanges script to understand 'Minor features (debugging)'Nick Mathewson
Previously we would give a warning because we didn't say "Fixes bug Foo" on these.
2016-07-29Merge branch 'maint-0.2.8'Nick Mathewson
2016-07-29Remove a fallback that was on the hardcoded list, then opted-outteor (Tim Wilson-Brown)
The fallback was added in 0.2.8.2-alpha.
2016-07-04Raise libevent dependency to 2.0.10-stable or newerSebastian Hahn
Only some very ancient distributions don't ship with Libevent 2 anymore, even the oldest supported Ubuntu LTS version has it. This allows us to get rid of a lot of compat code.
2016-06-28Merge branch 'maint-0.2.8'Nick Mathewson
2016-06-28Comment-out fallbacks in a way the stem fallback parser understandsteor (Tim Wilson-Brown)
If we manually remove fallbacks in C by adding '/*' and '*/' on separate lines, stem still parses them as being present, because it only looks at the start of a line. Add a comment to this effect in the generated source code.
2016-06-23Whitelist a fallback's new IPv6 addressteor (Tim Wilson-Brown)
The IPv4-only entry will be used for 0.2.8. The IPv4 and IPv6 entry will be considered in 0.2.9.
2016-06-23Remove a fallback that changed DirPortteor (Tim Wilson-Brown)
The operator has confirmed that the DirPort change is perament. The relay will be reconsidered as a fallback in 0.2.9.
2016-06-22Merge branch 'maint-0.2.8'Nick Mathewson
2016-06-22Remove and blacklist 3 fallbacks which disappearedteor (Tim Wilson-Brown)
Blacklist them in case they appear again.
2016-06-22Remove and blacklist 4 fallbacks which are unsuitableteor (Tim Wilson-Brown)
Remove a fallback that changed its fingerprint after it was listed This happened after to a software update: https://lists.torproject.org/pipermail/tor-relays/2016-June/009473.html Remove a fallback that changed IPv4 address Remove two fallbacks that were slow to deliver consensuses, we can't guarantee they'll be fast in future. Blacklist all these fallbacks until operators confirm they're stable.
2016-06-22Update the fallback whitelist and blacklistteor (Tim Wilson-Brown)
Operators have sent emails asking to have their relays added or removed from the fallback list. Since none of the blacklisted relays are in the hard-coded falback list, it does not need to be changed.
2016-06-22Avoid errors in updateFallbackDirs.py when there are no fallbacksteor (Tim Wilson-Brown)
2016-06-22Document how to test the hard-coded fallback listteor (Tim Wilson-Brown)
2016-05-27roger says this url is betterNick Mathewson
2016-05-27Make format_changelog.py add links to bugsNick Mathewson
2016-05-16Merge branch 'maint-0.2.8'Nick Mathewson
2016-04-29Simplify string cleansing in fallback update scriptteor (Tim Wilson-Brown)
No behavioural change
2016-04-29Improve logging in fallback update scriptteor (Tim Wilson-Brown)
Log a notice just before the script is about to perform a potentially time-consuming operation Clarify the warning when py2-ipaddress isn't found Make log levels more consistent No behavioural change (just logging)
2016-04-29Improve comments in fallback update scriptteor (Tim Wilson-Brown)
2016-04-26Merge branch 'maint-0.2.8'Nick Mathewson