aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Expand)AuthorAge
* Merge remote-tracking branch 'arma/bug4013'Nick Mathewson2012-01-31
|\
| * if we ever have an old bridge, never again use microdescs•••should reduce the risk of oscillation if our 0.2.2 bridge comes and goes Roger Dingledine2012-01-27
| * Allow 0.2.3.x clients to use 0.2.2.x bridges.•••Previously the client would ask the bridge for microdescriptors, which are only supported in 0.2.3.x and later, and then fail to bootstrap when it didn't get the answers it wanted. Fixes bug 4013; bugfix on 0.2.3.2-alpha. The fix here is to revert to using normal descriptors if any of our bridges are known to not support microdescs. This is not ideal, a) because we'll start downloading a microdesc consensus as soon as we get a bridge descriptor, and that will waste time if we later get a bridge descriptor that tells us we don't like microdescriptors; and b) by changing our mind we're leaking to our other bridges that we have an old-version bridge. The alternate fix would have been to change we_use_microdescriptors_for_circuits() to ask if *any* of our bridges can support microdescriptors, and then change the directory logic that picks a bridge to only select from those that do. For people living in the future, where 0.2.2.x is obsolete, there won't be a difference. Note that in either of these potential fixes, we have risk of oscillation if our one funny-looking bridges goes away / comes back. Roger Dingledine2012-01-25
* | Actually enable the windows absolute-path code•••Checking for "WINDOWS" is wrong; our magic macro is MS_WINDOWS Fixes bug 4973; bugfix on 0.2.3.11-alpha. Nick Mathewson2012-01-31
|/
* set SO_REUSEADDR before we bind, not after•••resolves bug 4950 (fixes a bug on commit aba7bb705a6 from #2850) Roger Dingledine2012-01-23
* bump to 0.2.3.11-alpha-devRoger Dingledine2012-01-23
* Use !SOCKET_OK to test if a socket is uninitialized•••This fixes a compile warning on Windows. Fixes bug 4946, not in any released version. Sebastian Hahn2012-01-23
* update comment to reflect our TOR_INVALID_SOCKET conventionRoger Dingledine2012-01-22
* bump to 0.2.3.11-alphaRoger Dingledine2012-01-22
* 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 Mathewson2012-01-18
* Merge remote-tracking branch 'public/bug4533_part1'•••Conflicts: src/common/compat.h Nick Mathewson2012-01-18
|\
| * Warn if sizeof(tor_socket_t) != sizeof(SOCKET)Nick Mathewson2012-01-17
| * Use SOCKET_OK macros in even more places•••Add a TOR_INVALID_SOCKET macro to wrap -1/INVALID_SOCKET. Partial work for bug4533. Nick Mathewson2012-01-17
* | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2012-01-18
|\ \
| * | Fix SOCKET_OK test on win64.•••Bugfix on 0.2.2.29-beta; partial fix for 4533; found by wanoskarnet Nick Mathewson2012-01-18
* | | Use tor_socket_t, not unsigned, in tor-fw-helper-natmp.cNick Mathewson2012-01-18
| |/ |/|
* | fix crash bug in original feature4207 branch•••PLURAL() assumes that the plural is the canonical name for the option, so now it is. Roger Dingledine2012-01-16
* | Merge remote-tracking branch 'asn-mytor/bug4751'Nick Mathewson2012-01-16
|\ \
| * | Improve names of some pluggable transport-related functions.George Kadianakis2012-01-13
* | | Merge remote-tracking branch 'public/bug3325'Nick Mathewson2012-01-16
|\ \ \
| * | | Move logging of bad hostnames into parse_extended_hostname•••This fixes bug 3325, where a bad .exit would get logged as a bad .onion Nick Mathewson2012-01-11
| |/ /
* | | whitespace fixesNick Mathewson2012-01-16
* | | Convert instances of tor_malloc+tor_snprintf into tor_asprintf•••These were found by looking for tor_snprintf() instances that were preceeded closely by tor_malloc(), though I probably converted some more snprintfs as well. (In every case, make sure that the length variable (if any) is removed, renamed, or lowered, so that anything else that might have assumed a longer buffer doesn't exist.) Nick Mathewson2012-01-16
* | | Convert instances of tor_snprintf+strdup into tor_asprintf•••These were found by looking for tor_snprintf() instances that were followed closely by tor_strdup(), though I probably converted some other snprintfs as well. Nick Mathewson2012-01-16
* | | Try to use smartlist_add_asprintf consistently•••(To ensure correctness, in every case, make sure that the temporary variable is deleted, renamed, or lowered in scope, so we can't have any bugs related to accidentally relying on the no-longer-filled variable.) Nick Mathewson2012-01-16
* | | Rename smartlist_{v,}asprintf_add to smartlist_add_{v,}asprintfNick Mathewson2012-01-16
* | | check-spaces fixSebastian Hahn2012-01-16
* | | Provide consensus params to constrain the threshold for Fast•••resolves ticket 3946 Nick Mathewson2012-01-16
* | | Comment fixups on 4207 suggested by armaNick Mathewson2012-01-16
* | | Allow authorities to baddir/badexit/invalid/reject nodes by cc•••Implements ticket #4207 Nick Mathewson2012-01-13
* | | Don't crash when HS circs which have not yet found an OR conn time out•••Fixes bug #4897, not yet in any release. Using n_circ_id alone here (and below, when n_conn is NULL) really sucks, but that's a separate bug which will need a changes/ file. Robert Ransom2012-01-12
|/ /
* | Make openssl 0.9.8l log message accurate•••fixes 4837 Nick Mathewson2012-01-11
* | Do not pretend to allow PADDING as the first cell of a v3 handshakeNick Mathewson2012-01-11
* | Merge branch 'prop187_squashed'Nick Mathewson2012-01-11
|\ \
| * | Implement proposal 187: reserve a cell type for client authorization•••This needs a changes file and more testing. Nick Mathewson2012-01-11
| * | defensive programming to catch duplicate calls to connection_init_or_handshak...Nick Mathewson2012-01-11
* | | Fix a missing iso_time_nospace_usec•••Apparently I missed a case when converting sec,usec to yyyy-mm-ddThh:mm:ss.uuuuuu . Nick Mathewson2012-01-11
* | | Merge branch 'feature3457-v4-nm-squashed'•••Conflicts: src/or/rendclient.c Nick Mathewson2012-01-11
|\ \ \ | |/ / |/| |
| * | Use spaceless ISO8601 time format, not sec,usec.Nick Mathewson2012-01-11
| * | Add clarity/typesafety wrappers for control_event_circuit_status_minorNick Mathewson2012-01-11
| * | Rename CIRC2 to CIRC_MINOR•••Also give the arguments to control_event_circuit_status_minor real names. Nick Mathewson2012-01-11
| * | Include circ creation time in CIRC events, etc.Robert Ransom2011-11-24
| * | Send CIRC2 event when a circuit is cannibalizedRobert Ransom2011-11-24
| * | Add CIRC2 control-port event, and send it when a circ's purpose changesRobert Ransom2011-11-24
| * | Log whenever a circuit's purpose is changedRobert Ransom2011-11-24
* | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2012-01-11
|\ \ \ | | |/ | |/|
| * | Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2012-01-11
| |\ \
| | * | Fix a compilation warning for our bug4822 fix on 64-bit linuxNick Mathewson2012-01-11
* | | | Chop out the intro point calculation until it is simple enough for nickm to grokNick Mathewson2012-01-10
* | | | Use my original formula for number of replacements for an intro point•••A fixup commit which was intended to make this formula easier to read broke it instead. Robert Ransom2012-01-10