aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-08-12Merge branch 'maint-0.4.4'George Kadianakis
2020-08-12Merge remote-tracking branch 'tor-gitlab/mr/107' into maint-0.4.4George Kadianakis
2020-08-12Merge branch 'maint-0.4.4'George Kadianakis
2020-08-12Merge remote-tracking branch 'tor-gitlab/mr/104' into maint-0.4.4George Kadianakis
2020-08-11Remove extraneous EVENT_CONTROLLER_WAITNick Mathewson
This turned into a new StreamStatus value. Closes #40092. Bug not in any released Tor.
2020-08-11bump version to 0.4.4.4-rcNick Mathewson
2020-08-11Merge remote-tracking branch 'tor-gitlab/mr/119' into maint-0.4.4Nick Mathewson
2020-08-11Merge remote-tracking branch 'tor-gitlab/mr/119'Nick Mathewson
2020-08-11Merge remote-tracking branch 'tor-gitlab/mr/111'George Kadianakis
2020-08-11Merge branch 'mr/105'George Kadianakis
2020-08-11Only log port self-testing message when we are _starting_ to test.Nick Mathewson
(Unlike approaches in earlier versions of Tor, this one logs if and only if we are launching a test, and we haven't said that we're testing this port.) Fixes bug 40068; bug not in any released version. Closes #40068.
2020-08-11Merge branch 'maint-0.4.4'George Kadianakis
2020-08-11Merge remote-tracking branch 'tor-gitlab/mr/102' into maint-0.4.4George Kadianakis
2020-08-11Remove a BUG() that could normally trigger in edge-cases.George Kadianakis
2020-08-10Merge branch 'maint-0.4.4'Nick Mathewson
2020-08-10Merge branch 'maint-0.4.3' into maint-0.4.4Nick Mathewson
2020-08-10Merge branch 'maint-0.4.2' into maint-0.4.3Nick Mathewson
2020-08-10Merge branch 'maint-0.3.5' into maint-0.4.2Nick Mathewson
2020-08-10small code tweaks to try to work around debian stable complaintsNick Mathewson
2020-08-10Merge remote-tracking branch 'tor-gitlab/mr/110'Nick Mathewson
2020-08-05Replace several C identifiers for ticket 18106.Nick Mathewson
We used to have a single boolean, "FascistFirewall". Ages ago, in tickets #17840 and #9067, we added an improved "ReachableAddresses" mechanism. It's time to rename related identifiers in the code for consistency. This closes #18106. This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ fascist_firewall_allows_address reachable_addr_allows \ fascist_firewall_use_ipv6 reachable_addr_use_ipv6 \ fascist_firewall_prefer_ipv6_impl reachable_addr_prefer_ipv6_impl \ fascist_firewall_prefer_ipv6_orport reachable_addr_prefer_ipv6_orport \ fascist_firewall_prefer_ipv6_dirport reachable_addr_prefer_ipv6_dirport \ fascist_firewall_allows_address_addr reachable_addr_allows_addr \ fascist_firewall_allows_address_ap reachable_addr_allows_ap \ fascist_firewall_allows_base reachable_addr_allows_base \ fascist_firewall_allows_ri_impl reachable_addr_allows_ri_impl \ fascist_firewall_allows_rs_impl reachable_addr_allows_rs_impl \ fascist_firewall_allows_rs reachable_addr_allows_rs \ fascist_firewall_allows_md_impl reachable_addr_allows_md_impl \ fascist_firewall_allows_node reachable_addr_allows_node \ fascist_firewall_allows_dir_server reachable_addr_allows_dir_server \ fascist_firewall_choose_address_impl reachable_addr_choose_impl \ fascist_firewall_choose_address reachable_addr_choose \ fascist_firewall_choose_address_base reachable_addr_choose_base \ fascist_firewall_choose_address_rs reachable_addr_choose_from_rs \ fascist_firewall_choose_address_ls reachable_addr_choose_from_ls \ fascist_firewall_choose_address_node reachable_addr_choose_from_node \ fascist_firewall_choose_address_dir_server reachable_addr_choose_from_dir_server
2020-08-05Merge remote-tracking branch 'tor-gitlab/mr/88'George Kadianakis
2020-08-04ipv6: Specialize GETINFO address interface for v4 and v6Neel Chauhan
2020-08-04Merge remote-tracking branch 'tor-gitlab/mr/100'Nick Mathewson
2020-08-04Merge branch 'bug40083_035' into bug40083_042Nick Mathewson
Fixes conflicts due to code movement.
2020-08-04Launch early reachability tests once a minute, not once a second.Nick Mathewson
This fixes bug 40083, which was introduced in 9f31908a in 0.2.8.1-alpha.
2020-08-03Minor style improvements. #30045Daniel Pinto
2020-08-03Merge branch 'ticket40081_035' into ticket40081_044Nick Mathewson
Resolves conflicts: src/core/or/channel.c src/test/test_channel.c
2020-08-03Remove channel_is_canonical_is_reliable()Nick Mathewson
This function once served to let circuits continue to be built over version-1 link connections. But such connections are long-obsolete, and it's time to remove this check. Closes #40081.
2020-08-03Wipe address strings from connections before freeing them them.Nick Mathewson
This is a defense-in-depth fix; closes 6198.
2020-08-03Add a tor_str_wipe_and_free() function.Nick Mathewson
Frequently we want to do if (s) { memwipe(s, 0, sizeof(s)); tor_free(s); } and it's good to have a way to do this concisely.
2020-08-03Merge branch 'maint-0.4.4'George Kadianakis
2020-08-03Merge remote-tracking branch 'tor-gitlab/mr/79' into maint-0.4.4George Kadianakis
2020-08-03Fix comment on protover_list_is_invalidNick Mathewson
2020-08-03Rename protover_contains_long_protocol_names to protover_list_is_invalidNick Mathewson
This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ protover_contains_long_protocol_names protover_list_is_invalid
2020-08-03Merge remote-tracking branch 'tor-gitlab/mr/94'Nick Mathewson
2020-08-03Merge remote-tracking branch 'tor-github/pr/1986/head'Nick Mathewson
2020-08-01Fix a leak-on-failure on test_get_bandwidth_lines()Nick Mathewson
Spotted by coverity. This is CID 1465571.
2020-08-01Add --format argument to --key-expiration option. #30045Daniel Pinto
2020-07-31Code simplifications for AP_CONN_STATE_CONTROLLER_WAITNeel Chauhan
2020-07-31test_stats : Removed CONFIG_PRIVATEMrSquanchee
Signed-off-by: Suraj Upadhyay <usuraj35@gmail.com>
2020-07-31Added tests for bandwidth functionsMrSquanchee
Added tests for 1. commit_max 2. advance_obs 3. add_obs 4. rep_hist_fill_bandwidth_history 5. rep_hist_get_bandwidth_lines (Lightly edited by nickm to use new names from bwhist refactoring.) Signed-off-by: Suraj Upadhyay <usuraj35@gmail.com>
2020-07-31Added tests for bandwidth functionsMrSquanchee
Added tests for 1. commit_max 2. advance_obs 3. add_obs 4. rep_hist_fill_bandwidth_history 5. rep_hist_get_bandwidth_lines Signed-off-by: Suraj Upadhyay <usuraj35@gmail.com>
2020-07-31Extract bw_array_t and related constants into a header.Nick Mathewson
This will be used for testing. Partially reproduces work by MrSquanchee in #33812.
2020-07-31Merge branch 'maint-0.4.2' into maint-0.4.3Alexander Færøy
2020-07-31Merge branch 'maint-0.3.5' into maint-0.4.2Alexander Færøy
2020-07-30Merge branch 'bug40076_044'Nick Mathewson
2020-07-30Merge branch 'bug40076_043' into bug40076_044Nick Mathewson
2020-07-30Merge branch 'bug40076_042' into bug40076_043Nick Mathewson
2020-07-30Merge branch 'maint-0.4.2' into bug40076_042Nick Mathewson