Commit Graph

9979 Commits

Author SHA1 Message Date
Nick Mathewson
507b01357a r17426@tombo: nickm | 2008-07-28 20:34:03 -0400
More test coverage for tor_addr_t; fix a couple of bugs.


svn:r16234
2008-07-29 00:34:50 +00:00
Nick Mathewson
056d97da0c r17391@pc-10-8-1-079: nickm | 2008-07-25 17:11:17 +0200
Tor_addr_compare did a semantic comparison, such that ::1.2.3.4 and 1.2.3.4 were "equal".  we sometimes need an exact comparison.  Add a feature to do that.


svn:r16210
2008-07-25 15:11:21 +00:00
Nick Mathewson
016adc9a08 r17359@pc-10-8-1-079: nickm | 2008-07-25 16:42:48 +0200
whitespace fixes


svn:r16209
2008-07-25 14:47:19 +00:00
Nick Mathewson
9da0482007 r17358@pc-10-8-1-079: nickm | 2008-07-25 16:41:03 +0200
Split out the address manipulation functions from compat and util: they were about 21% of the total of those, and spread out too much.


svn:r16208
2008-07-25 14:43:24 +00:00
Jacob Appelbaum
efc7f1ef8f An idea discussed with Roger and Nick at PET.
svn:r16181
2008-07-24 15:37:49 +00:00
Nick Mathewson
3ce6e2fba2 r17346@aud-055: nickm | 2008-07-24 15:37:19 +0200
Make generic address manipulation functions work better.  Switch address policy code to use tor_addr_t, so it can handle IPv6.  That is a good place to start.


svn:r16178
2008-07-24 13:44:04 +00:00
Nick Mathewson
ed781e6971 r17338@aud-055: nickm | 2008-07-24 11:21:06 +0200
Refactor the router_choose_random_node interface: any function with 10 parameters, most of which are boolean and one of which is unused, should get refactored like this.


svn:r16167
2008-07-24 09:22:34 +00:00
Nick Mathewson
dff1ef7d06 r17337@aud-055: nickm | 2008-07-24 10:17:43 +0200
Refactor the is_vote field of networkstatus_t to add a third possibility ("opinion") in addition to vote and opinion.  First part of implementing proposal 147.


svn:r16166
2008-07-24 09:22:27 +00:00
Nick Mathewson
ea95ce25b6 r17323@aud-055: nickm | 2008-07-23 17:58:25 +0200
Implement most of proposal 110.


svn:r16156
2008-07-23 15:58:38 +00:00
Nick Mathewson
2748afe609 r17322@aud-055: nickm | 2008-07-23 16:50:50 +0200
Make circid_t and streamid_t get used instead of uint16_t; it is possible we will soon want to make circid_t change to uint32_t.


svn:r16155
2008-07-23 15:58:30 +00:00
Nick Mathewson
15b2b8bd69 r17309@aud-055: nickm | 2008-07-23 16:05:43 +0200
Patch from Christian Wilms: remove (HiddenService|Rend)(Exclude)?Nodes options.  They never worked properly, and nobody seems to be using them.  Resolves bug 754.


svn:r16144
2008-07-23 14:07:32 +00:00
Nick Mathewson
cc46b23248 r17308@aud-055: nickm | 2008-07-23 15:57:41 +0200
In connection_edge_destroy, send a stream status control event when we have an AP connection.  Previously, we would send an event when the connection was AP and non-AP at the same time.  This didn't work so well.  Patch from Anonymous Remailer (Austria).  Backport candidate.


svn:r16143
2008-07-23 14:07:26 +00:00
Nick Mathewson
087094961b r17302@aud-055: nickm | 2008-07-23 14:55:28 +0200
Never allow a circuit to be created with the same circid as a circuit that has been marked for close.  May be a fix for bug 779.  Needs testing.  Backport candidate.


svn:r16136
2008-07-23 12:55:55 +00:00
Karsten Loesing
29795999a0 Proposal 142: Added comment by Nick (but no solution, yet) that sharing of circuits between multiple clients is not supported by Tor.
svn:r16075
2008-07-19 13:52:09 +00:00
Karsten Loesing
9161f0a216 Proposal 121: Added INTRODUCE1V cell type, improved replay protection for INTRODUCE2 cells, described limitations for auth protocols, improved hidden service protocol without client authorization, added second, more scalable authorization protocol, rewrote existing authorization protocol; changes based on discussion with Nick
svn:r16074
2008-07-19 13:51:34 +00:00
Nick Mathewson
26746d7578 r17220@tombo: nickm | 2008-07-18 15:11:27 -0400
Fix bug in last patch: ADDR_POLICY_REJECT is not the same as ADDR_POLICY_REJECTED.


svn:r16065
2008-07-18 19:11:30 +00:00
Nick Mathewson
d8f4ccc1d3 r17189@tombo: nickm | 2008-07-18 14:35:58 -0400
Mark proposal 150 closed.


svn:r16062
2008-07-18 18:36:35 +00:00
Nick Mathewson
c8160bce1f r17188@tombo: nickm | 2008-07-18 14:35:18 -0400
Add new ExcludeExitNodes option.  Also add a new routerset type to handle Exclude[Exit]Nodes.  It is optimized for O(1) membership tests, so as to make choosing a random router run in O(N_routers) time instead of in O(N_routers*N_Excluded_Routers).


svn:r16061
2008-07-18 18:36:32 +00:00
Nick Mathewson
f2550a52d4 r17187@tombo: nickm | 2008-07-18 14:20:51 -0400
Mark some proposals as written in TODO


svn:r16060
2008-07-18 18:36:23 +00:00
Peter Palfrader
67c6728729 Do not build with openbsd's malloc unless enable-openbsd-malloc is in DEB_BUILD_OPTIONS
svn:r16028
2008-07-17 19:37:52 +00:00
Nick Mathewson
3b356b11bf Remove from the spec a reference forward-compatiblity feature that we never implemented (bug 774). Also remove backward compatibility notes for versions older than 0.1.1.15-rc; those are long-unsupported, and do not work with the current network. Still to fix are future-tense statements about 0.1.2.x.
svn:r16003
2008-07-17 02:35:17 +00:00
Nick Mathewson
bdcbd23e23 Stop trying to detect versions of Tor on the server-side older than 0.1.1.15-rc; they simply do not work any more. Also add comment about how or_is_obsolete is a terrible field name.
svn:r15982
2008-07-16 13:15:11 +00:00
Peter Palfrader
301367525a New alpha release
svn:r15980
2008-07-16 11:45:22 +00:00
Peter Palfrader
fd639b990e Forward port 0.2.0.29-rc-2 and 0.2.0.30-1 changelogs to trunk
svn:r15974
2008-07-16 11:05:04 +00:00
Roger Dingledine
b27b3472fa changes sitting in my trunk sandbox
svn:r15955
2008-07-16 00:05:46 +00:00
Roger Dingledine
9d57007119 integrate the 0.2.0.29-rc items into the release notes
svn:r15954
2008-07-16 00:04:00 +00:00
Peter Palfrader
ddb7f885b1 proposal from 13 Apr 2008 that never got a number is proposal #139
svn:r15945
2008-07-15 21:18:10 +00:00
Peter Palfrader
3a81723641 I still think Metabytes are much cooler than Megabytes
svn:r15944
2008-07-15 21:12:05 +00:00
Jacob Appelbaum
8fc1f16714 An initial check in of the automatic update program. Mixed ideas, needs much work and spliting.
svn:r15925
2008-07-15 07:20:55 +00:00
Nick Mathewson
55c3619c23 Make Closed and Finished proposals know when they were implemented (approximately). Make this more accurate in the future.
svn:r15905
2008-07-14 20:57:17 +00:00
Nick Mathewson
b2da39fd9d For some open and accepted proposals, note their target versions.
svn:r15904
2008-07-14 20:44:44 +00:00
Nick Mathewson
36d6f50d09 add proposal 152
svn:r15903
2008-07-14 19:52:29 +00:00
Roger Dingledine
2d48d75594 remove / reallocate some todo items
svn:r15889
2008-07-14 04:00:29 +00:00
Jacob Appelbaum
5b5e62e948 Removal of gettor, it belongs in projects.
svn:r15877
2008-07-13 17:21:57 +00:00
Jacob Appelbaum
81dcfafba3 Initial checkin of gettor. This is a program designed to be invoked in a .forward file. It will respond with specific payloads for a given request. It requires that all requests be signed with DKIM. It's not quite finished yet.
svn:r15874
2008-07-13 17:13:34 +00:00
Roger Dingledine
267e61d0f3 When relays do their initial bandwidth measurement, don't limit
to just our our entry guards for the test circuits. Otherwise we
tend to have multiple test circuits going through a single entry
guard, which makes our bandwidth test less accurate. Fixes part
of bug 654; patch contributed by Josh Albrecht.

(Actually, modify Josh's patch to avoid doing that when you're
a bridge relay, since it would leak more than we want to leak.)


svn:r15850
2008-07-11 21:42:09 +00:00
Nick Mathewson
53f558decc r16928@tombo: nickm | 2008-07-11 17:07:36 -0400
It seems that fixing one spelling error always means that somebody is about to tell me about another.  Fix a second spelling error in the risks section of 150.


svn:r15848
2008-07-11 21:07:43 +00:00
Nick Mathewson
c77d00d777 r16926@tombo: nickm | 2008-07-11 15:58:34 -0400
fix spelling error spotted by qbi.


svn:r15846
2008-07-11 19:58:38 +00:00
Nick Mathewson
c319497886 r16923@tombo: nickm | 2008-07-11 15:12:12 -0400
Mark proposal 150 accepted; add risks section; revise English a bit.


svn:r15845
2008-07-11 19:13:36 +00:00
Peter Palfrader
221eccd9fe Add weight consensus line, as described on or-dev,
list elements of RELAY_REQUEST_SD cells

svn:r15844
2008-07-11 19:01:48 +00:00
Nick Mathewson
f66b810616 r16919@tombo: nickm | 2008-07-11 13:04:28 -0400
Update proposal statuses for 0.2.1.x.


svn:r15843
2008-07-11 17:08:11 +00:00
Nick Mathewson
75301cb906 r16918@tombo: nickm | 2008-07-11 13:04:01 -0400
Update proposal 110 based on discussions with arma and implementation status.


svn:r15842
2008-07-11 17:08:08 +00:00
Nick Mathewson
787c66b70f r16917@tombo: nickm | 2008-07-11 12:55:26 -0400
Remove token enum constant in routerparse.c that we do not actually use.


svn:r15841
2008-07-11 17:08:05 +00:00
Nick Mathewson
ccc2019570 r16897@tombo: nickm | 2008-07-11 12:30:57 -0400
Revise proposal 147 as sugested by arma.


svn:r15840
2008-07-11 16:33:41 +00:00
Nick Mathewson
9b3befeb85 r16896@tombo: nickm | 2008-07-11 11:45:16 -0400
Revise proposal 118; turn it into a real proposal.


svn:r15839
2008-07-11 16:33:36 +00:00
Karsten Loesing
9231858ff5 Fix bug 763. When a hidden service is giving up on an introduction point candidate that was not included in the last published rendezvous descriptor, don't reschedule publication of the next descriptor.
svn:r15825
2008-07-10 21:02:01 +00:00
Nick Mathewson
cb7cc9e12d r16882@tombo: nickm | 2008-07-10 14:31:25 -0400
Fix for session-related bug found by Geoff Goodell. backport candidate, once tested.


svn:r15821
2008-07-10 18:31:33 +00:00
Nick Mathewson
c717e19a29 r16881@tombo: nickm | 2008-07-10 14:19:21 -0400
fix a rare segfault in bw-share-measuring code


svn:r15820
2008-07-10 18:31:28 +00:00
Nick Mathewson
135fa82a10 bump svn version to 0.2.1.2-alpha-dev
svn:r15806
2008-07-09 15:26:13 +00:00
Nick Mathewson
c5ec7a3677 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:r15803
2008-07-09 15:23:23 +00:00