Commit Graph

1846 Commits

Author SHA1 Message Date
Nick Mathewson
460a476efa r11725@Kushana: nickm | 2006-12-28 14:44:56 -0500
Partial solution to 326: downgrade single-nameserver failures to INFO.


svn:r9201
2006-12-28 21:29:26 +00:00
Nick Mathewson
d9f1f3533d r11724@Kushana: nickm | 2006-12-28 14:22:35 -0500
Refactor and unify my-ip-addr-changed logic.  Make change in IP address or in nameservers reset and relaunch DNS hijacking tests.


svn:r9200
2006-12-28 21:29:20 +00:00
Nick Mathewson
e5f5b96ca6 r11723@Kushana: nickm | 2006-12-28 13:52:48 -0500
Fix bug 364: check for whether popular hostnames (curently google, yahoo, mit, and slashdot) are getting wildcarded.  If they are, we are probably behind a DNS server that is useless: change our exit policy to reject *:*.


svn:r9199
2006-12-28 21:29:11 +00:00
Nick Mathewson
e631b0a56f r11719@Kushana: nickm | 2006-12-26 17:41:09 -0500
Add SOCKS5 and reverse lookup support to C verseion of tor-resolve


svn:r9195
2006-12-26 22:41:49 +00:00
Nick Mathewson
1df04d70f7 r11718@Kushana: nickm | 2006-12-26 16:57:44 -0500
Add client-side caching for reverse DNS.


svn:r9194
2006-12-26 22:41:43 +00:00
Nick Mathewson
92e2d687fa r11715@Kushana: nickm | 2006-12-24 22:53:06 -0500
Document a couple more options in the man page.


svn:r9192
2006-12-25 03:55:37 +00:00
Nick Mathewson
58ae3cd648 r11713@Kushana: nickm | 2006-12-24 22:42:08 -0500
Better handling of internal addresses wrt X-Your-Address-Is (never believe them; never provide them.) Also, report something useful for X-Your-Address-Is with one-hop tunneled connections.


svn:r9191
2006-12-25 03:42:38 +00:00
Nick Mathewson
3ab84c5f48 r11711@Kushana: nickm | 2006-12-24 21:42:57 -0500
Stop counting 503s against the total number of failures allowed for a download.


svn:r9190
2006-12-25 02:47:37 +00:00
Nick Mathewson
28c2bd905e r11700@Kushana: nickm | 2006-12-24 01:18:07 -0500
Clarify handling of "v" entries in networkstatuses.


svn:r9183
2006-12-24 06:32:15 +00:00
Roger Dingledine
81aff5d529 change the v2 dir spec to reflect how the code actually works
with respect to the directory-signature line.

this also resolves nick's issue with how to change the
directory-signature entry in votes. unless there's more to
it than that.


svn:r9182
2006-12-24 05:28:52 +00:00
Nick Mathewson
2e538d9918 r11694@Kushana: nickm | 2006-12-23 23:09:20 -0500
Add a version entry to networkstatus documents; have this entry get parsed and used to calculate whether begin_dir is supported.


svn:r9181
2006-12-24 04:09:48 +00:00
Nick Mathewson
339384238c r11693@Kushana: nickm | 2006-12-23 22:42:11 -0500
Stop requiring the "opt" keyword before unrecognized directory items.


svn:r9180
2006-12-24 04:09:42 +00:00
Nick Mathewson
42f6c99392 r11692@Kushana: nickm | 2006-12-23 22:32:41 -0500
Changes to dir-spec.txt: deprecate opt, and describe protocol version info in status.


svn:r9179
2006-12-24 04:09:39 +00:00
Nick Mathewson
bf1014692f r11686@Kushana: nickm | 2006-12-23 22:05:57 -0500
More changes wrt unnecessary disk writes.


svn:r9176
2006-12-24 03:06:03 +00:00
Nick Mathewson
bba5a3533f r11679@Kushana: nickm | 2006-12-23 21:38:41 -0500
Update the state file less often when AvoidDiskWrites is set.


svn:r9174
2006-12-24 02:45:46 +00:00
Nick Mathewson
a9dc42e381 r11678@Kushana: nickm | 2006-12-23 21:19:51 -0500
Add some forward compatibility items to the TODO.


svn:r9173
2006-12-24 02:45:41 +00:00
Nick Mathewson
9efdf6acc5 r11677@Kushana: nickm | 2006-12-23 21:17:54 -0500
Track when we get 503s from directory servers.  Do not use directory servers that have given us a 503 until either an hour has passed, or we are are out of non-busy servers.


svn:r9172
2006-12-24 02:45:35 +00:00
Nick Mathewson
4d948281c3 r11676@Kushana: nickm | 2006-12-23 20:42:17 -0500
Add an orport option to dirserver lines so that clients can tell where to connect to open an encrypted tunnel to a dirserver even before they have its descriptor.


svn:r9171
2006-12-24 02:45:27 +00:00
Roger Dingledine
488b4726a7 reinstate the most important dead chickens for limiting
impact of directory writes now that we're write limiting.

a few more dead chickens remain.


svn:r9170
2006-12-23 08:48:16 +00:00
Nick Mathewson
d3f839d82c r11664@Kushana: nickm | 2006-12-20 21:58:54 -0500
Clarify some points in dir-voting.txt raised by Paul Syverson.


svn:r9167
2006-12-21 02:59:15 +00:00
Nick Mathewson
b9baed40fe r11663@Kushana: nickm | 2006-12-20 21:37:50 -0500
Add notes and comments to dir-spec.txt based on email to or-dev from Keith Skinner.


svn:r9166
2006-12-21 02:59:11 +00:00
Nick Mathewson
ef6da912a6 r11662@Kushana: nickm | 2006-12-20 21:27:17 -0500
Rename parameter correctly; found by Christian Seberino


svn:r9165
2006-12-21 02:59:07 +00:00
Nick Mathewson
2e1e919d65 r11657@Kushana: nickm | 2006-12-20 15:11:19 -0500
Fixes to check-docs script; add some docs; mark some options as deprecated in the online docs.


svn:r9163
2006-12-20 21:02:02 +00:00
Nick Mathewson
e9ad1650c0 r11651@Kushana: nickm | 2006-12-20 12:05:04 -0500
Add a maintainer script and a new make target "make check-docs" to get a quick dump of which options are undocumented where, and which documentation refers to nonexistent options.


svn:r9160
2006-12-20 17:05:48 +00:00
Roger Dingledine
00257212c7 Take out the '5 second' timeout from the connection retry
schedule. Now the first connect attempt will wait a full 10
seconds before switching to a new circuit. Perhaps this will help
a lot. Based on observations from Mike Perry.


svn:r9159
2006-12-20 09:43:28 +00:00
Roger Dingledine
858d7295e7 minor cleanups
svn:r9158
2006-12-20 09:25:58 +00:00
Nick Mathewson
baadf35c63 r11646@Kushana: nickm | 2006-12-19 14:40:38 -0500
Resolve bug 363: do not fall back to 127.0.0.1 when no nameservers are configured.  Instead, have the admin fix resolv.conf or configure a nameserver.


svn:r9157
2006-12-19 19:49:03 +00:00
Nick Mathewson
bf6702cf8b r11645@Kushana: nickm | 2006-12-19 14:22:36 -0500
Reject hostnames with invalid characters, in an attempt to catch more errors earlier.  Add an option to disable this behavior.


svn:r9156
2006-12-19 19:48:58 +00:00
Nick Mathewson
1ce86f1fca r11644@Kushana: nickm | 2006-12-19 14:07:17 -0500
Add address-spec.txt document to describe .exit, .onion, and .noconnnect.  Hopefully, we will not add too many of these just because we have a file for them now...


svn:r9155
2006-12-19 19:48:54 +00:00
Nick Mathewson
280692d65f r11643@Kushana: nickm | 2006-12-19 13:15:14 -0500
Stop recommmending exits as guards when the exit bandwidth is less than a third of the total bandwidth.


svn:r9154
2006-12-19 19:48:48 +00:00
Nick Mathewson
7e056fdfd3 r11641@Kushana: nickm | 2006-12-18 18:08:03 -0500
clean up TODO more: move deferred items to deferred items section; remove completed and abandoned-as-a-bad-idea stuff.


svn:r9153
2006-12-18 23:08:18 +00:00
Roger Dingledine
be8eba481e some haphazard todo edits. will polish later.
svn:r9152
2006-12-18 18:13:03 +00:00
Roger Dingledine
e66b6f0d50 Reject *:563 (NTTPS) in the default exit policy. We already reject
NNTP by default, so this seems like a sensible addition.
(suggested by bug 331)


svn:r9149
2006-12-18 08:25:34 +00:00
Roger Dingledine
ad5ce3c7ed fix whitespace; add a todo item
svn:r9148
2006-12-18 08:24:22 +00:00
Nick Mathewson
06914b5e00 r11625@Kushana: nickm | 2006-12-17 03:47:12 -0500
TODO edits.  Hm, 0.1.2.x-rc feels quite close.


svn:r9144
2006-12-17 08:49:09 +00:00
Nick Mathewson
31e09bb524 r11614@Kushana: nickm | 2006-12-15 17:39:42 -0500
Implement SETEVENTS GUARD.  Needs review and testing.


svn:r9137
2006-12-15 22:40:20 +00:00
Nick Mathewson
f53a269928 r11598@Kushana: nickm | 2006-12-15 15:59:00 -0500
Add internal documentation for a bunch of configuration options.  We should do something to keep this list, the canonical list, the tor.1 list, and the torrc.complete list in sync.


svn:r9133
2006-12-15 21:27:19 +00:00
Nick Mathewson
ab2fc7bd62 r11596@Kushana: nickm | 2006-12-15 10:57:12 -0500
Mark some TODO items as done.  Also, never include ourself in our family list.


svn:r9131
2006-12-15 21:26:15 +00:00
Roger Dingledine
5ed6439875 some suggestions on todo items
svn:r9130
2006-12-15 21:08:26 +00:00
Roger Dingledine
0bc0688668 if we rotate our onion key, publish a new descriptor, and
die soon after, we want to stick with that onion key when
we restart.


svn:r9121
2006-12-15 07:58:31 +00:00
Nick Mathewson
b16aa6412e r11584@Kushana: nickm | 2006-12-15 01:10:45 -0500
Try to reconcile (except for whitespace) eventdns with version in libevent, so it is easier for me to send merges.  These changes should be cosmetic. (Ha!)


svn:r9117
2006-12-15 06:12:01 +00:00
Roger Dingledine
c44dd3870e clarify our use of local time vs GMT
svn:r9109
2006-12-14 23:39:14 +00:00
Roger Dingledine
5cce710e2b Some more documentation and specs for CONNECT_DIR and BEGIN_DIR.
Demand that BEGIN_DIR cells have an empty payload.


svn:r9104
2006-12-13 22:42:52 +00:00
Roger Dingledine
04409f202d reenable write limiting. nick finally convinced me this was
a smart move.

more todo sub-items remain for it.


svn:r9101
2006-12-13 07:08:36 +00:00
Roger Dingledine
2bd46cce80 ok, so i wasn't totally done.
svn:r9100
2006-12-13 03:21:15 +00:00
Roger Dingledine
97c83a4c09 finish enabling begin-dir cells. require one-hop circs for
socks-command-connect-dir streams, so we don't open new anonymity
questions.


svn:r9099
2006-12-13 02:49:45 +00:00
Roger Dingledine
ee144598c8 minor cleanups and notes
svn:r9093
2006-12-12 20:19:54 +00:00
Roger Dingledine
5f68850383 comments from the first pass through dir-voting. seems like a fine
start, though we're going to have our hands full with edge cases when
the time comes.


svn:r9091
2006-12-12 06:08:07 +00:00
Nick Mathewson
494e45482a r11536@Kushana: nickm | 2006-12-11 22:48:21 -0500
Add ipv6 functionality to evdns.


svn:r9089
2006-12-12 03:48:46 +00:00
Nick Mathewson
35d92f8245 r11498@Kushana: nickm | 2006-12-11 21:40:24 -0500
Document all structures and (non-exported) functions.  External documentation will probably wind up being a manpage, hopefully written by somebody else.


svn:r9087
2006-12-12 02:57:02 +00:00
Nick Mathewson
097aec8e9d r11497@Kushana: nickm | 2006-12-11 21:17:45 -0500
Rename nameserver functions: every one should now have "server" in the name.


svn:r9086
2006-12-12 02:56:54 +00:00
Nick Mathewson
707429e9a3 r11496@Kushana: nickm | 2006-12-11 19:39:37 -0500
Clean up XXXX comments in evdns code.  Make server_ports actually go away when their refcnt reaches zero.


svn:r9085
2006-12-12 02:56:47 +00:00
Nick Mathewson
d22deb61d6 r11495@Kushana: nickm | 2006-12-11 19:11:14 -0500
More evdns: tab fixes.  Dont make users worry about flags.  Set truncated flag correctly when generating responses, rather than just bailing out.


svn:r9084
2006-12-12 02:56:41 +00:00
Nick Mathewson
e53bca15e7 r11492@Kushana: nickm | 2006-12-11 12:30:23 -0500
Implement dns server reply retry logic.


svn:r9081
2006-12-12 02:56:23 +00:00
Nick Mathewson
c58d9494df r11491@Kushana: nickm | 2006-12-11 12:12:57 -0500
More DNS server hacking: everything except testing, and retries, and documentation, and Tor integration.


svn:r9080
2006-12-12 02:56:20 +00:00
Nick Mathewson
3f9f01cd4b r9100@Kushana: nickm | 2006-10-05 23:04:13 -0400
Note subtasks for DNS server


svn:r9069
2006-12-12 02:49:49 +00:00
Nick Mathewson
e9d67b1162 r9099@Kushana: nickm | 2006-10-05 17:42:55 -0400
start fleshing out some logic to build server support into eventdns.  Still needs work and testing.


svn:r9068
2006-12-12 02:49:45 +00:00
Nick Mathewson
b5075dd81f r11483@Kushana: nickm | 2006-12-08 00:26:56 -0500
remove some completed items from the TODO


svn:r9053
2006-12-08 05:27:13 +00:00
Roger Dingledine
67b27a42be cleanups on the man page edits
svn:r9045
2006-12-07 19:32:52 +00:00
Nick Mathewson
613af4bc98 r11460@Kushana: nickm | 2006-12-07 13:05:27 -0500
Write the remaining bits of dir-voting.txt that I feel smart enough to write at the moment.  There are still some open questions about timelines and about how to get multilevel keys working.


svn:r9042
2006-12-07 18:57:22 +00:00
Andrew Lewman
65b14eae90 Added hiddenservice files as well to the man page.
svn:r9033
2006-12-07 05:13:53 +00:00
Andrew Lewman
25d94d373c Updated the FILES section with info from
http://archives.seul.org/or/talk/Dec-2006/msg00065.html


svn:r9032
2006-12-07 05:09:54 +00:00
Roger Dingledine
c5b90daf86 cleanups, bump to 0.1.2.4-alpha
svn:r9015
2006-12-02 22:47:46 +00:00
Roger Dingledine
8e17ffa351 remove a wrong definition of Guard from dir-spec
svn:r9003
2006-11-28 14:23:03 +00:00
Roger Dingledine
257634bfa0 mention doc/socks-extensions.txt in the tor-resolve man page
svn:r9000
2006-11-27 11:06:38 +00:00
Andrew Lewman
9835509492 In an -alpha branch, people can keep up with new software. Bump to
Privoxy 3.0.6.


svn:r8992
2006-11-26 03:12:09 +00:00
Roger Dingledine
6120cb7d64 fixes based on early feedback from the blocking paper
svn:r8968
2006-11-20 13:00:16 +00:00
Nick Mathewson
a0ac8e03e4 r9562@Kushana: nickm | 2006-11-16 22:33:23 -0500
Commit additional thoughts towards a revised directory protocol, including voting.


svn:r8960
2006-11-17 03:35:19 +00:00
Nick Mathewson
e2abc727e5 r9561@Kushana: nickm | 2006-11-16 22:32:54 -0500
Tweaks to test-connection patch:  use ".noconnect" instead of ".test" (since there are lots of ways to test things).  Use a regular sequence of STREAM events (NEW followed by CLOSED) instead of a new event type.  Make the function that checks the address be static and use const and strcasecmpend properly.
 


svn:r8959
2006-11-17 03:34:58 +00:00
Roger Dingledine
d245d413a9 early comments from sjmurdoch
svn:r8944
2006-11-13 07:17:31 +00:00
Roger Dingledine
cdef2bff9d compress so the last page isn't mostly whitespace
svn:r8943
2006-11-13 03:55:35 +00:00
Roger Dingledine
e49d7a6e86 finish the draft.
svn:r8942
2006-11-13 03:52:50 +00:00
Roger Dingledine
2557555cd4 cleanup, fix references
svn:r8941
2006-11-12 23:37:47 +00:00
Nick Mathewson
aa647d9e47 r9299@totoro: nickm | 2006-11-12 17:05:09 -0500
mention that Tor provides anonymity and that anonymity is important.  Heh.


svn:r8939
2006-11-12 22:05:18 +00:00
Nick Mathewson
54ec19252f r9292@totoro: nickm | 2006-11-12 16:33:36 -0500
A couple of small tweaks; add infranet reference.


svn:r8938
2006-11-12 21:56:34 +00:00
Nick Mathewson
450016f4fd r9291@totoro: nickm | 2006-11-12 16:19:29 -0500
Rewrite the threat model.


svn:r8937
2006-11-12 21:56:30 +00:00
Nick Mathewson
183627580d r9290@totoro: nickm | 2006-11-12 14:23:46 -0500
Here, have a related work section.


svn:r8936
2006-11-12 21:56:24 +00:00
Roger Dingledine
4ea3835735 start work on the reachability section. more work remains.
svn:r8934
2006-11-12 20:04:19 +00:00
Roger Dingledine
1e878be04c belt out some paragraphs for the security section.
later sections still need some paragraphs; oh well.


svn:r8931
2006-11-12 10:41:52 +00:00
Roger Dingledine
1b6f880140 finish the discovery section.
svn:r8930
2006-11-12 09:48:22 +00:00
Roger Dingledine
a051a93e2b roadmap-2007 cleanups
svn:r8929
2006-11-12 07:12:46 +00:00
Roger Dingledine
968b07985e fix typos and a few subsections in roadmap-2007
svn:r8926
2006-11-10 04:52:39 +00:00
Roger Dingledine
a6e15d77fa clean up, and make progress on, the discovery section.
svn:r8925
2006-11-10 04:21:57 +00:00
Paul Syverson
d0694820e1 A few changes throughout, and more about DoS resistant bridge querying
svn:r8924
2006-11-09 23:03:13 +00:00
Roger Dingledine
df183bb75e that's your plan, ray? get her?
more work on the discovery section.


svn:r8923
2006-11-09 08:53:13 +00:00
Paul Syverson
10f58f25fc Some stuff on port scanning and a braindumpsortof on directories
svn:r8921
2006-11-08 22:46:38 +00:00
Roger Dingledine
70d9e958ae touchups. hope i didn't clobber too much of nick's plans.
svn:r8920
2006-11-08 07:34:42 +00:00
Roger Dingledine
80e1ab7ee1 take RunTesting out of the man page until we reenable it
svn:r8899
2006-11-04 04:29:04 +00:00
Nick Mathewson
2cdb9ed03d r9470@Kushana: nickm | 2006-11-02 16:57:32 -0500
Ordinal numbers are already adverbs; enforce house style.


svn:r8898
2006-11-03 18:08:41 +00:00
Nick Mathewson
b07bd7214b r9454@Kushana: nickm | 2006-10-31 15:29:47 -0500
oops; missed one.


svn:r8886
2006-10-31 23:35:39 +00:00
Nick Mathewson
0c1fa41ecb r9453@Kushana: nickm | 2006-10-31 15:29:15 -0500
Add some time estimates and some small edits to roadmap.


svn:r8885
2006-10-31 23:35:23 +00:00
Nick Mathewson
bba78b9c1f r9450@Kushana: nickm | 2006-10-31 14:16:35 -0500
checkpoint some blocking tweaks and edits


svn:r8882
2006-10-31 19:17:18 +00:00
Roger Dingledine
058ae90539 a few more discovery pieces, so i have something to send nart
svn:r8880
2006-10-31 04:30:26 +00:00
Roger Dingledine
fa78bb58ab start a tweak on the status event section, but not finished
yet. so be it.


svn:r8859
2006-10-30 02:54:44 +00:00
Roger Dingledine
8a781f7f34 general cleanups from looking through or-cvs
svn:r8855
2006-10-29 07:41:25 +00:00
Roger Dingledine
6b13771edd and a few more bibtex entries
svn:r8854
2006-10-29 07:39:16 +00:00
Roger Dingledine
4026c0fc2f motivate families-of-bridges better
svn:r8853
2006-10-29 07:38:49 +00:00
Roger Dingledine
fe11d20600 put in a lot of blocking-related roadmap items, all of which
need to be fleshed out more.


svn:r8852
2006-10-29 07:38:21 +00:00
Roger Dingledine
3eb8c9e50f two easy discovery approaches, plus a discussion of publicity,
and general cleanups.


svn:r8842
2006-10-28 06:14:18 +00:00
Nick Mathewson
5b72dc77ad r9395@Kushana: nickm | 2006-10-26 22:06:51 -0400
Fix Bug 349: Have GETINFO network-status return even old routers, and use long nicknames where appropriate.  Document this.


svn:r8834
2006-10-27 02:07:04 +00:00
Nick Mathewson
3fbb292bff r9389@Kushana: nickm | 2006-10-25 17:46:16 -0400
Add a CLEARDNSCACHE signal to clear the client-side DNS cache.


svn:r8829
2006-10-25 21:46:21 +00:00
Roger Dingledine
c928b85cfa another paragraph of pessimism for the network signature section
svn:r8827
2006-10-25 04:30:58 +00:00
Nick Mathewson
9dc3946ef2 r9382@Kushana: nickm | 2006-10-24 22:01:18 -0400
Fill in remaining items I understand in roadmap draft.  Now to print and mess with on paper.


svn:r8825
2006-10-25 02:01:27 +00:00
Roger Dingledine
834d935e6e Section 6: Hiding Tor's network signatures
svn:r8823
2006-10-24 23:23:47 +00:00
Roger Dingledine
3d0bac078f Section 5: The relay component of our blocking-resistant design.
svn:r8815
2006-10-24 09:05:29 +00:00
Nick Mathewson
16677225ca r9367@Kushana: nickm | 2006-10-24 01:55:21 -0400
Write another ~1300 words of roadmap text.  Mark added incomplete items as tmp. add a few comments. add more notes.


svn:r8814
2006-10-24 05:56:00 +00:00
Nick Mathewson
6c7bf2f830 r9364@Kushana: nickm | 2006-10-23 22:57:48 -0400
Remove reference to NS_FULL event; add two GETINFO targets.


svn:r8812
2006-10-24 02:58:03 +00:00
Roger Dingledine
5ebffb12b0 add some more items for the roadmap, and clean some up
svn:r8810
2006-10-23 23:08:27 +00:00
Nick Mathewson
8769909a85 r9360@Kushana: nickm | 2006-10-23 16:34:25 -0400
FIll in some more roadmap items.


svn:r8809
2006-10-23 20:34:51 +00:00
Nick Mathewson
fbe3c803f2 r9358@Kushana: nickm | 2006-10-23 12:02:25 -0400
clarify recent spec stuff


svn:r8808
2006-10-23 20:17:04 +00:00
Peter Palfrader
4665e1d18c Sync manpage with code: 6697 was added to LongLivedPorts
svn:r8807
2006-10-23 11:29:15 +00:00
Roger Dingledine
77c8c0ee51 spec and implement some more status events. start to build
some conventions.


svn:r8805
2006-10-23 10:16:43 +00:00
Roger Dingledine
c0b0f96fce make version-spec accurate again
svn:r8804
2006-10-23 10:15:01 +00:00
Roger Dingledine
2a1c294717 implement a few status events, so we can make sure they work,
and so vidalia can start handling them if it wants.


svn:r8802
2006-10-23 05:51:46 +00:00
Nick Mathewson
4401c47f63 r9347@Kushana: nickm | 2006-10-23 01:24:48 -0400
Implement status event backend logic.


svn:r8799
2006-10-23 05:24:57 +00:00
Nick Mathewson
fba9a2adc8 r9345@Kushana: nickm | 2006-10-23 00:52:42 -0400
oops. add latex too


svn:r8798
2006-10-23 04:52:56 +00:00
Nick Mathewson
e1157bc9a9 r9321@Kushana: nickm | 2006-10-22 19:45:23 -0400
Add initial version of roadmap.  Lots of stuff has too much detail, and lots has too little.  This is still in a brainstorming phase: the most important thing is to add the stuff that is not there at all.  I will try to think about what that might be as I drive home.


svn:r8797
2006-10-23 03:49:02 +00:00
Nick Mathewson
42bab1c6d3 r9318@Kushana: nickm | 2006-10-22 15:22:57 -0400
Let directory authorities set the BadExit flag if they like.  Also, refactor directory authority code so we can believe multiple things about a single router, and do fewer linear searches.


svn:r8794
2006-10-23 03:48:42 +00:00
Roger Dingledine
63a1811cda Explain why tor is well-suited for the relay component of a
blocking-resistant anonymity system.

Talk through how other proxy designs work and what we can reuse
from their ideas.

Still much work remaining.


svn:r8792
2006-10-23 03:21:54 +00:00
Nick Mathewson
01bc03eff4 r9312@Kushana: nickm | 2006-10-20 14:45:22 -0400
Add an event type to tell the controller when our opinion of a router status has changed.  I might have missed some cases here.


svn:r8781
2006-10-20 21:04:39 +00:00
Roger Dingledine
0459db2c0d checkpoint some changes as i read diffs
svn:r8780
2006-10-20 19:11:12 +00:00
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
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