Commit Graph

1575 Commits

Author SHA1 Message Date
Nick Mathewson 12af87539b r9303@Kushana: nickm | 2006-10-20 12:07:34 -0400
Start implementing reason extension for stream events to match the one one used by circuit events. (Not a complete implementation yet; actual reasons are not passed to control.c)


svn:r8777
2006-10-20 17:54:36 +00:00
Nick Mathewson e5f064c983 r9290@31-35-219: nickm | 2006-10-20 10:32:33 -0400
Add a GETINFO target so controllers can ask Tor for the current state of a router.  (Results given in networkstatus format.)


svn:r8772
2006-10-20 14:58:29 +00:00
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