Nick Mathewson
|
d1fc7ad94b
Log when we retry a directory connection
|
20 gadi atpakaļ |
Nick Mathewson
|
0c4186d6ee
Use correct logic to decide whether there are more directory servers to retry.
|
20 gadi atpakaļ |
Nick Mathewson
|
65c4fa2614
Split mark-dir-failed-and-retry logic into separate function; make it retry runningrouters as well as directory fetches; note that the do-we-need-to-give-up test is wrong.
|
20 gadi atpakaļ |
Roger Dingledine
|
59504f4831
bugfix: if a server uploads a descriptor that's unapproved, actually
|
20 gadi atpakaļ |
Roger Dingledine
|
35d5a5b712
when a dirserver causes you to give a warn, mention which dirserver it was
|
20 gadi atpakaļ |
Roger Dingledine
|
011ad3cba5
clean up logging,
|
20 gadi atpakaļ |
Nick Mathewson
|
fe6eb34a10
Solaris CC freaks out if isspace and friends get anything other than an int. We learned that, so we casted. But it is also a bad idea to cast a signed char to an int and expect things to work on win32. Now we cast to unsigned char, then to int, then pass to isspace. Ug
|
20 gadi atpakaļ |
Roger Dingledine
|
ef6c9d18e7
New circuit building strategy: keep a list of ports that we've used in the past 6 hours, and always try to have 2 circuits open or on the way
|
20 gadi atpakaļ |
Nick Mathewson
|
fc87758ff3
Add function to check that addr_policy_t is okay; change struct addr_policy_t to addr_policy_t.
|
20 gadi atpakaļ |
Nick Mathewson
|
7fbd297532
Suggestion from weasel: Make tor --version --version dump the cvs Id of every file.
|
20 gadi atpakaļ |
Nick Mathewson
|
aff5122685
Fetch cached running-routers from servers that serve it (that is, authdirservers, and servers running 0.0.9rc5-cvs or later.)
|
20 gadi atpakaļ |
Nick Mathewson
|
9ba7311c1c
After implementing a feature, remember to disable the error message you used to get when requesting it.
|
20 gadi atpakaļ |
Roger Dingledine
|
22727b4edc
wrong is ok, and right is fine, but in between is apparently
|
20 gadi atpakaļ |
Nick Mathewson
|
6f5dbefa7e
Normalize space: add one between every control keyword and control clause.
|
20 gadi atpakaļ |
Roger Dingledine
|
7c9a707900
remove emacs droppings, since nick says he doesn't need them anymore
|
20 gadi atpakaļ |
Nick Mathewson
|
f91152ce6a
Clarify a bunch of log messages
|
20 gadi atpakaļ |
Nick Mathewson
|
22dba27d8d
Normalize a few more kinds of whitespace. We now dislike:
|
20 gadi atpakaļ |
Roger Dingledine
|
310a8da0d2
break reached_eof() out of process_inbuf()
|
20 gadi atpakaļ |
Nick Mathewson
|
22a0d82749
Cache running-routers; compress running-routers; serve compressed running-routers.z
|
20 gadi atpakaļ |
Roger Dingledine
|
47993ae6fb
some fixes so far
|
20 gadi atpakaļ |
Nick Mathewson
|
2078b136f6
Make running-routers fetch (apparently) work
|
20 gadi atpakaļ |
Roger Dingledine
|
5864f4ac01
fix a seg fault when fetching rendezvous descs
|
20 gadi atpakaļ |
Nick Mathewson
|
5109de5626
Rename exit_policy to addr_policy, since it gets used for SOCKS and directory connections too. Make all policies get validated in options_validate, and make SOCKS/directory policies get set in options_act.
|
20 gadi atpakaļ |
Nick Mathewson
|
60880cda84
Resolve a bunch of FIXME items; mark a lot more for attention; ask for clarification on some. Turn all XXXX008 ("showstopper for 0.0.8 release") items into XXXX009 or XXXX, since plainly they were not showstoppers for 0.0.8. Add/clean some docs.
|
20 gadi atpakaļ |
Nick Mathewson
|
5a5be93f80
Normalize whitespace; add a "tell me about all the unnormalized whitespace" target; fix a braino in dirserv.c
|
20 gadi atpakaļ |
Roger Dingledine
|
394554cfbf
Clean up copyrights.
|
20 gadi atpakaļ |
Roger Dingledine
|
6c61ed4fb5
Make options no longer a global variable.
|
20 gadi atpakaļ |
Roger Dingledine
|
2ba3a9de16
make the default default options.FirewallPorts be the default
|
20 gadi atpakaļ |
Roger Dingledine
|
f7a30fa73e
break out validate_options
|
20 gadi atpakaļ |
Nick Mathewson
|
11d330be5e
Tweaks to prevent obsolete restarting tors from hammering the dirservers. (1) Cache a received directory as soon as the signature checks out. (2) Treat a cached directory as "recent" based on its mtime. (3) If we have a recent directory, we dont need to fetch a newer one for DirFetchPostPeriod. This needs review!
|
20 gadi atpakaļ |