]>
git.ipfire.org Git - thirdparty/tor.git/log
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
Karsten Loesing [Sun, 31 Aug 2008 22:23:32 +0000 (22:23 +0000)]
Changelog entry for implementation of proposal 121.
svn:r16706
Peter Palfrader [Sun, 31 Aug 2008 22:18:37 +0000 (22:18 +0000)]
A short changelog entry for the consensus changes
svn:r16705
Roger Dingledine [Sun, 31 Aug 2008 22:08:34 +0000 (22:08 +0000)]
clean up 0.2.1.5-alpha changelog
svn:r16704
Andrew Lewman [Sun, 31 Aug 2008 21:41:24 +0000 (21:41 +0000)]
Convert to ARCH. Add in a compatibility CFLAG for osx 10.5
svn:r16703
Andrew Lewman [Sun, 31 Aug 2008 14:15:15 +0000 (14:15 +0000)]
remove the last vestiges of the OS variable.
svn:r16701
Roger Dingledine [Sun, 31 Aug 2008 06:33:39 +0000 (06:33 +0000)]
backport candidate:
If not enough of our entry guards are available so we add a new
one, we might use the new one even if it overlapped with the
current circuit's exit relay (or its family). Anonymity bugfix
pointed out by rovv.
svn:r16698
Roger Dingledine [Sun, 31 Aug 2008 06:26:36 +0000 (06:26 +0000)]
minor grammar fix
svn:r16697
Roger Dingledine [Sat, 30 Aug 2008 05:43:58 +0000 (05:43 +0000)]
we bad grammar
svn:r16688
Nick Mathewson [Fri, 29 Aug 2008 17:02:26 +0000 (17:02 +0000)]
Double oops: revert accidentally committed local geoipc.c debugging hack.
svn:r16687
Nick Mathewson [Fri, 29 Aug 2008 17:01:15 +0000 (17:01 +0000)]
Oops. Make warn_too_many_conns() actually work.
svn:r16686
Roger Dingledine [Fri, 29 Aug 2008 09:06:18 +0000 (09:06 +0000)]
remove a code path that should never happen (and if it did, we'd be
complaining about an errno set from some arbitrary previous problem).
svn:r16684
Andrew Lewman [Thu, 28 Aug 2008 01:32:45 +0000 (01:32 +0000)]
missed an OS var.
svn:r16681
Andrew Lewman [Thu, 28 Aug 2008 01:27:34 +0000 (01:27 +0000)]
Remove the OS variable, because we don't need it, just the ARCH.
svn:r16678
Nick Mathewson [Wed, 27 Aug 2008 14:12:10 +0000 (14:12 +0000)]
Oops; set address families on nameservers.
svn:r16674
Andrew Lewman [Wed, 27 Aug 2008 03:55:41 +0000 (03:55 +0000)]
clean up numbering, remove an unneeded step. backport this.
svn:r16670
Andrew Lewman [Wed, 27 Aug 2008 03:46:57 +0000 (03:46 +0000)]
Update the doc to reflect latest xcode
svn:r16668
Roger Dingledine [Tue, 26 Aug 2008 19:13:54 +0000 (19:13 +0000)]
and then make the indentation right
svn:r16663
Roger Dingledine [Tue, 26 Aug 2008 19:13:24 +0000 (19:13 +0000)]
fix typos from jake's patch earlier (one pointed out by fabian, thanks!)
svn:r16662
Nick Mathewson [Mon, 25 Aug 2008 23:19:58 +0000 (23:19 +0000)]
Fix a memory leak when freeing routerstatuses with exit policy summaries. Patch from mwenge.
svn:r16659
Roger Dingledine [Mon, 25 Aug 2008 21:02:44 +0000 (21:02 +0000)]
and make it compile with warnings on
svn:r16658
Roger Dingledine [Mon, 25 Aug 2008 21:02:22 +0000 (21:02 +0000)]
commit jake's patch to include strings with socks5 error numbers
svn:r16657
Roger Dingledine [Mon, 25 Aug 2008 07:06:55 +0000 (07:06 +0000)]
get rid of some magic constants i found while walking
jake through socks4 and socks5 failure codes
svn:r16651
Nick Mathewson [Fri, 22 Aug 2008 18:00:26 +0000 (18:00 +0000)]
Oops. Linux has no sa_len field.
svn:r16627
Nick Mathewson [Fri, 22 Aug 2008 16:55:28 +0000 (16:55 +0000)]
r17853@tombo: nickm | 2008-08-22 12:55:00 -0400
Oops. We had been telling people to use --with-ssl-dir, which had not worked since 0.2.0.1-alpha: --with-openssl-dir was the one that worked. Make them both work, document --with-openssl-dir, and mark --with-ssl-dir as obsolete. Found by "Dave".
svn:r16625
Nick Mathewson [Fri, 22 Aug 2008 16:55:24 +0000 (16:55 +0000)]
r17852@tombo: nickm | 2008-08-22 12:31:03 -0400
Fix typo in acinclude.m4
svn:r16624
Nick Mathewson [Fri, 22 Aug 2008 16:24:52 +0000 (16:24 +0000)]
r17848@tombo: nickm | 2008-08-22 12:10:11 -0400
Make definition of tor_mutex_t go into compat.h, so that it is possible to inline mutexes in critical objects. Add init/uninit functions for mutexes allocated inside other structs.
svn:r16623
Nick Mathewson [Fri, 22 Aug 2008 16:24:47 +0000 (16:24 +0000)]
r17847@tombo: nickm | 2008-08-22 12:08:56 -0400
ipv6: make server-side dns cache remember for each address an ipv6 addr and an ipv4 addr. This fix is just the struct side.
svn:r16622
Nick Mathewson [Fri, 22 Aug 2008 16:24:43 +0000 (16:24 +0000)]
r17846@tombo: nickm | 2008-08-22 11:54:00 -0400
Make dns resolver code more robust: handle nameservers with IPv6 addresses, make sure names in replies match requested names, make sure origin address of reply matches the address we asked.
svn:r16621
Roger Dingledine [Wed, 20 Aug 2008 05:21:43 +0000 (05:21 +0000)]
Relays now reject risky extend cells: if the extend cell includes
a digest of all zeroes, or asks to extend back to the relay that
sent the extend cell, tear down the circuit. Ideas suggested
by rovv.
svn:r16605
Roger Dingledine [Wed, 20 Aug 2008 05:15:08 +0000 (05:15 +0000)]
make r16598 compile on 64-bit too
svn:r16604
Karsten Loesing [Tue, 19 Aug 2008 19:01:41 +0000 (19:01 +0000)]
Update doxygen documentation.
svn:r16599