Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-12-15 | Merge remote-tracking branch 'teor/feature4483-v10-squashed' | Nick Mathewson | |
2015-12-16 | Prop210: Add schedules for simultaneous client consensus downloads | teor (Tim Wilson-Brown) | |
Prop210: Add attempt-based connection schedules Existing tor schedules increment the schedule position on failure, then retry the connection after the scheduled time. To make multiple simultaneous connections, we need to increment the schedule position when making each attempt, then retry a (potentially simultaneous) connection after the scheduled time. (Also change find_dl_schedule_and_len to find_dl_schedule, as it no longer takes or returns len.) Prop210: Add multiple simultaneous consensus downloads for clients Make connections on TestingClientBootstrapConsensus*DownloadSchedule, incrementing the schedule each time the client attempts to connect. Check if the number of downloads is less than TestingClientBootstrapConsensusMaxInProgressTries before trying any more connections. | |||
2015-12-15 | Merge branch 'maint-0.2.7' | Nick Mathewson | |
2015-12-15 | Fix backtrace compilation on FreeBSD | cypherpunks | |
On FreeBSD backtrace(3) uses size_t instead of int (as glibc does). This causes integer precision loss errors when we used int to store its results. The issue is fixed by using size_t to store the results of backtrace(3). The manual page of glibc does not mention that backtrace(3) returns negative values. Therefore, no unsigned integer wrapping occurs when its result is stored in an unsigned data type. | |||
2015-12-15 | Remove obsolete INLINE preprocessor definition | cypherpunks | |
The INLINE keyword is not used anymore in favor of inline. Windows only supports __inline so an inline preprocessor definition is still needed. | |||
2015-12-15 | Replace usage of INLINE with inline | cypherpunks | |
This patch was generated using; sed -i -e "s/\bINLINE\b/inline/" src/*/*.[ch] src/*/*/*.[ch] | |||
2015-12-11 | Fix a pair of dead assignments | Nick Mathewson | |
2015-12-10 | Permit filesystem group to be root | Jamie Nguyen | |
2015-12-10 | make stack-protector happy | Nick Mathewson | |
2015-12-10 | add a static | Nick Mathewson | |
2015-12-10 | improve a comment in memwipe | Nick Mathewson | |
2015-12-10 | Merge remote-tracking branch 'public/feature17694_strongest_027' | Nick Mathewson | |
2015-12-09 | Mark a couple more arguments as unused. | Nick Mathewson | |
2015-12-09 | Small cleanups and comment fixes to rng functions. | Nick Mathewson | |
2015-12-09 | try a little harder with getrandom types to avoid warnings | Nick Mathewson | |
2015-12-08 | mark a variable unused. | Nick Mathewson | |
2015-12-08 | Fix comment switcheroo. Spotted by skruffy | Nick Mathewson | |
2015-12-08 | Merge branch 'feature13696_squashed' | Nick Mathewson | |
2015-12-08 | Add support for getrandom() and getentropy() when available | Yawning Angel | |
Implements feature #13696. | |||
2015-12-08 | Always hash crypto_strongest_rand() along with some prng | Nick Mathewson | |
(before using it for anything besides feeding the PRNG) Part of #17694 | |||
2015-12-07 | Consistently ignore multicast in internal reject private exit policies | teor (Tim Wilson-Brown) | |
Consistently ignore multicast addresses when automatically generating reject private exit policies. Closes ticket 17763. Bug fix on 10a6390deb3c9, not in any released version of Tor. Patch by "teor". | |||
2015-11-27 | use sockaddr_storage for stack-allocated sockets in ersatz socketpair | Nick Mathewson | |
2015-11-27 | Make SIZEOF_SOCKADDR return socklen_t to avoid bad compares. | Nick Mathewson | |
2015-11-27 | Use uint16_t, not in_port_t (which does not exist on Windows). See #17638. | Nick Mathewson | |
2015-11-25 | Merge branch 'bug17686_v2_027' | Nick Mathewson | |
2015-11-25 | Fix documentation for crypto_rand* | Nick Mathewson | |
2015-11-25 | Now that crypto_rand() cannot fail, it should return void. | Nick Mathewson | |
2015-11-25 | Add crypto-initializer functions to those whose return values must be checked | Nick Mathewson | |
2015-11-25 | Make crypto_seed_rng() and crypto_rand() less scary. | Nick Mathewson | |
These functions must really never fail; so have crypto_rand() assert that it's working okay, and have crypto_seed_rng() demand that callers check its return value. Also have crypto_seed_rng() check RAND_status() before returning. | |||
2015-11-26 | Check the return value of HMAC in crypto.c and assert on error | teor (Tim Wilson-Brown) | |
Fixes bug #17658; bugfix on commit in fdbb9cdf746b (11 Oct 2011) in tor version 0.2.3.5-alpha-dev. | |||
2015-11-25 | Merge remote-tracking branch 'teor/comments-20151123' | Nick Mathewson | |
2015-11-25 | Tweak gtank's sha512 patch a little | Nick Mathewson | |
2015-11-24 | implement teor's comments | George Tankersley | |
2015-11-24 | add SHA512 support to crypto | George Tankersley | |
2015-11-23 | Fix comments to describe actual return values (crypto.c) | teor (Tim Wilson-Brown) | |
2015-11-23 | Fix typo in comment on crypto_add_spaces_to_fp | teor (Tim Wilson-Brown) | |
2015-11-23 | Comment only: crypto_seed_rng no longer has a "startup" parameter | teor (Tim Wilson-Brown) | |
2015-11-20 | fix "make check-spaces" | Nick Mathewson | |
2015-11-19 | Make tor_ersatz_socketpair work on IPv6-only systems | teor (Tim Wilson-Brown) | |
(But it won't work on some systems without IPv4/IPv6 localhost (some BSD jails) by design, to avoid creating sockets on routable IP addresses. However, those systems likely have the AF_UNIX socketpair, which tor prefers.) Fixes bug #17638; bugfix on a very early tor version, earlier than 22dba27d8dd5 (23 Nov 2004) / svn:r2943. Patch by "teor". | |||
2015-11-18 | Update comments in get_interface_addresses_ioctl | teor (Tim Wilson-Brown) | |
Comment-only change noting platforms that can return IPv6 addresses from SIOCGIFCONF (or SIOCGLIFCONF). | |||
2015-11-13 | appease check-spaces | Nick Mathewson | |
2015-11-13 | Merge remote-tracking branch 'public/ticket11150_client_only' | Nick Mathewson | |
2015-11-13 | Remove a little duplicated code in TAP key expansion | Nick Mathewson | |
patch from pfrankw; closes 17587. | |||
2015-11-12 | Merge branch 'karsten_bug13192_026_03_teor' | Nick Mathewson | |
2015-11-12 | Rename cast_double_to_int64 to clamp_double_to_int64 | Nick Mathewson | |
2015-11-12 | Make round_to_next_multiple_of always round upwards. | Nick Mathewson | |
Yes, even if it has to return a non-multiple. This prevents us from ever having a bug where we try to use it for allocation, and under-allocate. | |||
2015-11-10 | appease check-spaces | Nick Mathewson | |
2015-11-10 | every version of openssl we support has SSL_get_state | Nick Mathewson | |
2015-11-10 | Every openssl we support has ERR_remove_thread_state | Nick Mathewson | |
2015-11-10 | Move openssl version compatibility defines into a new header. | Nick Mathewson | |