Roger Dingledine
|
47993ae6fb
some fixes so far
|
21 anos atrás |
Nick Mathewson
|
2078b136f6
Make running-routers fetch (apparently) work
|
21 anos atrás |
Roger Dingledine
|
5864f4ac01
fix a seg fault when fetching rendezvous descs
|
21 anos atrás |
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 anos atrás |
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.
|
21 anos atrás |
Nick Mathewson
|
5a5be93f80
Normalize whitespace; add a "tell me about all the unnormalized whitespace" target; fix a braino in dirserv.c
|
21 anos atrás |
Roger Dingledine
|
394554cfbf
Clean up copyrights.
|
21 anos atrás |
Roger Dingledine
|
6c61ed4fb5
Make options no longer a global variable.
|
21 anos atrás |
Roger Dingledine
|
2ba3a9de16
make the default default options.FirewallPorts be the default
|
21 anos atrás |
Roger Dingledine
|
f7a30fa73e
break out validate_options
|
21 anos atrás |
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 anos atrás |
Nick Mathewson
|
2fbf31533b
Tricksy compiler warnings! We hates them, hates them forever, my precious!
|
21 anos atrás |
Nick Mathewson
|
6980929e64
Use strlcpy, not strcpy.
|
21 anos atrás |
Nick Mathewson
|
44d4516155
Use tor_snprintf, not snprintf
|
21 anos atrás |
Nick Mathewson
|
bc62f8e983
Replace sprintf with snprintf
|
21 anos atrás |
Roger Dingledine
|
0113a643a2
quick-and-dirty dir policy since the dirservers are getting hammered
|
21 anos atrás |
Roger Dingledine
|
560a4a1407
switch conn->addr and conn->dir_port to reflect the final destination,
|
21 anos atrás |
Roger Dingledine
|
de65052312
don't assert multiple things in the same tor_assert()
|
21 anos atrás |
Nick Mathewson
|
f882bd92ed
Remove unused locals
|
21 anos atrás |
Nick Mathewson
|
fa9c121343
Add a comment
|
21 anos atrás |
Nick Mathewson
|
28dd458eaf
Upload to trusted dir servers based on DirServer config options, not on routerinfos.
|
21 anos atrás |
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 anos atrás |
Roger Dingledine
|
95644480c5
better warn message for the Content-Length attack
|
21 anos atrás |
Nick Mathewson
|
bd10bf4b5b
Try to always dtrt if routerlist==NULL
|
21 anos atrás |
Nick Mathewson
|
1c9426d6e0
Build without warnings on mac gcc 3.3
|
21 anos atrás |
Roger Dingledine
|
aebc3a03ba
more int to size_t conversions, fixing one or more amd64 bugs
|
21 anos atrás |
Nick Mathewson
|
0d5a847f12
Remove need for dirservers file: now, we note trusted dirservers in configuration options, and only need to remember addr:port and key digest for each one.
|
21 anos atrás |
Nick Mathewson
|
0068415b80
Add an implementation of trusted_dir_server logic to switch towards simply remembering an addr/port/keyid for each trusted dir server
|
21 anos atrás |
Roger Dingledine
|
1efad74164
bugfix on my friday commit: make hidden services work again in cvs
|
21 anos atrás |
Roger Dingledine
|
1a4cb248f3
interim commit for http proxy support
|
21 anos atrás |