Nick Mathewson
d54d7b7ec1
Add some documentation; move the signature generation logic into routerparse.c along with the hash generation logic; make router signing use it as well.
...
svn:r4840
2005-08-26 15:34:53 +00:00
Roger Dingledine
893acb3acc
Make a new AssumeReachable config option that will publish anyway.
...
Also, let authdirservers start without setting their Address field.
Something is still not working though. Will fix in morning.
svn:r4839
2005-08-26 07:41:19 +00:00
Roger Dingledine
d5e426ab51
add a tor_dup_addr() function to simplify malloc()+tor_inet_ntoa()
...
svn:r4838
2005-08-26 07:37:07 +00:00
Nick Mathewson
e68bed8782
Fall back to routerlist instead of descriptor_list when we are a cache.
...
svn:r4837
2005-08-25 20:54:12 +00:00
Nick Mathewson
4dc3cb9fd9
Fix a segfault when starting a dir cache
...
svn:r4836
2005-08-25 20:45:53 +00:00
Nick Mathewson
54a6a8f0ef
Start implementing the server side of the new directory protocol.
...
Probably very buggy, since I can't actually run an authdir.
Features
- Generate and publish new network-status format
- Code to cache and re-serve network-status objects generated by others.
- Publish individual descriptors (by fingerprint, by "all", and by
"tell me yours.") [Still needs compression logic]
- Publish client and server recommended versions seprately.
- Add digest of descriptor to routerinfo_t, so we can track them better, and
length, so we can server them more easily.
Cleanups
- Unify code to sign directory-like things
- Make resolve_my_address() able to tell you which name it wound up resolving.
- Unify code to store and serve directory-like things so it all uses
cached_dir_t.
- Unify code to set the value of cached_dir_t objects.
svn:r4835
2005-08-25 20:33:17 +00:00
Nick Mathewson
f0893ddc8c
Clarify formats, terminology; add more URLs.
...
svn:r4834
2005-08-25 20:04:12 +00:00
Thomas Sjögren
251c486f6c
PIDFile should be PidFile
...
svn:r4833
2005-08-25 06:11:50 +00:00
Roger Dingledine
86f85f240c
be much more conservative about logging reachability complaints.
...
the ones it logs now are probably genuine problem servers.
svn:r4832
2005-08-24 14:31:32 +00:00
Roger Dingledine
e54e970a82
ha ha, that infinite loop was fun.
...
but dirservers aren't supposed to have infinite loops.
svn:r4831
2005-08-24 12:14:44 +00:00
Roger Dingledine
7b5be0210a
add some more todo items, and mark off a few
...
svn:r4830
2005-08-24 02:37:55 +00:00
Roger Dingledine
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