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
Nick Mathewson
115ea29952
Backport: Commit fix for bug 807 from mwenge: send CLOSED controller event for reverse dns resolve, not FAILED.
...
svn:r16986
2008-09-26 20:26:02 +00:00
Nick Mathewson
efea050fff
Backport to 0.2.0.x: Apply rovv's fix for bug 824.
...
svn:r16976
2008-09-26 15:31:21 +00:00
Nick Mathewson
b9ea49103a
(Backport to 0.2.0 branch) 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:r16945
2008-09-23 20:26:05 +00:00
Nick Mathewson
9d296f7701
(backport to 0.2.0.x) Fix for bug 797 (by arma, with tweaks): always use create_fast for circuits where we do not know an onion key.
...
svn:r16943
2008-09-23 20:13:43 +00:00
Nick Mathewson
066104e853
Backport: Fix numerous memory leaks: some were almost impossible to trigger, and some almost inevitable.
...
svn:r16781
2008-09-05 20:54:52 +00:00
Roger Dingledine
de8f03be1a
0.2.0.31 is ready to go
...
svn:r16733
2008-09-02 00:04:50 +00:00
Nick Mathewson
194a66d22a
Backport 15699-15700: React quickly to rendezvous circuits becoming ready.
...
svn:r16730
2008-09-01 22:31:09 +00:00
Roger Dingledine
a04e98dd20
backport r16698: don't use a new entry guard that's also your exit
...
svn:r16729
2008-09-01 22:25:02 +00:00
Roger Dingledine
e78e004118
backport r16605: relays reject risky extend cells
...
svn:r16728
2008-09-01 22:08:13 +00:00
Nick Mathewson
6784c9e314
Backport r16450 to 0.2.0.x: open /dev/pf before dropping privileges.
...
svn:r16726
2008-09-01 22:05:32 +00:00
Nick Mathewson
278a89d75a
Backport r15821 to 0.2.0: Disallow session resumption during renegotiation.
...
svn:r16725
2008-09-01 22:00:07 +00:00
Nick Mathewson
772a824d56
r17839@tombo: nickm | 2008-08-21 22:14:36 -0400
...
Fix bogus pointer use (and bug 806) on win32.
svn:r16617
2008-08-22 02:14:45 +00:00
Nick Mathewson
62340f1d76
Backport to 0.2.0.x: Never allow a circuit to be created with the same circid as a circuit that has been marked for close. May fix 779. Needs testing.
...
svn:r16463
2008-08-07 20:19:38 +00:00
Nick Mathewson
355d84d122
Backport: On recent linux kernels we were not detecting the linux/netfilter_ipv4.h header properly, since we needed to have in_addr and in6_addr and __u32 defined before trying to include it. Fix that.
...
svn:r16461
2008-08-07 19:41:54 +00:00
Nick Mathewson
9250b0bd62
r17660@tombo: nickm | 2008-08-06 12:22:19 -0400
...
Backport: Fix bug 794: recover 3 bytes wasted per memory chunk. Fix from rovv.
svn:r16449
2008-08-06 16:22:35 +00:00
Nick Mathewson
c5ef95b802
r17505@tombo: nickm | 2008-07-31 08:24:58 -0400
...
backport buffer chunk size fix
svn:r16448
2008-08-06 16:22:32 +00:00
Roger Dingledine
48d9b654bd
backport the 0.2.0.30 release notes. bump to 0.2.0.30.
...
svn:r15956
2008-07-16 00:06:58 +00:00
Nick Mathewson
c9f8101f21
bump svn 0.2.0 version to 0.2.0.29-rc-dev
...
svn:r15807
2008-07-09 15:29:30 +00:00
Nick Mathewson
be5d943cec
Stop using __attribute__((nonnull)): It gets us occcasional warnings when we do something so foolish it can be detected without dataflow analysis, but it also eliminates some of our error checking code. Suggested by Peter Gutmann.
...
svn:r15804
2008-07-09 15:23:35 +00:00
Roger Dingledine
59b5df9b4e
bump to 0.2.0.29-rc
...
svn:r15769
2008-07-08 14:17:06 +00:00
Nick Mathewson
5a48b4faac
r16690@tombo: nickm | 2008-07-03 11:03:39 -0400
...
Backport to 0.2.0: Fix for bug 742: do not use O_CREAT on 2-option version of open(). Especially do not use it on /dev/null. Fix from Michael Scherer. Bugfix on 0.0.2pre19 (wow).
svn:r15627
2008-07-03 15:04:25 +00:00
Roger Dingledine
aeca4d90ed
backport r15571 and give it a changelog entry
...
svn:r15578
2008-06-30 23:27:50 +00:00
Roger Dingledine
a9e8784c2f
preventive maintenance so we don't get more of those "failing
...
to find the right circuit" bugs.
svn:r15576
2008-06-30 23:26:39 +00:00
Nick Mathewson
d5046d7299
r16588@tombo: nickm | 2008-06-28 00:15:45 -0400
...
Backport fix for bug 704; found by sjmurdoch. Windows and recent openssl both want to define OCSP_RESPONSE; do not let them.
svn:r15534
2008-06-28 04:16:44 +00:00
Karsten Loesing
706d1b31a9
Enable cannibalization of circuits for introduction circuits (backport r14166) and actually use introduction circuits that originate from cannibalization afterwards (backports r15332/r15335).
...
svn:r15459
2008-06-24 20:39:47 +00:00
Roger Dingledine
80f03b67ef
backport r15366, bump to 0.2.0.28-rc-dev
...
svn:r15435
2008-06-23 18:52:12 +00:00
Nick Mathewson
dfdb74961c
Backport: More bug 707 fixes: no #if/#endif pairs inside macro arguments.
...
svn:r15308
2008-06-16 18:35:34 +00:00
Nick Mathewson
e82fcbeac1
Partial backport. Clean up a macro/cpp interaction related to bug 707.
...
svn:r15306
2008-06-16 18:16:42 +00:00
Roger Dingledine
753a764939
backport r14329 and r14334:
...
Make relay cells written on a connection count as non-padding when
tracking how long a connection has been in use. Bugfix on
0.2.0.1-alpha. Spotted by lodger.
svn:r15185
2008-06-13 05:12:27 +00:00
Roger Dingledine
d2ec69a7b0
backport r15074, r15076, r15077:
...
When we haven't had any application requests lately, don't bother
logging that we have expired a bunch of descriptors.
svn:r15182
2008-06-13 04:18:26 +00:00
Roger Dingledine
a18d241252
bump to 0.2.0.28-rc
...
this one for sure!
svn:r15181
2008-06-13 04:16:45 +00:00
Roger Dingledine
b3947f4e98
backport r14998
...
svn:r15180
2008-06-13 04:07:29 +00:00
Karsten Loesing
b3aaa47d3e
Backport of r15149: you can't strcasecmp on 20-byte digests
...
what if they contain nuls?
(worse, what if they *don't* contain nuls? ;)
svn:r15152
2008-06-11 23:44:13 +00:00
Roger Dingledine
1fde6994d5
If we change our MaxAdvertisedBandwidth and then reload torrc,
...
Tor won't realize it should publish a new relay descriptor. Fixes
bug 688, reported by mfr.
svn:r15129
2008-06-11 11:09:55 +00:00
Roger Dingledine
6260054d96
update to june 9 2008 ip-to-country file
...
svn:r15125
2008-06-11 10:09:44 +00:00
Roger Dingledine
474e1961a9
When we're checking if we have enough dir info for each relay
...
to begin establishing circuits, make sure that we actually have
the descriptor listed in the consensus, not just any descriptor.
svn:r15119
2008-06-11 03:21:03 +00:00
Roger Dingledine
01aa4f95ac
Fix a bug where, when we were choosing the 'end stream reason' to
...
put in our relay end cell that we send to the exit relay, Tor
clients on Windows were sometimes sending the wrong 'reason'. The
anonymity problem is that exit relays may be able to guess whether
client is running Windows, thus helping partition the anonymity
set. Down the road we should stop sending reasons to exit relays,
or otherwise prevent future versions of this bug.
svn:r15118
2008-06-11 02:04:59 +00:00
Roger Dingledine
953b775155
minor touchups
...
svn:r15117
2008-06-11 01:50:06 +00:00
Roger Dingledine
d66bb67ae8
Tor 0.2.1.x can start with 'log notice stdout' and 'runasdaemon 1'
...
both set. Earlier Tors cannot. This will be considered a feature
of 0.2.1.x, not a bug in 0.2.0.x.
svn:r15018
2008-06-08 00:34:34 +00:00
Nick Mathewson
0031fee791
Backport: Make unit tests pass again: new geoip behavior had freaked out.
...
svn:r14952
2008-06-04 18:42:30 +00:00
Roger Dingledine
4b34404ac1
Only warn when we fail to load the geoip file if we were planning to
...
include geoip stats in our extrainfo document.
svn:r14934
2008-06-04 08:54:57 +00:00
Roger Dingledine
51300f9a90
Bridge relays no longer print "xx=0" in their extrainfo document
...
for every single country code in the geoip db.
svn:r14930
2008-06-04 07:40:59 +00:00
Roger Dingledine
2d32de74e3
bump to 0.2.0.27-rc-dev
...
svn:r14928
2008-06-04 06:35:56 +00:00
Roger Dingledine
f3d3d4451f
Fix compile on Windows, maybe.
...
svn:r14927
2008-06-04 06:35:42 +00:00
Roger Dingledine
5b8e84255f
fix most of the geoip unit tests. one remains broken -- nick,
...
this looks like a real bug.
svn:r14923
2008-06-03 21:15:09 +00:00