summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-29Use a consistent naming standard for header file guard macros, taking care ↵Nick Mathewson
not to collide with any system headers. This tripped us up on Android. svn:r17805
2008-12-29Use RSA_generate_key_ex where available.Nick Mathewson
svn:r17804
2008-12-29Switch address comparisons in policies to be exact rather than semantic. ↵Nick Mathewson
Until we do ipv6 exit policies and until we know whether we even allow ::ffff:0:0/96 addresses, there is no point in doing "semantic" comparisons. This was also showing up on oprofile. svn:r17803
2008-12-29Refactor some exit-policy-related functions that showed up in oprofile.Nick Mathewson
Specifically, split compare_tor_addr_to_addr_policy() from a loop with a bunch of complicated ifs inside into some ifs, each with a simple loop. Rearrange router_find_exact_exit_enclave() to run a little faster. Bizarrely, router_policy_rejects_all() shows up on oprofile, so precalculate it per routerinfo. svn:r17802
2008-12-29Fix bug in recent address.c patch: actually set the value of address * to ↵Nick Mathewson
0.0.0.0 as we did before. This makes CMP_EXACT comparisons with bitmask 0 work on address * again. svn:r17801
2008-12-27Fix compilation under gethostbyname-based systems.Nick Mathewson
svn:r17800
2008-12-27remove the responsibility for setting listensocklen to the function that ↵Nick Mathewson
made the sockaddr svn:r17799
2008-12-27partial move to letting bridge descriptor fetches use our new (well,Roger Dingledine
new from their perspective) directory download schedule abstraction. not done yet, but i'd better get this out of my sandbox before nick does another sweeping change. :) svn:r17798
2008-12-27minor todo updatesRoger Dingledine
svn:r17797
2008-12-27New controller event "clients_seen" to report a geoip-based summaryRoger Dingledine
of which countries we've seen clients from recently. Now controllers like Vidalia can show bridge operators that they're actually making a difference. svn:r17796
2008-12-27Remove a deprecated controller alias; make another one generate a warning.Nick Mathewson
svn:r17793
2008-12-27Make connection_create_listener take a sockaddr_len, not just a sockaddr ↵Nick Mathewson
whose length we try to divine. svn:r17792
2008-12-26Add some early checks to keep ipv6 addresses from failing by accident. Now, ↵Nick Mathewson
they fail on purpose, at least till 0.2.2.something. svn:r17791
2008-12-26Refactor tor_addr_t manipulation functions so that as few as possible look ↵Nick Mathewson
at the tor_addr_t representation. svn:r17790
2008-12-26get_interface_addr6(), and by extension get_interface_addr(), were pretty ↵Nick Mathewson
borked. Copying a tor_addr_t from a sockaddr_storage using memcpy is a poor notion. svn:r17789
2008-12-26Refactor tor_addr_compare_masked() so that CMP_SEMANTIC makes more sense, ↵Nick Mathewson
and has decent semantics for maskbits; and so that CMP_EXACT works right for bits==0. svn:r17788
2008-12-26Bump version to 0.2.1.9-alpha-devNick Mathewson
svn:r17787
2008-12-26Document and make more conservative the logic for picking the size of the ↵Nick Mathewson
bloom filter to use for retaining descriptors. svn:r17786
2008-12-26Document our Bloom filter parameter choices.Nick Mathewson
svn:r17785
2008-12-26Document the pk operation count fields in rephist.c, and move them into a ↵Nick Mathewson
struct for clarity, and change their type to what we actually want to cast them to. svn:r17784
2008-12-26Add more missing documentation, and correct an error in container.c ↵Nick Mathewson
documentation: Don't introduce two parameters called n when you're calling an algorithm O(n). svn:r17783
2008-12-25last cleanupstor-0.2.1.9-alphaRoger Dingledine
svn:r17779
2008-12-25prepare for 0.2.1.9-alphaRoger Dingledine
svn:r17778
2008-12-25ok, fair enough, some of these variables were time_t's after allRoger Dingledine
svn:r17777
2008-12-25so which is it? TIME_MAX or INT_MAX? pick INT_MAX for now.Roger Dingledine
svn:r17772
2008-12-25some fixes i found in my sandboxRoger Dingledine
svn:r17771
2008-12-25Add discussion on how network latency changes when the network load differs ↵Steven Murdoch
from the level that the node selection algorithm was designed for svn:r17769
2008-12-25Add R script for estimating average node latency at different levels of ↵Steven Murdoch
network load svn:r17768
2008-12-25propset on our new todo lists. why can't svn just know what i mean.Roger Dingledine
svn:r17766
2008-12-24Discussion on optimizing the node selection probabilitiesSteven Murdoch
svn:r17763
2008-12-24Annotate relative-selection-probabilities graphSteven Murdoch
svn:r17762
2008-12-24Add R code for plotting optimized node selection probabilitiesSteven Murdoch
svn:r17761
2008-12-24Changelog entries for bug 891 fix as checkpointed.Nick Mathewson
svn:r17759
2008-12-24Use the literal parse of an address in dns_resolve_impl if parsing the ↵Nick Mathewson
address as an ipv4 or ipv6 address _succeeded_. Not if it failed. Bug introduced in r17707 (post 0.2.1.8-alpha), and found by xiando. svn:r17758
2008-12-24Checkpoint my big bug-891 patch.Nick Mathewson
svn:r17757
2008-12-23Patch from Sebiastian for bug 888: mark a descriptor as "Impossible" if we ↵Nick Mathewson
reject it after downloading it so that we do not download it again svn:r17756
2008-12-23Remove bogus extern declaration for unused (and nonexistant) field from test.cNick Mathewson
svn:r17755
2008-12-23Document most undocumented variables.Nick Mathewson
svn:r17754
2008-12-23Properly zero-out addresses when setting them. Probably this was not ↵Nick Mathewson
hurting anything. svn:r17749
2008-12-22Make freelist_len in memarea.c static; document a few variables.Nick Mathewson
svn:r17741
2008-12-22Expose bench_* functions via test cliNick Mathewson
svn:r17740
2008-12-22Add DOCDOC entries for undocumented static and global variables.Nick Mathewson
svn:r17739
2008-12-22Oops; add missing return to redox.pyNick Mathewson
svn:r17737
2008-12-22Better documentation for contrib/redox.pyNick Mathewson
svn:r17736
2008-12-22Make doxygen not complain about the way we spell CRLFNUL in control.cNick Mathewson
svn:r17735
2008-12-22Fix most DOCDOCs remaining and/or added by redox.Nick Mathewson
svn:r17734
2008-12-22Documentation and conformance for WRA_* returns.Nick Mathewson
shahn: "Add some documentation for the WRA_* family of functions, also make sure that (hopefully) all functions that return was_router_added_t don't return ints directly and that they don't refer to integers in their documentation anymore." svn:r17731
2008-12-22Partially apply bug 891 parch from forest: check EXTEND cell address against ↵Nick Mathewson
real_addr, not addr. I have questions about the rest of the patch: see the flyspray entry. svn:r17730
2008-12-22Add DOCDOC comments for all undocumented functions. Add missing *s to other ↵Nick Mathewson
comments so that they will get recognized as doxygen. svn:r17729
2008-12-22Add a script to post-process doxygen output into a sensible form and add ↵Nick Mathewson
DOCDOC comments to our source files. svn:r17728