summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-01-05Add all-zero extrainfo cache flags to the current fallback fileteor
Using this script: sed -i.bak $'s|^,$|/* extrainfo=0 */\\\n,|' src/or/fallback_dirs.inc (Due to embedded newlines, this script only works in bash.) This allows us to check that the code compiles, and the unit tests pass. And it allows downstream users stem and atlas to adapt to the new format. The upcoming fallback rebuild will automatically generate this new format, with actual relay extrainfo cache flags. Follow-up to 22759.
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 blank nicknames to the current fallback fileteor
Using this script: sed -i.bak $'s|^,$|/* nickname= */\\\n,|' src/or/fallback_dirs.inc (Due to embedded newlines, this script only works in bash.) This allows us to check that the code compiles, and the unit tests pass. And it allows downstream users stem and atlas to adapt to the new format. The upcoming fallback rebuild will automatically generate this new format, with actual relay nicknames. Follow-up to 24600.
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 weights from the current fallback fileteor
Using this script: sed -i.bak 's/" weight=10",/,/' src/or/fallback_dirs.inc This allows us to check that the code compiles, and the unit tests pass. And it allows downstream users stem and atlas to adapt to the new format. The upcoming fallback rebuild will automatically generate this new format. Follow-up to 24679.
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 version 1.0.0 header to the current fallback fileteor
The upcoming fallback rebuild will automatically generate this new format, with version 2.0.0. Follow-up to 24725.
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-05Add a changes file for 22321, that mentions all its children and 24678teor
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
2018-01-04smartlist.rs: The libc::c_char type is not the same as i8.Nick Mathewson
The code had been using c_char and i8 interchangeably, but it turns out that c_char is only i8 on platforms where "char" is signed. On other platforms, c_char is u8. Fixes bug 24794; bug not on any released Tor.
2018-01-04Merge remote-tracking branch 'frewsxcv/frewsxcv-protover-heap'Nick Mathewson
2018-01-03Merge remote-tracking branch 'pastly2/ticket24531_033_01'Nick Mathewson
2018-01-03In networkstatus_consensus_has_ipv6 test, use approx_time()Nick Mathewson
This may (or may not) fix up some reliability issues we've been seeing with this test on windows.
2018-01-03Merge branch 'maint-0.3.2'Nick Mathewson
2018-01-03Merge branch 'bug24634' into maint-0.3.2Nick Mathewson
2018-01-03Fix some shadowed-global warnings.Nick Mathewson
These are all about local variables shadowing global functions. That isn't normally a problem, but at least one compiler we care about seems to treat this as a case of -Wshadow violation, so let's fix it. Fixes bug 24634; bugfix on 0.3.2.1-alpha.
2018-01-03Merge branch 'maint-0.3.2'Nick Mathewson
2018-01-03Merge branch 'maint-0.3.1' into maint-0.3.2Nick Mathewson
2018-01-03Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2018-01-03Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2018-01-03Merge branch 'bug24633_029' into maint-0.2.9Nick Mathewson
2018-01-02Merge branch 'maint-0.3.2'Nick Mathewson
2018-01-02Merge remote-tracking branch 'teor/bug24703_032' into maint-0.3.2Nick Mathewson
2018-01-02Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2018-01-02Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2018-01-02Merge branch 'maint-0.3.2'Nick Mathewson
2018-01-02Merge branch 'maint-0.3.1' into maint-0.3.2Nick Mathewson
2018-01-02Merge remote-tracking branch 'teor/bug24736_028' into maint-0.2.9Nick Mathewson
2018-01-02Merge remote-tracking branch 'teor/ticket24001'Nick Mathewson
2018-01-02Remove changes file for 24762Nick Mathewson
(Bugfixes for bugs not in any released Tor don't get listed in the changelog, and therefore don't need changes files.)
2018-01-02Merge remote-tracking branch 'teor/bug24762'Nick Mathewson
2018-01-02Merge remote-tracking branch 'ffmancera/github/bug24677'Nick Mathewson
2018-01-02Use ping -6 ::1 on Linux when ping6 ::1 fails on tests.Fernando Fernandez Mancera
Tor test now checks if "ping -6 -c 1 -W 1 ::1" works when "ping6 -c 1 -W 1 ::1" fails on tests. Fixes #24677; bugfix in 0.2.9.3-alpha. Signed-off-by: Fernando Fernandez Mancera <ffernandezmancera@gmail.com>
2017-12-30Stop trying to remove NULL filenames on shutdownteor
Fixes bug 24762; bugfix on master. (Not in any released version of Tor.)
2017-12-28[fixup] this might be an improvement?Corey Farwell
2017-12-27Remove unneeded heap allocations in protover.rs.Corey Farwell
2017-12-25Clear the address when we can't choose a reachable addressteor
When the fascist_firewall_choose_address_ functions don't find a reachable address, set the returned address to the null address and port. This is a precautionary measure, because some callers do not check the return value. Fixes bug 24736; bugfix on 0.2.8.2-alpha.
2017-12-24Expand comments in node_get_ed25519_id() and put them near the relevant codeteor
And add a changes file. Follow-up to 24001.
2017-12-24Conditional check addedArunaMaurya221B
2017-12-22Bump the dates and Tor versions on the sample torrcsteor
2017-12-22Clarify the OutboundBindAddressOR documentation in the sample torrcteor
Part of 22145
2017-12-22Document IPv6Exit in the sample torrcsteor
Sample config-only change. Implements 24703.
2017-12-21Merge branch 'maint-0.3.2'Nick Mathewson
"ours" to avoid version bump.