aboutsummaryrefslogtreecommitdiff
path: root/changes
Commit message (Collapse)AuthorAge
* Split the generic config_fmt_t code into a new confparse.c fileNick Mathewson2012-09-13
| | | | | This helps us split up one of our larger files, and sets the stage for refactoring the configuration backend a little
* Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-09-13
|\
| * mention the bug number in the 6827 changes fileNick Mathewson2012-09-13
| |
| * Avoid undefined behaviour when parsing HS protocol versionsRobert Ransom2012-09-13
| | | | | | | | | | | | | | Fixes bug 6827; bugfix on c58675ca728f12b42f65e5b8964ae695c2e0ec2d (when the v2 HS desc parser was implemented). Found by asn.
| * Revert "6819: typo in torrc.sample.in"Nick Mathewson2012-09-12
| | | | | | | | | | | | | | | | This reverts commit 4aff97cfc7965414ad8506ce28a296da1bc4a161. We don't actually want to be changing the torrc.sample on stable or near-stable stuff, since doing so makes pointless busywork for debian users.
* | Merge branch 'bug6815'Nick Mathewson2012-09-12
|\ \
| * | Fix directory self-testing logicNick Mathewson2012-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.
* | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-09-12
|\ \ \ | | |/ | |/|
| * | Merge remote-tracking branch 'public/bug6341_a_v2' into maint-0.2.3Nick Mathewson2012-09-12
| |\ \
| | * | Check ewma_enabled before doing circ-has-become-inactive checkNick Mathewson2012-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids a possible crash bug in flush_from_first_active_circuit. Fixes bug 6341; bugfix on 0.2.2.7-alpha. Bug reported and fixed by a pseudonymous user on IRC.
* | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-09-12
|\| | | | |_|/ |/| |
| * | 6819: typo in torrc.sample.inNick Mathewson2012-09-12
| | |
* | | Merge remote-tracking branch 'public/bug6538'Nick Mathewson2012-09-11
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: configure.ac
| * | | Refactor the core of choosing by weights into a functionNick Mathewson2012-08-09
| | | | | | | | | | | | | | | | | | | | This eliminates duplicated code, and lets us test a hairy piece of functionality.
| * | | Remove remaining timing-dependency in choosing nodes by bandwidthNick Mathewson2012-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old approach, because of its "tmp >= rand_bw && !i_has_been_chosen" check, would run through the second part of the loop slightly slower than the first part. Now, we remove i_has_been_chosen, and instead set rand_bw = UINT64_MAX, so that every instance of the loop will do exactly the same amount of work regardless of the initial value of rand_bw. Fix for bug 6538.
| * | | Change smartlist_choose_node_by_bandwidth to avoid doubleNick Mathewson2012-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should make our preferred solution to #6538 easier to implement, avoid a bunch of potential nastiness with excessive int-vs-double math, and generally make the code there a little less scary. "But wait!" you say. "Is it really safe to do this? Won't the results come out differently?" Yes, but not much. We now round every weighted bandwidth to the nearest byte before computing on it. This will make every node that had a fractional part of its weighted bandwidth before either slighty more likely or slightly less likely. Further, the rand_bw value was only ever set with integer precision, so it can't accurately sample routers with tiny fractional bandwidth values anyway. Finally, doing repeated double-vs-uint64 comparisons is just plain sad; it will involve an implicit cast to double, which is never a fun thing.
* | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-09-11
|\ \ \ \ | | |/ / | |/| |
| * | | Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3Nick Mathewson2012-09-11
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/test/test_util.c
| | * | | Fix assertion failure in tor_timegm.Nick Mathewson2012-09-11
| | | | | | | | | | | | | | | | | | | | Fixes bug 6811.
* | | | | fold in anotherRoger Dingledine2012-09-10
| | | | |
* | | | | Merge branch 'maint-0.2.3'Roger Dingledine2012-09-10
|\| | | |
| * | | | Avoid segfault when reading state file from ancient torNick Mathewson2012-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If s_values is null in rep_hist_load_bwhist_state_section, we would call smartlist_len() on it, and die. Fixes bug 6801.
* | | | | fold in recent changes filesRoger Dingledine2012-09-10
| | | | |
* | | | | Merge branch 'remove_old_ver_checks'Nick Mathewson2012-09-10
|\ \ \ \ \
| * | | | | Remove version_supports checks for versions before 0.2.2.Nick Mathewson2012-09-07
| | | | | |
* | | | | | Merge remote-tracking branch 'public/ticket6789'Nick Mathewson2012-09-10
|\ \ \ \ \ \
| * | | | | | Dirservers no longer accept tors released before December 2011.Nick Mathewson2012-09-07
| |/ / / / / | | | | | | | | | | | | | | | | | | Implements ticket 6789.
* | | | | | Be more clear in changes file for 6797.Nick Mathewson2012-09-10
| | | | | |
* | | | | | Merge remote-tracking branch 'linus/bug6797'Nick Mathewson2012-09-10
|\ \ \ \ \ \
| * | | | | | Don't follow the NULL pointer.Linus Nordberg2012-09-10
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If dirvote_create_microdescriptor() returns NULL, don't use md. Found by "f. tp.". Fixes bug 6797.
* | | | | | Rename _UseFilteringSSLBufferevents to lose its _. Bug 3155Nick Mathewson2012-09-10
| | | | | |
* | | | | | bug3155 changes fileNick Mathewson2012-09-10
| | | | | |
* | | | | | raise bandwidthrate/bandwidthburst to a new "infinite"Roger Dingledine2012-09-10
|/ / / / / | | | | | | | | | | | | | | | addresses bug 6605.
* | | | | Merge branch 'quiet_lib_versions_squashed'Nick Mathewson2012-09-06
|\ \ \ \ \
| * | | | | Detect openssl header version doesn't match runtime versionNick Mathewson2012-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already do this for libevent; let's do it for openssl too. For now, I'm making it always a warn, since this has caused some problems in the past. Later, we can see about making it less severe.
| * | | | | Don't log about Libevent/OpenSSL initialization when all's wellNick Mathewson2012-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OTOH, log the Libevent and OpenSSL versions on the first line when we're starting Tor.
* | | | | | Merge branch 'bug6778'Nick Mathewson2012-09-06
|\ \ \ \ \ \
| * | | | | | Fix a dependency: micro-revision.i influences tor_main.o, not tor_main.cNick Mathewson2012-09-06
| | | | | | |
| * | | | | | Fix a dependency: sha256.c influences crypto.o, not crypto.cNick Mathewson2012-09-06
| | | | | | |
| * | | | | | Fix a build-warning when building out-of-treeNick Mathewson2012-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were trying to incorporate all headers in common_sha1.i, not just the src/common ones. This is part of bug 6778; fix on 0.2.4.1-alpha
* | | | | | | Merge remote-tracking branch 'asn/bug4567_rebased'Nick Mathewson2012-09-06
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | General tweaks and fixes for Nick's comments.George Kadianakis2012-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add changes/ files. * Edit the tor-fw-helper manpage. * Fix check-spaces. * Add prototype for get_list_of_ports_to_forward(). * Fix tor_parse_long() TCP port range. * Improve doc. of tor_check_port_forwarding(). * Check for overflows in tor_check_port_forwarding(). * Demote successful port forwarding to LOG_INFO. Conflicts: src/common/address.c src/or/circuitbuild.c
* | | | | | | Fix warning when implicitly casting strlen(microdesc) to intNick Mathewson2012-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Harmless unless we somehow generate a microdesc of more than INT_MAX bytes.
* | | | | | | and fold it into master tooRoger Dingledine2012-09-05
| | | | | | |
* | | | | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-09-05
|\ \ \ \ \ \ \ | |/ / / / / / |/| | / / / / | | |/ / / / | |/| | | |
| * | | | | Avoid segfault if EntryGuardPathBias precedes EntryGuardNick Mathewson2012-09-05
| | | | | | | | | | | | | | | | | | | | | | | | Fix for bug 6774; bugfix on 0.2.3.17-beta.
* | | | | | fold in the changes filesRoger Dingledine2012-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in-progress due to various bugs i uncovered in the ipv6 config option meanings.
* | | | | | one more already-merged changes fileRoger Dingledine2012-09-04
| | | | | |
* | | | | | remove the changes files that are merged into 0.2.3.21-rcRoger Dingledine2012-09-04
| | | | | |
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-09-04
|\| | | | |