Roger Dingledine
|
5dcc6fd8b2
ok ok the stat wasn't redundant
|
21 years ago |
Roger Dingledine
|
4564367b2a
Remove redundant stat() for reading cached directory, and remove
|
21 years ago |
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.
|
21 years ago |
Nick Mathewson
|
5a5be93f80
Normalize whitespace; add a "tell me about all the unnormalized whitespace" target; fix a braino in dirserv.c
|
21 years ago |
Nick Mathewson
|
7daab4034d
Fix windows build for VC6; centralize newline-fiasco-damage-control logic
|
21 years ago |
Nick Mathewson
|
a2079c074f
Add some documentation to routerlist
|
21 years ago |
Roger Dingledine
|
3ce3d6eead
resolve a 64-bit warning
|
21 years ago |
Roger Dingledine
|
6521c2ce51
Stop using the wrong DataDirectory when we're validating.
|
21 years ago |
Roger Dingledine
|
394554cfbf
Clean up copyrights.
|
21 years ago |
Roger Dingledine
|
6c61ed4fb5
Make options no longer a global variable.
|
21 years ago |
Roger Dingledine
|
2ba3a9de16
make the default default options.FirewallPorts be the default
|
21 years ago |
Roger Dingledine
|
f7a30fa73e
break out validate_options
|
21 years ago |
Nick Mathewson
|
451f8b5045
- Implement all of control interface except authentication, setconfig,
|
21 years ago |
Roger Dingledine
|
e541319dcb
lay the groundwork for a default value for each config option.
|
21 years ago |
Nick Mathewson
|
ad4dc74482
Use a stricter set of warnings; make them all pass.
|
21 years ago |
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!
|
21 years ago |
Nick Mathewson
|
2fbf31533b
Tricksy compiler warnings! We hates them, hates them forever, my precious!
|
21 years ago |
Nick Mathewson
|
6980929e64
Use strlcpy, not strcpy.
|
21 years ago |
Nick Mathewson
|
44d4516155
Use tor_snprintf, not snprintf
|
21 years ago |
Nick Mathewson
|
bc62f8e983
Replace sprintf with snprintf
|
21 years ago |
Nick Mathewson
|
b90b2bb848
Add and document router-status line using new unified liveness/verifiedness format; continue to generate running-routers; continue to parse running-routers when no router-status line is found
|
21 years ago |
Nick Mathewson
|
e5049d5aa3
Remove routerinfo_t->is_trusted_dir, and all the twisted machinery used to
|
21 years ago |
Roger Dingledine
|
97a0a43511
start the process of making 0.0.7* obsolete
|
21 years ago |
Nick Mathewson
|
56a592dbe3
Fix memory leak
|
21 years ago |
Nick Mathewson
|
9d5831341e
Implement user-declared node families.
|
21 years ago |
Nick Mathewson
|
28dd458eaf
Upload to trusted dir servers based on DirServer config options, not on routerinfos.
|
21 years ago |
Nick Mathewson
|
88e0c080cf
Ignore fascistfirewall when dealing with service descriptors; obey fascistfirewall when posting server descriptors; ignore fascistfirewall on directory connections when httpproxy is set.
|
21 years ago |
Nick Mathewson
|
ff38cc06e1
Fix search-and-replace in comments: Friends->family does not imply friendship->familyhip.
|
21 years ago |
Nick Mathewson
|
7fa5d224d4
Implement "families" of coadministered nodes; prevent them all from appearing on the same circuit.
|
21 years ago |
Nick Mathewson
|
bd10bf4b5b
Try to always dtrt if routerlist==NULL
|
21 years ago |