Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-08-13 | Decouple routerlist_retry_directory_downloads() from the blob | Nick Mathewson | |
Instead of having it call update_all_descriptor_downloads and update_networkstatus_downloads directly, we can have it cause them to get rescheduled and called from run_scheduled_events. Closes ticket 16789. | |||
2015-08-12 | Merge branch 'bug16539' | Nick Mathewson | |
2015-08-12 | whoops; add a stale changes file | Nick Mathewson | |
2015-08-12 | Fix a memory leak when adding an ri with expired ed certs | Nick Mathewson | |
Fixes bug 16539; bugfix on 0.2.7.2-alpha. | |||
2015-08-12 | Merge branch 'ticket16762_squashed' | Nick Mathewson | |
2015-08-12 | Decouple the backend for directory_all_unreachable to simplify our CFG | Nick Mathewson | |
See ticket 16762. | |||
2015-08-11 | Merge branch 'bug16389_027_03_squashed' | Nick Mathewson | |
2015-08-11 | Expire after 5 minutes rend cache failure entries | David Goulet | |
Signed-off-by: David Goulet <dgoulet@ev0ke.net> | |||
2015-08-11 | Add created timestamp to a rend cache failure entry | David Goulet | |
Signed-off-by: David Goulet <dgoulet@ev0ke.net> | |||
2015-08-11 | Fix typo in comment about digest256map_t | David Goulet | |
Signed-off-by: David Goulet <dgoulet@ev0ke.net> | |||
2015-08-11 | Use an enum for INTRO_POINT_FAILURE_* | David Goulet | |
Safer, wiser, stronger! Signed-off-by: David Goulet <dgoulet@ev0ke.net> | |||
2015-08-11 | Purge client HS failure cache on NEWNYM | David Goulet | |
Signed-off-by: David Goulet <dgoulet@ev0ke.net> | |||
2015-08-11 | Add rend failure cache | David Goulet | |
When fetching a descriptor, we know test every introduction points in it against our rend failure cache to know if we keep it or not. For this to work, now everytime an introduction points is discareded (ex: receiving a NACK), we note it down in our introduction cache. See rendcache.c for a detailed explanation of the cache's behavior. Fixes #16389 Signed-off-by: David Goulet <dgoulet@ev0ke.net> | |||
2015-08-11 | Fix windows compilation | Nick Mathewson | |
2015-08-11 | Fix a 32-bit compilation warning | Nick Mathewson | |
2015-08-11 | Make HSDir depend on Running/Valid again. | Nick Mathewson | |
When we removed Running/Valid checks from Fast and Stable in 8712, I removed them from HSDir too, which apparently wasn't a good idea. Reverts part of a65e835800b1af2c2a4c215b. Fixes bug 16524. Bugfix on 0.2.7.2-alpha. | |||
2015-08-10 | Merge remote-tracking branch 'public/feature16734' | Nick Mathewson | |
2015-08-10 | Remove a 9-function strongly connected component of tor's callgraph. | Nick Mathewson | |
microdesc_free_() called get_microdesc_cache(), which had the fun side-effect of potentially reloading the whole cache from disk. Replace it with a variant that doesn't. | |||
2015-08-10 | Update callgraph code to find and output strongly connected components | Nick Mathewson | |
2015-08-10 | Merge remote-tracking branch 'dgoulet/bug16274_027_02' | Nick Mathewson | |
2015-08-06 | Merge remote-tracking branch 'public/decouple-write' | Nick Mathewson | |
2015-08-06 | Merge remote-tracking branch 'public/bug16286' | Nick Mathewson | |
2015-08-05 | add dSYM files to gitignore (they are an osx thing) | Nick Mathewson | |
2015-08-05 | Update tor-fw-helper URL | Nick Mathewson | |
2015-08-05 | Add a compat function to check how much disk space is free. | Nick Mathewson | |
Closes ticket 16734. | |||
2015-08-05 | Set the open file limit to the current value before changing it | David Goulet | |
If setrlimit() failed, max_out wasn't set in set_max_file_descriptors() ending in a state where we don't use ULIMIT_BUFFER for things like tor private key files. Also fix the set_max_file_descriptors() documentation. Fixes #16274 Signed-off-by: David Goulet <dgoulet@ev0ke.net> | |||
2015-08-05 | Write a bunch more test for doc/WritingTests | Nick Mathewson | |
2015-08-05 | Allow cov-display to take directories as arguments | Nick Mathewson | |
2015-08-05 | Let's try to get test_workqueue working on windows | Nick Mathewson | |
2015-08-04 | Merge remote-tracking branch 'public/bug13338' | Nick Mathewson | |
2015-08-04 | Switch order of unblocking threads and releasing the mutex. | cypherpunks | |
According to POSIX, the mutex must be locked by the thread calling the signal functions to ensure predictable scheduling behavior. Found the issue using Helgrind which gave the warning `dubious: associated lock is not held by any thread`. | |||
2015-08-03 | Update doc/HACKING with more coverage instructions | Nick Mathewson | |
2015-08-03 | When building with coverage, run chutney with coverage | Nick Mathewson | |
Previously, this required me to do stuff like 'cp src/or/tor-cov src/or/tor' , which is pretty embarrassing. | |||
2015-08-03 | Improved targets for "run all the tests, no, all of them." | Nick Mathewson | |
2015-07-31 | Move formatting functions around. | Nick Mathewson | |
The base64 and base32 functions used to be in crypto.c; crypto_format.h had no header; some general-purpose functions were in crypto_curve25519.c. This patch makes a {crypto,util}_format.[ch], and puts more functions there. Small modules are beautiful! | |||
2015-07-31 | Improve log messages for problems about ed25519 keypinning | Nick Mathewson | |
Fixes 16286; bugfix on 0.2.7.2-alpha. | |||
2015-07-30 | Add get_max_sockets() and remove dead code | David Goulet | |
The control port was using set_max_file_descriptors() with a limit set to 0 to query the number of maximum socket Tor can use. With the recent changes to that function, a check was introduced to make sure a user can not set a value below the amount we reserved for non socket. This commit adds get_max_sockets() that returns the value of max_sockets so we can stop using that "setter" function to get the current value. Finally, the dead code is removed that is the code that checked for limit equal to 0. From now on, set_max_file_descriptors() should never be used with a limit set to 0 for a valid use case. Fixes #16697 Signed-off-by: David Goulet <dgoulet@ev0ke.net> | |||
2015-07-30 | Do not autoflush control connections as their outbufs get big | Nick Mathewson | |
Doing this is no longer necessary, and it leads to weird recursions in our call graph. Closes ticket 16480. | |||
2015-07-30 | whitespace fix | Nick Mathewson | |
2015-07-30 | changes file for callgraph scripts | Nick Mathewson | |
2015-07-30 | Check in some scripts I use for callgraph analysis. | Nick Mathewson | |
2015-07-30 | Wrap windows-only C files in #ifdef _WIN32 | Nick Mathewson | |
This should make some scripts and IDEs happier. | |||
2015-07-29 | Merge remote-tracking branch 'origin/maint-0.2.6' | Nick Mathewson | |
2015-07-29 | Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6 | Nick Mathewson | |
2015-07-29 | Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5 | Nick Mathewson | |
2015-07-29 | Merge remote-tracking branch 'teor/feature14175-chutney-performance-v2' | Nick Mathewson | |
2015-07-29 | Update geoip and geoip6 to the July 8 2015 database. | Karsten Loesing | |
2015-07-28 | Merge remote-tracking branch 'linus/bug_11061' | Nick Mathewson | |
2015-07-27 | Bump version to 0.2.7.2-alpha-dev | Nick Mathewson | |
2015-07-27 | Fold final entries into changelogtor-0.2.7.2-alpha | Nick Mathewson | |