Nick Mathewson
0bb9f59083
Backport 18203: fix compile warning on panther, and bug 913.
...
svn:r18204
2009-01-21 03:57:51 +00:00
Roger Dingledine
ed899730e7
backport r18189. what could go wrong?
...
svn:r18191
2009-01-20 23:02:46 +00:00
Roger Dingledine
5954698422
backport r17917, r17993: tors that haven't run lately take 10+ minutes
...
to start, and when they do they still use incredibly obsolete descriptors.
svn:r18187
2009-01-20 08:10:48 +00:00
Nick Mathewson
866b6f5cec
Backport r18064: fix harmless-to-us bug in ht.h
...
svn:r18067
2009-01-10 14:49:41 +00:00
Nick Mathewson
b274ea202e
Backport r18063: make ServerDNSRandomizeCase work. Fix bug 905.
...
svn:r18066
2009-01-10 14:49:38 +00:00
Karsten Loesing
e600b87e75
When parsing routerstatus lines in votes, use previously defined smartlist rs_tokens instead of tokens. Pointed out by multiplication_.
...
svn:r17997
2009-01-07 11:24:49 +00:00
Roger Dingledine
751b268267
backport r17970
...
svn:r17972
2009-01-06 19:07:30 +00:00
Roger Dingledine
59e380c559
backport r17958
...
svn:r17961
2009-01-06 16:14:13 +00:00
Roger Dingledine
33d22e0f86
backport r17920: bridge relays don't fetch descriptors much
...
svn:r17947
2009-01-06 07:22:07 +00:00
Nick Mathewson
21e7fcbbfe
Backport 17891 and 17892 to fix openbsd build warnings. Also backport snarky comments.
...
svn:r17908
2009-01-05 08:12:33 +00:00
Nick Mathewson
d2a2da8de8
Backport r17562: Do not litter the circuit list with introductino points on sighup. Reuse the ones we can, and dump the rest. Fixes bug 879. Patch by Karsten.
...
svn:r17883
2009-01-04 18:52:54 +00:00
Nick Mathewson
39117bb422
Backport r14830: Do not use SSL compression.
...
It was pointless, since most of our cells are encrypted, full of compressed data, or both; and harmful, because compression is expensive and distinguishable.
svn:r17882
2009-01-04 18:52:32 +00:00
Nick Mathewson
e53bba1e2a
Backport r17138: Fix the rest of bug 619: reject *:* servers should not do DNS lookups, even if broken clients send them RELAY_BEGIN cells. Patch from rovv.
...
svn:r17870
2009-01-04 03:03:50 +00:00
Nick Mathewson
4ee823668b
Backport r17162 and r17164: verify cpath_layer match on rendezvous cells too. Fixes another case of bug 446. Based on a patch from rovv.
...
svn:r17869
2009-01-04 03:03:45 +00:00
Nick Mathewson
569e882496
Backport r17137: Patch from rovv: send back END cell in response to connect attempts to nonexistent hidden service port.
...
svn:r17868
2009-01-04 03:03:40 +00:00
Karsten Loesing
61e7489691
Make check-spaces happy.
...
svn:r17719
2008-12-22 01:16:14 +00:00
Karsten Loesing
54e5655924
gabelmoo has a new IP address.
...
svn:r17718
2008-12-22 01:11:46 +00:00
Nick Mathewson
ca248222bb
Backport: Make it possible to call set_onion_key twice without leaking RAM.
...
svn:r17675
2008-12-18 05:47:34 +00:00
Nick Mathewson
9b72e96f95
Backport: Fix bug 889: share deep-copied keys between threads to avoid races in reference counts. Bugfix on 0.1.0.1-rc.
...
svn:r17674
2008-12-18 05:47:28 +00:00
Nick Mathewson
5efd2b2fa7
Backport: Avoid nop call to control_event_or_authdir_new_descriptor that makes coverity think we are dereferencing a null pointer. It is safe, I think, but entirely too clever for our own good.
...
svn:r17670
2008-12-18 04:47:24 +00:00
Nick Mathewson
eb1752e458
Backport: Fix memory leak in rend_cache_store_v2_desc_as_client().
...
svn:r17666
2008-12-18 00:17:46 +00:00
Roger Dingledine
bc5e4cd39e
backport r17657
...
svn:r17658
2008-12-17 22:39:10 +00:00
Nick Mathewson
a89852636c
Backport r17139: Fix another case of refusing to use a chosen exit node because we think it will reject _mostly_ everything. Based on patch from rovv. See bug 752.
...
svn:r17640
2008-12-17 13:14:54 +00:00
Nick Mathewson
76eed8cc18
Backport r17184: when building preemptive circuits, ignore streams
...
that have a chosen exit node in mind already. otherwise we get
tricked into trying to build a new circuit that will handle them.
svn:r17639
2008-12-17 13:14:47 +00:00
Nick Mathewson
119fd23f1e
Backport r17181: fix the other half of r17091. now that best_support can be -1, we were complaining about no support for our one-hop streams, when in fact choose_good_exit_server_general() has no business caring about one-hop streams. patch from miner.
...
svn:r17638
2008-12-17 13:14:43 +00:00
Nick Mathewson
fea3382aca
Backport r17091: when we have no pending streams, choose exits with choose_good_exit_server_general rather than with circuit_get_unhandled_ports().
...
svn:r17637
2008-12-17 13:14:40 +00:00
Nick Mathewson
a750683d2f
Partial backport of DNS address/name checking (r16621), and backport of 0x20 hack (r17171).
...
svn:r17636
2008-12-17 12:51:36 +00:00
Nick Mathewson
2548454bc5
Backport r166558: avoid mis-routing create cells. This has seen enough testing that we can be more confident in it now.
...
svn:r17635
2008-12-16 22:53:24 +00:00
Roger Dingledine
c41a27ecec
minimal (i think) backport of r17625
...
svn:r17626
2008-12-14 20:02:00 +00:00
Nick Mathewson
746980bba7
Backport bug 691 fix: do not shutdown Tor servers right away if the network is down.
...
svn:r17623
2008-12-14 17:48:37 +00:00
Nick Mathewson
3e9e1639d7
Backport karsten's bug 885 fix.
...
svn:r17558
2008-12-10 15:50:04 +00:00
Nick Mathewson
da1a18d327
Backport tiny memory leak fix.
...
svn:r17557
2008-12-10 15:48:47 +00:00
Nick Mathewson
05c185bec1
Backport: fix bug 880: find the end of an authority cert by looking for the first ----END SIGNATURE----- after the first dir-key-certification, not for the first ----END SIGNATURE. Harmless bug, but it made us non-spec-compliant.
...
svn:r17471
2008-12-03 03:45:23 +00:00
Roger Dingledine
78d8680672
backport r17392: Compile without warnings on solaris
...
svn:r17450
2008-12-02 22:50:18 +00:00
Nick Mathewson
d33880d0df
Backport: Apply rovv's patch for bug 864: avoid null error on detached signature handling failure.
...
svn:r17447
2008-12-02 19:16:11 +00:00
Nick Mathewson
0d091964dd
Backport: Define socklen_t before using it in compat.h
...
svn:r17445
2008-12-02 18:56:15 +00:00
Nick Mathewson
7e1123bd7e
Bump branch version to 0.2.0.32-dev
...
svn:r17395
2008-11-26 17:03:32 +00:00
Nick Mathewson
94ed846ee9
Backport: stop marking bsearch_idx as pure; it is not.
...
svn:r17394
2008-11-26 17:02:02 +00:00
Roger Dingledine
3769ef4cd2
bump to 0.2.0.32
...
svn:r17344
2008-11-20 22:34:30 +00:00
Roger Dingledine
411de1fc79
backport r17135: ClientDNSRejectInternalAddresses not consistently obeyed.
...
svn:r17342
2008-11-20 22:21:31 +00:00
Nick Mathewson
6489570b89
Backport: Update _log_global_min_severity after switch_logs_debug(), so that USR2 will work again. Bugfix on 0.1.2.8-beta. Spotted by Geoff Down.
...
svn:r17318
2008-11-17 20:00:04 +00:00
Nick Mathewson
6694a86033
Backport: Apparently sparc64 is way more strict about uint16_t access alignment than I had thought: it gave bus errors when messing with var-cell headers. Maybe this patch will fix bug 862.
...
svn:r17263
2008-11-12 14:49:17 +00:00
Karsten Loesing
ec9690b0f8
Backport bugfix for #767 (r16808, r16810, r16817, r16818, and r16939).
...
svn:r17260
2008-11-12 14:26:38 +00:00
Karsten Loesing
257215489d
Backport bugfix for #814 (r16915 and r16916).
...
svn:r17258
2008-11-12 10:47:20 +00:00
Steven Murdoch
db94f36633
Backport of changesets 17200, 17201, 17203-17206, 17228, 17232, 17236: Patch from Jacob Appelbaum and me to make User option more robust, properly set supplementary groups, deprecated the Group option, and log more information on credential switching. Fixes bugs 848 and 857
...
svn:r17255
2008-11-12 01:10:21 +00:00
Steven Murdoch
5fbba9fa33
Rename "new_signatures_len" to "new_consensus_len" (from backport of r17252)
...
svn:r17254
2008-11-12 00:58:10 +00:00
Nick Mathewson
3882cef643
Backport: Be even _more_ careful when signatures are bogus.
...
svn:r17253
2008-11-11 17:14:26 +00:00
Nick Mathewson
a84e7e26dc
Backport: Only replace the detached signatures object when we actually added or replaced at least one signature.
...
svn:r17251
2008-11-11 16:52:19 +00:00
Nick Mathewson
b659adadd7
Backport: Fix from rovv: when adding a detached signature, do not automatically assume it is good just because we are adding it. We might also be adding it because it was the first signature we saw for a given voter.
...
svn:r17249
2008-11-11 16:36:03 +00:00
Roger Dingledine
543a622314
backport: Remove the old v2 directory authority 'lefkada' from the
...
default list. It has been gone for many months.
svn:r17065
2008-10-12 17:02:55 +00:00