aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Parameterize FRAC_USABLE_NEEDED for fraction of circuitsNick Mathewson2013-01-30
| | | | | | Instead of hardcoding the minimum fraction of possible paths to 0.6, we take it from the user, and failing that from the consensus, and failing that we fall back to 0.6.
* Compute whether we're ready to build circuits based on fraction of pathsNick Mathewson2013-01-30
| | | | | | | | | Previously we did this based on the fraction of descriptors we had. But really, we should be going based on what fraction of paths we're able to build based on weighted bandwidth, since otherwise a directory guard or two could make us behave quite oddly. Implementation for feature 5956
* Add an optional out-arg to count_usable_descriptorsNick Mathewson2013-01-30
| | | | | This way we get the usable nodes themselves, so we can feed them into frac_nodes_with_descriptors
* Add a function to compute fraction of nodes (by weighted bw) with descriptorsNick Mathewson2013-01-30
|
* Split smartlist_choose_node_by_bandwidth_weightsNick Mathewson2013-01-18
| | | | | | This is a minimal refactoring to expose the weighted bandwidth calculations for each node so I can use them to see what fraction of nodes, weighted by bandwidth, we have descriptors for.
* Add a missing part of bug 7311's makefile.nmake tweaksNick Mathewson2013-01-17
| | | | | | Fix by "ultramage". This already has a changes entry.
* Merge branch 'bug6826_squashed'Nick Mathewson2013-01-17
|\
| * Drop detection logic for pre-1.3 busted libeventsNick Mathewson2013-01-17
| | | | | | | | | | | | | | | | This won't actually break them any worse than they were broken before: it just removes a set of warnings that nobody was actually seeing, I hope. Closes 6826
* | Merge remote-tracking branch 'public/bug6302'Nick Mathewson2013-01-17
|\ \
| * | Refactor: Use SOCK_ERRNO to avoid some #ifdef _WIN32sNick Mathewson2013-01-16
| |/ | | | | | | Fixes ticket 6302
* | Implement proposal 204: ignore subdomains in hidden service addressesJérémy Bobbio2013-01-16
| | | | | | | | | | | | The implementation is pretty straightforward: parse_extended_hostname() is modified to drop any leading components from an address like 'foo.aaaaaaaaaaaaaaaa.onion'.
* | Merge branch '024_msvc_squashed'Nick Mathewson2013-01-16
|\ \ | | | | | | | | | | | | | | | Conflicts: src/or/or.h srcwin32/orconfig.h
| * | Fix an instance of snprintf; don't use _snprintf directlyNick Mathewson2013-01-16
| | |
| * | Changes files for 024_msvc branchNick Mathewson2013-01-16
| | |
| * | When building with MSVC, call every enum bitfield unsignedNick Mathewson2013-01-16
| | | | | | | | | | | | Fixes bug 7305.
| * | Add HAVE_EVENT_BASE_LOOPEXIT to win32/orconfig.hNick Mathewson2013-01-16
| | | | | | | | | | | | Fix for bug 7308
| * | Add more test modules for nmake makefilesNick Mathewson2013-01-16
| | |
| * | Try to build tinytest.obj from the right sourcesNick Mathewson2013-01-16
| | |
| * | use the /Fe flag with msvcNick Mathewson2013-01-16
| | | | | | | | | | | | Fixes 7309
| * | Add missing targets to src/test/Makefile.nmake. Fix for 7316Nick Mathewson2013-01-16
| | |
| * | Add HAVE_EVENT2_DNS_H to MSVC orconfig.hNick Mathewson2013-01-16
| | | | | | | | | | | | Fix for bug 7313
| * | Fix a const warning under msvcNick Mathewson2013-01-16
| | |
| * | Add clean target and test subdir to makefile.nmakeNick Mathewson2013-01-16
| | |
| * | Add missing objects to Makefile.nmakeNick Mathewson2013-01-16
| | |
| * | Add missing includes and libs to makefile.nmakeNick Mathewson2013-01-16
| | | | | | | | | | | | Fixes bugs 7312 and 7310.
| * | Define SIZEOF_INTPTR_T when defining replacement intptr_tNick Mathewson2013-01-16
| | | | | | | | | | | | Fixes bug 7669
* | | Merge branch 'bug5285_v2'Nick Mathewson2013-01-16
|\ \ \
| * | | Aftermath of isin->contains renamingNick Mathewson2013-01-16
| | | | | | | | | | | | | | | | Fix wide lines and comments, and add a changes file
| * | | Rename *_isin to *_containsNick Mathewson2013-01-16
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an automatically generated commit, from the following perl script, run with the options "-w -i -p". s/smartlist_string_num_isin/smartlist_contains_int_as_string/g; s/smartlist_string_isin((?:_case)?)/smartlist_contains_string$1/g; s/smartlist_digest_isin/smartlist_contains_digest/g; s/smartlist_isin/smartlist_contains/g; s/digestset_isin/digestset_contains/g;
* | | Remove two extrneous semicolons in dirserv.cNick Mathewson2013-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In 6fbdf635 we added a couple of statements like: if (test) { ... }; The extraneous semicolons there get flagged as worrisome empty statements by the cparser library, so let's fix them. Patch by Christian Grothoff; fixes bug 7115.
* | | Definx HAVE_EVENT_BASE_LOOPEXITin msvc orconfig.hNick Mathewson2013-01-16
| |/ |/| | | | | | | Fixes bug 7308; bugfix on no released Tor, since we haven't actually built right on MSVC in ages.
* | Merge branch 'bug7972'Nick Mathewson2013-01-16
|\ \
| * | Actually link against nacl when we want to use itNick Mathewson2013-01-16
| | | | | | | | | | | | Fixes more of bug 7972
| * | Check for nacl headers in nacl/ subdirNick Mathewson2013-01-16
| | | | | | | | | | | | Fix for bug 7972
* | | changes file for 7896Nick Mathewson2013-01-16
| | |
* | | Merge remote-tracking branch 'asn/bug7896'Nick Mathewson2013-01-16
|\ \ \ | |/ / |/| |
| * | Mention name of the transport used when we learn the fpr of a bridge.George Kadianakis2013-01-09
| | |
* | | Add a new automake dropping ("test-driver") to .gitignoreNick Mathewson2013-01-16
| | |
* | | Update the copyright date to 201.Nick Mathewson2013-01-16
| | |
* | | Forward-port fix for 7889Nick Mathewson2013-01-15
| | |
* | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2013-01-15
|\ \ \
| * \ \ Merge branch 'bug7889_023' into maint-0.2.3Nick Mathewson2013-01-15
| |\ \ \
| | * | | Reject create/begin/etc cells with {circ,stream}ID 0.Nick Mathewson2013-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, it's possible to create streams or circuits with these bogus IDs, leading to orphaned circuits or streams, or to ones that can cause bandwidth DOS problems. Fixes bug 7889; bugfix on all released Tors.
* | | | | Merge branch 'small_typo_fixes'Nick Mathewson2013-01-15
|\ \ \ \ \
| * | | | | Clean up odds and endsRoger Dingledine2013-01-15
| | | | | |
* | | | | | Bump to 0.2.4.9-alpha-devNick Mathewson2013-01-15
|/ / / / /
* | | | | bump to 0.2.4.9-alphaRoger Dingledine2013-01-15
| | | | |
* | | | | fold in new change stanzaRoger Dingledine2013-01-15
| | | | |
* | | | | Fix handling of ntor handshakes received via CREATE cellsNick Mathewson2013-01-15
| | | | | | | | | | | | | | | | | | | | Fixes bug 7959; bugfix on 0.2.4.8-alpha.
* | | | | Better log message to diagnose #7959Nick Mathewson2013-01-15
| | | | |