aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-10-03Unit tests for dirserv_reject_tor_version().Nick Mathewson
2019-10-03Authorities reject relays running unsupported Tor release series.Nick Mathewson
Our minimum version is now 0.2.9.5-alpha. Series 0.3.0, 0.3.1, 0.3.2, 0.3.3, and 0.3.4 are now rejected. Also, extract this version-checking code into a new function, so we can test it. Closes ticket 31549. Also reject 0.3.5.0 through 0.3.5.6-rc as unstable.
2019-08-29Merge branch 'tor-github/pr/1257'David Goulet
2019-08-29Merge branch 'maint-0.4.1'David Goulet
2019-08-29Merge branch 'tor-github/pr/1256' into maint-0.4.1David Goulet
2019-08-29Merge branch 'tor-github/pr/1255' into maint-0.4.1David Goulet
2019-08-28Remove extraneous "n" from comment in routerset.cNick Mathewson
2019-08-27Merge branch 'tor-github/pr/1267'George Kadianakis
2019-08-27Merge branch 'tor-github/pr/1258'George Kadianakis
2019-08-27Merge branch 'tor-github/pr/1234'George Kadianakis
2019-08-27Merge branch 'tor-github/pr/1237'George Kadianakis
2019-08-26test_address: parenthesize macro arguments.Nick Mathewson
It's good style to always add parentheses when using macro arguments, in case somebody someday provides an argument that contains an operator you don't expect, or causes the expression to parse differently.
2019-08-26In tests, make sure that "ri" is freed on all paths.Nick Mathewson
In Tor's tests, the tt_*() macros can call "goto done" on failure. When that happens, we need to make sure that all of our allocated memory still gets freed, or else Coverity will complain.
2019-08-26Add test for dirserv_router_has_valid_address()Neel Chauhan
2019-08-26Check for private IPv6 addresses in dirserv_router_has_valid_address()Neel Chauhan
2019-08-26Merge branch 'tor-github/pr/1239'David Goulet
2019-08-24clarify usage of __ and ___ prefixes on config optionsNick Mathewson
2019-08-24Make a function for NODUMP.Nick Mathewson
2019-08-24Make config_var_is_invisible a function.Nick Mathewson
2019-08-24Fix comment: ___ options are now that way because of the INVISIBLE flag.Nick Mathewson
2019-08-24whitespace fixNick Mathewson
2019-08-23Remove the unused circuit_type field from hs_ident_circuit_t and ↵Neel Chauhan
hs_ident_circuit_new()
2019-08-23hs: Remove an outdated commentteor
2019-08-23Merge branch 'bug23818_035' into bug23818_masterteor
2019-08-23hs: v3 single onion services fall back to 3-hop intro for unreachable nodesteor
Previously, v3 single onion services failed when all intro nodes were unreachable via a 1-hop path. Now, we select intros that are only available via a 3-hop path, and use a 3-hop path to connect to them. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
2019-08-23hs: Always use a 3-hop path when a v3 single onion intro failsteor
Previously, we always used a 1-hop path, no matter how many times a v3 single onion intro failed. Fixes bug 23818; bugfix on 0.3.2.1-alpha.
2019-08-23hs: Always use a 3-hop path when a v3 single onion rend failsteor
Previously, we used a 1-hop path when a single onion rend failed immediately, and a 3-hop path when it failed after trying to build a circuit. Fixes bug 23818; bugfix on 0.3.2.1-alpha.
2019-08-23Merge branch 'bug23818_029' into bug23818_035teor
2019-08-23rendservice: Always use a 3-hop path when a v2 single onion intro failsteor
Previously, we always used a 1-hop path, no matter how many times a v2 single onion intro failed. Fixes bug 23818; bugfix on 0.2.9.3-alpha.
2019-08-23rendservice: Always use a 3-hop path when a v2 single onion rend failsteor
Previously, we used a 1-hop path when a single onion rend failed immediately, and a 3-hop path when it failed after trying to build a circuit. Fixes bug 23818; bugfix on 0.2.9.3-alpha.
2019-08-22Merge branch 'ticket30935' into ticket30935_mergedNick Mathewson
2019-08-22Merge branch 'tor-github/pr/1244'David Goulet
2019-08-23test/nodelist: Add unit tests for describe.cteor
Part of 21003.
2019-08-22nodelist: Clear buffers and detect more caller errors in describe.cteor
Part of 21003.
2019-08-21Merge branch 'ticket31176' into ticket31176_mergedNick Mathewson
2019-08-20Merge branch 'ticket30914' into ticket30914_mergedNick Mathewson
2019-08-20bump to 0.4.1.5-devNick Mathewson
2019-08-19Fix a memory-leak warning in test_circuitbuid.cNick Mathewson
Coverity wants us to free everything that we are potentially allocating, even stuff where allocating it would be a bug. Adding a smartlist_free() here will fix the warning. Fixes bug 31452; bugfix on 16a0b7ed6779bf72a8a471c, which is not in any released Tor. This is CID 1447292.
2019-08-19Fix 64-bit return issue in parse_log_domain()Nick Mathewson
If unsigned int is 32-bits long, then our old code would give a wrong result with any log domain whose mask was >= (1<<32). Fortunately, there are no such log domains right now: the domain mask is only 64 bits long to accommodate some flags. Found by coverity as CID 1452041. Fixes bug 31451; bugfix on 0.4.1.4-rc.
2019-08-19Update version to 0.4.1.5Nick Mathewson
2019-08-19Merge remote-tracking branch 'tor-github/pr/1231'Nick Mathewson
2019-08-19Merge remote-tracking branch 'tor-github/pr/1224'Nick Mathewson
2019-08-19Merge remote-tracking branch 'tor-github/pr/1230' into maint-0.4.1Nick Mathewson
2019-08-19Merge remote-tracking branch 'tor-github/pr/1235'Nick Mathewson
2019-08-19Merge remote-tracking branch 'tor-github/pr/1225'Nick Mathewson
2019-08-19Merge branch 'tor-github/pr/1122'George Kadianakis
2019-08-19Merge branch 'tor-github/pr/1214'George Kadianakis
2019-08-19Merge branch 'tor-github/pr/1154'George Kadianakis
2019-08-19Merge remote-tracking branch 'mike/bug31356+logs-rebased2' into bug31356_finalGeorge Kadianakis
2019-08-19Merge branch 'maint-0.4.1'Nick Mathewson