Commit Graph

2186 Commits

Author SHA1 Message Date
Roger Dingledine
2df9bb937d clean up the cookieauth stuff
svn:r11146
2007-08-16 19:27:31 +00:00
Nick Mathewson
718953dbe9 r14606@catbus: nickm | 2007-08-16 13:45:01 -0400
Implement CookieAuthFile and CookieAuthFileGroupReadable.  Backport candidate.


svn:r11141
2007-08-16 17:46:01 +00:00
Nick Mathewson
f4398feadb r14600@catbus: nickm | 2007-08-16 13:30:22 -0400
Implement proposal 119. Backport candidate.


svn:r11138
2007-08-16 17:31:23 +00:00
Nick Mathewson
b89efa7705 r14596@catbus: nickm | 2007-08-16 12:56:18 -0400
Patches to proposal 119 as described on or-dev.  Mark 119 as "Accepted"


svn:r11137
2007-08-16 16:57:19 +00:00
Nick Mathewson
d945038c05 r14581@catbus: nickm | 2007-08-15 16:46:42 -0400
Correct GETINFO guard-nodes spec based on comments from pei hanru.


svn:r11128
2007-08-15 20:47:42 +00:00
Nick Mathewson
4135c68853 r14049@Kushana: nickm | 2007-08-15 14:43:56 -0400
Implement code to serve pending votes, consensuses, and signatures.


svn:r11125
2007-08-15 19:55:52 +00:00
Roger Dingledine
93375d9a84 commit proposal 120: Suicide descriptors when Tor servers stop
svn:r11115
2007-08-15 13:37:33 +00:00
Nick Mathewson
484a580698 r14028@Kushana: nickm | 2007-08-14 17:07:51 -0400
Implement cert-retrieval URLs. (Also, update TODO)


svn:r11112
2007-08-14 21:09:30 +00:00
Nick Mathewson
9a30f8ba0e r14021@Kushana: nickm | 2007-08-14 16:16:58 -0400
Document http status codes


svn:r11111
2007-08-14 20:20:06 +00:00
Nick Mathewson
42fa1de585 r14017@Kushana: nickm | 2007-08-14 15:13:14 -0400
Enable more code for v3 voting timing information.  Also, spec clarification.


svn:r11107
2007-08-14 20:19:40 +00:00
Roger Dingledine
8839d57ab5 add draft 119-controlport-auth proposal
svn:r11106
2007-08-14 17:51:58 +00:00
Nick Mathewson
ce1f01c3e6 r14531@catbus: nickm | 2007-08-13 14:46:25 -0400
Cache v3 networkstatus consensuses on disk.


svn:r11086
2007-08-13 18:47:22 +00:00
Nick Mathewson
f3e9dceaa9 r14530@catbus: nickm | 2007-08-13 14:32:37 -0400
Prune some completed items from the TODO


svn:r11085
2007-08-13 18:47:17 +00:00
Nick Mathewson
629478db68 r14528@catbus: nickm | 2007-08-13 14:23:02 -0400
Add a HOWTO about testing v3 authority code.


svn:r11084
2007-08-13 18:23:57 +00:00
Roger Dingledine
81d1b67990 add a sketch for an 'advertising multiple orports' proposal
svn:r11082
2007-08-13 13:36:32 +00:00
Karsten Loesing
7f06363e3a updated implementation statuses, included non-consecutive replication to descriptor format
svn:r11080
2007-08-11 22:33:42 +00:00
Nick Mathewson
080ab832c7 r13952@Kushana: nickm | 2007-08-08 07:40:04 -0700
Note *how* obsolete v0 really is.


svn:r11064
2007-08-08 14:43:25 +00:00
Roger Dingledine
2da9873069 eventdns is on by default in current alpha and current stable,
so no need to specify it explicitly. i think.


svn:r11055
2007-08-08 00:16:53 +00:00
Roger Dingledine
a92f1d470a tell proposal 110 its proposal number
svn:r11054
2007-08-07 22:09:09 +00:00
Roger Dingledine
1679784b5c christian tells me that a student of his is working on implementing
proposal 110 this summer


svn:r11047
2007-08-05 00:13:50 +00:00
Roger Dingledine
500899cc53 backward compatibility with control protocol v0 no longer specified
to work


svn:r11040
2007-08-02 21:18:26 +00:00
Nick Mathewson
66bdb8cd12 r13920@Kushana: nickm | 2007-08-02 11:00:05 -0700
Document new authentication behavior in control-spec.txt


svn:r11039
2007-08-02 21:04:00 +00:00
Roger Dingledine
aec67169a6 fix a typo in the blocking paper
svn:r11021
2007-08-02 04:48:58 +00:00
Nick Mathewson
34a3a5e2f4 r14016@catbus: nickm | 2007-07-30 13:45:55 -0400
More documentation


svn:r10992
2007-07-30 17:46:14 +00:00
Roger Dingledine
c7901354fb a few more done todo items
svn:r10983
2007-07-30 06:18:56 +00:00
Nick Mathewson
77508edd36 r13989@catbus: nickm | 2007-07-29 19:11:07 -0400
More directory voting code.  Now, if everything works, and I haven't forgotten anything, it is possible to set up some v3 authorities and start voting. Of course, I have probably forgotten something, and there are probably bugs in there somewhere too.


svn:r10976
2007-07-29 23:11:44 +00:00
Roger Dingledine
ca7c53d3cc Be even more aggressive about separating local traffic from relayed
traffic when RelayBandwidthRate is set. (Refines proposal 111.)


svn:r10974
2007-07-29 22:13:44 +00:00
Roger Dingledine
70f1c25729 now that i hunted these command-lines down, let's keep them for
posterity.


svn:r10973
2007-07-29 22:13:08 +00:00
Nick Mathewson
9031bbd4d8 r13982@catbus: nickm | 2007-07-29 01:31:53 -0400
Actually, we missed a rule about what routers to prefer: first prefer authority to non-authority, *then* running, *then* bandwidth.


svn:r10969
2007-07-29 05:32:03 +00:00
Nick Mathewson
1b665b3c7e r13979@catbus: nickm | 2007-07-29 01:20:20 -0400
Implement proposal 109:  As an authority, never call more than 3 servers per IP Running and Valid.  Prefer Running servers to non-running ones; then prefer high-bandwidth to low-bandwidth.  Needs testing.


svn:r10968
2007-07-29 05:20:31 +00:00
Nick Mathewson
afcc3a4785 r13977@catbus: nickm | 2007-07-29 00:09:52 -0400
Add compatibility note to control-spec.txt


svn:r10966
2007-07-29 04:10:05 +00:00
Nick Mathewson
964e4a305d r13972@catbus: nickm | 2007-07-29 00:01:38 -0400
Make our control events for multi-line async replies conform to our old grammar.  Change back to the old grammar (which got "corrected" in r10931).


svn:r10964
2007-07-29 04:03:25 +00:00
Nick Mathewson
d2adb68ed6 r13963@catbus: nickm | 2007-07-28 22:53:32 -0400
Add support for signature upload


svn:r10962
2007-07-29 02:55:21 +00:00
Nick Mathewson
76a408941c r13959@catbus: nickm | 2007-07-28 18:09:56 -0400
Use the correct formula to calculate exit weights.


svn:r10956
2007-07-28 22:14:39 +00:00
Nick Mathewson
afe9f33d35 r13956@catbus: nickm | 2007-07-27 20:09:48 -0400
Better certificate manipulations: extract certificates from incoming votes, forget ones that are very old, and remember to store them on disk.


svn:r10954
2007-07-28 00:11:34 +00:00
Nick Mathewson
51c734384a r13948@catbus: nickm | 2007-07-27 18:09:02 -0400
Add to the TODO as starred items all the things we need to do in order to get authorities voting (not too robustly, bare-minimum).


svn:r10950
2007-07-27 22:09:08 +00:00
Nick Mathewson
5b82188333 r13906@catbus: nickm | 2007-07-25 18:49:50 -0400
Patch from tup: correct grammar for asynchonous reply lines in control-spec.txt


svn:r10931
2007-07-25 22:56:58 +00:00
Nick Mathewson
a8821e2d82 r13905@catbus: nickm | 2007-07-25 18:48:44 -0400
ADDRMAP events should never have specified local time.  Extend them to have the proper gmt time, and make GETINFO address-mappings always do the right thing (since it is new in this version).


svn:r10930
2007-07-25 22:56:54 +00:00
Roger Dingledine
83f605f2e3 clarify that when we say 'above the median' we mean 'at least
the median'


svn:r10899
2007-07-22 00:50:28 +00:00
Roger Dingledine
56d3119581 Directory authorities now call routers Fast if their bandwidth is
at least 100KB/s, and consider their bandwidth adequate to be a
Guard if it is at least 250KB/s. This fix complements proposal
107. [Bugfix on 0.1.2.x]


svn:r10897
2007-07-21 23:40:55 +00:00
Nick Mathewson
9bfe9cfb40 r13854@catbus: nickm | 2007-07-20 13:40:45 -0400
Patches to proposal 117 from coderman (from or-dev, 18 Jun)


svn:r10892
2007-07-20 17:40:49 +00:00
Roger Dingledine
9fd726b559 two more bugs i should keep track of
svn:r10868
2007-07-18 10:53:43 +00:00
Roger Dingledine
50487c249d timeout and retry schedules for fetching bridge descriptors
svn:r10867
2007-07-18 10:06:03 +00:00
Nick Mathewson
670db47e1b r13801@catbus: nickm | 2007-07-17 13:49:12 -0400
More tweaks to dir-spec.txt; not complete, but closing in.


svn:r10856
2007-07-17 17:49:16 +00:00
Nick Mathewson
26a25edaec r13777@catbus: nickm | 2007-07-16 12:58:08 -0400
Patch from tup: new address-mappings/ GETINFO that includes expiry times.


svn:r10844
2007-07-16 16:58:11 +00:00
Nick Mathewson
483c1e9017 r13774@catbus: nickm | 2007-07-16 12:23:28 -0400
Tweaks on constrained socket buffers patch from coderman: Add a changelog; rename some variables; fix some long lines and whitespace; make ConstrainedSockSize a memunit; pass setsockopt a void.


svn:r10843
2007-07-16 16:23:36 +00:00
Nick Mathewson
f4a6673758 r13773@catbus: nickm | 2007-07-16 11:58:25 -0400
Initial "constrained socket buffers" patch from coderman. needs tweaking.


svn:r10842
2007-07-16 16:23:34 +00:00
Andrew Lewman
76c5fbfe28 eventdns seems to run fine on osx, rpm-based linuxes, and win32.
Include it in the build instructions.


svn:r10826
2007-07-14 02:32:19 +00:00
Roger Dingledine
8ad4b8a640 some cleanups on phrasing in proposal 114
svn:r10821
2007-07-12 18:06:13 +00:00
Nick Mathewson
656b7761a8 r13730@catbus: nickm | 2007-07-12 12:32:40 -0400
Patch from lodger: avoid roundoff-error-induced crash bugs when picking routers by bandwidth.
 Also, remove listed backports for 0.1.2.x; that list is now in TODO.012


svn:r10812
2007-07-12 16:34:45 +00:00
Roger Dingledine
6ade658732 admit that our rend spec was lying. sorry karsten!
svn:r10798
2007-07-12 15:27:52 +00:00
Roger Dingledine
706fad08fa vague fuzzy bug reports so i don't forget them
svn:r10797
2007-07-12 15:24:56 +00:00
Nick Mathewson
4325fc5e83 r13674@catbus: nickm | 2007-07-10 13:27:30 -0400
Re-wrap proposal 117 so it fits in 80 columns.


svn:r10784
2007-07-10 17:27:33 +00:00
Nick Mathewson
81083cf0ce r13672@catbus: nickm | 2007-07-10 13:17:08 -0400
Add IPv6 exit proposal from coderman.


svn:r10783
2007-07-10 17:17:14 +00:00
Nick Mathewson
a8465adaa2 r13667@catbus: nickm | 2007-07-10 13:12:52 -0400
Patch from tup: add GETINFO status/enough-dir-info


svn:r10782
2007-07-10 17:14:55 +00:00
Nick Mathewson
74711479eb r13666@catbus: nickm | 2007-07-10 13:10:00 -0400
Get the RESOLVE controller code working.


svn:r10781
2007-07-10 17:14:51 +00:00
Karsten Loesing
ef246793d3 incorporated suggestions by Roger, added status of specification and implementation for upcoming GSoC mid-term evaluation
svn:r10773
2007-07-09 14:54:48 +00:00
Nick Mathewson
92b0fc2e53 r13451@kushana: nickm | 2007-06-20 09:43:26 -0400
Fix typos and clarify points in dir-spec. Patch from Karsten.


svn:r10736
2007-07-05 14:49:57 +00:00
Roger Dingledine
5c1daed3ad the non-controversial changes i found in my sandbox
svn:r10729
2007-07-02 22:07:53 +00:00
Nick Mathewson
b092f7f8d2 r13594@catbus: nickm | 2007-07-02 15:53:35 -0400
dir-spec.txt clarifications suggested by Lee Fisher.


svn:r10725
2007-07-02 19:53:57 +00:00
Andrew Lewman
fd1cd75d22 Added some todo items from PET2007
svn:r10689
2007-06-28 04:32:12 +00:00
Paul Syverson
0babf39216 Add an ack
svn:r10688
2007-06-27 22:44:18 +00:00
Paul Syverson
94847ceb3e Minor edits suggested by Susan Landau
svn:r10686
2007-06-27 20:52:42 +00:00
Karsten Loesing
c045c8909d set svn properties
svn:r10685
2007-06-26 21:57:09 +00:00
Nick Mathewson
be069d3cd1 r13524@catbus: nickm | 2007-06-26 17:48:39 -0400
Update 108 based on conversation with Roger.  I think this is the version to build.


svn:r10684
2007-06-26 21:48:42 +00:00
Nick Mathewson
986df49950 r13522@catbus: nickm | 2007-06-26 17:37:43 -0400
Add proposal 116 from Mike Lieberman: Two hop paths from entry guards.


svn:r10683
2007-06-26 21:40:19 +00:00
Nick Mathewson
d828915136 r13463@catbus: nickm | 2007-06-17 11:10:17 -0400
Add a SOURCE_ADDR field to STREAM NEW events so that controllers can match requests to applications. (Patch from Robert Hogan.)


svn:r10639
2007-06-17 15:10:51 +00:00
Nick Mathewson
f15df2d837 r13437@catbus: nickm | 2007-06-15 14:29:56 -0400
Incorporate comments [from april, ugh] into proposal 108.


svn:r10636
2007-06-17 15:10:40 +00:00
Nick Mathewson
5d68fc1075 r13419@catbus: nickm | 2007-06-14 14:05:17 -0400
Clarify some rules about 


svn:r10635
2007-06-17 15:10:27 +00:00
Karsten Loesing
547073bedc unified svn properties and keywords for proposals and address spec
svn:r10625
2007-06-16 23:23:19 +00:00
Karsten Loesing
702011b151 last attempt before reading the manual
svn:r10622
2007-06-16 22:37:23 +00:00
Karsten Loesing
0bd4364277 attempt to fix revision and date tags
svn:r10620
2007-06-16 22:25:47 +00:00
Roger Dingledine
cfc6b4e074 update the todo, primarily with bridge-related stuff but
also list some dirserv behaviors we should document


svn:r10606
2007-06-15 04:14:01 +00:00
Paul Syverson
4398a09910 Change suggestions from our editor
svn:r10603
2007-06-14 21:05:28 +00:00
Roger Dingledine
89b7021a8b fix a few typos and clarify one point. i hope we have
an editor who actually edits, rather than the traditional
academic role of editors.

but in any case, it'll do. great.


svn:r10581
2007-06-13 10:06:19 +00:00
Roger Dingledine
26b9411513 a few more funding details without being too verbose
svn:r10580
2007-06-13 09:50:39 +00:00
Roger Dingledine
75c119119a fix our affiliations and url
svn:r10577
2007-06-12 21:08:21 +00:00
Paul Syverson
44fb277aae D'oh URL typo.
svn:r10576
2007-06-12 21:00:29 +00:00
Paul Syverson
e4cea55d76 Forgot to update the network size numbers before committing
svn:r10575
2007-06-12 20:45:52 +00:00
Paul Syverson
fb98afe6ed candidate S&P magazine article
svn:r10574
2007-06-12 20:43:21 +00:00
Roger Dingledine
af658b7828 More work towards making bridge users able to connect via bridges:
- demand options->Bridges and options->TunnelDirConns if 
    options->UseBridges is set.
  - after directory fetches, accept descriptors that aren't referenced by
    our networkstatuses, *if* they're for a configured bridge.
  - delay directory fetching until we have at least one bridge descriptor.
  - learn how to build a one-hop circuit when we have neither routerinfo
    nor routerstatus for our destination.
  - teach directory connections how to pick a bridge as the destination
    directory when doing non-anonymous fetches.
  - tolerate directory commands for which the dir_port is 0.
  - remember descriptors when the requested_resource was "authority", 
    rather than just ignoring them.
  - put bridges on our entry_guards list once we have a descriptor for them.
    When UseBridges is set, only pick entry guards that are bridges. Else
    vice versa.


svn:r10571
2007-06-12 09:17:23 +00:00
Nick Mathewson
81cb092004 r13366@catbus: nickm | 2007-06-11 20:38:38 -0400
Clarify what we mean by digest, for people who ignore "as signed" and who don't read section 1.3.


svn:r10568
2007-06-12 00:38:44 +00:00
Roger Dingledine
a97c3b8c2d Be clearer on the various roles for auth dir types.
Bridge authorities no longer write bridge descriptors to their
cached-routers file -- this gets complex because of extrainfo documents.


svn:r10545
2007-06-09 07:05:19 +00:00
Nick Mathewson
1b200de0ef r13304@catbus: nickm | 2007-06-07 13:25:37 -0400
Deprecate RedirectExits.


svn:r10526
2007-06-07 17:26:19 +00:00
Mike Perry
bafff6362c Fix some typos, clarify some minor semantics, change phases to reflect
PathlenCoinWeight-style implementation (for fingerprinting resistance).



svn:r10508
2007-06-06 02:12:26 +00:00
Paul Syverson
25242f1fc2 Whacked about a page. All edits courtesy of suggestions from Matt Edman.
svn:r10507
2007-06-06 00:43:15 +00:00
Peter Palfrader
b800aac85e Two todo items
svn:r10506
2007-06-05 21:10:23 +00:00
Nick Mathewson
0a27f02b9c r13267@catbus: nickm | 2007-06-05 16:54:20 -0400
Man page and small tweaks for last patch.


svn:r10505
2007-06-05 20:54:53 +00:00
Nick Mathewson
f0345d46f6 r13256@catbus: nickm | 2007-06-05 10:57:41 -0400
Mark fields that need to be ipv6-ified.


svn:r10503
2007-06-05 20:54:23 +00:00
Mike Perry
6ad4c8a376 Attempt to address points brought up in #tor flamewar. In particular, moved
"Who will enable this option?" section towards the top of the proposal, to
attempt to get everyone on the same page right away as far as assumptions
go.

Also, added section on "Consideration of risks for node operators" where
the additional risk of should-be-3-but-actually-2 hop users pose to node
operators is discussed. Upon consideration of this, determined that two hop
users should be made to rotate guards with some frequency on the order of
days (basically, long enough to help scan the network for active adversary
guards, and then move on).

Please re-flame if you feel these or other issues have not been adequately
addressed.



svn:r10498
2007-06-05 07:44:52 +00:00
Nick Mathewson
2e0713222b r13252@catbus: nickm | 2007-06-04 18:57:21 -0400
Code to check signatures on consensus directories.


svn:r10492
2007-06-04 22:57:23 +00:00
Nick Mathewson
8b0e6a4466 r13250@catbus: nickm | 2007-06-04 18:28:55 -0400
Adapt code to parse v3 networkstatus votes so it can also parse a consensus.  Make networkstatus_vote_t the catch-all type for votes and conensuses.  Correct/clarify the second argument to directory-signature.


svn:r10491
2007-06-04 22:29:00 +00:00
Nick Mathewson
bb6f53d60c r13243@catbus: nickm | 2007-06-04 15:17:15 -0400
Start of code to compute consensus network-status stuff from a bunch of votes.  Strangely, it does not yet feel like an enormous ugly hack. 


svn:r10489
2007-06-04 19:19:01 +00:00
Roger Dingledine
58eabb5f30 ok, clarify that line, so nick has a chance of knowing what i meant
svn:r10477
2007-06-04 02:57:23 +00:00
Roger Dingledine
4f84e5ff00 i was about to mail nick asking him to do something more, but i realized
we had this snazzy thing called a todo file. here, nick. :)


svn:r10476
2007-06-04 02:49:45 +00:00
Nick Mathewson
d3ee41619c r13186@catbus: nickm | 2007-06-03 19:00:20 -0400
Bind ports before setuid/setgid.


svn:r10473
2007-06-03 23:00:26 +00:00
Mike Perry
2b054774a5 Think a little harder about guard nodes. What if they could be made to be
reliable and not rotate as much for dialup, mobile, or transient network
users, and what if users were actually notified more visibly who their guards
were and came to trust the guard nodes they have? Some effects of this are
considered.



svn:r10470
2007-06-03 19:41:51 +00:00
Roger Dingledine
4f61b581cf add mwenge's wishlist item: a tcp dns proxy
svn:r10469
2007-06-03 18:54:50 +00:00
Nick Mathewson
f4ce7f9c9b r13166@catbus: nickm | 2007-06-02 23:02:40 -0400
First cut at code to parse and validate v3 networkstatus votes.


svn:r10461
2007-06-03 03:05:10 +00:00
Paul Syverson
3431377d86 First stab at magazine article. Must be at most half this long.
svn:r10442
2007-06-01 19:34:58 +00:00
Nick Mathewson
3600d2f708 r13127@catbus: nickm | 2007-05-31 21:43:05 -0400
Mention that SocksPolicy applies to DNSPort.


svn:r10438
2007-06-01 10:20:33 +00:00
Mike Perry
1f4e93ce56 Add Two Hop Paths proposal as 115. Mark 112 superseded by 115.
svn:r10435
2007-06-01 04:41:51 +00:00
Roger Dingledine
d8a1f31283 fix these typos too while i'm at it
svn:r10431
2007-05-31 23:58:54 +00:00
Roger Dingledine
cf8153beff grammar fixes and terminology changes from starting
to read karsten's distributed-storage proposal


svn:r10430
2007-05-31 23:58:29 +00:00
Nick Mathewson
b1cd5892cb r13115@catbus: nickm | 2007-05-31 15:12:43 -0400
Document DNSPort, DNSListenAddress, AutomapHostsOnResolve, AutomapHostsSuffixes, and DownloadExtraInfo in the manpage.


svn:r10426
2007-05-31 19:13:12 +00:00
Roger Dingledine
b4fbe0b7e3 clean up a few confusions brian levine pointed out
svn:r10415
2007-05-31 03:47:41 +00:00
Karsten Loesing
07ed34aadb proposal 114: changed descriptor format, key length discussion, typos
svn:r10413
2007-05-30 09:01:10 +00:00
Nick Mathewson
3f9afa0625 r13068@catbus: nickm | 2007-05-29 14:58:13 -0400
Add some code to mitigate bug 393: Choose at random from multiple hidden service ports with the same virtport.  This allows limited ad-hoc round-robining.


svn:r10398
2007-05-29 18:58:16 +00:00
Roger Dingledine
7ba1d9f3c8 add proposal 114-distributed-storage.txt
svn:r10374
2007-05-28 16:45:40 +00:00
Roger Dingledine
1c3f864024 cleanups on man page from edmanm
svn:r10350
2007-05-26 07:42:06 +00:00
Nick Mathewson
bb524e99c9 r12955@catbus: nickm | 2007-05-25 13:17:30 -0400
First bare stubs of ipv6 work: commit some (untested, hence doublessly broken) implementations of inet_ntop/pton for systems that lack them.


svn:r10326
2007-05-25 18:22:37 +00:00
Nick Mathewson
39fe91b9a2 r12946@catbus: nickm | 2007-05-25 10:46:50 -0400
Add an AutomapHostsOnResolve option.  It seems to work.


svn:r10324
2007-05-25 14:48:16 +00:00
Nick Mathewson
703bf19620 r12942@catbus: nickm | 2007-05-24 16:31:22 -0400
Well, that was easier than I thought it would be.  Tor is now a DNS proxy as well as a socks proxy.  Probably some bugs remain, but since it A) has managed to resolve one address for me successfully, and B) will not affect anybody who leaves DNSPort unset, it feel like a good time to commit.


svn:r10317
2007-05-24 20:31:30 +00:00
Nick Mathewson
d3d86b17a7 r12916@catbus: nickm | 2007-05-24 12:43:45 -0400
Add math functions to round values to the nearest power of 2.  Make mempools more careful about making sure that the size of their chunks is a little less than a power of 2, not a little more.


svn:r10304
2007-05-24 17:12:57 +00:00
Nick Mathewson
38300735cd r12902@catbus: nickm | 2007-05-22 14:52:29 -0400
First draft of code to generate votes. needs testing. does not yet upload or serve votes.  Shares most of its code with the old generate_v2_networkstatus.


svn:r10295
2007-05-22 18:52:32 +00:00
Nick Mathewson
9e0acc0c11 r12899@catbus: nickm | 2007-05-22 13:51:26 -0400
Extract common code from networkstatus_getinfo_helper_single() and generate_v2_networkstatus().


svn:r10294
2007-05-22 17:58:30 +00:00
Nick Mathewson
c9fa4e6583 r12898@catbus: nickm | 2007-05-22 13:11:04 -0400
More v3 directory code: have authorities load certificates; have everybody store certificates to disk and load them; provide a way to configure v3 authorities.


svn:r10293
2007-05-22 17:58:25 +00:00
Roger Dingledine
60c2dced98 weasel suggested: can we deprecate the FastFirstHopPK config option?
svn:r10236
2007-05-21 13:48:55 +00:00
Nick Mathewson
adf95e7f00 r12794@catbus: nickm | 2007-05-18 20:24:26 -0400
Make caches-extra-info lines parseable.


svn:r10215
2007-05-19 00:24:29 +00:00
Nick Mathewson
4b18c3ea76 r12983@Kushana: nickm | 2007-05-18 16:46:15 -0400
Note that we do not permit you to exit to port 0, no matter what.  Closes bug 409.


svn:r10211
2007-05-18 21:19:58 +00:00
Nick Mathewson
ec55cf526d r12981@Kushana: nickm | 2007-05-18 14:12:19 -0400
First cut at code to download extra-info docs.  Also note a bad bug in directory.c (look for the string BUG BUG BUG).


svn:r10209
2007-05-18 21:19:19 +00:00
Nick Mathewson
43d64df4fc r12979@Kushana: nickm | 2007-05-18 12:52:50 -0400
More work on merging stuff into dir-spec.txt


svn:r10207
2007-05-18 21:19:08 +00:00
Roger Dingledine
440b7f0c70 polish r9726-r9903
svn:r10182
2007-05-13 09:25:06 +00:00
Roger Dingledine
6c7ae20ca8 a bit of that manual hacking for tor-design.html too
svn:r10169
2007-05-12 02:29:10 +00:00
Roger Dingledine
7218188157 hack up a blocking.html via tth and some manual hacking
svn:r10168
2007-05-12 02:26:46 +00:00
Nick Mathewson
866313aafc r12726@catbus: nickm | 2007-05-11 06:41:47 -0400
Checkpoint some more dir-spec.txt edits.


svn:r10165
2007-05-11 10:41:59 +00:00
Nick Mathewson
11f3e894d3 r12708@catbus: nickm | 2007-05-10 15:18:08 -0400
Patch from shibz: implement a getinfo status/version/... so a controller can tell whether the current version is recommended, whether any versions are good, and how many authorities agree.


svn:r10162
2007-05-10 19:30:02 +00:00
Roger Dingledine
cd23b65a07 Backport candidate: count it as a failure if we fetch a valid
network-status but we don't want to keep it. Otherwise we'll keep fetching
it and keep not wanting to keep it. Fixes part of bug 422.


svn:r10153
2007-05-10 05:12:20 +00:00
Roger Dingledine
f8a8b27dd2 add a 'bridge' flag for dirserver config entries
svn:r10128
2007-05-07 08:26:50 +00:00
Roger Dingledine
5ea3f37db7 point to the dir-spec files more correctly
svn:r10126
2007-05-07 05:06:18 +00:00
Andrew Lewman
917951f87e Tor works fine in CentOS5/RHEL5. The nsis packaging works fine now.
svn:r10122
2007-05-06 01:16:08 +00:00
Roger Dingledine
d112e7b1ad fix some code comments, a wrapper, and add a todo item
svn:r10111
2007-05-04 07:24:01 +00:00
Roger Dingledine
d9e7e45688 spec tweaks
svn:r10110
2007-05-04 07:22:11 +00:00
Nick Mathewson
2cb40def2d Fork current dir-spec.txt into dir-spec-v2.txt in order to record the state of the world as of 0.1.2.13. Start revising dir-spec.txt to incorporate proposals 101, 103, and 104.
svn:r10109
2007-05-03 21:38:47 +00:00
Nick Mathewson
fda7e4d8d9 r12643@catbus: nickm | 2007-05-03 13:43:47 -0400
Note that extensions to the directory protocol should begin their item keywords with "x-" or "X-".


svn:r10108
2007-05-03 17:43:54 +00:00
Nick Mathewson
f3d1121ff7 r12642@catbus: nickm | 2007-05-03 13:43:24 -0400
Document the nonpersistent controller-only options.


svn:r10107
2007-05-03 17:43:49 +00:00
Nick Mathewson
e2a49ed2f4 r12639@catbus: nickm | 2007-05-02 17:37:49 -0400
Start implementing key certificate parsing.  Note TODO items for combined 101/103.


svn:r10097
2007-05-02 21:37:55 +00:00
Nick Mathewson
14fbc90a41 r12636@catbus: nickm | 2007-05-02 15:38:58 -0400
Fix dir-spec: there is not actually any such item as link-key. (Found by Benedikt.)


svn:r10095
2007-05-02 19:39:23 +00:00
Roger Dingledine
1b95bbdba6 New config option V2AuthoritativeDirectory that all directory
authorities should set. This will let future authorities choose 
not to serve V2 directory information.

Also, go through and revamp all the authdir_mode stuff so it tries
to do the right thing if you're an auth but not a V1 or V2 auth.


svn:r10092
2007-05-02 09:12:04 +00:00
Nick Mathewson
26abac8c4c r12625@catbus: nickm | 2007-05-01 16:41:23 -0400
Remove the _UploadExtraInfo option, since I tried turning it on and moria[12] seem not to have exploded.


svn:r10089
2007-05-01 20:41:27 +00:00
Nick Mathewson
89ab267cfb r12619@catbus: nickm | 2007-05-01 16:13:42 -0400
Add code to upload extrainfos to authorities running 0.2.0.0-alpha-dev (r10070) or later.


svn:r10086
2007-05-01 20:13:49 +00:00
Roger Dingledine
d9f5f2cfa0 hsusage man page entries from karsten
svn:r10084
2007-05-01 10:36:43 +00:00
Nick Mathewson
bbd4ef1cd1 r12605@catbus: nickm | 2007-04-30 21:10:48 -0400
Add an expiry date to key certificates.


svn:r10079
2007-05-01 01:10:50 +00:00
Nick Mathewson
0390a0499c r12586@catbus: nickm | 2007-04-30 15:43:05 -0400
More work for proposal 104: actually cache extrainfo documents to disk, and reload the cache properly.


svn:r10070
2007-04-30 19:48:39 +00:00
Nick Mathewson
c5c282d1e4 r12576@catbus: nickm | 2007-04-30 13:16:31 -0400
Changes to 103 based on or-dev mail from arma.


svn:r10065
2007-04-30 17:16:40 +00:00
Nick Mathewson
43385b9bc9 r12565@catbus: nickm | 2007-04-30 10:09:07 -0400
Misc cleanup and bulletproofing on r10056.


svn:r10058
2007-04-30 14:09:11 +00:00
Roger Dingledine
5ba4eaba1c Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
so we can exit from the middle of the circuit.


svn:r10056
2007-04-30 11:10:45 +00:00
Roger Dingledine
2711ac2f62 minor tweaks on proposals
svn:r10055
2007-04-30 11:10:03 +00:00
Roger Dingledine
743a8cf0eb schedule proposal 110 to start in the 0.2.0 timeframe. perhaps
this will encourage nick to comment on it. :)


svn:r10051
2007-04-30 04:15:40 +00:00
Roger Dingledine
2d56d883c2 minor cleanups
svn:r10050
2007-04-30 04:00:06 +00:00
Roger Dingledine
5bdb138d11 cleanups, and note a bug
svn:r10022
2007-04-25 06:05:46 +00:00
Roger Dingledine
8f2883e96b some todo items that have been sitting in my sandbox
svn:r10021
2007-04-25 05:59:30 +00:00
Roger Dingledine
c148dc7eb4 patch on 112-bring-back-pathlencoinweight.txt from mikeperry
svn:r10001
2007-04-22 03:59:55 +00:00
Nick Mathewson
c277b742f4 r12489@catbus: nickm | 2007-04-21 13:48:39 -0400
The ten thousandth Tor commit: add two new proposals (one from Mike Perry about randomized path length, and one from me about simplifyin authority operation) and expand and/or refine serveral older ones.  Most notable  there are changes to 103 that will allow us to make authorities more resistant to key compromise.


svn:r10000
2007-04-21 17:48:50 +00:00
Nick Mathewson
f9cf90b597 r12488@catbus: nickm | 2007-04-21 13:47:09 -0400
Mark more proposals for inclusion in 0.2.0.  Arma, please take this out or question them if you disagree.


svn:r9999
2007-04-21 17:48:45 +00:00
Nick Mathewson
648065fcb4 r12763@Kushana: nickm | 2007-04-20 18:42:58 -0400
Initial version of code to stop using socket pairs for linked connections.  Superficially, it seems to work, but it probably needs a lot more testing and attention.


svn:r9995
2007-04-21 17:26:12 +00:00
Nick Mathewson
227b2e0226 r12759@Kushana: nickm | 2007-04-20 08:47:20 -0400
Track the number of connection_t separately from the number of open sockets.  It is already possible to have connections that do not count: resolving conns, for one.  Once we move from socketpairs to linked conns, and once we do dns proxying, there will be lots of such connections.


svn:r9994
2007-04-21 17:24:18 +00:00
Nick Mathewson
671b990f51 r12760@Kushana: nickm | 2007-04-20 11:23:21 -0400
Describe a simpler implementation for proposal 108, and note some limitations in the proposal.


svn:r9993
2007-04-20 17:17:13 +00:00
Nick Mathewson
bfac679cd4 A hack I've been wanting for a while: when building a -dev version
from an SVN repository, use the current svn revision in the platform
string and in the output of --version.



svn:r9976
2007-04-16 23:56:31 +00:00
Nick Mathewson
362fbc79d2 r12414@catbus: nickm | 2007-04-16 17:37:17 -0400
More proposal-104 stuff: actually remember extra-info stuff.


svn:r9975
2007-04-16 21:37:21 +00:00
Nick Mathewson
97e1b68e43 r12412@catbus: nickm | 2007-04-16 15:11:29 -0400
Mark proposal 104 accepted


svn:r9974
2007-04-16 19:11:34 +00:00
Roger Dingledine
8e53ac4dff minor cleanups on proposal 104
svn:r9973
2007-04-16 19:09:35 +00:00
Nick Mathewson
6d32d9cb2d r12406@catbus: nickm | 2007-04-16 14:39:33 -0400
More proposal-104 stuff: add most of the code for authorities to accept and serve extra-info documents.  The back-end to store the things is missing.


svn:r9971
2007-04-16 18:39:39 +00:00
Nick Mathewson
32c57918a0 r12399@catbus: nickm | 2007-04-16 11:38:42 -0400
Torel spec patch from tup.


svn:r9967
2007-04-16 15:38:53 +00:00
Nick Mathewson
108f1c255f r12386@catbus: nickm | 2007-04-15 23:55:34 -0400
Document multiplicity on some router elements better.


svn:r9964
2007-04-16 04:18:06 +00:00
Nick Mathewson
5b220f65c8 r12385@catbus: nickm | 2007-04-15 22:55:58 -0400
Initial code to parse extra-info documents as described in proposal 104.  This is making me realize that the parsing code in routerparse.c is a little daft.


svn:r9963
2007-04-16 04:17:58 +00:00
Andrew Lewman
785c59e468 Merge phobos' todo list into TODO
svn:r9961
2007-04-15 13:33:40 +00:00
Nick Mathewson
3af68cc3a1 r12371@catbus: nickm | 2007-04-14 20:01:09 -0400
Add comments to blocking.tex based on an old email from Ian, so I can get the email out of my todo folder.


svn:r9957
2007-04-15 00:29:12 +00:00
Nick Mathewson
b030d3d7b6 r12369@catbus: nickm | 2007-04-14 18:28:44 -0400
Rename torbl to torel.


svn:r9956
2007-04-14 22:28:50 +00:00
Nick Mathewson
81e3e90472 r12366@catbus: nickm | 2007-04-14 17:30:12 -0400
Clarify some points in proposal 104, mostly based on mail from arma on or-dev.


svn:r9955
2007-04-14 21:30:25 +00:00
Nick Mathewson
ae878699d7 r12365@catbus: nickm | 2007-04-14 16:43:09 -0400
Try to clarify window verbiage a little in tor-spec.


svn:r9954
2007-04-14 21:30:20 +00:00
Nick Mathewson
f2984faada r12362@catbus: nickm | 2007-04-14 12:59:38 -0400
Note indentation and terminal-width conventions in HACKING


svn:r9953
2007-04-14 16:59:44 +00:00
Nick Mathewson
a4fb12a425 r12355@catbus: nickm | 2007-04-14 11:52:20 -0400
Rename DNSBL to DNSEL.


svn:r9952
2007-04-14 16:59:41 +00:00
Nick Mathewson
795aa1a196 r12351@catbus: nickm | 2007-04-11 12:09:46 -0400
More autoconf hacking: use same machinery to find zlib as for openssl and libevent.  Have unified library finder include setup for --with  variable.  Start trying to suggest to the user what packages they should install if finding the library fails.


svn:r9945
2007-04-11 16:28:44 +00:00
Nick Mathewson
38a5f09502 r12349@catbus: nickm | 2007-04-11 09:18:15 -0400
Add code to shrink the cell memory pool by discarding empty chunks that have been empty for the last 60 seconds.  Also, instead of having test.c duplicate declarations for exposed functions, put them inside #ifdef foo_PRIVATE blocks in the headers.  This prevents bugs where test.c gets out of sync.


svn:r9944
2007-04-11 13:18:25 +00:00
Nick Mathewson
51e4b8d706 r12338@catbus: nickm | 2007-04-10 20:29:05 -0400
Document memory pool implementation, and tweak it even mor.  See? Programming is fun.


svn:r9940
2007-04-11 00:30:34 +00:00
Nick Mathewson
d7359eb996 r12335@catbus: nickm | 2007-04-10 16:53:48 -0400
Initial version of memory pool logic. Needs unit tests.  Made to be easily separable from Tor.


svn:r9937
2007-04-11 00:30:22 +00:00
Nick Mathewson
9c3df07b56 r12687@Kushana: nickm | 2007-04-09 17:05:57 -0400
Try to fix bug 410: move responsibility for attaching/detaching initial streams from circuits into dns_resolve.  Needs refactoring a little.


svn:r9931
2007-04-09 21:34:03 +00:00
Andrew Lewman
fdb1e11dae Fix the tex error I just introduced.
svn:r9911
2007-03-28 22:46:59 +00:00
Andrew Lewman
7887af912b Fix tex and spelling mistakes.
svn:r9910
2007-03-28 22:46:05 +00:00
Nick Mathewson
d1381aef82 r12652@Kushana: nickm | 2007-03-25 15:01:48 -0400
A surprisingly simple patch to stop reading on edge connections when their circuits get too full, and start again when they empty out.  This lets us remove the logic to block begin_dir conns when the corresponding or conns get full: it was already broken by cell queues anyway.


svn:r9905
2007-03-26 14:08:18 +00:00
Nick Mathewson
38c0bb3a99 r12651@Kushana: nickm | 2007-03-24 18:26:42 -0400
Initial version of circuit-based cell queues.  Instead of hammering or_conns with piles of cells, queue cells on their corresponding circuits, and append them to the or_conn as needed.  This seems to work so far, but needs a bit more work.  This will break the memory-use-limitation patch for begin_dir conns: the solution will be a fun but fiddly.


svn:r9904
2007-03-26 14:07:59 +00:00
Roger Dingledine
5282600662 cleanups on proposal 105
svn:r9893
2007-03-21 06:09:54 +00:00
Roger Dingledine
6753128bb9 clean up proposal 104 more
svn:r9892
2007-03-21 05:45:44 +00:00
Nick Mathewson
2ceac73fce r12259@catbus: nickm | 2007-03-21 00:12:02 -0400
Incorporate ideas from or-dev discussion.


svn:r9891
2007-03-21 04:12:08 +00:00
Nick Mathewson
09136b1d69 r12257@catbus: nickm | 2007-03-20 23:17:52 -0400
Add specification to proposal 104; settle on "extra info" approach rather than "long descriptor" approach.


svn:r9890
2007-03-21 03:20:01 +00:00
Roger Dingledine
b4f743562f Add a separate set of token buckets for relayed traffic. Right
now that's just defined as answers to directory requests.


svn:r9881
2007-03-20 02:55:31 +00:00
Andrew Lewman
f1d8af789a Update mingw instructions for -trunk.
svn:r9868
2007-03-18 13:47:08 +00:00
Nick Mathewson
c50cf094b1 r12212@catbus: nickm | 2007-03-17 17:05:54 -0400
Merge or-dev discussion into 109; mark 109 accepted.


svn:r9864
2007-03-17 21:10:08 +00:00
Roger Dingledine
75754b4d8e other minor fixes lurking in my sandbox
svn:r9854
2007-03-17 04:34:31 +00:00
Roger Dingledine
bec9653f9e clean up the torbl-design draft
svn:r9835
2007-03-15 23:41:19 +00:00
Roger Dingledine
a48329d44f move incentives.txt to the new doc/contrib directory
svn:r9833
2007-03-15 22:56:23 +00:00
Nick Mathewson
c901e2c927 r12188@catbus: nickm | 2007-03-15 12:27:23 -0400
Add proposal 111: Prioritizing local traffic over relayed traffic.


svn:r9830
2007-03-15 16:28:01 +00:00
Nick Mathewson
e50e6b4e3c r12182@catbus: nickm | 2007-03-15 10:58:12 -0400
Clarify section of dir-spec.txt that explains how "v" resolution happens.


svn:r9829
2007-03-15 16:27:57 +00:00
Nick Mathewson
a9d0479d96 Add a doc/contrib directory; throw in torbl-design.txt
svn:r9828
2007-03-15 15:55:26 +00:00
Roger Dingledine
2ad403129d clean up proposal 108
svn:r9824
2007-03-15 07:26:11 +00:00
Roger Dingledine
ad304a5cbb change my mind -- correct the spec to match the code's
behavior for getinfo addr-mappings/*. this is because
the code and spec have been mismatched since at least
0.1.1.x, so i would be surprised if nobody at all is
relying on the current behavior.

backport candidate.
backbackport candidate.


svn:r9823
2007-03-15 06:25:00 +00:00
Roger Dingledine
5740071674 the spec called it a GUARDS event, but the code called
it a GUARD event. standardize on GUARD, but support people
asking for GUARDS too. reported by daejees.

backport candidate.


svn:r9817
2007-03-14 23:50:41 +00:00
Roger Dingledine
17c055ce6e clarify a confusion weasel had
svn:r9816
2007-03-14 23:06:19 +00:00
Roger Dingledine
f0b131f1c0 put some dates on the proposals, and add an acknowledgments section
to proposal 110. the proposals that were around before the proposals
scheme got started still don't have dates.


svn:r9815
2007-03-14 04:48:13 +00:00