Commit Graph
1082 Commits
Author SHA1 Message Date
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 3c31afb6c4 one more changelog entry
svn:r15188
2008-06-13 05:22:27 +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 6a3755d1f9 upgrade karsten's hidden service fix to a 'major fix', and
add a changelog entry for r15125.


svn:r15184
2008-06-13 04:36:30 +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
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 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 32f41a470e changelog touchups
svn:r14966
2008-06-05 06:27:23 +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 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
Roger Dingledine 2c9d5a4ff8 concentrate changelog entry for 0.2.0.27-rc
svn:r14919
2008-06-03 19:39:01 +00:00
Nick Mathewson 3c504e3fbf Backport fix for bug noted by roger: rebuild extrainfo store from time to time, even if we have never actually downloaded an extrainfo. Bridge authorities need this, or they never clean the extrainfo store.
svn:r14793
2008-05-29 00:45:07 +00:00
Nick Mathewson 1ffb56c4bd Backport: Several geoip changes/fixes as requested.
svn:r14782
2008-05-28 18:35:39 +00:00
Roger Dingledine 49595c40ff Include an IP-to-country GeoIP file in the tarball, so relays
and bridge relays can report sanitized summaries of the usage
they're seeing.


svn:r14766
2008-05-28 04:47:12 +00:00
Nick Mathewson 033dea67c0 Backport: Fix the first part of bug 681, as suggested by Robert Hogan on or-talk.
svn:r14755
2008-05-27 21:02:49 +00:00
Nick Mathewson d67f8df66b Backport: fix part of bug 681: always reattach tunneled directory connections, regardless of setting for leavestreamsunattached.
svn:r14752
2008-05-27 20:52:42 +00:00
Nick Mathewson a868231584 Make 0.2.0 branch build cleanly with --enable-gcc-warnings and gcc 4.3
svn:r14749
2008-05-27 20:01:07 +00:00
Roger Dingledine 0285a82079 change the 0.2.0.26-rc notes to reflect what we actually sent out
svn:r14691
2008-05-23 11:54:03 +00:00
Nick Mathewson 611d58e0bc r19818@catbus: nickm | 2008-05-18 12:25:22 -0400
Backport: tests for libevent 1.4.x that work on mingw.


svn:r14659
2008-05-18 16:26:15 +00:00
Roger Dingledine 9704ff2c57 backport mikeperry's files
svn:r14623
2008-05-15 07:42:10 +00:00
Nick Mathewson 9b87cfbdf8 r19723@catbus: nickm | 2008-05-13 08:41:40 -0400
Bump version and update authority keys affected by Debian OpenSSL bug (See CVE-2008-0166 or http://lists.debian.org/debian-security-announce/2008/msg00152.html )


svn:r14600
2008-05-13 12:42:25 +00:00
Nick Mathewson 0fa5a9de05 r19713@catbus: nickm | 2008-05-12 17:10:37 -0400
Bugfix: an authority signature is "unrecognized" if we lack a dirserver entry for it, even if we have an older cached certificate that says it is recognized.  This affects clients who remove entries from their dirserver list without clearing their certificate cache.


svn:r14596
2008-05-12 21:12:01 +00:00
Nick Mathewson befa56c72e r19691@catbus: nickm | 2008-05-11 22:13:41 -0400
Backport: Implement a proposal to let a directory authority migrate its identity key without ceasing to sign consensuses.


svn:r14585
2008-05-12 02:14:15 +00:00
Roger Dingledine 41640c6065 blurbs for recent releases
svn:r14557
2008-05-05 04:06:57 +00:00
Roger Dingledine c590ddd188 bump to 0.2.0.25-rc
svn:r14433
2008-04-23 21:10:52 +00:00
Nick Mathewson e14725a577 r15309@tombo: nickm | 2008-04-23 16:47:17 -0400
Backport: Free baddir and badexit policy lists on exit.  fixes bug 672. only affects authorities.


svn:r14432
2008-04-23 20:48:14 +00:00
Nick Mathewson 5dfd0c354f r15303@tombo: nickm | 2008-04-23 16:29:45 -0400
Embarassing.  I had apparently broken OSX and Freebsd by not initializing threading before we initialize the logging system.  This patch should do so, and fix bug 671.  Forward-port candidate.


svn:r14429
2008-04-23 20:32:09 +00:00
Roger Dingledine a4b4ae3e46 Take lefkada out of the list of v3 directory authorities, since
it has been down for months.
Set up dizum (run by Alex de Joode) as the new sixth v3 directory
authority.


svn:r14421
2008-04-23 00:18:07 +00:00
Roger Dingledine b19167293c rearrange the changelog
svn:r14420
2008-04-23 00:09:12 +00:00
Nick Mathewson ede6ac7c9d r15288@tombo: nickm | 2008-04-22 17:09:36 -0400
Backport: Periodically launch requests for server/authority.z when it might help us learn our IP.  Fix for bug 652.


svn:r14419
2008-04-22 21:11:00 +00:00
Nick Mathewson 2e0bf9d8bf r15284@tombo: nickm | 2008-04-22 13:44:22 -0400
Backport: Correctly notify one-hop connections when a circuit build has failed. possible fix for bug 669. found by lodger.


svn:r14416
2008-04-22 17:44:36 +00:00
Nick Mathewson a041553e21 r15279@tombo: nickm | 2008-04-22 13:21:01 -0400
Backport: Apply patch from mwenge to fix bug 646: makes stream events for dns requests get generated more consistently.


svn:r14414
2008-04-22 17:21:26 +00:00
Nick Mathewson 2fd8c928b3 r15274@tombo: nickm | 2008-04-22 12:32:48 -0400
Backport: apply patch from lodger: reject requests for reverse-dns lookup of names in private address space.  make non-exits reject all dns requests.  Fixes bug 619.


svn:r14411
2008-04-22 16:33:06 +00:00
Nick Mathewson a25b424d4b r15270@tombo: nickm | 2008-04-22 12:23:39 -0400
Backport: Fix bug 663: warn less verbosely about clock skew from netinfo cells


svn:r14409
2008-04-22 16:23:51 +00:00
Nick Mathewson 8a05bd90ce r15266@tombo: nickm | 2008-04-22 12:05:07 -0400
Backport: On platforms using pthreads, allow a thread to acquire a lock it already holds.  This is crucial for logging: otherwise any log message thrown from inside the logging process (especially from control.c) will deadlock.  Win32 CriticalSections are already recursive.  Bug spotted by nwf.  Bugfix on 0.2.0.16-alpha.


svn:r14407
2008-04-22 16:05:11 +00:00
Nick Mathewson 68b2a57ffd r15239@tombo: nickm | 2008-04-17 16:22:50 -0400
Backport: Do not allocate excess space for named_flag and unnamed_flag in dirvote.c.  Fixes bug 662.  Not a dangerous bug: sizeof(int*) is at least as big as sizeof(int) everywhere.


svn:r14392
2008-04-17 20:23:24 +00:00
Roger Dingledine fbb0c6eec3 Fix a dumb bug that was preventing us from knowing that we should
preemptively build circuits to handle expected directory requests.
Fixes bug 660. Bugfix on 0.1.2.x.


svn:r14375
2008-04-16 00:07:18 +00:00
Roger Dingledine 28c802b5fd Avoid a rare assert that can trigger when Tor doesn't have much
directory information yet and it tries to fetch a v2 hidden
service descriptor. Fixes bug 651, reported by nwf.


svn:r14373
2008-04-15 23:05:44 +00:00
Roger Dingledine 6322457b65 i've been forgetting to add my release blurbs to svn
svn:r14353
2008-04-11 03:43:41 +00:00
Nick Mathewson d3b6da8178 r19269@catbus: nickm | 2008-04-09 14:24:36 -0400
Backport r14212: Free some static hashtables and the log mutex on exit.


svn:r14333
2008-04-09 18:24:55 +00:00
Nick Mathewson 27ddacce62 r19268@catbus: nickm | 2008-04-09 14:20:54 -0400
Backport 14205: Free authority certificates on exit, so they dont look like memory leaks.


svn:r14332
2008-04-09 18:24:50 +00:00
Nick Mathewson ae0d14d346 r19267@catbus: nickm | 2008-04-09 14:19:17 -0400
Backport 14204: start policy reference counts at 1, not 2.


svn:r14331
2008-04-09 18:24:48 +00:00
Roger Dingledine ec673cf9ae backport r14281/r14297 plus a changelog entry
svn:r14311
2008-04-08 00:53:34 +00:00
Peter Palfrader cb59d39e6f Merge r14277 and r14278: When opening a logfile fails, tell us why
svn:r14282
2008-04-02 22:10:05 +00:00
Nick Mathewson f58d16ed9e r19101@catbus: nickm | 2008-03-27 12:56:29 -0400
Backport r14214.  This is not 100% trivial, options_init_from_torrc() got cleaned up a lot.  The fact that it was much easier to do in trunk probably means that the cleanups were the right thing to do.


svn:r14219
2008-03-27 16:56:36 +00:00