Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-02-15 | Merge branch 'bug18105' | Nick Mathewson | |
2018-02-15 | Merge branch 'bug24484_squashed' | Nick Mathewson | |
2018-02-15 | Remove workaround code for systems where free(NULL) is busted. | Nick Mathewson | |
Add an autoconf test to make sure we won't regret it. Closes ticket 24484. | |||
2018-02-15 | Bump version in master to 0.3.4.0-alpha-devtor-0.3.4.0-alpha-dev | Nick Mathewson | |
2018-02-15 | rust protover: match the C implementation on empty-str cases | Nick Mathewson | |
Empty versions lists are permitted; empty keywords are not. | |||
2018-02-15 | Forbid u32::MAX as a protover range element in rust | Nick Mathewson | |
Part of the 25249 fix to make rust match the C. | |||
2018-02-15 | Rust protover compat: forbid more than MAX_VERSIONS_TO_EXPAND in a range | Nick Mathewson | |
Also correct MAX_VERSIONS_TO_EXPAND to match the C. NOTE that this patch leads to incorrect behavior: the C code allows huge ranges; it just doesn't allow votes on them (currently). For full compatibility, we'll need to make the rust code store ranges as ranges natively, possibly using something like the range_map crate. Still, this patch is smaller than a "proper" fix. Fixes TROVE-2018-003. | |||
2018-02-14 | Merge remote-tracking branch 'mikeperry/bug24769' | Nick Mathewson | |
2018-02-13 | Merge branch 'tests_rust' | Nick Mathewson | |
2018-02-13 | Merge remote-tracking branch 'dgoulet/ticket24902_029_05' | Nick Mathewson | |
2018-02-13 | Merge remote-tracking branch 'dgoulet/bug25223_029_01' into ticket24902_029_05 | David Goulet | |
2018-02-13 | dos: Add extra safety asserts in cc_stats_refill_bucket() | David Goulet | |
Never allow the function to set a bucket value above the allowed circuit burst. Closes #25202 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-02-13 | dos: Don't set consensus param if we aren't a public relay | David Goulet | |
We had this safeguard around dos_init() but not when the consensus changes which can modify consensus parameters and possibly enable the DoS mitigation even if tor wasn't a public relay. Fixes #25223 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-02-13 | Merge remote-tracking branch 'dgoulet/ticket24902_029_05' | Nick Mathewson | |
2018-02-12 | Have tor_addr hashes return a randomized hash for AF_UNSPEC. | Nick Mathewson | |
We don't expect this to come up very much, but we may as well make sure that the value isn't predictable (as we do for the other addresses) in case the issue ever comes up. Spotted by teor. | |||
2018-02-12 | Fix a typo in an address_set.c comment. | Nick Mathewson | |
2018-02-11 | Merge remote-tracking branch 'isis/bug25127_redux' | Nick Mathewson | |
2018-02-11 | fix compilation. | Nick Mathewson | |
2018-02-11 | Merge branch 'bug25120' | Nick Mathewson | |
2018-02-11 | Lower log-level in different error conditions in entropy selection. | Alexander Færøy | |
This patch lowers the log-level from warning to info in the cases where we are going to attempt another method as entropy source to hopefully make the user feel less concerned. See: https://bugs.torproject.org/25120 | |||
2018-02-10 | Merge branch 'maint-0.3.2' | Nick Mathewson | |
2018-02-10 | Merge branch 'maint-0.3.1' into maint-0.3.2 | Nick Mathewson | |
2018-02-10 | Merge branch 'maint-0.2.9' into maint-0.3.1 | Nick Mathewson | |
2018-02-10 | Merge branch 'bug24978_029_enable' into maint-0.2.9 | Nick Mathewson | |
2018-02-10 | Bump version to 0.3.3.2-alpha-dev | Nick Mathewson | |
2018-02-10 | rust: Replace two `unwrap()`s in FFI code with `unwrap_or()`s. | Isis Lovecruft | |
2018-02-09 | Bump to 0.3.3.2-alpha | Nick Mathewson | |
2018-02-09 | whitespace and typo cleanups | Roger Dingledine | |
2018-02-09 | Merge remote-tracking branch 'dgoulet/ticket24902_029_05' | Nick Mathewson | |
2018-02-09 | test: DoS test to make sure we exclude known relays | David Goulet | |
Part of #25193 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-02-09 | dos: Exclude known relays from client connection count | David Goulet | |
This is to avoid positively identifying Exit relays if tor client connection comes from them that is reentering the network. One thing to note is that this is done only in the DoS subsystem but we'll still add it to the geoip cache as a "client" seen. This is done that way so to avoid as much as possible changing the current behavior of the geoip client cache since this is being backported. Closes #25193 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-02-08 | Add a "make test-rust" target to run the rust tests only. | Nick Mathewson | |
2018-02-08 | Merge remote-tracking branch 'frewsxcv/frewsxcv-protover' | Nick Mathewson | |
2018-02-08 | Stop claiming that compute_for_old_tor() returns pairs | Nick Mathewson | |
2018-02-08 | Remove new unsafe {} use. | Nick Mathewson | |
Rationale: this helps for performance only, but we don't actually have any reason to think that the checks here are performance-critical. Let's not normalize the use of unsafe {}. | |||
2018-02-08 | Merge remote-tracking branch 'isis/bug25127' | Nick Mathewson | |
2018-02-08 | Merge branch 'ticket25183_029_01' into ticket24902_029_05 | David Goulet | |
2018-02-08 | test: Add unit tests for addressset.c | David Goulet | |
This also adds one that tests the integration with the nodelist. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-02-08 | Add an address_set to the nodelist. | Nick Mathewson | |
This set is rebuilt whenever a consensus arrives. In between consensuses, it is add-only. | |||
2018-02-08 | Function to add an ipv4 address to an address_set | Nick Mathewson | |
This is a convenience function, so callers don't need to wrap the IPv4 address. | |||
2018-02-08 | Add an address-set backend using a bloom filter. | Nick Mathewson | |
We're going to need this to make our anti-DoS code (see 24902) more robust. | |||
2018-02-08 | Merge branch 'maint-0.3.1' into maint-0.3.2 | Nick Mathewson | |
2018-02-08 | Merge branch 'maint-0.3.2' | Nick Mathewson | |
2018-02-08 | Merge branch 'maint-0.2.9' into maint-0.3.1 | Nick Mathewson | |
2018-02-08 | Merge branch 'maint-0.2.5' into maint-0.2.9 | Nick Mathewson | |
2018-02-08 | dirserv: Improve returned message when relay is rejected | David Goulet | |
Explicitly inform the operator of the rejected relay to set a valid email address in the ContactInfo field and contact bad-relays@ mailing list. Fixes #25170 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-02-08 | Update geoip and geoip6 to the February 7 2018 database. | Karsten Loesing | |
2018-02-07 | protover: Fix memleak in Rust impl of protover_compute_for_old_tor. | Isis Lovecruft | |
* FIXES #25127: https://bugs.torproject.org/25127 * ADDS a new module to the Rust tor_util crate for small utilities for working with static strings between languages. * CHANGES the return type of protover_compute_for_old_tor to point to immutable data. * CHANGES the code from the previous commit to use the new static string utilities. | |||
2018-02-07 | remove blank line between function-comment and function | Roger Dingledine | |
also be more consistent about punctuation in doxygen comments | |||
2018-02-07 | Merge remote-tracking branch 'dgoulet/ticket25163_033_01' | Nick Mathewson | |