Nick Mathewson
|
ad4dc74482
Use a stricter set of warnings; make them all pass.
|
21 years ago |
Roger Dingledine
|
4689243242
make sure options.MaxConn can be reached
|
21 years ago |
Roger Dingledine
|
984ffec105
implement first piece of hibernation
|
21 years ago |
Nick Mathewson
|
9510d9a792
tor --list-fingerprint to print fingerprint and exit
|
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
|
44d4516155
Use tor_snprintf, not snprintf
|
21 years ago |
Nick Mathewson
|
bc62f8e983
Replace sprintf with snprintf
|
21 years ago |
Nick Mathewson
|
57f09573f5
Every 60 seconds, check whether the listeners are still alive, and relaunch the dead ones.
|
21 years ago |
Roger Dingledine
|
54c432bd93
pay attention to the return value of do_hup, and exit
|
21 years ago |
Nick Mathewson
|
88cffc3c5f
Use bitwise masking to turn off bits, not compare-and-subtract
|
21 years ago |
Roger Dingledine
|
97a0a43511
start the process of making 0.0.7* obsolete
|
21 years ago |
Roger Dingledine
|
de65052312
don't assert multiple things in the same tor_assert()
|
21 years ago |
Nick Mathewson
|
1c9426d6e0
Build without warnings on mac gcc 3.3
|
21 years ago |
Nick Mathewson
|
b7bddcac75
Windows requires a different cast uint64_t format
|
21 years ago |
Roger Dingledine
|
3f4b544b77
use size_t rather than int for directory lengths in memory
|
21 years ago |
Roger Dingledine
|
136d4e5739
prefer tor_free to free
|
21 years ago |
Roger Dingledine
|
6ed095b177
print the IP if a conn fails badly, to see if there are any trends
|
21 years ago |
Roger Dingledine
|
d381aa4696
Fix an evil bug: when we failed to write to our log, fputs()
|
21 years ago |
Roger Dingledine
|
8727a28119
bugfix: we were starting to daemonize before we opened our logs,
|
21 years ago |
Roger Dingledine
|
c0db9fa803
fix confusing cut-n-paste mistake
|
21 years ago |
Nick Mathewson
|
0ef85f6dba
Some platforms have weird translations when you open files in "test" mode; make read/write_str_to_file aware.
|
21 years ago |
Nick Mathewson
|
c66e4c4870
Flush more changes from sandbox
|
21 years ago |
Nick Mathewson
|
ecf414f05e
Stop using separate defaults for no-config-file and empty-config-file
|
21 years ago |
Nick Mathewson
|
4b4bfd500a
Improve log message to make it obvious _why_ reading the configuration has failed.
|
21 years ago |
Roger Dingledine
|
99e367f045
authdirservers don't need to be treated specially on hup for
|
21 years ago |
Roger Dingledine
|
6e9e467b1d
dirservers now don't build circuits until they have fetched a
|
21 years ago |
Nick Mathewson
|
e19af3fa0f
We are an OR if ORPort *or* ORBindAddress is set; similarly for being an OP
|
21 years ago |
Roger Dingledine
|
cd3da3fc12
o clients choose nodes proportional to advertised bandwidth
|
21 years ago |
Roger Dingledine
|
dda2e44222
compile again on win32 (i think)
|
21 years ago |