summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-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-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/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
2019-08-19Merge branch 'maint-0.4.0' into maint-0.4.1Nick Mathewson
2019-08-19Merge branch 'maint-0.3.5' into maint-0.4.0Nick Mathewson
2019-08-19Merge branch 'maint-0.2.9' into maint-0.3.5Nick Mathewson
2019-08-19Merge branch 'tor-github/pr/1213'David Goulet
2019-08-19nodelist: Add support for multiple addresses in describe.cteor
Also prepare for unit tests. Part of 21003.
2019-08-19nodelist: Remove support for is_named in describe.cteor
The Named flag is deprecated. Removing support from the formatting code simplifies the unit tests. Part of 21003.
2019-08-19nodelist: Move router_get_verbose_nickname() declarationteor
The declaration was in nodelist/routerinfo.h, but the implementation was in nodelist/describe.h. Part of 21003.
2019-08-19test/nodelist: Fix a typoteor
2019-08-15dirauth: Change dizum IP addressDavid Goulet
New IP address from 194.109.206.212 to 45.66.33.45. Signed request from Alex de Joode, operator of dizum: https://trac.torproject.org/projects/tor/ticket/31406 Published descriptor by dizum on August 12th, 2019: -- r dizum fqbq1v2DCDxTj0QDi7+gd1h911U GZmZtCLaPDQNxkhIFj8UcgTRAuA 2019-08-12 15:28:40 45.66.33.45 443 80 s Authority Fast Running Stable V2Dir Valid v Tor 0.4.0.5 pr Cons=1-2 Desc=1-2 DirCache=1-2 HSDir=1-2 HSIntro=3-4 HSRend=1-2 Link=1-5 LinkAuth=1,3 Microdesc=1-2 Relay=1-2 Padding=1 w Bandwidth=20 Unmeasured=1 p reject 1-65535 -- Finally, confirmed by DNS: $ dig +short tor.dizum.com 45.66.33.45 Closes #31406 Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-08-15fix typo in keypin journal log entry (for dir auths)Roger Dingledine
2019-08-12Clarify comment for bug30942 and improve logline.Mike Perry
2019-08-12Bug 31356: Propogate protover padding support to circpadMike Perry
2019-08-12Bug 31356: Bump protover for new padding machinesMike Perry
By binding the protover numbering to specific padding machines, we can make our padding negotiation simpler. We probably should have done this in the first place. This has the side effect that earlier 0.4.1.x-alpha clients won't negotiate with 0.4.1.x-stable relays, and 0.4.1.x-stable clients won't negotiate with earlier 0.4.1.x-alpha relays (or 0.4.0.x relays). Since we don't support alphas after the stable is released, this is fine, so long as it gets in before the first stable of 0.4.1.x.
2019-08-12Bug 30992: Demote logline of wronghop padding to protocol warn.Mike Perry
This can happen, it's not great, but it's not the worst thing in the world either. Deferring full fix for 0.4.2/later.
2019-08-12Additional circpad diagnostic logsMike Perry
Also add controller circuit id to all relevant circpad loglines. This will make debugging any future issues like #30992 much easier.
2019-08-12Merge branch 'maint-0.3.5' into maint-0.4.0teor
2019-08-12Merge remote-tracking branch 'tor-github/pr/1049' into maint-0.4.0teor