Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-15 | ticket 25261: Removed multiple includes of transports.h in connection.c | Deepesh Pathak | |
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 branch 'maint-0.3.1' into maint-0.3.2 | Nick Mathewson | |
2018-02-13 | Merge branch 'maint-0.2.9' into maint-0.3.1 | Nick Mathewson | |
2018-02-13 | 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-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-12 | Merge branch 'maint-0.2.9' into maint-0.3.1 | Nick Mathewson | |
2018-02-12 | Merge branch 'bug23318-redux_029' into maint-0.2.9 | Nick Mathewson | |
2018-02-12 | Tweaks into router_should_be_dirserver() log msg. | Fernando Fernandez Mancera | |
Fixed log message that has been changed in commit 5ea993fa5a. Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net> | |||
2018-02-11 | Merge branch 'maint-0.2.9' into maint-0.3.1 | Nick Mathewson | |
2018-02-11 | Merge remote-tracking branch 'public/bug24198_029' into maint-0.2.9 | Nick Mathewson | |
2018-02-11 | Merge branch 'maint-0.2.9' into maint-0.3.1 | Nick Mathewson | |
2018-02-11 | Merge branch 'ticket24315_029' into maint-0.2.9 | Nick Mathewson | |
2018-02-11 | Merge branch 'maint-0.3.1' into maint-0.3.2 | Nick Mathewson | |
2018-02-11 | Merge branch 'maint-0.2.9' into maint-0.3.1 | Nick Mathewson | |
2018-02-11 | Merge remote-tracking branch 'public/bug21074_029' into maint-0.2.9 | 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.1' into maint-0.3.2 | Nick Mathewson | |
2018-02-10 | Merge branch '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: Remove now unused byte_slice_is_c_like() utility. | Isis Lovecruft | |
2018-02-10 | rust: Remove empty_static_cstr() in favour of new cstr!() macro. | Isis Lovecruft | |
2018-02-10 | rust: Use tor_util::strings utils for protover_compute_for_old_tor. | Isis Lovecruft | |
2018-02-10 | rust: Use tor_util::strings utils for protover_get_supported_protocols. | Isis Lovecruft | |
2018-02-10 | rust: Add macro for passing static borrowed strings from Rust to C. | Isis Lovecruft | |
* ADD a new macro, tor_util::string::cstr!() which takes Rust strings, concatenates them together, appends a NUL byte, and converts it into a std::ffi::CStr for handing to C. | |||
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 | |