Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-21 | rust/protover: return C-allocated string in protover_all_supported() | cypherpunks | |
The result of CString::into_raw() is not safe to free with free() except under finicky and fragile circumstances that we definitely don't meet right now. This was missed in be583a34a3815c2c10e86094ab0610e4b7f9c869. | |||
2018-09-21 | rust/protover: fix null deref in protover_all_supported() | cypherpunks | |
Fortunately with the current callers it couldn't happen in practice. Fix on d1820c1516a31a149fc51a9e5126bf899e4c4e08. | |||
2018-09-18 | Merge remote-tracking branch 'onionk/rust-allsupported1' into maint-0.3.3 | Nick Mathewson | |
2018-09-14 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-09-14 | hs-v3: Don't BUG() on directory permission check failure | David Goulet | |
In hs_config.c, we do validate the permission of the hidden service directory but we do not try to create it. So, in the event that the directory doesn't exists, we end up in the loading key code path which checks for the permission and possibly creates the directory. On failure, don't BUG() since there is a perfectly valid use case for that function to fail. Fixes #27335 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-09-14 | rust/protover: use .and_not_in() instead of .retain() in all_supported() | cypherpunks | |
.retain() would allocating a Vec of billions of integers and check them one at a time to separate the supported versions from the unsupported. This leads to a memory DoS. Closes ticket 27206. Bugfix on e6625113c98c281b0a649598d7daa347c28915e9. | |||
2018-09-14 | If options_act() fails, restore the previous value of global_options | Nick Mathewson | |
Before 0.3.3.1-alpha, we would exit() in this case immediately. But now that we leave tor_main() more conventionally, we need to make sure we restore things so as not to cause a double free. Fixes bug 27708; bugfix on 0.3.3.1-alpha. | |||
2018-09-13 | rust/protover: validate unknown protocol names use only allowed characters | cypherpunks | |
2018-09-13 | Merge branch 'maint-0.2.9' into maint-0.3.2 | Nick Mathewson | |
2018-09-13 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-09-12 | fixup! changes file | cypherpunks | |
2018-09-12 | Check waitpid return value and exit status in tinytest.c | Nick Mathewson | |
It's possible for a unit test to report success via its pipe, but to fail as it tries to clean up and exit. Notably, this happens on a leak sanitizer failure. Fixes bug 27658; bugfix on 0.2.2.4-alpha when tinytest was introduced. | |||
2018-09-12 | rust/protover: fix check for overlapping ranges | cypherpunks | |
Closes ticket 27649. Bugfix on e6625113c98c281b0a649598d7daa347c28915e9. | |||
2018-09-11 | Bug 25505: Check circuitmux queues before padding. | Mike Perry | |
2018-09-11 | Merge remote-tracking branch 'teor/ticket27252-033' into maint-0.3.3 | Nick Mathewson | |
2018-09-11 | Merge remote-tracking branch 'teor/ticket27252-032' into maint-0.3.2 | Nick Mathewson | |
2018-09-11 | Merge remote-tracking branch 'teor/ticket27252-029' into maint-0.2.9 | Nick Mathewson | |
2018-09-11 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-09-11 | Merge branch 'maint-0.2.9' into maint-0.3.2 | Nick Mathewson | |
2018-09-11 | Update geoip and geoip6 to the September 6 2018 database. | Karsten Loesing | |
2018-09-07 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-09-07 | Merge branch 'maint-0.2.9' into maint-0.3.2 | Nick Mathewson | |
2018-09-07 | Tell openssl to build its TLS contexts with security level 1 | Nick Mathewson | |
Fixes bug 27344, where we'd break compatibility with old tors by rejecting RSA1024 and DH1024. | |||
2018-09-07 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-09-07 | Merge remote-tracking branch 'teor/bug27461-032' into maint-0.3.2 | Nick Mathewson | |
2018-09-07 | Merge remote-tracking branch 'teor/bug27461-029' into maint-0.2.9 | Nick Mathewson | |
2018-09-07 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-09-07 | Merge branch 'maint-0.2.9' into maint-0.3.2 | Nick Mathewson | |
2018-09-07 | Merge remote-tracking branch 'teor/bug27463-029' into maint-0.2.9 | Nick Mathewson | |
2018-09-07 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-09-07 | Merge branch 'maint-0.2.9' into maint-0.3.2 | Nick Mathewson | |
2018-09-07 | Merge branch 'bug27461-029' into bug27461-032 | teor | |
Fix a minor merge conflict due to an #endif comment. | |||
2018-09-07 | Windows: Stop calling SetProcessDEPPolicy() on 64-bit Windows | teor | |
It is not supported, and always fails. Some compilers warn about the function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix on 0.2.2.23-alpha. | |||
2018-09-07 | hs: Silence a spurious warning in rend_client_send_introduction() | teor | |
gcc 8 warns that extend_info_t.nickname might be truncated by strncpy(). But it doesn't know that nickname can either contain a hex id, or a nicknames. hex ids are only used for general and HSDir circuits. Fixes bug 27463; bugfix on 0.1.1.2-alpha. | |||
2018-09-07 | Windows: Silence a spurious warning in the GetAdaptersAddresses cast | teor | |
GetProcAddress() returns FARPROC, which is (long long int(*)()) on 64-bit Windows: https://msdn.microsoft.com/en-us/library/windows/desktop/ms683212(v=vs.85).aspx But GetAdaptersAddresses() is (long unsigned int(*)()), on both 32-bit and 64-bit Windows: https://docs.microsoft.com/en-us/windows/desktop/api/iphlpapi/nf-iphlpapi-getadaptersaddresses So gcc 8 issues a spurious "incompatible function pointer" warning about the cast to GetAdaptersAddresses_fn_t. Silence this warning by casting to a void function pointer, before the cast to GetAdaptersAddresses_fn_t. This issue is already fixed by 26481 in 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465; bugfix on 0.2.3.11-alpha. | |||
2018-09-05 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-09-05 | Merge branch 'maint-0.2.9' into maint-0.3.2 | Nick Mathewson | |
2018-09-05 | Merge remote-tracking branch 'teor/bug27418-029' into maint-0.2.9 | Nick Mathewson | |
2018-09-05 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-09-05 | Merge branch 'maint-0.2.9' into maint-0.3.2 | Nick Mathewson | |
2018-09-05 | Travis: don't call echo with a --flag as the first argument | teor | |
When we use echo in Travis, don't pass a --flag as the first argument. Fixes bug 27418; bugfix on 0.3.4.7-rc. | |||
2018-09-05 | Travis: when showing a log fails, keep trying to show other logs | teor | |
When a Travis build fails, and showing a log fails, keep trying to show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc. | |||
2018-08-29 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-08-29 | Merge branch 'maint-0.2.9' into maint-0.3.2 | Nick Mathewson | |
2018-08-29 | Test: avoid spurious failures in make test-network-all | teor | |
Before running make test-network-all, delete old logs and test result files, to avoid spurious failures. Fixes bug 27295; bugfix on 0.2.7.3-rc. | |||
2018-08-27 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-08-27 | When running make test-network-all, use the mixed+hs-v2 network | teor | |
No behaviour change. A previous fix to chutney removed v3 onion services from the mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is confusing. Fixes bug 27345; bugfix on 0.3.2.1-alpha. | |||
2018-08-24 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-08-24 | Merge branch 'ticket27286_032_v2' into maint-0.3.2 | Nick Mathewson | |
2018-08-24 | Update the protocol versions recommendations to remove LinkAuth=1 | Nick Mathewson | |
LinkAuth method 1 is the one where we pull the TLS master secrets out of the OpenSSL data structures and authenticate them with RSA. Right now we list method 1 as required for clients and relays. That's a problem, since we can't reasonably support it with NSS. So let's remove it as a requirement and a recommendation. As for method 3: I'd like to recommend it it, but that would make 0.2.9 start warning. Let's not do that till at least some time after 0.3.5 (the next LTS) is stable. Closes ticket 27286 |