Commit Graph
6448 Commits
Author SHA1 Message Date
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
Roger Dingledine ee60a8ddff bump to 0.2.0.27-rc
svn:r14920
2008-06-03 19:41:15 +00:00
Nick Mathewson 11b1ee320e Backport: Fix warning when compiling with dmalloc.
svn:r14831
2008-05-29 14:41:49 +00:00
Nick Mathewson c6f406a06c Backport: On win32, default to looking for the geoip file in the same directory as torrc.
svn:r14797
2008-05-29 01:23:09 +00:00
Nick Mathewson d12b9965f9 Backport: Do not ship a fallback-consensus until the related bugs are fixed.
svn:r14795
2008-05-29 00:54:28 +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
Roger Dingledine df8a602cbe backport one of my other fixes
svn:r14784
2008-05-28 20:37:11 +00:00
Nick Mathewson 1ffb56c4bd Backport: Several geoip changes/fixes as requested.
svn:r14782
2008-05-28 18:35:39 +00:00
Nick Mathewson b206123140 Backport: Fix the rpm build: we need to list all our files in the files section. Also, put fallback-consensus and geoip file in /usr/share/tor/, not in /usr/share/
svn:r14779
2008-05-28 17:19:19 +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
Roger Dingledine 18e429c077 backport geoip file too
svn:r14765
2008-05-28 04:40:02 +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