]>
git.ipfire.org Git - thirdparty/tor.git/log
Peter Palfrader [Tue, 30 Sep 2008 13:11:25 +0000 (13:11 +0000)]
New alpha release
svn:r17015
Roger Dingledine [Tue, 30 Sep 2008 09:37:18 +0000 (09:37 +0000)]
bump to 0.2.1.6-alpha, and note that the exclude*nodes config
discussion hasn't finished.
svn:r17011
Roger Dingledine [Tue, 30 Sep 2008 09:32:26 +0000 (09:32 +0000)]
a few more tweaks
svn:r17010
Roger Dingledine [Tue, 30 Sep 2008 08:45:40 +0000 (08:45 +0000)]
i *think* this is equivalent. somebody should check me on it though.
svn:r17009
Roger Dingledine [Mon, 29 Sep 2008 23:13:43 +0000 (23:13 +0000)]
v3 authorities write down all the votes they used for the consensus
to the datadir, for debugging.
svn:r17008
Nick Mathewson [Mon, 29 Sep 2008 22:34:22 +0000 (22:34 +0000)]
Include circuit purposes in circuit events. Now all circuit events are extended; this makes the code simpler.
svn:r17007
Nick Mathewson [Mon, 29 Sep 2008 20:44:29 +0000 (20:44 +0000)]
Nobody calls circuit_launch_by_nickname; remove it.
svn:r17006
Roger Dingledine [Mon, 29 Sep 2008 19:27:20 +0000 (19:27 +0000)]
Remove the old v2 directory authority 'lefkada' from the default
list. It has been gone for many months.
svn:r17005
Nick Mathewson [Mon, 29 Sep 2008 14:53:53 +0000 (14:53 +0000)]
Patch from mwenge: update TrackHostExits mapping expiry times when the mappings are used, so that they expire a while after their last use, not a while after their creation.
svn:r17004
Nick Mathewson [Mon, 29 Sep 2008 14:40:34 +0000 (14:40 +0000)]
Tweak the dbg-stability.txt code to log everything else that influences router stability calculations.
svn:r17003
Nick Mathewson [Mon, 29 Sep 2008 14:18:47 +0000 (14:18 +0000)]
Make tor-resolve take a -p port option in addition to the current host:port syntax.
svn:r17002
Roger Dingledine [Mon, 29 Sep 2008 10:09:05 +0000 (10:09 +0000)]
If we have correct permissions on $datadir, we complain to stdout
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
Roger Dingledine [Mon, 29 Sep 2008 09:36:42 +0000 (09:36 +0000)]
Fix a bug where an unreachable relay would establish enough
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
Roger Dingledine [Mon, 29 Sep 2008 09:30:06 +0000 (09:30 +0000)]
rearrange the changelog a bit more
svn:r16996
Roger Dingledine [Mon, 29 Sep 2008 06:54:32 +0000 (06:54 +0000)]
changelog cleanups. give 0.2.1.6-alpha a deadline.
svn:r16995
Nick Mathewson [Sun, 28 Sep 2008 15:48:36 +0000 (15:48 +0000)]
Fix 0/0 calculation in get_weighted_fractional_uptime().
svn:r16994
Nick Mathewson [Sun, 28 Sep 2008 15:42:56 +0000 (15:42 +0000)]
Note that bug 469 needs a proposal in the proposal TODO.
svn:r16993
Nick Mathewson [Fri, 26 Sep 2008 20:25:35 +0000 (20:25 +0000)]
Commit fix for bug 807 from mwenge: send CLOSED controller event for reverse dns resolve, not FAILED.
svn:r16985
Nick Mathewson [Fri, 26 Sep 2008 19:09:12 +0000 (19:09 +0000)]
Make sure ExcludeSingleHopRelays works for an exit.
svn:r16984
Nick Mathewson [Fri, 26 Sep 2008 18:58:45 +0000 (18:58 +0000)]
Proposal 152 implementation from Josh Albrecht, with tweaks.
svn:r16983
Nick Mathewson [Fri, 26 Sep 2008 18:31:22 +0000 (18:31 +0000)]
Put the start-of-downtime value in the start-of-downtime buffer so that we do not put junk in the dbg-stability.txt file
svn:r16982
Nick Mathewson [Fri, 26 Sep 2008 18:02:48 +0000 (18:02 +0000)]
Code to serve a current stability calculations from /tor/dbg-stability.txt. Untested: somebody please run this on an authority and let me know if it is broken.
svn:r16981
Nick Mathewson [Fri, 26 Sep 2008 17:58:35 +0000 (17:58 +0000)]
Make tests pass again by adding an opt hidden-service-dir to the example routerinfo output.
svn:r16980
Nick Mathewson [Fri, 26 Sep 2008 15:30:26 +0000 (15:30 +0000)]
Apply rovv's fix for bug 824.
svn:r16975
Nick Mathewson [Thu, 25 Sep 2008 21:06:32 +0000 (21:06 +0000)]
Widen the conditions under which we whine about not having a geoip file to include "a country code was configured in a node list."
svn:r16968
Nick Mathewson [Thu, 25 Sep 2008 20:22:17 +0000 (20:22 +0000)]
Whitespace fixes.
svn:r16967
Nick Mathewson [Thu, 25 Sep 2008 20:21:35 +0000 (20:21 +0000)]
Add country-code support to configured node lists to implement the 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
Nick Mathewson [Thu, 25 Sep 2008 17:37:00 +0000 (17:37 +0000)]
Make it easier for dmalloc to see if keys are leaking; remove a test-only key leak.
svn:r16965
Nick Mathewson [Thu, 25 Sep 2008 17:36:09 +0000 (17:36 +0000)]
Remove now-needless _tor_dmalloc_free helper.
svn:r16964
Nick Mathewson [Thu, 25 Sep 2008 15:20:38 +0000 (15:20 +0000)]
More test memory-management fixes
svn:r16963
Karsten Loesing [Thu, 25 Sep 2008 09:53:19 +0000 (09:53 +0000)]
Having two "Major features:" sections seems too much of a good thing.
svn:r16962
Karsten Loesing [Wed, 24 Sep 2008 22:33:47 +0000 (22:33 +0000)]
All relays now store and serve v2 hidden service descriptors by default (not only directory mirrors).
svn:r16961
Karsten Loesing [Wed, 24 Sep 2008 22:29:22 +0000 (22:29 +0000)]
If we are not using BEGIN_DIR cells, don't attempt to contact hidden service directories with non-open dir port.
svn:r16960
Nick Mathewson [Wed, 24 Sep 2008 20:55:38 +0000 (20:55 +0000)]
Split test_crypto() into manageable pieces.
svn:r16959
Karsten Loesing [Wed, 24 Sep 2008 17:33:07 +0000 (17:33 +0000)]
Minor correction of commentation.
svn:r16958
Roger Dingledine [Wed, 24 Sep 2008 17:01:43 +0000 (17:01 +0000)]
changelog cleanup / rearranging
svn:r16957
Nick Mathewson [Wed, 24 Sep 2008 14:44:29 +0000 (14:44 +0000)]
Add patch 4 from Karsten for proposal 121, slightly modified. Karsten should definitely re-review the bits I changed.
svn:r16955
Roger Dingledine [Wed, 24 Sep 2008 00:49:29 +0000 (00:49 +0000)]
fix typo
svn:r16949
Roger Dingledine [Tue, 23 Sep 2008 21:01:54 +0000 (21:01 +0000)]
fix a bad typo, add a missing word
svn:r16946
Nick Mathewson [Tue, 23 Sep 2008 20:25:01 +0000 (20:25 +0000)]
Patch from roger for 752, but with more comments: When we get an A.B.exit:P 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
Nick Mathewson [Tue, 23 Sep 2008 20:13:23 +0000 (20:13 +0000)]
Fix for bug 797 (by arma, with tweaks): always use create_fast for circuits where we do not know an onion key.
svn:r16942
Nick Mathewson [Tue, 23 Sep 2008 18:24:20 +0000 (18:24 +0000)]
More logging for mtbf/wfu calculations.
svn:r16941
Roger Dingledine [Tue, 23 Sep 2008 09:51:05 +0000 (09:51 +0000)]
Update to the "September 1 2008" ip-to-country file.
svn:r16940
Karsten Loesing [Tue, 23 Sep 2008 09:30:57 +0000 (09:30 +0000)]
Exclude v0 rendezvous descriptors when considering republication.
svn:r16939
Roger Dingledine [Tue, 23 Sep 2008 08:57:30 +0000 (08:57 +0000)]
ok, but inaccurate error strings worse
svn:r16938
Roger Dingledine [Tue, 23 Sep 2008 08:54:03 +0000 (08:54 +0000)]
identical error strings in different contexts bad
svn:r16937
Nick Mathewson [Mon, 22 Sep 2008 20:06:25 +0000 (20:06 +0000)]
Oops; we need to make sure that DNS request names are matched in the _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
Roger Dingledine [Wed, 17 Sep 2008 07:17:17 +0000 (07:17 +0000)]
add some more papers we tend to cite
svn:r16918
Roger Dingledine [Tue, 16 Sep 2008 10:26:15 +0000 (10:26 +0000)]
give rend_client_desc_here a slightly more accurate name
svn:r16916
Roger Dingledine [Tue, 16 Sep 2008 10:17:04 +0000 (10:17 +0000)]
patch from karsten for bug 814. whew.
svn:r16915
Nick Mathewson [Mon, 15 Sep 2008 22:29:47 +0000 (22:29 +0000)]
Add a circuit_conforms_to_options() function for use in debugging paths [and inother stuff too]. Untested, and so far unused.
svn:r16914
Roger Dingledine [Sun, 14 Sep 2008 08:35:41 +0000 (08:35 +0000)]
read_to_buf should take an int *error_socket and return it.
svn:r16909
Roger Dingledine [Sun, 14 Sep 2008 07:17:44 +0000 (07:17 +0000)]
stop telling us every time we fetch a consensus. that's not really news.
svn:r16908
Roger Dingledine [Sun, 14 Sep 2008 04:07:29 +0000 (04:07 +0000)]
Serve the latest v3 networkstatus consensus via the control
port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
svn:r16907
Roger Dingledine [Sun, 14 Sep 2008 03:36:54 +0000 (03:36 +0000)]
make it explicit that the uncompressed cached dir items are nul-terminated
(they are, but now we should keep them that way)
svn:r16906
Roger Dingledine [Sat, 13 Sep 2008 10:04:42 +0000 (10:04 +0000)]
Allow ports 465 and 587 in the default exit policy again. We had
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
Andrew Lewman [Fri, 12 Sep 2008 04:25:20 +0000 (04:25 +0000)]
oops, forgot the changelog reference for r16867.
svn:r16868
Andrew Lewman [Fri, 12 Sep 2008 04:19:37 +0000 (04:19 +0000)]
Patch from Camilo Viecco to make the rpm spec arch independent, as far
as i've tested.
svn:r16867
Karsten Loesing [Thu, 11 Sep 2008 20:06:04 +0000 (20:06 +0000)]
Directory mirrors store and serve v2 hidden service descriptors by default.
svn:r16858
Roger Dingledine [Thu, 11 Sep 2008 09:23:53 +0000 (09:23 +0000)]
give lasse's last name a different charset
svn:r16838
Roger Dingledine [Wed, 10 Sep 2008 19:08:46 +0000 (19:08 +0000)]
and here too
svn:r16835
Nick Mathewson [Wed, 10 Sep 2008 05:34:03 +0000 (05:34 +0000)]
Fix more actual test leaks
svn:r16831
Nick Mathewson [Wed, 10 Sep 2008 05:33:49 +0000 (05:33 +0000)]
Fix some apparent leaks in voting. If authorities suddenly start segfaulting, this could be a patch to look harder at.
svn:r16830
Nick Mathewson [Wed, 10 Sep 2008 00:16:32 +0000 (00:16 +0000)]
Make buffer unit tests handle resource leaks properly.
svn:r16823
Nick Mathewson [Wed, 10 Sep 2008 00:11:53 +0000 (00:11 +0000)]
Make more unit tests handle resource leaks properly.
svn:r16822
Nick Mathewson [Wed, 10 Sep 2008 00:06:07 +0000 (00:06 +0000)]
Coverity says it is okay to acknowledge them. Do so. Their tool is awesome.
svn:r16820
Karsten Loesing [Tue, 9 Sep 2008 22:19:41 +0000 (22:19 +0000)]
Correct indentation.
svn:r16819
Roger Dingledine [Tue, 9 Sep 2008 21:09:15 +0000 (21:09 +0000)]
tweak karsten's patch
svn:r16818
Roger Dingledine [Tue, 9 Sep 2008 21:08:02 +0000 (21:08 +0000)]
patch from karsten to fix more of bug 767
svn:r16817
Nick Mathewson [Tue, 9 Sep 2008 20:43:31 +0000 (20:43 +0000)]
Refactor unit test macros and tor_free_all() logic a bit so as to make it easier to free memory on failing tests, in order to suppress scanner warnings and to make dmalloc() usable with tests.
svn:r16816
Nick Mathewson [Tue, 9 Sep 2008 19:29:33 +0000 (19:29 +0000)]
Replace the dummy-use var in SMARTLIST_FOREACH_END() with one that is less 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
Roger Dingledine [Tue, 9 Sep 2008 09:21:21 +0000 (09:21 +0000)]
minor cleanups on karsten's patch
svn:r16810
Roger Dingledine [Tue, 9 Sep 2008 08:41:58 +0000 (08:41 +0000)]
karsten's patch for bug 767.
svn:r16808
Roger Dingledine [Tue, 9 Sep 2008 06:25:39 +0000 (06:25 +0000)]
Catch and report a few more bootstrapping failure cases when Tor
fails to establish a TCP connection. Cleanup on 0.2.1.x.
svn:r16803
Nick Mathewson [Tue, 9 Sep 2008 03:48:01 +0000 (03:48 +0000)]
We should not alter an addr_policy_t that has been canonicalized.
svn:r16802
Roger Dingledine [Mon, 8 Sep 2008 19:50:29 +0000 (19:50 +0000)]
forward-port the 0.2.0.31 changelog
svn:r16800
Nick Mathewson [Mon, 8 Sep 2008 01:57:02 +0000 (01:57 +0000)]
Fix a variable handling mistake when testing for libevent functions in configure.in. Found by Riastradh.
svn:r16793
Nick Mathewson [Fri, 5 Sep 2008 22:09:44 +0000 (22:09 +0000)]
Refactor use of connection_new so that we get more verifiable typesafety.
svn:r16785
Nick Mathewson [Fri, 5 Sep 2008 21:21:18 +0000 (21:21 +0000)]
Add changelog for scanner-based stuff.
svn:r16784
Nick Mathewson [Fri, 5 Sep 2008 21:19:53 +0000 (21:19 +0000)]
Refactor some code and add some asserts based on scanner results.
svn:r16783
Nick Mathewson [Fri, 5 Sep 2008 20:59:09 +0000 (20:59 +0000)]
Add an assert to make tools happier.
svn:r16782
Nick Mathewson [Fri, 5 Sep 2008 20:53:39 +0000 (20:53 +0000)]
Fix a malloc that should have been a tor_malloc
svn:r16780
Nick Mathewson [Fri, 5 Sep 2008 20:52:15 +0000 (20:52 +0000)]
Fix numerous memory leaks: some were almost impossible to trigger, and some almost inevitable.
svn:r16779
Nick Mathewson [Fri, 5 Sep 2008 20:18:22 +0000 (20:18 +0000)]
Clean up some redundant stuff in crypto_dh_new().
svn:r16778
Nick Mathewson [Fri, 5 Sep 2008 20:04:27 +0000 (20:04 +0000)]
It is probably some kind of misdeed to say for (i=0;i<2;++i) { A=i?x:y; foo(bar(A)); } rather than foo(bar(x)); foo(bar(y)); . Also, it can confuse tools.
svn:r16777
Nick Mathewson [Fri, 5 Sep 2008 19:55:04 +0000 (19:55 +0000)]
Fix a memory leak in tor-gencert.c
svn:r16776
Nick Mathewson [Fri, 5 Sep 2008 19:52:44 +0000 (19:52 +0000)]
Make severity args to add_*_log() functions be const
svn:r16775
Nick Mathewson [Thu, 4 Sep 2008 21:58:09 +0000 (21:58 +0000)]
Fix mingw build with --enable-gcc-warnings set.
svn:r16759
Nick Mathewson [Thu, 4 Sep 2008 20:42:02 +0000 (20:42 +0000)]
An asterisk makes a difference sometimes. Fixes bug 809.
svn:r16758
Nick Mathewson [Thu, 4 Sep 2008 15:22:55 +0000 (15:22 +0000)]
Use warn_too_many_conns() when accept() fails with a resource limit.
svn:r16751
Peter Palfrader [Tue, 2 Sep 2008 09:42:55 +0000 (09:42 +0000)]
Add my scripts to dump directories to contrib
svn:r16736
Peter Palfrader [Mon, 1 Sep 2008 22:50:31 +0000 (22:50 +0000)]
New alpha release: 0.2.1.5-alpha
svn:r16731
Roger Dingledine [Mon, 1 Sep 2008 21:24:25 +0000 (21:24 +0000)]
take out the crazy line from last night that made no sense. apparently
it does work for tas after all.
svn:r16724
Roger Dingledine [Mon, 1 Sep 2008 21:16:07 +0000 (21:16 +0000)]
remove some redundant includes. i expect the first one to be a problem
for tas, but who knows.
svn:r16723
Nick Mathewson [Mon, 1 Sep 2008 20:06:26 +0000 (20:06 +0000)]
Add a lockfile to the Tor data directory to avoid situations where two Tors start with the same datadir, or where a --list-fingerprints races with a server to create keys, or such.
svn:r16722
Roger Dingledine [Mon, 1 Sep 2008 08:09:31 +0000 (08:09 +0000)]
bump to 0.2.1.5-alpha-dev
svn:r16715
Roger Dingledine [Mon, 1 Sep 2008 08:01:40 +0000 (08:01 +0000)]
take out a line that i think is extraneous. come on, what could
go wrong?
svn:r16714
Roger Dingledine [Mon, 1 Sep 2008 08:01:22 +0000 (08:01 +0000)]
Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
Reported by Tas.
svn:r16713
Roger Dingledine [Sun, 31 Aug 2008 22:33:33 +0000 (22:33 +0000)]
bump to 0.2.1.5-alpha
svn:r16708
Roger Dingledine [Sun, 31 Aug 2008 22:30:08 +0000 (22:30 +0000)]
further changelog cleanups
svn:r16707