summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* XXX Fix out-of-bounds write during voting with duplicate ed25519 keysdirserv-compute-oobJohn Brooks2016-05-11
| | | | | | | | | | | | | | In dirserv_compute_performance_thresholds, we allocate arrays based on the length of 'routers', a list of routerinfo_t, but loop over the nodelist. The 'routers' list may be shorter when relays were filtered by routers_make_ed_keys_unique, leading to an out-of-bounds write on directory authorities. This bug was originally introduced in 26e89742, but it doesn't look possible to trigger until routers_make_ed_keys_unique was introduced in 13a31e72. Fixes bug XXX; bugfix on tor 0.2.8.2-alpha.
* Merge branch 'bug19008_027' into maint-0.2.7Nick Mathewson2016-05-09
|\
| * Add "-c 1" to ping6 in test-network-allNick Mathewson2016-05-09
|/ | | | Fixes bug 19008. bugfix on 0.2.7.3-rc
* Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson2016-05-09
|\
| * Merge branch 'maint-0.2.5' into maint-0.2.6Nick Mathewson2016-05-09
| |\
| | * Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson2016-05-09
| | |\
| | | * Update geoip and geoip6 to the May 4 2016 database.Karsten Loesing2016-05-09
| | | |
* | | | Do not link tests against both libor.a and libor-testing.aNick Mathewson2016-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, put libor-testing.a at a better position in the list of libraries, to avoid linker errors. This is a fix, or part of a fix, for 18490. Conflicts: src/test/include.am
* | | | Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson2016-04-07
|\ \ \ \ | |/ / /
| * | | Merge branch 'maint-0.2.5' into maint-0.2.6Nick Mathewson2016-04-07
| |\ \ \ | | |/ /
| | * | Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson2016-04-07
| | |\ \ | | | |/
| | | * Update geoip and geoip6 to the April 5 2016 database.Karsten Loesing2016-04-07
| | | |
* | | | Merge branch 'bug15221_027' into maint-0.2.7Andrea Shepard2016-03-30
|\ \ \ \
| * | | | Permit setrlimit, prlimit, prlimit64 calls.Nick Mathewson2016-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We call setrlimit under some circumstances, and it can call prlimit and prlimit64 under the hood. Fixes bug 15221.
* | | | | Merge branch 'bug18570_027' into maint-0.2.7Andrea Shepard2016-03-29
|\ \ \ \ \
| * | | | | changes file for bug18570Nick Mathewson2016-03-21
| | | | | |
| * | | | | Make sure channel_t queues its own copy of incoming cellsAndrea Shepard2016-03-21
| | | | | |
| * | | | | Add new channel/queue_incoming unit tests; modify channel unit tests for new ↵Andrea Shepard2016-03-21
| |/ / / / | | | | | | | | | | | | | | | clarified handling of alloc/free responsibility for queued incoming cells
* | | | | Merge branch 'bug16248_027' into maint-0.2.7Andrea Shepard2016-03-29
|\ \ \ \ \
| * | | | | Add comments to connection_check_event().Nick Mathewson2016-03-14
| | | | | |
| * | | | | Change behavior on missing/present event to warn instead of asserting.Nick Mathewson2016-03-11
| | | | | | | | | | | | | | | | | | | | | | | | Add a changes file.
| * | | | | If we start/stop reading on a dnsserv connection, don't assert.Nick Mathewson2016-03-11
| |/ / / / | | | | | | | | | | | | | | | Fixes bug 16248. Patch from cypherpunks. Bugfix on 0.2.0.1-alpha.
* | | | | Merge branch 'ed25519_voting_fixes_squashed' into maint-0.2.7Nick Mathewson2016-03-21
|\ \ \ \ \
| * | | | | Use nth consistently in dircollate.h.Nick Mathewson2016-03-21
| | | | | | | | | | | | | | | | | | | | | | | | Documentation-only patch. Issue 17668.T6.
| * | | | | In routers_make_ed_keys_unique, break ties for published_onNick Mathewson2016-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures that if we can't use published_on to decide an ed,rsa mapping, we at least decide deterministically. Resolves 17668.T3
| * | | | | Assert that dircollator is collated when we're reading its output.Nick Mathewson2016-03-21
| | | | | | | | | | | | | | | | | | | | | | | | Fix for 17668.S2.
| * | | | | After we strip out duplicate entries from 'routers', don't use 'rl'.Nick Mathewson2016-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We've got to make sure that every single subsequent calculation in dirserv_generate_networkstatus_vote_obj() are based on the list of routerinfo_t *after* we've removed possible duplicates, not before. Fortunately, none of the functions that were taking a routerlist_t as an argument were actually using any fields other than this list of routers. Resolves issue 18318.DG3.
| * | | | | Fix another case of 17668: Add NoEdConsensusNick Mathewson2016-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I had a half-built mechanism to track, during the voting process, whether the Ed25519 value (or lack thereof) reflected a true consensus among the authorities. But we never actually inserted this field in the consensus. The key idea here is that we first attempt to match up votes by pairs of <Ed,RSA>, where <Ed> can be NULL if we're told that there is no Ed key. If this succeeds, then we can treat all those votes as 'a consensus for Ed'. And we can include all other votes with a matching RSA key and no statement about Ed keys as being "also about the same relay." After that, we look for RSA keys we haven't actually found an entry for yet, and see if there are enough votes for them, NOT considering Ed keys. If there are, we match them as before, but we treat them as "not a consensus about ed". When we include an entry in a consensus, if it does not reflect a consensus about ed keys, then we include a new NoEdConsensus flag on it. This is all only for consensus method 22 or later. Also see corresponding dir-spec patch.
| * | | | | Document has_ed25519_listingNick Mathewson2016-03-21
| | | | | |
| * | | | | Never vote for an ed key twice.Nick Mathewson2016-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When generating a vote, and we have two routerinfos with the same ed key, omit the one published earlier. This was supposed to have been solved by key pinning, but when I made key pinning optional, I didn't realize that this would jump up and bite us. It is part of bug 18318, and the root cause of 17668.
| * | | | | Fix log message subjects in networkstatus_parse_vote_from_string()Nick Mathewson2016-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of these messages called the thing being parsed a "vote" whether it is a vote or a consensus. Fixes bug 18368.
| * | | | | Document dircollate.c (and remove an unused global)Nick Mathewson2016-03-21
| | | | | |
| * | | | | Enable ed25519 collator in voting.Nick Mathewson2016-02-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, I had left in some debugging code with /*XXX*/ after it, which nobody noticed. Live and learn! Next time I will use /*XXX DO NOT COMMIT*/ or something. We need to define a new consensus method for this; consensus method 21 shouldn't actually be used. Fixes bug 17702; bugfix on 0.2.7.2-alpha.
* | | | | | a couple more changes files issues.Nick Mathewson2016-03-21
| | | | | |
* | | | | | Fix some warnings from lintchanges.Nick Mathewson2016-03-21
| |/ / / / |/| | | |
* | | | | Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson2016-03-09
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch 'maint-0.2.5' into maint-0.2.6Nick Mathewson2016-03-09
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson2016-03-09
| | |\ \ \ | | | | |/ | | | |/|
| | | * | Update geoip and geoip6 to the March 3 2016 database.Karsten Loesing2016-03-04
| | | | |
* | | | | Make clang asan work with FORTIFIED_SOURCE again.Nick Mathewson2016-02-23
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Short version: clang asan hates the glibc strcmp macro in bits/string2.h if you are passing it a constant string argument of length two or less. (I could be off by one here, but that's the basic idea.) Closes issue 14821.
* | | | Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson2016-02-11
|\ \ \ \ | |/ / /
| * | | Merge branch 'maint-0.2.5' into maint-0.2.6Nick Mathewson2016-02-11
| |\ \ \ | | |/ /
| | * | Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson2016-02-11
| | |\ \ | | | |/
| | | * Merge branch 'bug18162_024' into maint-0.2.4Nick Mathewson2016-02-11
| | | |\
| | | | * Make ensure_capacity a bit more pedantically correctNick Mathewson2016-02-11
| | | | | | | | | | | | | | | | | | | | Issues noted by cypherpunks on #18162
| | | | * avoid integer overflow in and around smartlist_ensure_capacity.Nick Mathewson2016-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This closes bug 18162; bugfix on a45b1315909c9, which fixed a related issue long ago. In addition to the #18162 issues, this fixes a signed integer overflow in smarltist_add_all(), which is probably not so great either.
* | | | | Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson2016-02-05
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch 'maint-0.2.5' into maint-0.2.6Nick Mathewson2016-02-05
| |\ \ \ \ | | |/ / /
| | * | | Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson2016-02-05
| | |\ \ \ | | | |/ /
| | | * | Update geoip and geoip6 to the February 2 2016 database.Karsten Loesing2016-02-04
| | | |/