aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-09-25Add country-code support to configured node lists to implement the ↵Nick Mathewson
ever-popular "no exits in Monaco" feature (ExcludeExitNodes {MC}). Also allow country codes and IP ranges in ExitNodes. (EntryNodes needs more work.) Based on code by Robert Hogan. Needs more testing. svn:r16966
2008-09-25Make it easier for dmalloc to see if keys are leaking; remove a test-only ↵Nick Mathewson
key leak. svn:r16965
2008-09-25Remove now-needless _tor_dmalloc_free helper.Nick Mathewson
svn:r16964
2008-09-25More test memory-management fixesNick Mathewson
svn:r16963
2008-09-24All relays now store and serve v2 hidden service descriptors by default (not ↵Karsten Loesing
only directory mirrors). svn:r16961
2008-09-24If we are not using BEGIN_DIR cells, don't attempt to contact hidden service ↵Karsten Loesing
directories with non-open dir port. svn:r16960
2008-09-24Split test_crypto() into manageable pieces.Nick Mathewson
svn:r16959
2008-09-24Minor correction of commentation.Karsten Loesing
svn:r16958
2008-09-24Add patch 4 from Karsten for proposal 121, slightly modified. Karsten ↵Nick Mathewson
should definitely re-review the bits I changed. svn:r16955
2008-09-24fix typoRoger Dingledine
svn:r16949
2008-09-23Patch from roger for 752, but with more comments: When we get an A.B.exit:P ↵Nick Mathewson
address, and B would reject most connections to P, but we do not know whether it would allow A, then allow the connection to procede. Bugfix, amusingly, on 0.0.9rc5. svn:r16944
2008-09-23Fix for bug 797 (by arma, with tweaks): always use create_fast for circuits ↵Nick Mathewson
where we do not know an onion key. svn:r16942
2008-09-23More logging for mtbf/wfu calculations.Nick Mathewson
svn:r16941
2008-09-23Update to the "September 1 2008" ip-to-country file.Roger Dingledine
svn:r16940
2008-09-23Exclude v0 rendezvous descriptors when considering republication.Karsten Loesing
svn:r16939
2008-09-23ok, but inaccurate error strings worseRoger Dingledine
svn:r16938
2008-09-23identical error strings in different contexts badRoger Dingledine
svn:r16937
2008-09-22Oops; we need to make sure that DNS request names are matched in the ↵Nick Mathewson
_questions_ section of the replies. Rejecting answers whether the _answers_ section did not match made us reject A records waiting at the end of a CNAME record. Bug 823. svn:r16933
2008-09-16give rend_client_desc_here a slightly more accurate nameRoger Dingledine
svn:r16916
2008-09-16patch from karsten for bug 814. whew.Roger Dingledine
svn:r16915
2008-09-15Add a circuit_conforms_to_options() function for use in debugging paths [and ↵Nick Mathewson
inother stuff too]. Untested, and so far unused. svn:r16914
2008-09-14read_to_buf should take an int *error_socket and return it.Roger Dingledine
svn:r16909
2008-09-14stop telling us every time we fetch a consensus. that's not really news.Roger Dingledine
svn:r16908
2008-09-14Serve the latest v3 networkstatus consensus via the controlRoger Dingledine
port. Use "getinfo dir/status-vote/current/consensus" to fetch it. svn:r16907
2008-09-14make it explicit that the uncompressed cached dir items are nul-terminatedRoger Dingledine
(they are, but now we should keep them that way) svn:r16906
2008-09-13Allow ports 465 and 587 in the default exit policy again. We hadRoger Dingledine
rejected them in 0.1.0.15, because back in 2005 they were commonly misconfigured and ended up as spam targets. We hear they are better locked down these days. svn:r16898
2008-09-11Directory mirrors store and serve v2 hidden service descriptors by default.Karsten Loesing
svn:r16858
2008-09-10Fix more actual test leaksNick Mathewson
svn:r16831
2008-09-10Fix some apparent leaks in voting. If authorities suddenly start ↵Nick Mathewson
segfaulting, this could be a patch to look harder at. svn:r16830
2008-09-10Make buffer unit tests handle resource leaks properly.Nick Mathewson
svn:r16823
2008-09-10Make more unit tests handle resource leaks properly.Nick Mathewson
svn:r16822
2008-09-09Correct indentation.Karsten Loesing
svn:r16819
2008-09-09tweak karsten's patchRoger Dingledine
svn:r16818
2008-09-09patch from karsten to fix more of bug 767Roger Dingledine
svn:r16817
2008-09-09Refactor unit test macros and tor_free_all() logic a bit so as to make it ↵Nick Mathewson
easier to free memory on failing tests, in order to suppress scanner warnings and to make dmalloc() usable with tests. svn:r16816
2008-09-09Replace the dummy-use var in SMARTLIST_FOREACH_END() with one that is less ↵Nick Mathewson
likely to confuse analysis tools into thinking we do use after free. Arguably, (void)x should count as use in suppressing unused variable warnings, but not in generating hey-you-used-a-variable warnings. Arguably, though, it shouldn't. svn:r16815
2008-09-09minor cleanups on karsten's patchRoger Dingledine
svn:r16810
2008-09-09karsten's patch for bug 767.Roger Dingledine
svn:r16808
2008-09-09Catch and report a few more bootstrapping failure cases when TorRoger Dingledine
fails to establish a TCP connection. Cleanup on 0.2.1.x. svn:r16803
2008-09-09We should not alter an addr_policy_t that has been canonicalized.Nick Mathewson
svn:r16802
2008-09-05Refactor use of connection_new so that we get more verifiable typesafety.Nick Mathewson
svn:r16785
2008-09-05Refactor some code and add some asserts based on scanner results.Nick Mathewson
svn:r16783
2008-09-05Add an assert to make tools happier.Nick Mathewson
svn:r16782
2008-09-05Fix a malloc that should have been a tor_mallocNick Mathewson
svn:r16780
2008-09-05Fix numerous memory leaks: some were almost impossible to trigger, and some ↵Nick Mathewson
almost inevitable. svn:r16779
2008-09-05Clean up some redundant stuff in crypto_dh_new().Nick Mathewson
svn:r16778
2008-09-05It is probably some kind of misdeed to say for (i=0;i<2;++i) { A=i?x:y; ↵Nick Mathewson
foo(bar(A)); } rather than foo(bar(x)); foo(bar(y)); . Also, it can confuse tools. svn:r16777
2008-09-05Fix a memory leak in tor-gencert.cNick Mathewson
svn:r16776
2008-09-05Make severity args to add_*_log() functions be constNick Mathewson
svn:r16775
2008-09-04Fix mingw build with --enable-gcc-warnings set.Nick Mathewson
svn:r16759