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 |
Nick Mathewson
|
b16048917c
Stop downloading directories and download routers instead. This still needs some work, but at last clients are finally on the new architecture. Next comes the tuning and bugfixing.
|
20 years ago |
Nick Mathewson
|
d4e0af7822
Fix a bunch of log messages. Deprecate some routerlist fields; remove others, and status_set_at from routerinfo_t. Compress routerlist.c cleanup functions. Update cached networkstatus mtime when we download the same one twice. Change some interfaces.
|
20 years ago |
Nick Mathewson
|
e3adcbdb95
Big commit: clients start downloading and using network-statuses.
|
20 years ago |
Nick Mathewson
|
7c6679d8dc
Add new config.c function to set options that can fail, and roll back if they do. This should solve the setconf-an-impossible-port bug.
|
20 years ago |
Nick Mathewson
|
059148f588
Only caches download network-status for now, and they use a different strategy. Add an element to connection_t to remember what we are downloading, and a function to recognize our own fingerprint.
|
20 years ago |
Nick Mathewson
|
f50ddfd4dd
Download network-status at regular intervals. The code is probably iffy, and the constants need to be renamed.
|
20 years ago |
Nick Mathewson
|
5c6c88e76d
More stuff for new directories.
|
20 years ago |
Roger Dingledine
|
33b2abbc90
remove redundant logs about unreachable servers
|
20 years ago |