aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
* a few more tweaksRoger Dingledine2008-09-30
| | | | svn:r17010
* i *think* this is equivalent. somebody should check me on it though.Roger Dingledine2008-09-30
| | | | svn:r17009
* v3 authorities write down all the votes they used for the consensusRoger Dingledine2008-09-29
| | | | | | | to the datadir, for debugging. svn:r17008
* Include circuit purposes in circuit events. Now all circuit events are ↵Nick Mathewson2008-09-29
| | | | | | extended; this makes the code simpler. svn:r17007
* Nobody calls circuit_launch_by_nickname; remove it.Nick Mathewson2008-09-29
| | | | svn:r17006
* Remove the old v2 directory authority 'lefkada' from the defaultRoger Dingledine2008-09-29
| | | | | | | list. It has been gone for many months. svn:r17005
* Patch from mwenge: update TrackHostExits mapping expiry times when the ↵Nick Mathewson2008-09-29
| | | | | | mappings are used, so that they expire a while after their last use, not a while after their creation. svn:r17004
* Tweak the dbg-stability.txt code to log everything else that influences ↵Nick Mathewson2008-09-29
| | | | | | router stability calculations. svn:r17003
* If we have correct permissions on $datadir, we complain to stdoutRoger Dingledine2008-09-29
| | | | | | | | | | and fail to start. But dangerous permissions on $datadir/cached-status/ would cause us to open a log and complain there. Now complain to stdout and fail to start in both cases. Fixes bug 820, reported by seeess. svn:r16998
* Fix a bug where an unreachable relay would establish enoughRoger Dingledine2008-09-29
| | | | | | | | | | | reachability testing circuits to do a bandwidth test -- if we already have a connection to the middle hop of the testing circuit, then it could establish the last hop by using the existing connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing circuits no longer use entry guards in 0.2.1.3-alpha. svn:r16997
* Fix 0/0 calculation in get_weighted_fractional_uptime().Nick Mathewson2008-09-28
| | | | svn:r16994
* Commit fix for bug 807 from mwenge: send CLOSED controller event for reverse ↵Nick Mathewson2008-09-26
| | | | | | dns resolve, not FAILED. svn:r16985
* Make sure ExcludeSingleHopRelays works for an exit.Nick Mathewson2008-09-26
| | | | svn:r16984
* Proposal 152 implementation from Josh Albrecht, with tweaks.Nick Mathewson2008-09-26
| | | | svn:r16983
* Put the start-of-downtime value in the start-of-downtime buffer so that we ↵Nick Mathewson2008-09-26
| | | | | | do not put junk in the dbg-stability.txt file svn:r16982
* Code to serve a current stability calculations from /tor/dbg-stability.txt. ↵Nick Mathewson2008-09-26
| | | | | | Untested: somebody please run this on an authority and let me know if it is broken. svn:r16981
* Make tests pass again by adding an opt hidden-service-dir to the example ↵Nick Mathewson2008-09-26
| | | | | | routerinfo output. svn:r16980
* Apply rovv's fix for bug 824.Nick Mathewson2008-09-26
| | | | svn:r16975
* Widen the conditions under which we whine about not having a geoip file to ↵Nick Mathewson2008-09-25
| | | | | | include "a country code was configured in a node list." svn:r16968
* Whitespace fixes.Nick Mathewson2008-09-25
| | | | svn:r16967
* Add country-code support to configured node lists to implement the ↵Nick Mathewson2008-09-25
| | | | | | 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
* Make it easier for dmalloc to see if keys are leaking; remove a test-only ↵Nick Mathewson2008-09-25
| | | | | | key leak. svn:r16965
* Remove now-needless _tor_dmalloc_free helper.Nick Mathewson2008-09-25
| | | | svn:r16964
* More test memory-management fixesNick Mathewson2008-09-25
| | | | svn:r16963
* All relays now store and serve v2 hidden service descriptors by default (not ↵Karsten Loesing2008-09-24
| | | | | | only directory mirrors). svn:r16961
* If we are not using BEGIN_DIR cells, don't attempt to contact hidden service ↵Karsten Loesing2008-09-24
| | | | | | directories with non-open dir port. svn:r16960
* Split test_crypto() into manageable pieces.Nick Mathewson2008-09-24
| | | | svn:r16959
* Minor correction of commentation.Karsten Loesing2008-09-24
| | | | svn:r16958
* Add patch 4 from Karsten for proposal 121, slightly modified. Karsten ↵Nick Mathewson2008-09-24
| | | | | | should definitely re-review the bits I changed. svn:r16955
* Patch from roger for 752, but with more comments: When we get an A.B.exit:P ↵Nick Mathewson2008-09-23
| | | | | | 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
* Fix for bug 797 (by arma, with tweaks): always use create_fast for circuits ↵Nick Mathewson2008-09-23
| | | | | | where we do not know an onion key. svn:r16942
* More logging for mtbf/wfu calculations.Nick Mathewson2008-09-23
| | | | svn:r16941
* Exclude v0 rendezvous descriptors when considering republication.Karsten Loesing2008-09-23
| | | | svn:r16939
* ok, but inaccurate error strings worseRoger Dingledine2008-09-23
| | | | svn:r16938
* identical error strings in different contexts badRoger Dingledine2008-09-23
| | | | svn:r16937
* Oops; we need to make sure that DNS request names are matched in the ↵Nick Mathewson2008-09-22
| | | | | | _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
* give rend_client_desc_here a slightly more accurate nameRoger Dingledine2008-09-16
| | | | svn:r16916
* patch from karsten for bug 814. whew.Roger Dingledine2008-09-16
| | | | svn:r16915
* Add a circuit_conforms_to_options() function for use in debugging paths [and ↵Nick Mathewson2008-09-15
| | | | | | inother stuff too]. Untested, and so far unused. svn:r16914
* read_to_buf should take an int *error_socket and return it.Roger Dingledine2008-09-14
| | | | svn:r16909
* stop telling us every time we fetch a consensus. that's not really news.Roger Dingledine2008-09-14
| | | | svn:r16908
* Serve the latest v3 networkstatus consensus via the controlRoger Dingledine2008-09-14
| | | | | | | port. Use "getinfo dir/status-vote/current/consensus" to fetch it. svn:r16907
* make it explicit that the uncompressed cached dir items are nul-terminatedRoger Dingledine2008-09-14
| | | | | | | (they are, but now we should keep them that way) svn:r16906
* Allow ports 465 and 587 in the default exit policy again. We hadRoger Dingledine2008-09-13
| | | | | | | | | 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
* Directory mirrors store and serve v2 hidden service descriptors by default.Karsten Loesing2008-09-11
| | | | svn:r16858
* Fix more actual test leaksNick Mathewson2008-09-10
| | | | svn:r16831
* Fix some apparent leaks in voting. If authorities suddenly start ↵Nick Mathewson2008-09-10
| | | | | | segfaulting, this could be a patch to look harder at. svn:r16830
* Make buffer unit tests handle resource leaks properly.Nick Mathewson2008-09-10
| | | | svn:r16823
* Make more unit tests handle resource leaks properly.Nick Mathewson2008-09-10
| | | | svn:r16822
* Correct indentation.Karsten Loesing2008-09-09
| | | | svn:r16819