Commit Graph

413 Commits

Author SHA1 Message Date
Nick Mathewson
ebf6476e8e Provide dire warnings to any users who set DirServer; move it out of torrc.sample and into torrc.complete.
svn:r5132
2005-09-23 20:44:22 +00:00
Nick Mathewson
cdc912714e I love the smell of C in the morning. Make router-download rules smarter (download more so long as we dont duplicate existing requests; relaunch at staggered intervals); relaunch one a minute or on failure; reset 60 minutes; always open 3 requests if we can; add authority opinion to networkstatus; make naming rule correct. There is a remaining bug where we retry servers too quickly; We need to look at that harder.
svn:r5110
2005-09-22 06:34:29 +00:00
Nick Mathewson
f411dd8d3a Move items from meeting into dir-spec and TODO.
svn:r5102
2005-09-21 04:02:54 +00:00
Roger Dingledine
9fa3a4a5e4 a few more todo items done
svn:r5096
2005-09-20 19:30:48 +00:00
Nick Mathewson
d118d5069a Prevent a "try forever to download an unobtainable descriptor" bug. Still remaining: the "give up forever" bug.
svn:r5090
2005-09-18 02:51:12 +00:00
Nick Mathewson
f859e34fb9 add a couple of directory items
svn:r5084
2005-09-16 16:47:34 +00:00
Nick Mathewson
e72e76cad6 Make authdirs smarter. Reject/invalidate by key and IP. Remember that not every authdir has to be a naming authdir.
svn:r5074
2005-09-15 14:39:05 +00:00
Nick Mathewson
b16048917c Stop downloading directories and download routers instead. This still needs some work, but at last clients are finally on the new architecture. Next comes the tuning and bugfixing.
svn:r5070
2005-09-15 05:19:38 +00:00
Nick Mathewson
e3adcbdb95 Big commit: clients start downloading and using network-statuses.
Only caches need to get running-routers; nobody needs to parse, store,
or use it.  Same for the router-status line in the directories.  Add
many #if 0's that can get removed once I'm convinced they don't
contain anything I'm forgetting.

Start all newly-parsed routers as non-running and non-valid; update
them from the list of network statuses.

Update all routers when a new networkstatus comes in.

After 3 tries for a networkstatus, clients give up until they're told
to try again.

     "Let's get those missles ready to **DESTROY THE UNIVERSE**!"
				-TMBG


svn:r5063
2005-09-14 21:09:25 +00:00
Nick Mathewson
0119f554da update directory todos
svn:r5052
2005-09-14 04:04:35 +00:00
Roger Dingledine
8c3f0dfe09 update todo a bit
svn:r5049
2005-09-14 03:45:03 +00:00
Roger Dingledine
41bdb5e9f8 clean up the server docs for ulimit -n
svn:r5036
2005-09-13 22:00:03 +00:00
Roger Dingledine
6e6f1d07da two more bugs we should fix
svn:r4993
2005-09-10 21:12:40 +00:00
Roger Dingledine
3d0394cdc6 add another todo item
svn:r4979
2005-09-10 01:09:00 +00:00
Nick Mathewson
ef75fd5a63 Update item status: note future work on client directory handling
svn:r4957
2005-09-08 22:06:58 +00:00
Nick Mathewson
5c6c88e76d More stuff for new directories.
- Distinguish v1 authorities (all currently trusted directories) from
  v2 authorities (all trusted directories).
    - Add configuration option for which dirs are v1 authories.
    - Add configuration option for whether to be a v1 authority.
    - Make trusted dirserver selection functions take options to
      choose which functionality we need.
    - Remove option when getting directory cache to see whether they
      support running-routers; they all do now.  Replace it with one
      to see whether caches support v2 stuff.

- Parse, cache, and serve network-status objects properly.

- Serve compressed groups of router descriptors.  The compression logic
  here could be more memory-efficient.

-


svn:r4911
2005-09-07 16:42:53 +00:00
Nick Mathewson
78c01a95b5 Describe approach to downloading status documents; update TODO a bit
svn:r4899
2005-09-02 20:46:44 +00:00
Nick Mathewson
c6c403e156 First cut at cleaning 0.1.1.x TODO
svn:r4879
2005-08-27 03:20:51 +00:00
Nick Mathewson
54a6a8f0ef Start implementing the server side of the new directory protocol.
Probably very buggy, since I can't actually run an authdir.

Features
- Generate and publish new network-status format
- Code to cache and re-serve network-status objects generated by others.
- Publish individual descriptors (by fingerprint, by "all", and by
  "tell me yours.")  [Still needs compression logic]
- Publish client and server recommended versions seprately.
- Add digest of descriptor to routerinfo_t, so we can track them better, and
  length, so we can server them more easily.

Cleanups
- Unify code to sign directory-like things
- Make resolve_my_address() able to tell you which name it wound up resolving.
- Unify code to store and serve directory-like things so it all uses
  cached_dir_t.
- Unify code to set the value of cached_dir_t objects.


svn:r4835
2005-08-25 20:33:17 +00:00
Roger Dingledine
7b5be0210a add some more todo items, and mark off a few
svn:r4830
2005-08-24 02:37:55 +00:00
Roger Dingledine
0a45058d0d prod at the 0.1.1.x todo items
svn:r4822
2005-08-23 07:36:55 +00:00
Roger Dingledine
0b0dce4534 remove most 0.1.0.x todo items
svn:r4821
2005-08-23 07:20:00 +00:00
Nick Mathewson
dc09c7fc73 Implement new (reduced-frequency) upload rules. arma, you should review this.
svn:r4806
2005-08-22 03:10:53 +00:00
Nick Mathewson
249b72f53e Replace (Fascist)Firewall* with a new ReachableAddresses option that understands address policies.
svn:r4751
2005-08-08 21:58:48 +00:00
Nick Mathewson
01d0788950 Generalize FirewallPorts to FirewallIPs so I can run happily when locked in net 18.
svn:r4737
2005-08-07 21:24:00 +00:00
Nick Mathewson
35b04df4fd Document helper node options
svn:r4715
2005-08-05 01:40:10 +00:00
Nick Mathewson
4cb89fd557 Implement some more GETINFO goodness: expose helper nodes, config options, getinfo keys.
svn:r4694
2005-08-04 19:56:41 +00:00
Nick Mathewson
e9698eaefa Claim some items.
svn:r4690
2005-08-04 18:23:21 +00:00
Nick Mathewson
c252a76f0b Parameterize configuration parsing functions
svn:r4635
2005-07-22 20:37:42 +00:00
Nick Mathewson
5621ccc962 Note item status; add persistence task
svn:r4634
2005-07-22 17:34:10 +00:00
Nick Mathewson
76a6cec3f1 add work for today to TODO
svn:r4631
2005-07-22 14:54:37 +00:00
Nick Mathewson
550ec09ffa checkpoint new directory document. needs way more expermients. probably ok.
svn:r4626
2005-07-21 07:57:31 +00:00
Nick Mathewson
85edc6ccf4 move some items from the tor-ctl TODO into the main TODO; mark some controller items done.
svn:r4559
2005-07-14 20:53:30 +00:00
Nick Mathewson
b5b138562c Mark a few bugs as done or as nonstarters
svn:r4510
2005-06-30 07:19:20 +00:00
Nick Mathewson
8fd197c687 Update rendezvous fix status; add more items to TODO
svn:r4507
2005-06-29 21:51:30 +00:00
Nick Mathewson
2aff87caae Load hardware acceleration options when/where available. Can anybody test this?
svn:r4467
2005-06-20 18:56:35 +00:00
Nick Mathewson
e1e246fa78 Be more clear about fixing unknown rendezvous points. (ow)
svn:r4465
2005-06-20 00:10:31 +00:00
Nick Mathewson
d2d934cc10 update TODO
svn:r4462
2005-06-19 22:39:14 +00:00
Nick Mathewson
64fc1f7bae Implement all the rest of the new controller protocol, debug a little, add some new features, add ADDRMAP events.
svn:r4460
2005-06-19 20:40:41 +00:00
Nick Mathewson
53ea9e54e7 Update some item status
svn:r4448
2005-06-17 18:54:06 +00:00
Nick Mathewson
2b8fd9ceda Allow a few EINVALs from libevent before dying. Warn on kqueue with libevent before 1.1a
svn:r4419
2005-06-13 00:35:19 +00:00
Andrew Lewman
a05387bcf4 TODO: strippd out volunteer items
svn:r4416
2005-06-12 02:16:27 +00:00
Nick Mathewson
986166be99 Dispose the last XXXXX item in TODO
svn:r4405
2005-06-11 05:37:59 +00:00
Nick Mathewson
691265df0c Dispose of most remaining XXXXX items in TODO
svn:r4403
2005-06-11 05:25:21 +00:00
Nick Mathewson
e5c7e0aae4 eviscerate TODO and stitch it together into a far more attractive, albeit slightly less organic, creature
svn:r4402
2005-06-11 04:38:12 +00:00
Roger Dingledine
a3e5aa2d84 move todo items around; make 0.1.1.x more ambitious; we'd best get cracking
svn:r4394
2005-06-10 06:30:11 +00:00
Roger Dingledine
595376585e more todo items
svn:r4390
2005-06-09 23:58:57 +00:00
Nick Mathewson
00b75791c4 Update TODO status
svn:r4385
2005-06-09 20:20:36 +00:00
Andrew Lewman
4a08bb8926 TODO: fixed the latest tasks, and added in window's doc stuff
svn:r4379
2005-06-09 17:35:27 +00:00
Roger Dingledine
0a234af465 abandon two 010x items
svn:r4377
2005-06-09 11:24:24 +00:00
Andrew Lewman
497dee97ca modified task - find 10 dirservers
svn:r4362
2005-06-09 01:59:48 +00:00
Andrew Lewman
64b7a2c335 removed mailing list to do for website
svn:r4361
2005-06-09 01:57:11 +00:00
Nick Mathewson
bab2643b78 Update item status
svn:r4359
2005-06-08 21:47:42 +00:00
Roger Dingledine
eb11b8132f more todo
svn:r4358
2005-06-08 21:22:36 +00:00
Roger Dingledine
a3e964b073 update todo a bit more
svn:r4347
2005-06-08 17:22:09 +00:00
Nick Mathewson
3d602f6ed6 Note item status
svn:r4345
2005-06-08 13:54:02 +00:00
Andrew Lewman
f5fd5d920d TODO: took some tasks to complete.
svn:r4342
2005-06-08 02:10:20 +00:00
Andrew Lewman
b0e7d05c50 TODO: cleaned up duplicates, moved some tasks from uncategorized into
valid sections.


svn:r4341
2005-06-08 02:08:19 +00:00
Andrew Lewman
e7da1d170a TODO: Added in random to do list of arma and phobos.
svn:r4340
2005-06-08 01:35:21 +00:00
Roger Dingledine
ff28c48759 another 011x item
svn:r4339
2005-06-07 21:16:45 +00:00
Nick Mathewson
345e7425e5 Summarize remaining 0.1.0.x items
svn:r4338
2005-06-07 21:14:51 +00:00
Roger Dingledine
c4b8cf8230 tentative 0.1.1.x todo list
svn:r4337
2005-06-07 20:48:47 +00:00
Roger Dingledine
199ebf0760 clean up todo a bit more
svn:r4214
2005-05-15 00:51:11 +00:00
Roger Dingledine
e132daaff8 clean out the todo, add a few items.
svn:r4136
2005-04-27 05:05:50 +00:00
Roger Dingledine
26b4bb9d0c add a few items to the todo
svn:r4061
2005-04-08 06:15:47 +00:00
Roger Dingledine
01718369e4 take some items off the todo
svn:r4005
2005-04-04 04:09:34 +00:00
Nick Mathewson
bc668233ad Improve error msgs in tor-resolve.c; resolve bug 112
svn:r3947
2005-04-01 07:04:40 +00:00
Roger Dingledine
ee24166851 update todo a bit more
svn:r3893
2005-03-27 05:13:58 +00:00
Nick Mathewson
c5845c1784 Remind us to fwd-port accept fix.
svn:r3878
2005-03-25 20:51:47 +00:00
Nick Mathewson
7521f2d58a Move some TODO items out of the 0.1.0.1-rc pile
svn:r3851
2005-03-24 01:12:38 +00:00
Nick Mathewson
6e4bccc4ac Make GETINFO for "network-status" work on non-authdirs
svn:r3837
2005-03-23 19:15:10 +00:00
Nick Mathewson
291548c4e4 Note that GETINFO (via the controller) for network-status will not work on non-authdirectories right now.
svn:r3835
2005-03-23 08:39:21 +00:00
Nick Mathewson
7a0072cc1a Specify and implement close-stream and close-circuit control messages
svn:r3814
2005-03-22 19:36:38 +00:00
Nick Mathewson
ec81f87018 Implement an option to cap bandwidth-to-advertise. Arma: can you improve the manpage entry by explaining why you would want to do this?
svn:r3813
2005-03-22 19:01:46 +00:00
Nick Mathewson
2d40991427 Report HTTP reasons to directory clients. (Also, fix format on new TODO items)
svn:r3811
2005-03-22 18:43:24 +00:00
Roger Dingledine
8f9634345d write down some more concerns/thoughts
svn:r3804
2005-03-22 05:19:44 +00:00
Nick Mathewson
c92c045afc add an item
svn:r3803
2005-03-22 05:18:44 +00:00
Roger Dingledine
f194b716c7 getting closer to 0.1.0.1-rc
svn:r3800
2005-03-22 01:55:37 +00:00
Nick Mathewson
11aa682812 Split version info into separate spec doc.
svn:r3783
2005-03-19 05:07:19 +00:00
Roger Dingledine
5c59ec8e1b things roger needs to do for 0.1.0.1-rc
svn:r3782
2005-03-19 05:06:22 +00:00
Nick Mathewson
19b4dbc6d2 Note version documentation is finished in the TODO. Roger--should this be someplace else too?
svn:r3779
2005-03-18 23:23:25 +00:00
Nick Mathewson
2e9d971dec Correct documentation wrt versions; where files go; and default behavior of osx installer. Can somebody with good html fu improve my table?
svn:r3778
2005-03-18 23:09:29 +00:00
Nick Mathewson
59653fea45 Make OS X log happily to /var/log/Tor
svn:r3775
2005-03-18 21:45:36 +00:00
Nick Mathewson
df9c8feac7 Commit fixes for several pending tor core tasks: document all DOCDOCed functions; time out uncontrolled unattached streams; feed reasons to SOCKS5 (refactoring connection_ap_handshake_socks_reply in the process); change DirFetchPeriod/StatusFetchPeriod to have a special "Be smart" value.
svn:r3769
2005-03-17 12:38:37 +00:00
Nick Mathewson
fd150459b3 Raise common code for "detach this stream and try it with a different circuit" into a separate function; make that function handle controller-managed streams right.
svn:r3756
2005-03-14 03:12:59 +00:00
Roger Dingledine
a6b742dfb2 and put ShutdownWaitLength in man page
svn:r3754
2005-03-12 20:18:38 +00:00
Nick Mathewson
115271f65e Implement the common case of ATTACHSTREAM.
svn:r3751
2005-03-12 04:22:01 +00:00
Nick Mathewson
49dd5e7439 add another item to TODO
svn:r3748
2005-03-11 21:49:29 +00:00
Nick Mathewson
71a3560c72 expand a couple of items
svn:r3747
2005-03-11 21:42:45 +00:00
Nick Mathewson
c185825585 Finish implementing GETINFO; make it easy to query address maps.
svn:r3732
2005-03-03 06:37:54 +00:00
Nick Mathewson
f90ccf5648 Implement new controller events for changed descriptors and new (not-yet-attached) streams.
svn:r3731
2005-03-02 22:29:58 +00:00
Nick Mathewson
5f8e2c2bc4 Rename unused-address functions to virtual address; this is more accurate. Also, include almost-right implementation of reusing dont-care mappings. (It is still kind of wrong because it does not take type into account.)
svn:r3728
2005-03-02 21:02:11 +00:00
Nick Mathewson
b494c2223d Specify and implement fragmented control messages to allow for (among other things) long GETINFO replies. Otherwise we could hit the 64K barrier on questions like "please dump your client-side DNS cache."
svn:r3726
2005-03-02 20:22:10 +00:00
Nick Mathewson
65230fd39f Implement "Dont-Care" from addresses to MapAddress control message. For safety, refuse to launch connections to unmapped addresses in the dont-care range.
svn:r3725
2005-03-02 19:26:46 +00:00
Nick Mathewson
e14f812a67 Still more code to make sure we send the right number and kind of RELAY END cells
svn:r3723
2005-03-02 03:13:05 +00:00
Nick Mathewson
afe414f070 Revise all calls to connection_edge_end to avoid sending MISC, and to take errno into account where possible.
svn:r3720
2005-03-01 22:42:31 +00:00
Nick Mathewson
4ddf768a4f Forward-port new reasons; clean up code more; add code to convert new reasons to SOCKS5 reply codes; add code to convert errnos to reasons. New code still needs to get invoked.
svn:r3719
2005-03-01 22:16:15 +00:00
Nick Mathewson
83743d64ab Change version parsing logic: a version is "obsolete" if it is not recommended and (1) there is a newer recommended version in the same series, or (2) there are no recommended versions in the same series, but there are some recommended versions in a newer series. A version is "new" if it is newer than any recommended version in the same series.
svn:r3716
2005-03-01 01:44:57 +00:00
Roger Dingledine
331badb6ef update todo
svn:r3713
2005-02-28 18:43:20 +00:00
Nick Mathewson
8efb2a957d Make sure that router_get_by_* can always return "me"
svn:r3702
2005-02-27 07:23:42 +00:00