aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Update a comment and undef an identifierHEADmasterArlo Breault2014-06-23
| | | | * Trac #11452
* logic mixup, noticed by alphawolfRoger Dingledine2014-06-21
|
* Thread support is now requiredNick Mathewson2014-06-20
| | | | | | | | | | | Long ago we supported systems where there was no support for threads, or where the threading library was broken. We shouldn't have do that any more: on every OS that matters, threads exist, and the OS supports running threads across multiple CPUs. This resolves tickets 9495 and 12439. It's a prerequisite to making our workqueue code work better, since sensible workqueue implementations don't split across multiple processes.
* Remove code for Windows CE supportNick Mathewson2014-06-20
| | | | | | | As far as I know, nobody has used this in ages. It would be a pretty big surprise if it had worked. Closes ticket 11446.
* Authorities also advertise caches-extra-infoNick Mathewson2014-06-20
| | | | | | (Whoops, thought I had committed this before) Improvement to 11683 fix. Based on patch from Karsten.
* Merge remote-tracking branch 'karsten/bug11683'Nick Mathewson2014-06-19
|\
| * Believe that v3 dirauths always serve extra infos.Karsten Loesing2014-05-05
| | | | | | | | | | | | | | | | Clients should always believe that v3 directory authorities serve extra-info documents, regardless of whether their server descriptor contains a "caches-extra-info" line or not. Fixes part of #11683.
* | Bump version in master to 0.2.6.0-alpha-devNick Mathewson2014-06-18
| |
* | Bump version to Tor 0.2.5.5-alpha-devNick Mathewson2014-06-18
| |
* | Give 0.2.5.5-alpha a release dateNick Mathewson2014-06-18
| |
* | Reflow 0.2.5.5-alpha changelogNick Mathewson2014-06-18
| |
* | changelog edits from wfn and yawningNick Mathewson2014-06-18
| |
* | Re-wrap the 0.2.5.5-alpha changelogNick Mathewson2014-06-18
| |
* | Edit 0.2.5.5-alpha changelog for terseness and grammar.Nick Mathewson2014-06-18
| |
* | bump version to 0.2.5.5-alpha. Not released yet.Nick Mathewson2014-06-16
| |
* | whitespace fixesNick Mathewson2014-06-16
| |
* | Bring remaining 0.2.5.5-alpha entries into changelogNick Mathewson2014-06-16
| |
* | manpage: Move more authority-only options into the authority sectionNick Mathewson2014-06-16
| | | | | | | | | | | | I don't know whether we missed these or misclassified them when we first made the "DIRECTORY AUTHORITY SERVER OPTIONS" section, but they really belong there.
* | Add ATTR_UNUSED to HT_FINDNick Mathewson2014-06-14
| | | | | | | | | | | | The fix for bug 8746 added a hashtable instance that never actually invoked HT_FIND. This caused a warning, since we didn't mark HT_FIND as okay-not-to-use.
* | Merge branch 'bug8746_v2_squashed'Nick Mathewson2014-06-14
|\ \ | | | | | | | | | | | | Conflicts: src/common/include.am
| * | changes file for 8746Nick Mathewson2014-06-14
| | |
| * | refactor win/nix handling for test_spawn_background*()Nick Mathewson2014-06-14
| | | | | | | | | | | | | | | Instead of having a #if ... for every function, just define TEST_CHILD to the right patch and EOL to the expected line terminator.
| * | More unit tests for process spawningNick Mathewson2014-06-14
| | | | | | | | | | | | | | | | | | Try killing a running process; try noticing that a process has exited without checking its output; verify that waitpid_cb (when present) is set to NULL when you would expect it to be.
| * | New testing-only tor_sleep_msec functionNick Mathewson2014-06-14
| | | | | | | | | | | | | | | In the unit tests I want to loop with a delay, but I want less than a 1 second delay. This, sadly, requires compatibility code.
| * | On Windows, terminate processes by handle, not pidNick Mathewson2014-06-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | When we create a process yourself with CreateProcess, we get a handle to the process in the PROCESS_INFO output structure. But instead of using that handle, we were manually looking up a _new_ handle based on the process ID, which is a poor idea, since the process ID might refer to a new process later on, but the handle can't.
| * | Use waitpid code to learn when a controlled process diesNick Mathewson2014-06-14
| | | | | | | | | | | | | | | | | | This lets us avoid sending SIGTERM to something that has already died, since we realize it has already died, and is a fix for the unix version of #8746.
| * | New waitpid-handler functions to run callbacks when a child exits.Nick Mathewson2014-06-14
| | | | | | | | | | | | Also, move 'procmon' into libor_event library, since it uses libevent.
* | | Merge branch 'bug12184_diagnostic_squashed'Nick Mathewson2014-06-14
|\ \ \
| * | | Try to diagnose bug 12184Nick Mathewson2014-06-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Check for consistency between the queued destroy cells and the marked circuit IDs. Check for consistency in the count of queued destroy cells in several ways. Check to see whether any of the marked circuit IDs have somehow been marked longer than the channel has existed.
* | | | Merge branch 'bug12191_squashed'Nick Mathewson2014-06-13
|\ \ \ \
| * | | | Also raise the check for 0 circuit ID in created cell.Nick Mathewson2014-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And add a comment about why conditions that would cause us to drop a cell should get checked before actions that would cause us to send a destroy cell. Spotted by 'cypherpunks'. And note that these issues have been present since 0.0.8pre1 (commit 0da256ef), where we added a "shutting down" state, and started responding to all create cells with DESTROY when shutting down.
| * | | | Move circuit-id-in-use check for CREATE cells to before all other checksNick Mathewson2014-06-10
| |/ / / | | | | | | | | | | | | | | | | This means that we never send a DESTROY cell in response to an attempt to CREATE an existing circuit. Fixes bug 12191.
* | | | sandbox: Permit stat() of DataDir/statsNick Mathewson2014-06-13
| | | | | | | | | | | | | | | | | | | | | | | | This is a fix for another case of 12064 that alphawolf just spotted. There's already an 0.2.5.5 changelog entry for this.
* | | | whitespaces fixesNick Mathewson2014-06-11
| | | |
* | | | Merge remote-tracking branch 'public/ticket6799_024_v2_squashed'Nick Mathewson2014-06-11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/channel.c src/or/circuitlist.c src/or/connection.c Conflicts involved removal of next_circ_id and addition of unusable-circid tracking.
| * | | | Tweak changes entry for 6799Nick Mathewson2014-06-11
| | | | |
| * | | | Replace last_added_nonpadding with last_had_circuitsNick Mathewson2014-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The point of the "idle timeout" for connections is to kill the connection a while after it has no more circuits. But using "last added a non-padding cell" as a proxy for that is wrong, since if the last circuit is closed from the other side of the connection, we will not have sent anything on that connection since well before the last circuit closed. This is part of fixing 6799. When applied to 0.2.5, it is also a fix for 12023.
| * | | | Give each or_connection_t a slightly randomized idle_timeoutNick Mathewson2014-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of killing an or_connection_t that has had no circuits for the last 3 minutes, give every or_connection_t a randomized timeout, so that an observer can't so easily infer from the connection close time the time at which its last circuit closed. Also, increase the base timeout for canonical connections from 3 minutes to 15 minutes. Fix for ticket 6799.
* | | | | Fix a 32-big conversion warning in 11970 fixNick Mathewson2014-06-11
| | | | |
* | | | | Merge remote-tracking branch 'public/bug11970'Nick Mathewson2014-06-11
|\ \ \ \ \
| * | | | | Yield a real error in the bug case of sandbox_getaddrinfo()Nick Mathewson2014-06-11
| | | | | |
| * | | | | sandbox: revamp sandbox_getaddrinfo cacheingNick Mathewson2014-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old cache had problems: * It needed to be manually preloaded. (It didn't remember any address you didn't tell it to remember) * It was AF_INET only. * It looked at its cache even if the sandbox wasn't turned on. * It couldn't remember errors. * It had some memory management problems. (You can't use memcpy to copy an addrinfo safely; it has pointers in.) This patch fixes those issues, and moves to a hash table. Fixes bug 11970; bugfix on 0.2.5.1-alpha.
* | | | | | Merge remote-tracking branch 'public/not_bug8093'Nick Mathewson2014-06-11
|\ \ \ \ \ \
| * | | | | | put the right trac ticket number in changes fileNick Mathewson2014-06-04
| | | | | | |
| * | | | | | Bulletproof our 11246 fix a little, based on recommendation from andrea.Nick Mathewson2014-06-04
| | | | | | |
| * | | | | | count DATA cells with stream ID 0 as delivered for SENDME purposesNick Mathewson2013-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found while investigating 8093, but probably not the cause of it, since this bug would result in us sending too few SENDMEs, not in us receiving SENDMEs unexpectedly. Bugfix on the fix for 7889, which has appeared in 0.2.4.10-alpha, but not yet in any released 0.2.3.x version.
* | | | | | | Merge remote-tracking branch 'public/more_bug8387_diagnosis'Nick Mathewson2014-06-11
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | |
| * | | | | | Improved diagnostic log for bug 8387.Nick Mathewson2014-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we find a stranded one-hop circuit, log whether it is dirty, log information about any streams on it, and log information about connections they might be linked to.
* | | | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2014-06-10
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Fix changes file for geoipNick Mathewson2014-06-10
| | | | | | |