| Commit message (Expand) | Author | Age |
* | Merge remote-tracking branch 'public/bug6538'•••Conflicts:
configure.ac
| Nick Mathewson | 2012-09-11 |
|\ |
|
| * | In choose-by-bw, scale to better use the range of uint64•••The smart part of this is based on an approach and a suggestion by
rransom. The unsmart part is my own fault.
| Nick Mathewson | 2012-08-27 |
| * | Refactor the core of choosing by weights into a function•••This eliminates duplicated code, and lets us test a hairy piece of
functionality.
| Nick Mathewson | 2012-08-09 |
* | | Have directory authorities vote on IPv6 OR ports according to the spec•••Define new new consensus method 14 adding "a" lines to vote and
consensus documents.
From proposal 186:
As with other data in the vote derived from the descriptor, the
consensus will include whichever set of "a" lines are given by the
most authorities who voted for the descriptor digest that will be
used for the router.
This patch implements this.
| Linus Nordberg | 2012-09-04 |
* | | Never emit the "opt" prefix in any directory stuff•••Fix for bug 5124.
| Nick Mathewson | 2012-06-28 |
|/ |
|
* | Update copyright dates to 2012; add a few missing copyright statements | Nick Mathewson | 2012-06-04 |
* | Synchronize with upstream tinytest again: remove _identifiers | Nick Mathewson | 2012-02-13 |
* | Rename nonconformant identifiers.•••Fixes bug 4893.
These changes are pure mechanical, and were generated with this
perl script:
/usr/bin/perl -w -i.bak -p
s/crypto_pk_env_t/crypto_pk_t/g;
s/crypto_dh_env_t/crypto_dh_t/g;
s/crypto_cipher_env_t/crypto_cipher_t/g;
s/crypto_digest_env_t/crypto_digest_t/g;
s/aes_free_cipher/aes_cipher_free/g;
s/crypto_free_cipher_env/crypto_cipher_free/g;
s/crypto_free_digest_env/crypto_digest_free/g;
s/crypto_free_pk_env/crypto_pk_free/g;
s/_crypto_dh_env_get_dh/_crypto_dh_get_dh/g;
s/_crypto_new_pk_env_rsa/_crypto_new_pk_from_rsa/g;
s/_crypto_pk_env_get_evp_pkey/_crypto_pk_get_evp_pkey/g;
s/_crypto_pk_env_get_rsa/_crypto_pk_get_rsa/g;
s/crypto_new_cipher_env/crypto_cipher_new/g;
s/crypto_new_digest_env/crypto_digest_new/g;
s/crypto_new_digest256_env/crypto_digest256_new/g;
s/crypto_new_pk_env/crypto_pk_new/g;
s/crypto_create_crypto_env/crypto_cipher_new/g;
s/connection_create_listener/connection_listener_new/g;
s/smartlist_create/smartlist_new/g;
s/transport_create/transport_new/g;
| Nick Mathewson | 2012-01-18 |
* | Merge branch 'maint-0.2.2' | Roger Dingledine | 2012-01-08 |
|\ |
|
| * | tell me who votes are actually for, not just where they're from | Roger Dingledine | 2012-01-08 |
* | | Initial support for simplest use of prop186 or-address lines•••This lets a routerinfo_t have a single IPv6 or-address, and adds
support for formatting and parsing those lines.
| Nick Mathewson | 2011-11-30 |
* | | Implement consensus method 12 (proposal 178) | Sebastian Hahn | 2011-11-27 |
* | | Merge remote-tracking branch 'public/bug2003_nm' | Nick Mathewson | 2011-10-07 |
|\ \ |
|
| * | | Make the unit tests pass again after the bug2003 fix | Nick Mathewson | 2011-09-07 |
| |/ |
|
* | | Upgrade to the latest version of tinytest | Nick Mathewson | 2011-06-09 |
* | | Prefer tt_assert in unit tests, not tor_assert | Nick Mathewson | 2011-06-08 |
* | | Merge remote-tracking branch 'origin/maint-0.2.2'•••Conflicts:
src/common/crypto.c
| Nick Mathewson | 2011-03-16 |
|\| |
|
| * | Clean up whitespace | Nick Mathewson | 2011-03-16 |
* | | Merge branch 'maint-0.2.2' | Roger Dingledine | 2011-01-15 |
|\| |
|
| * | Sanity-check consensus param values•••We need to make sure that the worst thing that a weird consensus param
can do to us is to break our Tor (and only if the other Tors are
reliably broken in the same way) so that the majority of directory
authorities can't pull any attacks that are worse than the DoS that
they can trigger by simply shutting down.
One of these worse things was the cbtnummodes parameter, which could
lead to heap corruption on some systems if the value was sufficiently
large.
This commit fixes this particular issue and also introduces sanity
checking for all consensus parameters.
| Sebastian Hahn | 2011-01-15 |
* | | Merge remote branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-01-15 |
|\| |
|
| * | Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2•••Conflicts:
src/or/routerparse.c
src/or/test.c
| Nick Mathewson | 2011-01-15 |
* | | Merge remote branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-01-03 |
|\| |
|
| * | Bump copyright statements to 2011 (0.2.2) | Nick Mathewson | 2011-01-03 |
* | | Merge remote branch 'origin/maint-0.2.2'•••Conflicts:
src/or/router.c
| Nick Mathewson | 2010-11-19 |
|\| |
|
| * | Fix a unit test broken by fix for 2195 | Nick Mathewson | 2010-11-19 |
* | | Rename routerstatus_t.is_running to is_flagged_running•••This was the only flag in routerstatus_t that we would previously
change in a routerstatus_t in a consensus. We no longer have reason
to do so -- and probably never did -- as you can now confirm more
easily than you could have done by grepping for is_running before
this patch.
The name change is to emphasize that the routerstatus_t is_running
flag is only there to tell you whether the consensus says it's
running, not whether it *you* think it's running.
| Nick Mathewson | 2010-10-01 |
|/ |
|
* | Fix misplaced labels | Sebastian Hahn | 2010-08-16 |
* | Create routerparse.h | Sebastian Hahn | 2010-07-27 |
* | Create networkstatus.h | Sebastian Hahn | 2010-07-27 |
* | Create dirvote.h | Sebastian Hahn | 2010-07-27 |
* | Create dirserv.h | Sebastian Hahn | 2010-07-27 |
* | Create directory.h | Sebastian Hahn | 2010-07-27 |
* | Create routerlist.h | Sebastian Hahn | 2010-07-27 |
* | Create router.h | Sebastian Hahn | 2010-07-27 |
* | Update copyright dates for files not in maint-0.2.1 | Nick Mathewson | 2010-02-27 |
* | Fix a very stupid coverity complaint (CID 416).•••In its zeal to keep me from saying memset(x, '0', sizeof(x)), Coverity
disallows memset(x, 48, sizeof(x)). Fine. I'll choose a different
magic number, see if I care!
| Nick Mathewson | 2009-10-26 |
* | Add functions to serve microdescs and flavored consensuses. | Nick Mathewson | 2009-10-18 |
* | Parse detached signatures and microdesc networkstatuses correctly. | Nick Mathewson | 2009-10-15 |
* | Implement signatures for microdesc consensuses right.•••This means we need to handle the existence of multiple flavors of signature
in a detached signatures document, generate them correctly, and so on.
| Nick Mathewson | 2009-10-15 |
* | Refactor consensus signature storage for multiple digests and flavors.•••This patch introduces a new type called document_signature_t to represent the
signature of a consensus document. Now, each consensus document can have up
to one document signature per voter per digest algorithm. Also, each
detached-signatures document can have up to one signature per <voter,
algorithm, flavor>.
| Nick Mathewson | 2009-10-15 |
* | Code to generate, store, and parse microdescriptors and consensuses.•••The consensus documents are not signed properly, not served, and not
exchanged yet.
| Nick Mathewson | 2009-10-15 |
* | Fix a memleak•••Found by coverity
test_mem_op_hex was leaking memory, which showed up in a few
tests.
Also, the dir_param test had a memleak of its own.
Found by Coverity
| Sebastian Hahn | 2009-09-27 |
* | Make a NULL check in test_dir.c non-redundant.•••Should quiet a coverity warning.
| Nick Mathewson | 2009-09-27 |
* | Carve out unrelated parts of test_dir_formats | Nick Mathewson | 2009-09-23 |
* | Split directory tests into their own module.•••(Also, clean up some whitespace.)
| Nick Mathewson | 2009-09-23 |