Roger Dingledine
|
102df4a982
fix some typos
|
20 years ago |
Peter Palfrader
|
7b15f77dd6
Make a few INFO log lines into DEBUG
|
20 years ago |
Roger Dingledine
|
ae92a91d96
more log uncluttering
|
20 years ago |
Roger Dingledine
|
03dcef4c78
start the process of reducing clutter in server logs
|
20 years ago |
Roger Dingledine
|
aca6fb5f5f
cut out a warning that doesn't need to warn
|
20 years ago |
Nick Mathewson
|
998cf8d622
Try to extract as many descriptors as possible from truncated http responses. (when DIR_PURPOSE_FETCH_ROUTERDESC)
|
20 years ago |
Peter Palfrader
|
8808b26206
Check if our IP address has changed every 5 minutes. If it has, update our server descriptor, but not too often
|
20 years ago |
Nick Mathewson
|
a89daaeca9
Once an hour (not just on startup) give OpenSSL some more entropy.
|
20 years ago |
Nick Mathewson
|
5cf758764e
Rate-limit warnings related to unrecognized MyFamily elements.
|
20 years ago |
Roger Dingledine
|
f12663a4ce
call circuit_expire_all_dirty_circs() on do_hup().
|
20 years ago |
Nick Mathewson
|
370e4abdc9
replace former relaunches of directory downloads with reset of failure count and relaunch of status downloads. Fix memory leak in trusted_dir_server_t. Reset "last download attempted" time when resetting failure counts.
|
20 years ago |
Roger Dingledine
|
adf04f121e
size_t int printf mucking
|
20 years ago |
Nick Mathewson
|
96c47c8478
Note the two places where clients will still try to fetch old-style (v1) directory info. These should be fixed, I think.
|
20 years ago |
Nick Mathewson
|
509de69a7e
reset warning flags on SIGHUP. arma: is this everything?
|
20 years ago |
Nick Mathewson
|
8434595584
Fix verbose compiler warnings, including one in routerlist.c that would have been an actual error. Normalize whitespace. Enforce convention that "address" is a hostname and "addr" is an IPv4 address.
|
20 years ago |
Nick Mathewson
|
a608905070
Give a less frequent and more helpful warning on failed serverdesc downloads
|
20 years ago |
Nick Mathewson
|
42e17182da
When we get an EOF or a timeout on a directory connection, note how many bytes of serverdesc we are dropping. This will help us determine whether it is smart to parse incomplete serverdesc responses.
|
20 years ago |
Nick Mathewson
|
c5ee3e961e
Reorganize some quick-and-dirty code to find out what openssl stuff is leaking, using dmalloc.
|
20 years ago |
Nick Mathewson
|
9e54e2e293
free helper node status info on shutdown
|
20 years ago |
Nick Mathewson
|
23864ad423
Try to hunt down a few more leaks
|
20 years ago |
Nick Mathewson
|
de198d800b
Never call free() on tor_malloc()d memory. This is unlikely to be our current leak, but it may help dmalloc work.
|
20 years ago |
Nick Mathewson
|
92451f74a8
Reformat inconsistent function declarations.
|
20 years ago |
Roger Dingledine
|
f8d430653e
better cleanups as i figure out what's going on
|
20 years ago |
Nick Mathewson
|
06625e779d
Decouple router downloads from old directory downloads entirely
|
20 years ago |
Nick Mathewson
|
c345dab3bd
Fix logic error (people who ask authorities should never split; others should always split). Also, fix timing error in main.c so retries really happen.
|
20 years ago |
Nick Mathewson
|
f995edd516
Fix at least one overzealous download bug. (tor_malloc_zero new local_routerstatus_t objs); add a pile of logs back in; probe every 10sec; never autolaunch on failure. Let us see if this works better.
|
20 years ago |
Nick Mathewson
|
cdc912714e
I love the smell of C in the morning. Make router-download rules smarter (download more so long as we dont duplicate existing requests; relaunch at staggered intervals); relaunch one a minute or on failure; reset 60 minutes; always open 3 requests if we can; add authority opinion to networkstatus; make naming rule correct. There is a remaining bug where we retry servers too quickly; We need to look at that harder.
|
20 years ago |
Nick Mathewson
|
87f6d526fe
Refactor new directory code a bit. Keep a big list of rolled-up router status info, including # of download failures (not yet used). Update this list from networkstatuses when they arrive, then update routers from this list. Only download 128 routers at a time, to avoid gargantuan URLs.
|
20 years ago |
Nick Mathewson
|
6d15a73548
Resolve/expand some XXXXs and improve a log message or two
|
20 years ago |
Nick Mathewson
|
b70c229f6e
make some functions static; clean dead networkstatus entries more often.
|
20 years ago |