Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Use fmt_addrport where appropriate. | David Fifield | 2012-10-10 |
| | | | | | | | | | This is mostly a conversion from this pattern: log("... %s:%d ...", fmt_and_decorate_addr(&addr), port); to this: log("... %s ...", fmt_addrport(&addr, port)); The output is the same in all cases. | ||
* | Use fmt_and_decorate_addr in log messages. | David Fifield | 2012-10-10 |
| | |||
* | Implement and use crypto_pk_eq_keys | Robert Ransom | 2012-09-17 |
| | |||
* | Split the routerset code out of routerlist.c | Nick Mathewson | 2012-09-14 |
| | |||
* | Fix directory self-testing logic | Nick Mathewson | 2012-09-12 |
| | | | | | | | | | | | | | | | | | When I removed version_supports_begindir, I accidentally removed the mechanism we had been using to make a directory cache self-test its directory port. This caused bug 6815, which caused 6814 (both in 0.2.4.2-alpha). To fix this bug, I'm replacing the "anonymized_connection" argument to directory_initiate_command_* with an enumeration to say how indirectly to connect to a directory server. (I don't want to reinstate the "version_supports_begindir" argument as "begindir_ok" or anything -- these functions already take too many arguments.) For safety, I made sure that passing 0 and 1 for 'indirection' gives the same result as you would have gotten before -- just in case I missed any 0s or 1s. | ||
* | Avoid spurious warnings in rend_service_introduce | Nick Mathewson | 2012-08-21 |
| | | | | | | | | | | There was some code in the "err:" block that would always log a warning, reporting an "unknown error" if we hadn't set err_msg. But there were also plenty of "goto err" blocks that did their own logging, and never set err_msg at all. Now we should only log when we have an error message to log. This fixes bug 6638, from no released Tor version. | ||
* | Fix a bunch of "implicit 64->32" warnings from introduce refactoring | Nick Mathewson | 2012-08-03 |
| | |||
* | Whitespace tweaks | Nick Mathewson | 2012-07-31 |
| | |||
* | Refactor INTRODUCE2 parsing code in rend_service_introduce() | Andrea Shepard | 2012-07-31 |
| | |||
* | Use new replaycache_t structure for replay detection in rend_service_introduce() | Andrea Shepard | 2012-07-31 |
| | |||
* | Merge remote-tracking branch 'origin/maint-0.2.3' | Nick Mathewson | 2012-07-18 |
|\ | |||
| * | Fix the remaining instances of nexted SMARTLIST_FOREACH | Nick Mathewson | 2012-07-17 |
| | | |||
* | | Fix crash bug from 4a8eaad7 (Bug 6255) | Nick Mathewson | 2012-06-29 |
| | | | | | | | | | | | | | | | | We were doing a tor_strclear() on client_keys_str when it might not even be set. Fix for bug 6255; bug not in any release of Tor. Thanks to katmagic for finding this one! | ||
* | | Merge remote-tracking branch 'public/bug2385' | Nick Mathewson | 2012-06-25 |
|\ \ | |/ |/| | |||
| * | Clear a couple more fields in rend_service_load_auth_keys | Nick Mathewson | 2012-06-18 |
| | | |||
| * | Refactor exit path in rend_service_load_auth_keys | Nick Mathewson | 2012-06-18 |
| | | | | | | | | | | | | Now it's an orthodox "goto err/done" exit path, and it isn't some screwy thing where we stick err/done at the end of a loop and duplicate our cleanup code. | ||
| * | Fix indentation in rend_service_load_auth_keys | Nick Mathewson | 2012-06-18 |
| | | |||
| * | Refactor rend_service_load_keys() into main portion and auth portion. | Nick Mathewson | 2012-06-18 |
| | | |||
| * | Fix indentation and whitespace in rend_service_load_keys | Nick Mathewson | 2012-06-18 |
| | | |||
| * | Refactor rend_service_load_keys() into outer loop and loop contents | Nick Mathewson | 2012-06-18 |
| | | |||
| * | In rend_service_load_keys(), clear extended descriptor cookie and buffer, ↵ | Andrea Shepard | 2012-06-15 |
| | | | | | | | | clear temporary heap space for client key, and check if serializing client key fails | ||
| * | Clean keys on stack in rend_service_rendezvous_has_opened() | Andrea Shepard | 2012-06-15 |
| | | |||
| * | Clean keys on stack in rend_service_intro_has_opened() | Andrea Shepard | 2012-06-15 |
| | | |||
| * | Clean up keys on stack in rend_service_introduce() | Andrea Shepard | 2012-06-15 |
| | | |||
| * | Clean up keys on stack in rend_service_load_keys() | Andrea Shepard | 2012-06-15 |
| | | |||
* | | Merge remote-tracking branch 'public/bug3311' | Nick Mathewson | 2012-06-18 |
|\ \ | |/ |/| | |||
| * | Clarify some messages about publishing hidden service descriptors | Nick Mathewson | 2012-06-15 |
| | | | | | | | | Fix for bug 3311. | ||
* | | Triage the XXX023 and XXX022 comments: postpone many. | Nick Mathewson | 2012-06-15 |
|/ | |||
* | Update copyright dates to 2012; add a few missing copyright statements | Nick Mathewson | 2012-06-04 |
| | |||
* | Don't reset intro-point creation rate-limiting timer | Robert Ransom | 2012-04-20 |
| | | | | | | | | Previously, we would reset it at the drop of a hat -- every time a second passes without any of the intro-point circs already launched for the service failing. Fixes bug 4607. | ||
* | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2012-04-18 |
|\ | | | | | | | | | | | | | | | Conflicts: src/or/rendservice.c Conflicts were due to new NON_ANONYMOUS_MODE_ENABLED tor2web code; I think I resolved them correctly. | ||
| * | rend_service_introduce(): do protocol violation check before anything else. | George Kadianakis | 2012-04-18 |
| | | | | | | | | (Cherry-picked from 6ba13e4 by nickm) | ||
* | | Rename nonconformant identifiers. | Nick Mathewson | 2012-01-18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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; | ||
* | | Merge branch 'feature3457-v4-nm-squashed' | Nick Mathewson | 2012-01-11 |
|\ \ | | | | | | | | | | | | | Conflicts: src/or/rendclient.c | ||
| * | | Log whenever a circuit's purpose is changed | Robert Ransom | 2011-11-24 |
| | | | |||
* | | | Chop out the intro point calculation until it is simple enough for nickm to grok | Nick Mathewson | 2012-01-10 |
| | | | |||
* | | | Use my original formula for number of replacements for an intro point | Robert Ransom | 2012-01-10 |
| | | | | | | | | | | | | | | | A fixup commit which was intended to make this formula easier to read broke it instead. | ||
* | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2012-01-09 |
|\ \ \ | | |/ | |/| | |||
| * | | Fix a trivial log message error in renservice.c | Nick Mathewson | 2012-01-09 |
| | | | | | | | | | | | | | | | | | | Fixes bug 4856; bugfix on 0.0.6 This bug was introduced in 79fc5217, back in 2004. | ||
* | | | Merge remote-tracking branch 'rransom-tor/bug4842' | Nick Mathewson | 2012-01-09 |
|\ \ \ | |||
| * | | | Don't remove rend cpath element from relaunched service-side rend circs | Robert Ransom | 2012-01-06 |
| | | | | | | | | | | | | | | | | Fixes bug 4842, not in any release. | ||
* | | | | clean up a comment that confused arturo | Roger Dingledine | 2012-01-07 |
|/ / / | |||
* | | | Don't close HS service-side rend circs on timeout | Robert Ransom | 2011-12-27 |
| | | | |||
* | | | Add explicit cast to make gcc happy | Nick Mathewson | 2011-12-20 |
| | | | |||
* | | | Adjust n_intro_points_wanted when a service's intro points are closed | Robert Ransom | 2011-12-20 |
| | | | |||
* | | | Extract function to determine how many intros an intro point has handled | Robert Ransom | 2011-12-20 |
| | | | |||
* | | | Don't segfault when checking whether a not-yet-used intro point should expire | Robert Ransom | 2011-12-01 |
| | | | | | | | | | | | | Found by katmagic. Bugfix on the #3460 branch, not yet in any release. | ||
* | | | Merge branch 'feature2553-v4-rebased' | Nick Mathewson | 2011-11-30 |
|\ \ \ | |||
| * | | | Add ifdefs to disable #3332 assertions | Robert Ransom | 2011-11-30 |
| | |/ | |/| | |||
* | | | appease "make check-spaces" | Nick Mathewson | 2011-11-30 |
| | | |