Commit Graph

2156 Commits

Author SHA1 Message Date
Roger Dingledine
b8364ef8c7 todo: Disable and mark as obsolete the setrouterpurpose controller command.
svn:r11725
2007-10-01 06:57:46 +00:00
Nick Mathewson
b5c8a8ae53 r15422@catbus: nickm | 2007-09-27 16:42:35 -0400
Use descriptor annotations to record the source, download t time, and purpose of every descriptor we add to the store.  The remaining to-do item is to stop setting do_not_cache on bridges.


svn:r11680
2007-09-27 20:46:30 +00:00
Nick Mathewson
60efd6b726 r15420@catbus: nickm | 2007-09-27 15:40:25 -0400
Remove annotated_desc_store store (which we never used).  Instead, shift name of router store to cached-descriptors, but initialize it from cached-routers as needed


svn:r11678
2007-09-27 20:46:24 +00:00
Peter Palfrader
5ba6fd9e7b Add a "fingerprint" in a smart place
svn:r11670
2007-09-27 16:45:15 +00:00
Nick Mathewson
33b715f91b r15416@catbus: nickm | 2007-09-27 12:30:19 -0400
Fix a copy-paste error in dir-spec.txt


svn:r11667
2007-09-27 16:34:02 +00:00
Nick Mathewson
28946069ee r15412@catbus: nickm | 2007-09-27 12:04:24 -0400
More annotated-store work: handle annotations in lists correctly.  Add ability to prepend annotations to a routerdesc (and to every rtouredesc in a list), while verifying that the routerdesc is not already annotated.


svn:r11665
2007-09-27 16:08:10 +00:00
Nick Mathewson
d87a91b822 r15381@catbus: nickm | 2007-09-26 10:48:00 -0400
Add hidden-service-authentication.etxt as proposal 121.


svn:r11653
2007-09-26 14:52:10 +00:00
Andrew Lewman
a0c4cc792f Take some more, ask a question or two.
svn:r11622
2007-09-25 01:43:18 +00:00
Nick Mathewson
ad11e9d0f1 r15310@catbus: nickm | 2007-09-24 11:36:08 -0400
Patch from Robert Hogan: fix a couple of status-event related typos. Backport candidate.


svn:r11604
2007-09-24 15:41:20 +00:00
Roger Dingledine
e313a8ad08 fix a syntax error in the man page
svn:r11589
2007-09-23 05:28:39 +00:00
Andrew Lewman
011941853c Remove openssl static libs from the win32 distrubution. They are statically
compiled into the exe.  Add some, take some, remove some TODO items.


svn:r11583
2007-09-22 20:26:06 +00:00
Nick Mathewson
921f9f774d r15279@catbus: nickm | 2007-09-22 02:00:06 -0400
V3 authority work: fetch missing votes and/or signatures as needed.


svn:r11575
2007-09-22 06:06:05 +00:00
Peter Palfrader
ce1099bf66 The manpage now tells uses that they can use identity fingerprints in most places where they can use nicknames. Based on patch from karsten
svn:r11570
2007-09-21 23:06:54 +00:00
Roger Dingledine
b29cf4cc05 a dir-spec typo (in two places) caught by steve
svn:r11557
2007-09-21 17:23:14 +00:00
Roger Dingledine
0914883339 Resume listing "AUTHORITY" flag for authorities in network status.
Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.


svn:r11530
2007-09-20 04:37:17 +00:00
Roger Dingledine
a12debab1b i feel guilty wasting a revision number on this, but qbi
mentioned it, so...


svn:r11515
2007-09-19 08:47:24 +00:00
Roger Dingledine
cda228bb76 another bug we should resolve sometime
svn:r11513
2007-09-19 04:19:27 +00:00
Roger Dingledine
2a2cee9e51 Start using the v2 intro format for hidden service connections. Now
clients specify their chosen rendezvous point by identity digest
rather than by (potentially ambiguous) nickname. This change could
speed up hidden service connections dramatically.


svn:r11499
2007-09-18 23:48:39 +00:00
Roger Dingledine
82da6c02ba clean up r11496
svn:r11498
2007-09-18 23:34:27 +00:00
Roger Dingledine
eb9dc12ce9 Drop support for v1 rendezvous descriptors, since we never used
them anyway, and the code has probably rotted by now. Based on
patch from Karsten Loesing.


svn:r11496
2007-09-18 21:17:45 +00:00
Roger Dingledine
722aac798e actually, there is a tordnsel implementation
svn:r11493
2007-09-18 17:59:34 +00:00
Roger Dingledine
5985135ed6 two dir-spec cleanups from steve
svn:r11485
2007-09-18 16:05:39 +00:00
Nick Mathewson
f45dec1690 r15143@catbus: nickm | 2007-09-18 11:49:46 -0400
Add getinfo status/good-server-descriptor and status/reachability-succeeded. Patch from Robert Hogan.


svn:r11483
2007-09-18 15:53:55 +00:00
Nick Mathewson
eee8d750b6 r15140@catbus: nickm | 2007-09-18 11:34:54 -0400
Get rid of a needless malloc() when parsing address policies.  Original patch from "Some guy on #tor", via arma.  Altered to have a sufficiently large buffer, and not use the buffer so much, and to save a strlcpy.


svn:r11480
2007-09-18 15:38:00 +00:00
Roger Dingledine
8f75defd33 Servers used to decline to publish their DirPort if their
BandwidthRate, RelayBandwidthRate, or MaxAdvertisedBandwidth
were below a threshold. Now they only look at BandwidthRate and
RelayBandwidthRate.


svn:r11465
2007-09-17 22:22:05 +00:00
Roger Dingledine
f4111288ca a few more todo bugs i've accumulated
svn:r11462
2007-09-17 21:58:52 +00:00
Nick Mathewson
93d4ad9743 r14447@Kushana: nickm | 2007-09-17 13:31:50 -0400
Track weighted fractional uptime in addition to weighted mtbf: we want to use mtbf for stable, but fractional uptime for guard.


svn:r11456
2007-09-17 18:27:43 +00:00
Nick Mathewson
5fcc48d389 r14425@Kushana: nickm | 2007-09-13 13:00:57 -0400
Do not load state when options->command is not RUN_TOR. (Resolves bug 499; backport candidate)


svn:r11437
2007-09-13 17:01:08 +00:00
Nick Mathewson
9b1ad0074b r14392@Kushana: nickm | 2007-09-12 11:04:20 -0400
Complete implementation of proposal 104: remove bandwidth history lines from router descriptors.


svn:r11434
2007-09-12 17:33:23 +00:00
Nick Mathewson
e73fb2f102 r15049@catbus: nickm | 2007-09-11 16:05:50 -0400
When we get a consensus for which we are missing the right certificates, keep it around pending more certificates; do not just drop it.


svn:r11430
2007-09-11 20:17:28 +00:00
Nick Mathewson
4de4f53abd r15048@catbus: nickm | 2007-09-11 14:20:39 -0400
Add code to warn about mauthorities on a consensus when they are not what we expect to find.


svn:r11429
2007-09-11 20:17:25 +00:00
Nick Mathewson
973502d290 r15046@catbus: nickm | 2007-09-11 13:38:36 -0400
Check V3 authority certificates for expiry, and warn the authority op as they get old.


svn:r11427
2007-09-11 20:17:22 +00:00
Nick Mathewson
3c7652ccdb r15045@catbus: nickm | 2007-09-11 11:52:29 -0400
Reject incoming votes when the valid-after time does not match the period that we're trying to vote for.


svn:r11426
2007-09-11 20:17:20 +00:00
Nick Mathewson
509bc3b4a0 r14359@Kushana: nickm | 2007-09-08 15:07:17 -0400
Add some generic skew-and-tolerance functions so we can handle time more sanely.


svn:r11406
2007-09-08 19:08:46 +00:00
Nick Mathewson
eb3f24f027 r14358@Kushana: nickm | 2007-09-08 13:45:16 -0400
Implement certificate fetch functions.


svn:r11405
2007-09-08 19:08:39 +00:00
Nick Mathewson
5da6321b76 r14859@catbus: nickm | 2007-08-30 17:10:15 -0400
0-pad minutes and seconds when displaying weighted mtbf in info logs.


svn:r11324
2007-08-30 21:12:34 +00:00
Roger Dingledine
ca24362cf8 another easy bug for nick to tackle
svn:r11322
2007-08-30 21:01:46 +00:00
Roger Dingledine
2c24b9cb4c Tor logs the libevent version on startup, for debugging purposes.
This is great. But it does this before configuring the logs, so
it only goes to stdout and is then lost.


svn:r11313
2007-08-30 06:17:17 +00:00
Nick Mathewson
f189ecbf20 r14832@catbus: nickm | 2007-08-29 15:00:27 -0400
Use (and debug) new file-writing functions in order to simplify code that formerly built big strings in RAM.


svn:r11301
2007-08-29 19:02:43 +00:00
Nick Mathewson
91f83cfc2d r14830@catbus: nickm | 2007-08-29 13:50:10 -0400
Make controllers accept LF as well as CRLF.  Update spec to reflect this.  Remove now-dead code.  Make controller warning about v0 protocol more accurate.


svn:r11299
2007-08-29 19:02:33 +00:00
Nick Mathewson
4266039c19 r14826@catbus: nickm | 2007-08-29 13:19:55 -0400
Add a line to the state file for each guard to let us know which version added the guard.  If the line is absent, assume the guard was added by whatever version of Tor last wrote the state file.  Remove guards if the version that added them was using a bad guard selection algorithm.  (Previously, we removed guards if the version that wrote the file was using a bad guard selection algorithm, even if the guards themselves were chosen by a good version.) 


svn:r11298
2007-08-29 17:22:00 +00:00
Nick Mathewson
1050eceb2f r14825@catbus: nickm | 2007-08-29 12:30:04 -0400
More items for the TODO (from last Friday mtg with Roger)


svn:r11297
2007-08-29 17:21:57 +00:00
Nick Mathewson
79a3fed30e r14819@catbus: nickm | 2007-08-27 19:40:11 -0400
Sort all of the items in the TODO.  That took longer than I had hoped, but I think it was useful.


svn:r11292
2007-08-27 23:42:46 +00:00
Nick Mathewson
590918fb2c r14817@catbus: nickm | 2007-08-27 18:16:49 -0400
Mark TODO items with what sections I would like to move them to.  Pending scan by arma, the next commits will remove these annotations and move the items around.


svn:r11291
2007-08-27 22:19:30 +00:00
Nick Mathewson
d3224bad42 r14227@Kushana: nickm | 2007-08-27 11:33:28 -0400
Add a new ClientDNSRejectInternalAddresses option (default: on) to refuse to believe that any address can map to or from an internal address.  This blocks some kinds of potential browser-based attacks, especially on hosts using DNSPort.  Also clarify behavior in some comments.  Backport candiate?


svn:r11287
2007-08-27 15:33:58 +00:00
Nick Mathewson
a69d526b31 r14205@Kushana: nickm | 2007-08-24 10:29:26 -0400
Remove a bunch of completed items from the TODO.


svn:r11271
2007-08-24 14:41:19 +00:00
Nick Mathewson
7efc165095 r14204@Kushana: nickm | 2007-08-24 10:24:36 -0400
Fix a bug in last patch; add support for getting extrainfo documents by the control port (since it is silly to tell tools to do it without actually giving them an interface).


svn:r11270
2007-08-24 14:41:15 +00:00
Nick Mathewson
cf2ac9b9e1 r14202@Kushana: nickm | 2007-08-24 09:55:30 -0400
Add purposes for new things we need to fetch for v3 directory system.


svn:r11268
2007-08-24 14:41:06 +00:00
Roger Dingledine
d39c7515d1 patch from mike perry to a) stop overloading guards as much, and
b) raise the max-believable-bandwidth to 10MB/s.


svn:r11258
2007-08-24 06:30:34 +00:00
Roger Dingledine
c02fb8997b backport candidate:
Make it possible to read the PROTOCOLINFO response in a way that
conforms to our control-spec. Reported by Matt Edman.


svn:r11251
2007-08-22 07:57:10 +00:00
Nick Mathewson
a80dd635b3 r14764@catbus: nickm | 2007-08-21 03:23:12 -0400
Add a perl script to regenerate proposal 000-index.txt so that it always matches the statuses and titles in the other proposals, and so that it has a sorted-by-status section.


svn:r11243
2007-08-21 07:24:31 +00:00
Nick Mathewson
15c9212ee8 r14763@catbus: nickm | 2007-08-21 03:11:06 -0400
Correct status on proposal 119.


svn:r11242
2007-08-21 07:24:29 +00:00
Nick Mathewson
2433016c00 r14762@catbus: nickm | 2007-08-21 03:10:54 -0400
Add a proper header to proposal 117.


svn:r11241
2007-08-21 07:24:28 +00:00
Nick Mathewson
7dbe7fd4d8 r14758@catbus: nickm | 2007-08-21 01:36:03 -0400
Finish implementing and documenting proposal 108: Authorities now use MTBF data to set their stability flags, once they have at least 4 days of data to use.


svn:r11240
2007-08-21 05:37:24 +00:00
Nick Mathewson
8cb6b2bc74 r14757@catbus: nickm | 2007-08-21 01:35:24 -0400
Merge a condensed proposal 108 (without too much implementation detail, since that's implementation detail, into dir-spec.txt.


svn:r11239
2007-08-21 05:37:21 +00:00
Nick Mathewson
9cd474d0db r14756@catbus: nickm | 2007-08-21 01:34:30 -0400
Mark proposal 108 as closed, and mark dir-voting related proposals as accepted


svn:r11238
2007-08-21 05:37:19 +00:00
Karsten Loesing
a8a7ef3da6 updated change history
svn:r11224
2007-08-20 16:32:00 +00:00
Karsten Loesing
3462747cdb renamed config option HSDir as HidServDirectoryV2
svn:r11223
2007-08-20 16:30:49 +00:00
Roger Dingledine
ed801a8d3e ask nick a question about a grammar problem that could be a meaning problem
svn:r11207
2007-08-19 21:54:20 +00:00
Roger Dingledine
455862db1a numerous cleanups in the control-spec. patch from tup.
svn:r11182
2007-08-19 05:04:56 +00:00
Roger Dingledine
c88803d924 Fix a bug in ADDRMAP controller replies that would sometimes
try to print a NULL. Patch from tup.


svn:r11181
2007-08-19 04:58:55 +00:00
Roger Dingledine
86734616c7 a low-priority todo item we should do sometime
svn:r11180
2007-08-19 04:34:56 +00:00
Andrew Lewman
effbf59428 Update mingw build instructions to remove patent encumberances.
svn:r11178
2007-08-19 03:51:46 +00:00
Andrew Lewman
11b155f275 clean up the instructions a bit
svn:r11175
2007-08-19 02:58:55 +00:00
Nick Mathewson
648c8261fd r14657@catbus: nickm | 2007-08-18 12:59:03 -0400
Notes about library versions in mingw instructions


svn:r11165
2007-08-18 17:00:07 +00:00
Roger Dingledine
cb7f4504e4 cleanups on r11138. it's ready to backport now, i think (i hope).
svn:r11154
2007-08-17 20:44:51 +00:00
Nick Mathewson
b34ed73706 r14630@catbus: nickm | 2007-08-17 16:30:42 -0400
Functions to save and load MTBF information.


svn:r11153
2007-08-17 20:31:59 +00:00
Nick Mathewson
b60f4a4d16 r14629@catbus: nickm | 2007-08-17 16:14:05 -0400
spec clarification noted by Stefan K.


svn:r11152
2007-08-17 20:31:56 +00:00
Nick Mathewson
31668172ed r14626@catbus: nickm | 2007-08-17 11:20:05 -0400
Link note_router_reachable and note_router_unreachable to  mtbf code. decouple mtbf from connect/disconnect.  log it in USR1.  do not blow it away on cleanup if we are an authority.


svn:r11151
2007-08-17 20:31:54 +00:00
Nick Mathewson
357b4645cf r14612@catbus: nickm | 2007-08-16 15:23:35 -0400
Initial work on proposal 108: have rephist.c track the information we want to be tracking for OR stability.


svn:r11147
2007-08-16 19:32:29 +00:00
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