Commit Graph

4552 Commits

Author SHA1 Message Date
Roger Dingledine
a120cc20c1 Dirservers now do their own external reachability testing of each
Tor server, and only list them as running if they've been found to
be reachable.

Dirservers also log trouble servers, but only start complaining loudly
after they've been up for an hour, to reduce false positives. We still
need to do something about the fact that it is quite loud when there
are many trouble servers.


svn:r4829
2005-08-24 02:31:02 +00:00
Nick Mathewson
5d590861c4 TOR_ISSPACE, not isspace.
svn:r4828
2005-08-24 02:20:31 +00:00
Nick Mathewson
5f2eea29f7 Stop solaris from warning about localtime_r and friends. AFAICT, no other platforms want this.
svn:r4827
2005-08-24 02:11:33 +00:00
Nick Mathewson
b72ab23ded check [X-]Forwarded-For headers in HTTP requests when generating log messages. Implements feature for bug 181. Arma--please review?
svn:r4826
2005-08-23 22:27:17 +00:00
Nick Mathewson
50452c32ec fix bug 180: handle duplicate lines in approved-routers files.
svn:r4825
2005-08-23 22:00:35 +00:00
Roger Dingledine
fed90c300f downgrade back to 0.1.1.5-alpha-cvs
it's going to be another while


svn:r4824
2005-08-23 10:01:11 +00:00
Roger Dingledine
f35ef825f9 Our logic to decide if the OR we connected to was the right guy
was brittle and maybe open to a mitm for unverified routers.

Now we be sure to check the digest, and if the nickname he claims is
not a verified one then we don't care what nickname he claims.


svn:r4823
2005-08-23 09:50:51 +00:00
Roger Dingledine
0a45058d0d prod at the 0.1.1.x todo items
svn:r4822
2005-08-23 07:36:55 +00:00
Roger Dingledine
0b0dce4534 remove most 0.1.0.x todo items
svn:r4821
2005-08-23 07:20:00 +00:00
Roger Dingledine
675f6b5f3c that comma was important
svn:r4820
2005-08-23 01:00:30 +00:00
Roger Dingledine
8b766d1b7e fix bad logic that has been lurking for eons, that now prevented us
from uploading descriptors after the first one.


svn:r4818
2005-08-23 00:47:44 +00:00
Roger Dingledine
ab112ca6ad and don't print the null string here either
svn:r4816
2005-08-22 22:59:54 +00:00
Roger Dingledine
23ed3c9786 whoops, avoid printing a null string sometimes
svn:r4815
2005-08-22 22:58:38 +00:00
Roger Dingledine
676b330eb2 Make DirPostPeriod config option obsolete.
Force new descriptor upload every 18 hours, not 24, to avoid races.
Change rate-limiting on new descriptors due to bandwidth changes, from
45 minutes to 20 minutes.


svn:r4814
2005-08-22 21:53:12 +00:00
Roger Dingledine
8adcd0bb3b bump version to 0.1.1.6-alpha
svn:r4813
2005-08-22 20:12:39 +00:00
Roger Dingledine
d388047888 update changelog for 0.1.1.6-alpha
svn:r4812
2005-08-22 20:11:15 +00:00
Roger Dingledine
9064ea6c71 fix some typos in the control spec
svn:r4811
2005-08-22 20:05:41 +00:00
Roger Dingledine
dc66f6df67 fix sentence, fix html
svn:r4810
2005-08-22 07:14:12 +00:00
Roger Dingledine
fa64d73fc7 fix function headers from the descriptor-frequency commit
svn:r4809
2005-08-22 06:45:18 +00:00
Roger Dingledine
435d2d8fde when we begin reachability testing, log the address:port for each
port we're testing, so people are more likely to notice that they're
using the wrong ip address.


svn:r4808
2005-08-22 05:46:02 +00:00
Roger Dingledine
d928411acd change log entry for unreachability to explicitly suggest /etc/hosts
as the culprit


svn:r4807
2005-08-22 05:33:49 +00:00
Nick Mathewson
dc09c7fc73 Implement new (reduced-frequency) upload rules. arma, you should review this.
svn:r4806
2005-08-22 03:10:53 +00:00
Andrew Lewman
a966100a63 Fix typo referring to AMD64.
svn:r4805
2005-08-22 00:48:21 +00:00
Nick Mathewson
9b6eeb81aa Make unit tests run without segfaulting
svn:r4804
2005-08-22 00:34:42 +00:00
Nick Mathewson
9321db8c29 Fix bug with tor_memmem finding a match at the end of the string.
svn:r4803
2005-08-22 00:34:23 +00:00
Nick Mathewson
7a442c2c48 Make set_options a little smarter: have options_act handle transitions on its own, and only dirty our descriptor when we really want to.
svn:r4802
2005-08-22 00:18:45 +00:00
Roger Dingledine
27a14335a7 draft changelog for 0.1.1.6-alpha
svn:r4801
2005-08-21 09:51:47 +00:00
Nick Mathewson
6b04e30dc6 Note DH security hacks in tor-spec
svn:r4800
2005-08-19 21:55:47 +00:00
Roger Dingledine
8d7dcb9e69 make it clearer that we need servers
svn:r4799
2005-08-19 21:52:21 +00:00
Peter Palfrader
f0033a259b Fix confusing copyright statement :)
svn:r4798
2005-08-18 00:54:16 +00:00
Roger Dingledine
e33d89dbe7 fix a broken link that jens pointed out
svn:r4797
2005-08-17 15:59:18 +00:00
Roger Dingledine
6a50730806 make registering your nickname its own section
svn:r4796
2005-08-17 07:13:26 +00:00
Roger Dingledine
d007764a12 make them paragraphs not lists, and see if that works better
svn:r4795
2005-08-17 07:03:40 +00:00
Roger Dingledine
38d114c119 rearrange and repoint things
svn:r4794
2005-08-17 06:46:02 +00:00
Roger Dingledine
dbdf86abf2 add tor server configuration instructions
svn:r4793
2005-08-17 04:15:25 +00:00
Roger Dingledine
b07ba724e1 and remove the general install instructions
svn:r4792
2005-08-17 00:06:09 +00:00
Roger Dingledine
61023e74c5 add a tor-doc-unix file for installing a tor client on linux/bsd/unix/etc
svn:r4791
2005-08-17 00:03:45 +00:00
Roger Dingledine
5e76bac1dd the tor-spec says router->address must be an IP address. so refuse
it if it's not.
(this also fixes some potential security problems with people providing
hostnames as their address and then preferentially resolving them and
partitioning users.)


svn:r4790
2005-08-16 02:52:27 +00:00
Andrew Lewman
955a10fee0 Initial complete config file. Organized into easily searchable
sections.


svn:r4789
2005-08-16 02:14:40 +00:00
Roger Dingledine
252ef0773d mention the anonymity gotcha in switchproxy that carmee pointed out.
svn:r4788
2005-08-15 23:54:25 +00:00
Roger Dingledine
04d42ea433 rotate dns and cpu workers if the controller changes options that
will affect them.


svn:r4787
2005-08-15 23:46:18 +00:00
Roger Dingledine
b1d3f124c4 Permit transitioning from ORPort=0 to ORPort!=0, and back.
This is actually a bit more subtle, because we need to rotate
the dnsworkers and cpuworkers if certain options (logs, orport, etc)
change. Maybe set_options() should detect this and notify the caller
that it should rotate them.

Expect some mysterious crashes.


svn:r4786
2005-08-15 10:30:45 +00:00
Roger Dingledine
10ff723938 initialize the dns worker cache tree whether or not we start
out as a server.


svn:r4785
2005-08-15 10:27:37 +00:00
Roger Dingledine
157f013d83 fix typo
svn:r4784
2005-08-15 09:25:36 +00:00
Roger Dingledine
00c2ba4841 resolve a XXX
svn:r4783
2005-08-15 09:19:55 +00:00
Roger Dingledine
11bc97801d clean up some confusing logs.
make MonthlyAccountingStart truly obsolete now.


svn:r4782
2005-08-15 09:17:47 +00:00
Roger Dingledine
79e3f5600a hey, we have a function for that
svn:r4781
2005-08-15 08:51:20 +00:00
Roger Dingledine
3728011f36 after failing from resolve failed or misc, reset the num failures.
svn:r4780
2005-08-15 03:35:15 +00:00
Roger Dingledine
f57d062d9c Implement exit enclaves: if we know an IP address for the destination,
and there's a running Tor server at that address which allows exit to
the destination, then extend the circuit to that exit first.
Also, if the user asks for a .exit node, cannibalize general circs for it.


svn:r4779
2005-08-15 03:25:40 +00:00
Roger Dingledine
121ea4dd93 a url for better reference
svn:r4778
2005-08-15 01:03:50 +00:00