Commit Graph

1623 Commits

Author SHA1 Message Date
Nick Mathewson
136ed33071 r9289@31-35-219: nickm | 2006-10-20 09:43:22 -0400
Fix longstanding bug in connection_exit_begin_conn():  Since connection_edge_end() exits when the connection is unattached, we were never sending RELAY_END cells back for failed RELAY_BEGIN attempts. Fix this.  This might make clients that were otherwise timing out either fail faster or retry faster, which is good news for us.


svn:r8770
2006-10-20 14:57:46 +00:00
Andrew Lewman
77936aa337 update task for latest openssl version.
svn:r8769
2006-10-20 01:13:47 +00:00
Nick Mathewson
974bdee183 r9277@Kushana: nickm | 2006-10-19 19:03:05 -0400
Add pragma:no-cache and expires headers so that directory lookups can work better in the presence of caching HTTP proxies. (I would have used Cache-Control, but that is an HTTP/1.1 thing.)  All timeouts are currently wild-assed guesses.


svn:r8765
2006-10-19 23:05:34 +00:00
Nick Mathewson
126a3f699a r9273@Kushana: nickm | 2006-10-19 15:43:39 -0400
Never discard a descriptor for being too old until either it is recommended by no authorities, or until we download a better (more recent and recommended) one for the same router. This will eventually make it possible for servers to publish less often.


svn:r8761
2006-10-19 23:04:56 +00:00
Nick Mathewson
bfdb93d8bd r9272@Kushana: nickm | 2006-10-19 12:52:37 -0400
Fix an XXX in handling destroy cells: when we get a destroy cell with reason FOO, do not tell the controller REASON=FOO.  Instead, say REASON=DESTROYED REMOTE_REASON=FOO. Suggested by a conversation with Mike Perry.


svn:r8760
2006-10-19 23:04:49 +00:00
Nick Mathewson
4443934702 r9091@totoro: nickm | 2006-10-19 11:45:28 -0400
Change to BadExit logic: Let authorities set an "I list bad exits" flag.  Consider an exit bad if it is listed as bad by more than half of *those* authorities.  This gives us a better migration path.


svn:r8756
2006-10-19 15:45:48 +00:00
Nick Mathewson
0c2109dd23 r9075@totoro: nickm | 2006-10-18 10:08:30 -0400
Add comments on questions in control-spec.txt


svn:r8746
2006-10-18 14:08:40 +00:00
Roger Dingledine
9ad6c669e1 hammer farther on the status events. still a lot of questions.
svn:r8745
2006-10-18 04:33:58 +00:00
Nick Mathewson
b713b370bf r9060@totoro: nickm | 2006-10-17 11:12:48 -0400
Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.)


svn:r8739
2006-10-17 15:20:00 +00:00
Andrew Lewman
622d70f9e8 Updated version of openssl and removed duplicate win32api get.
svn:r8736
2006-10-17 02:16:04 +00:00
Roger Dingledine
9a70fbae2b break status events into notice/warn rather than general/client/server.
this way vidalia has some guess about how freaked out we are, even if
it doesn't recognize the status name.


svn:r8735
2006-10-16 22:41:31 +00:00
Roger Dingledine
62763a13ed take some more notes on status events we want
svn:r8728
2006-10-15 07:52:58 +00:00
Roger Dingledine
6851d7f854 flesh out the status events some more
svn:r8715
2006-10-14 03:32:33 +00:00
Roger Dingledine
fac9e767e3 a few more tweaks and a new subsection
svn:r8694
2006-10-12 19:40:52 +00:00
Roger Dingledine
c2a158f52c clean up and name and syntax of status events
svn:r8693
2006-10-12 09:40:36 +00:00
Roger Dingledine
f9325eeb29 dump more ideas in the blocking paper
svn:r8692
2006-10-12 09:27:09 +00:00
Roger Dingledine
9b5ac662c7 Motivate and introduce blocking.tex better.
Also expand on anonymity effects from becoming a bridge relay.


svn:r8691
2006-10-12 05:42:32 +00:00
Nick Mathewson
eca28f24f5 r9004@totoro: nickm | 2006-10-11 18:05:24 -0400
Add client support for a 'BadExit' flag, so authorities can say "Server X is a poor choise for your nytimes.com connections, as it seems to direct them to HoorayForMao.com or (more likely) WouldYouLikeToBuyTheseFineEncyclopedias.com"
 


svn:r8690
2006-10-11 22:06:01 +00:00
Roger Dingledine
7f3fc70945 simplify a section of the HACKING file
svn:r8689
2006-10-11 20:45:01 +00:00
Roger Dingledine
f1e25da493 remove a redundant todo entry
svn:r8678
2006-10-09 21:11:14 +00:00
Nick Mathewson
bff9844b9f r9114@directionless-main: nickm | 2006-10-06 15:46:41 -0400
Move a changelog item; add a TODO.


svn:r8676
2006-10-09 19:37:07 +00:00
Nick Mathewson
26283e69ba r8973@totoro: nickm | 2006-10-09 11:45:47 -0400
Touch up last patch (to add REASON to CIRC events): make some reasons
 more sensible, send reasons only to controllers that have enabled
 extended events, and clean up whitespace.
 
 


svn:r8672
2006-10-09 15:47:50 +00:00
Nick Mathewson
b76fd968b4 r8972@totoro: nickm | 2006-10-09 10:36:22 -0400
Patch from Mike Perry: add a REASON field to closed and failed circ events.


svn:r8671
2006-10-09 15:47:27 +00:00
Roger Dingledine
699fa6b4e4 a potential syntax for the EVENT_MISC_* events.
needs a better name, and maybe needs a better syntax too.


svn:r8658
2006-10-08 23:24:26 +00:00
Roger Dingledine
d6601d7f0d prune resolved items from the todo
svn:r8641
2006-10-07 19:47:11 +00:00
Nick Mathewson
3d98712d1b r8922@totoro: nickm | 2006-10-07 11:44:07 -0400
Split a TODO item into the part I should do and the part I should defer.


svn:r8636
2006-10-07 16:25:15 +00:00
Roger Dingledine
9fb98b269c finish poking and prodding. i'm all happy now.
svn:r8633
2006-10-07 09:13:30 +00:00
Roger Dingledine
a339449a41 a new research problem our weight_for_exit algorithm has introduced.
svn:r8631
2006-10-07 06:30:48 +00:00
Roger Dingledine
f2bd0e2f16 more minor cleanups
svn:r8630
2006-10-07 06:28:50 +00:00
Roger Dingledine
e63211fad3 add tor-win32-mingw-creation.txt to the tarball too
svn:r8627
2006-10-07 01:37:23 +00:00
Roger Dingledine
6e6b821a71 start shipping path-spec.txt in the tarball
svn:r8626
2006-10-07 01:32:25 +00:00
Roger Dingledine
e67e174932 mark which relay cells are control cells.
svn:r8624
2006-10-07 01:10:57 +00:00
Roger Dingledine
06e5b2283c minor cleanups
svn:r8622
2006-10-07 00:50:39 +00:00
Roger Dingledine
d1b9de222e cleanups, closer to a changelog
svn:r8606
2006-10-06 07:50:57 +00:00
Roger Dingledine
8c11212317 more progress on the blocking-resistance design
svn:r8598
2006-10-05 06:13:06 +00:00
Nick Mathewson
50320ac420 r8862@totoro: nickm | 2006-10-03 14:54:14 -0400
Make verbose names get used (when appropriate and selected) in responses to getinfo requests.


svn:r8593
2006-10-03 19:00:18 +00:00
Nick Mathewson
f6774863b0 r8859@totoro: nickm | 2006-10-03 14:25:27 -0400
More about versioning. Also, cravenly postpone final v0 control protocol deprecation till 0.1.3.x.


svn:r8590
2006-10-03 19:00:01 +00:00
Nick Mathewson
3947a3ac30 r8858@totoro: nickm | 2006-10-03 14:20:40 -0400
Control-spec tweaks: add USEFEATURE, along with description of new naming scheme.


svn:r8589
2006-10-03 18:59:57 +00:00
Nick Mathewson
1ae7282d9b r8857@totoro: nickm | 2006-10-03 13:54:21 -0400
Implement ORCONN with verbose names.


svn:r8588
2006-10-03 18:59:52 +00:00
Nick Mathewson
c796adc7df r8840@totoro: nickm | 2006-10-02 15:56:16 -0400
Add USEFEATURE to control changes to control protocol.  Use like __future__ directive from Python.  Will spec before pushing changes. No, really. :)


svn:r8584
2006-10-03 18:58:52 +00:00
Nick Mathewson
6e0b90a902 r8838@totoro: nickm | 2006-10-02 15:24:39 -0400
Partial implementation of revised nickname syntax for controllers.  Implement ability to look up routers by "verbose" nicknames; add a per-v1-control-connection flag to turn the feature on in events.  Needs testing, spec, ability to actually turn on the flag, double-checking that we wont overflow any nickname buffers, and changelog.


svn:r8582
2006-10-03 18:58:40 +00:00
Nick Mathewson
14f9b537d1 r8835@totoro: nickm | 2006-10-02 12:54:41 -0400
Improve error messages from AUTHENTICATE attempts to controller.


svn:r8574
2006-10-02 18:08:46 +00:00
Roger Dingledine
a3efc8e3d1 - V1 authorities should set "HSAuthoritativeDir 1" to continue being
hidden service authorities too.
- Just because your DirPort is open doesn't mean people should be
  able to remotely teach you about hidden service descriptors. Now
  only accept rendezvous posts if you've got HSAuthoritativeDir set.


svn:r8573
2006-10-01 22:16:55 +00:00
Nick Mathewson
57ffca883d r8826@totoro: nickm | 2006-10-01 17:58:45 -0400
Disprefer exit nodes for entry, middle positions (fixes bug 200).  Also, switch to using a uint64_t to hold "total bandwidth for all nodes" under consideration; crypt_rand_int would have died at 2GB/s network capacity.


svn:r8571
2006-10-01 21:59:09 +00:00
Nick Mathewson
f6e165ea01 r8824@totoro: nickm | 2006-10-01 17:35:55 -0400
note valid flag in path spec.


svn:r8569
2006-10-01 21:59:00 +00:00
Roger Dingledine
3fcf736c83 misc touchups
svn:r8568
2006-10-01 21:42:44 +00:00
Roger Dingledine
4200eb16f9 correct definition of Valid in dir-spec
svn:r8567
2006-10-01 21:32:46 +00:00
Nick Mathewson
ce72a9914e r8822@totoro: nickm | 2006-10-01 16:24:22 -0400
Fix bug 303: reject attempts to use Tor as a one-hop proxy.


svn:r8566
2006-10-01 20:50:11 +00:00
Roger Dingledine
c705d46df0 and document that change
svn:r8560
2006-10-01 06:43:06 +00:00
Roger Dingledine
6103077235 try to explain when we cannibalize circuits.
svn:r8557
2006-10-01 00:22:20 +00:00
Roger Dingledine
46e6509439 document predicted ports better.
svn:r8556
2006-10-01 00:00:23 +00:00
Nick Mathewson
723ff1c93d r8800@totoro: nickm | 2006-09-29 23:10:49 -0400
Resolve bug 336: When displaying circuit paths with non-named routers, use their digests, not their nicknames.


svn:r8548
2006-09-30 03:11:13 +00:00
Roger Dingledine
8af07e817e no: 'must not' is for things that actually break specified behavior.
'should not' is for things that you really oughtn't do, for your own
good or for others' own good.


svn:r8544
2006-09-29 22:39:08 +00:00
Roger Dingledine
984110c391 ask nick a question
svn:r8543
2006-09-29 22:36:35 +00:00
Nick Mathewson
7d366f61cb r9025@Kushana: nickm | 2006-09-29 18:33:13 -0400
Differentiate more duplicated log entries


svn:r8542
2006-09-29 22:33:40 +00:00
Nick Mathewson
8058a60838 r9019@Kushana: nickm | 2006-09-29 16:13:47 -0400
Add a pile of flyspray items to TODO so I notice them.  Yes, I said this was a stupid idea before, but I say stupid things all the time.


svn:r8537
2006-09-29 20:13:52 +00:00
Nick Mathewson
0335bd51d3 r9005@Kushana: nickm | 2006-09-29 10:37:55 -0400
Implement DESCCHANGED event to tell controller when our router descriptor changes.


svn:r8533
2006-09-29 18:13:25 +00:00
Nick Mathewson
17b878ee34 r9004@Kushana: nickm | 2006-09-29 10:37:10 -0400
Add version note about RELAY_BEGIN_DIR to spec.


svn:r8532
2006-09-29 18:13:21 +00:00
Nick Mathewson
623fc8c0e1 r9003@Kushana: nickm | 2006-09-29 10:36:05 -0400
Add DESCCHANGED event to control-spec; note that GETINFO dir/* has in fact been implemented.


svn:r8531
2006-09-29 18:13:16 +00:00
Nick Mathewson
8992bf6204 r8776@totoro: nickm | 2006-09-29 00:50:46 -0400
Reserve the nickname "Unnamed" for routers that can't pick a hostname; any
 router can call itself Unnamed; directory servers will never allocate Unnamed
 to any particular router; clients won't believe that any router is the
 canonical Unnamed.
 


svn:r8529
2006-09-29 04:51:28 +00:00
Nick Mathewson
4feccecfe8 r8775@totoro: nickm | 2006-09-29 00:29:02 -0400
Note that EnforceDistinctSubnets can override subnet rule for path generation.


svn:r8528
2006-09-29 04:51:23 +00:00
Nick Mathewson
9dbfb91f17 r8997@Kushana: nickm | 2006-09-28 23:40:22 -0400
[Needs review.] Add a BEGIN_DIR relay cell type for an easier
 in-protocol way to connect to directory servers through Tor.
 Previously, clients could only connect to director servers over Tor
 from exit nodes, but couldn't get directory information anonymously
 from a non-exit cache without getting a directory server involved.
 
 This needs testing, and needs client-side code to actually exercise it.
 


svn:r8527
2006-09-29 03:50:11 +00:00
Nick Mathewson
907fc6c73e r8977@Kushana: nickm | 2006-09-28 19:56:41 -0400
Make "is a v1 authority", "is a v2 authority", and "is a hidden service authority" into separate flags so we can eventually migrate more trust away from moria.


svn:r8523
2006-09-28 23:57:59 +00:00
Nick Mathewson
9988112c87 r8973@Kushana: nickm | 2006-09-28 16:53:19 -0400
Refactor entry guard status logic a lot; allow more factors [like not
 having a Guard flag or being listed in ExcludeNodes] to render a guard
 "unlisted" (now called "unusable"); track guard down status (now
 called "unreachable") separately from is_running.


svn:r8519
2006-09-28 23:57:44 +00:00
Roger Dingledine
7e4acf1655 begin to revise path-spec
svn:r8511
2006-09-28 15:03:01 +00:00
Roger Dingledine
3994b02c0e try a different fix
svn:r8506
2006-09-25 22:34:27 +00:00
Roger Dingledine
90a307bb2a tweaks
svn:r8505
2006-09-25 22:17:14 +00:00
Nick Mathewson
49ad1eefa1 Add an EnforceDistinctSubnets option so that clients who know what they are doing (mainly people with private testing networks) can disable our same-/16 detection.
svn:r8504
2006-09-25 22:12:54 +00:00
Roger Dingledine
c97a8469ad be clearer that the *ListenAddress directives can be
repeated multiple times.


svn:r8501
2006-09-25 17:33:53 +00:00
Roger Dingledine
ad430b9561 checkpoint changelog and general polishing
svn:r8497
2006-09-25 05:59:13 +00:00
Roger Dingledine
24b07ea4d3 potential fixes for the tor osx dmg documentation. hopefully
phobos can confirm or deny.


svn:r8493
2006-09-25 02:30:55 +00:00
Nick Mathewson
bf6c1f6932 Note on TODO to update our privoxy configs
svn:r8489
2006-09-24 21:52:42 +00:00
Roger Dingledine
b01632139a add a note to nick's todo item
svn:r8483
2006-09-24 17:53:09 +00:00
Nick Mathewson
564f2fae8c Add another TODO item
svn:r8480
2006-09-24 17:46:07 +00:00
Nick Mathewson
d3af1f2189 Backport candidate: Fix a long-standing server-side DNS bug. When a
client asks us to resolve (not connect to) an address, and we have a
cached answer, give them the cached answer.  Previously, we would give
them no answer at all.



svn:r8478
2006-09-24 17:05:00 +00:00
Nick Mathewson
a951c015fe Add packaging item to TODO: we should manage keys less haphazardly.
svn:r8476
2006-09-24 15:54:48 +00:00
Andrew Lewman
6882031285 Fix the url for the patch to libevent-1.1b mingw diff.
svn:r8474
2006-09-24 12:31:46 +00:00
Andrew Lewman
4125fe234d Changes to doc as a result of creating a MinGW tor.exe on a bare system.
Add two TODO items relating to MinGW instructions.


svn:r8472
2006-09-23 19:17:08 +00:00
Nick Mathewson
da7f9d5a33 r8911@Kushana: nickm | 2006-09-22 12:24:52 -0400
Make exitlist only output each result line once.


svn:r8466
2006-09-22 20:20:35 +00:00
Nick Mathewson
249ac6cff1 r8912@Kushana: nickm | 2006-09-22 16:18:51 -0400
Write more of path-spec.txt


svn:r8463
2006-09-22 20:19:34 +00:00
Nick Mathewson
0fe8544218 r8843@Kushana: nickm | 2006-09-17 16:57:20 -0400
A couple of last minor TODO cleanup items


svn:r8462
2006-09-22 20:18:58 +00:00
Roger Dingledine
aa77298819 remove 8888 as a long lived port. i can't remember why it's
on the list.


svn:r8461
2006-09-22 19:29:26 +00:00
Andrew Lewman
0440d98245 One last change to openssl to get it to compile in mingw.
svn:r8458
2006-09-22 15:37:52 +00:00
Andrew Lewman
66092df5c3 Finally, valid tor.exe directions from scratch with mingw.
svn:r8457
2006-09-22 15:08:05 +00:00
Andrew Lewman
c2e7e0374e Removed verbose patch output.
svn:r8455
2006-09-22 01:15:07 +00:00
Nick Mathewson
f0f3bbc63b r8901@Kushana: nickm | 2006-09-21 20:43:48 -0400
I tracked a bug in server-side reverse DNS to something concerning the caching code. Ive disabled server-side cacheing for reverse DNS answers for now, and I am noting the bug in the TODO.


svn:r8454
2006-09-22 00:45:08 +00:00
Nick Mathewson
213658f117 r8894@Kushana: nickm | 2006-09-21 18:30:42 -0400
Specify and implement SOCKS5 interface for reverse hostname lookup.


svn:r8451
2006-09-22 00:43:55 +00:00
Nick Mathewson
6a1746f98f r8877@Kushana: nickm | 2006-09-21 17:12:33 -0400
Consider non-exit servers unsuitable for RESOLVE commands.


svn:r8442
2006-09-21 21:48:42 +00:00
Nick Mathewson
e4a9b4de4e r8875@Kushana: nickm | 2006-09-21 16:46:28 -0400
Resolve bug 330: detect ISPs that want to hijack failing DNS requests and basically domain-squat the entire internet.


svn:r8440
2006-09-21 21:48:22 +00:00
Nick Mathewson
04bec67574 r8874@Kushana: nickm | 2006-09-21 15:22:27 -0400
Rename and document SearchDomains and ResolvConf options; warn if ServerDNSResolvConfFile is given but eventdns isnt enabled.


svn:r8439
2006-09-21 21:48:16 +00:00
Nick Mathewson
a942441615 r8872@Kushana: nickm | 2006-09-21 14:00:20 -0400
Implement server-side reverse DNS using eventdns.  Add an option to routerdescs so we can tell which servers have eventdns enabled.


svn:r8437
2006-09-21 21:48:06 +00:00
Nick Mathewson
7c325df016 r8841@Kushana: nickm | 2006-09-17 16:20:16 -0400
Move more todo items around


svn:r8411
2006-09-17 20:20:23 +00:00
Nick Mathewson
547624dcff r8837@Kushana: nickm | 2006-09-17 15:58:04 -0400
More TODO work; tenatively mark assignments.


svn:r8409
2006-09-17 19:58:24 +00:00
Roger Dingledine
d26306907a a few more todo changes
svn:r8408
2006-09-17 17:57:56 +00:00
Andrew Lewman
3b0355d3b2 Re-create symlinks through cp.
svn:r8406
2006-09-16 19:54:03 +00:00
Roger Dingledine
a51ec44466 avoid thrashing the bandwidth exercise when we change IPs a lot.
(we avoid simply by not doing any new tests when we change IPs --
it looks like we retain our previous bandwidth estimates, so there's
no need to do new exercise. though in some cases new exercises may
still be useful. one day we'll do something smarter.)


svn:r8402
2006-09-15 18:03:53 +00:00
Roger Dingledine
eb941420fc two todo items
svn:r8401
2006-09-15 06:06:09 +00:00
Nick Mathewson
e58b9c1151 r8819@Kushana: nickm | 2006-09-15 00:27:45 -0400
Implement a smartlist_uniq() that will with luck not end the world.


svn:r8396
2006-09-15 04:27:58 +00:00
Roger Dingledine
9d0fbfd530 we should add a preamble to tor-design saying it's out of date.
svn:r8393
2006-09-14 05:49:03 +00:00
Peter Palfrader
e20704e9c9 r9759@danube: weasel | 2006-09-14 07:14:37 +0200
Add smartlist_uniq() to TODO list


svn:r8392
2006-09-14 05:17:12 +00:00