summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-01-06whitespace and typo fixesRoger Dingledine
2018-01-05Merge branch 'maint-0.3.2'Roger Dingledine
2018-01-05remove redundant "implement this" from log messageRoger Dingledine
2018-01-05Merge remote-tracking branch 'teor/fallback-code-2018-01'Nick Mathewson
2018-01-05Merge branch 'maint-0.3.2'Nick Mathewson
2018-01-05Merge branch 'maint-0.3.1' into maint-0.3.2Nick Mathewson
2018-01-05Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2018-01-05Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2018-01-05Merge branch 'teor_ticket24681_028' into maint-0.2.9Nick Mathewson
2018-01-05fix a wide lineNick Mathewson
2018-01-05Don't keep options in a local in run_main_loop_once.Nick Mathewson
The options value can change between the get_options() and its second use, based on setconf callbacks in the event loop.
2018-01-05Add a timestamp to the header of the current fallback listteor
This timestamp is based on the time that list was first committed. Part of 24725.
2018-01-05Remove an incorrect C comment in the current fallback listteor
Follow-up to #24725
2018-01-05Add delimiters at the end of every fallback entry in the current listteor
Using this script: sed -i.bak $'s|^,$|/* ===== */\\\n,|' src/or/fallback_dirs.inc (Due to embedded newlines, this script only works in bash.) And manually add a delimiter to the end of the header, and the start of the fallback list. 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 24725.
2018-01-05Update the version header in the current fallback file to 2.0.0teor
The upcoming fallback rebuild will automatically generate this new format. Follow-up to 24725, due to breaking changes in 24679, 24600, and 22759.
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 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-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-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-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-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
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-23Make the default DirAuthorityFallbackRate 0.1teor
This makes clients on the public tor network prefer to bootstrap off fallback directory mirrors. This is a follow-up to 24679, which removed weights from the default fallbacks. Implements ticket 24681.
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-21Increment version to 0.3.2.8-rc-devNick Mathewson
2017-12-21scan-build: Replace some test-assertions with fatal assertionsNick Mathewson
Using tt_assert in these helpers was implying to scan-build that our 'new' functions might be returning NULL, which in turn would make it warn about null-pointer use.