aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-02Merge branch 'maint-0.4.4'David Goulet
2020-07-02Merge branch 'maint-0.4.3' into maint-0.4.4David Goulet
2020-07-02Merge branch 'maint-0.4.2' into maint-0.4.3David Goulet
2020-07-02Merge branch 'maint-0.3.5' into maint-0.4.2David Goulet
2020-07-01Merge remote-tracking branch 'dgoulet/ticket33235_045_01'Nick Mathewson
2020-07-01test: Rename test_rep_hist to test_statsDavid Goulet
The exposed interface is "stats/" thus make the unit tests clear that it is testing that specific GETINFO command. Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-01Merge branch 'tor-github/pr/1907'David Goulet
2020-07-01Add changes file for Ticket #28279Neel Chauhan
2020-07-01Add GETINFO "rephist/{tap,ntor}/onion_handshakes_{assigned/requested}" testNeel Chauhan
2020-07-01control: Add a key to GETINFO to fetch the circuit onion handshake rephist ↵Neel Chauhan
values
2020-07-01Merge branch 'ticket34137'Nick Mathewson
2020-07-01Add a comment explaining reachability vs bandwidth self-testsNick Mathewson
This is in response to a question about why we don't always log orport self-tests as reachability tests. I'm not 100% convinced that bandwidth self-tests are still useful, but that's an issue for another day. :)
2020-07-01Merge branch 'tor-github/pr/1953'David Goulet
2020-07-01Merge branch 'maint-0.4.3' into maint-0.4.4George Kadianakis
2020-07-01Merge branch 'maint-0.4.4'George Kadianakis
2020-07-01Merge branch 'maint-0.4.2' into maint-0.4.3George Kadianakis
2020-07-01Merge branch 'maint-0.3.5' into maint-0.4.2George Kadianakis
2020-07-01Merge branch 'tor-github/pr/1766' into maint-0.3.5George Kadianakis
2020-06-30resolve_addr.c: remove a needless quote markNick Mathewson
2020-06-30Merge remote-tracking branch 'dgoulet/ticket40009_045_01'Nick Mathewson
2020-06-30addr: Document better is_local_addr_to_resolve_addr()David Goulet
This function is about learning if a given address is local to us as in the resolved address as a relay. Closes #40009 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-06-30node: Rename addrs_in_same_network_family()David Goulet
New name reflects that the function is only used to compare router addresses in order to learn if they are in the same network. The network check is /16 and /32 respectively for IPv4 and IPv6. Related to #40009 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-06-30scripts: Fix rename_c_identifier.py uncommitted warningDavid Goulet
Only warn when we actually want a commit _and_ there are uncommitted changes found. Else, it is fine to rename if the script is not creating a commit. Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-06-30addr: Don't guess our address if no Address lines are validDavid Goulet
If at least one Address line is given but invalid, we should not attempt to guess our address. This commit sends back the "bail" signal so find_my_address() can return an error if the requested family doesn't exists but still an Address line is found which is likely another family. Fixed in #33235 Related to #33233 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-06-30addr: Continue trying all Address options on resolve failureDavid Goulet
When going over all Address lines from the configuration, continue to attempt resolving other lines if one fails. Before that, we would bail right away and never noticed the other Address lines. Fixed in #33235 Related to #33233 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-06-30addr: Only attempt Address resolution on non parsable linesDavid Goulet
In get_address_from_config(), we would attempt to resolve an Address line that is not from the requested family but that line could be a valid address from another family (v4 vs v6). This makes it that we don't attempt to resolve a valid address from another family. Found with unit test config/find_my_address_mixed. Fixed in #33235 Related to #33233 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-06-30test: Mixed unit tests for find_my_address()David Goulet
This unit tests validates the use of IPv4 _and_ IPv6 together as in multiple option Address lines both addresses and hostnames. Closes #33235 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-06-30Downgrade "Bug: No entry found in extrainfo map" message.Nick Mathewson
This is not actually a bug! It can happen for a bunch of reasons, which all boil down to "trying to add an extrainfo for which we no longer have the corresponding routerinfo". Fixes #16016; bugfix on 0.2.6.3-alpha.
2020-06-30Refactor reachability test logging: log exactly what we launch.Nick Mathewson
Previously we had two chains of logic for reachability tests: one for launching them, and one for telling the user that we had launched them. Now, we simply have the launch code inform the user: this way, we can't get out of sync. Closes ticket 34137.
2020-06-30Merge branch 'maint-0.4.2' into maint-0.4.3Alexander Færøy
2020-06-30Merge branch 'maint-0.3.5' into maint-0.4.2Alexander Færøy
2020-06-30Merge branch 'maint-0.4.3' into maint-0.4.4Alexander Færøy
2020-06-30Merge branch 'maint-0.4.4'Alexander Færøy
2020-06-30Merge branch 'tor-github/pr/1909' into maint-0.3.5Alexander Færøy
2020-06-30test: Unit tests for find_my_address() IPv6David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-06-30Merge branch 'maint-0.4.3' into maint-0.4.4Alexander Færøy
2020-06-30Merge branch 'maint-0.4.4'Alexander Færøy
2020-06-30Merge branch 'tor-github/pr/1887' into maint-0.4.3Alexander Færøy
2020-06-30Merge branch 'maint-0.4.3' into maint-0.4.4Alexander Færøy
2020-06-30Merge branch 'maint-0.4.4'Alexander Færøy
2020-06-30Merge branch 'maint-0.4.2' into maint-0.4.3Alexander Færøy
2020-06-30Merge branch 'tor-github/pr/1806' into maint-0.4.2Alexander Færøy
2020-06-30Merge branch 'maint-0.4.3' into maint-0.4.4Alexander Færøy
2020-06-30Merge branch 'maint-0.4.4'Alexander Færøy
2020-06-30Merge branch 'maint-0.4.2' into maint-0.4.3Alexander Færøy
2020-06-30Merge branch 'maint-0.3.5' into maint-0.4.2Alexander Færøy
2020-06-30test: Rename function to be IPv4 specificDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-06-30Merge branch 'tor-github/pr/1793' into maint-0.3.5Alexander Færøy
2020-06-30Merge branch 'maint-0.4.3' into maint-0.4.4Alexander Færøy
2020-06-30Merge branch 'maint-0.4.4'Alexander Færøy