aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2005-09-23Provide dire warnings to any users who set DirServer; move it out of ↵Nick Mathewson
torrc.sample and into torrc.complete. svn:r5132
2005-09-23Oops. It looks like some old GCCs dislike #if inside a macro argument.Nick Mathewson
svn:r5131
2005-09-23put a log message so we can start confirming socks5-with-remote-dnsRoger Dingledine
vs socks5-with-local-dns svn:r5130
2005-09-23Use OpenSSL AES when OpenSSL has version 0.9.7 or later.Nick Mathewson
svn:r5129
2005-09-23Decouple router downloads from old directory downloads entirelyNick Mathewson
svn:r5128
2005-09-23Fix logic error (people who ask authorities should never split; others ↵Nick Mathewson
should always split). Also, fix timing error in main.c so retries really happen. svn:r5127
2005-09-23Re-enable autosplitting, but authorities and mirrors should not do it, and ↵Nick Mathewson
make the cutoff higher than 1. svn:r5126
2005-09-23Fix at least one overzealous download bug. (tor_malloc_zero new ↵Nick Mathewson
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. svn:r5125
2005-09-23Fix some compiler warningsNick Mathewson
svn:r5124
2005-09-23Remove extraneous space on read-history lines.Nick Mathewson
svn:r5123
2005-09-23make the numbers in read-history and write-history into uint64s,Roger Dingledine
so they don't overflow and publish negatives in the descriptor. fixes bug 193. svn:r5119
2005-09-23and a minor log cleanupRoger Dingledine
svn:r5115
2005-09-23there was no need to die when we failed to spawn a cpuworker.Roger Dingledine
it handles it fine if we decide not to die. svn:r5114
2005-09-22remove another loud debug msgRoger Dingledine
svn:r5113
2005-09-22resolve lucky's recent bug: tor was exiting if we failed to spawnRoger Dingledine
a new dns worker (e.g. because we were out of fd's). svn:r5112
2005-09-22get rid of a noisy debug logRoger Dingledine
svn:r5111
2005-09-22I love the smell of C in the morning. Make router-download rules smarter ↵Nick Mathewson
(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. svn:r5110
2005-09-22Use a separate type for "local view of router status". Also, even though I ↵Nick Mathewson
told arma there was no need, replace an ugly O ( n lg n ) algorithm with a nice O ( n ) algorithm when stepping through servers. Some ugliness is just too bad to stand. svn:r5109
2005-09-22content-type bugfixes:Roger Dingledine
http://seppia.noreply.org/tor/dir.z was being declared text/plain and http://seppia.noreply.org/tor/server/fp/719BE45DE224B607C53707D0E2143E2D423E74CF was being declared application/octet-stream svn:r5108
2005-09-21bugfix: nobody ever implemented EVENT_ADDRMAP for control protocolRoger Dingledine
version 0, so don't let version 0 controllers ask for it. svn:r5107
2005-09-21Make write_escaped_data more bulletproof; backport candidate.Nick Mathewson
svn:r5106
2005-09-21clean up misleading comment on authdir_wants_to_reject_router()Roger Dingledine
svn:r5105
2005-09-21Only check versions from versioning authdirs.Nick Mathewson
svn:r5101
2005-09-21Implement new version handling code.Nick Mathewson
svn:r5100
2005-09-20clean up a bit more codeRoger Dingledine
svn:r5098
2005-09-20make router_is_general_exit match its documentationRoger Dingledine
but it's still wrong maybe svn:r5095
2005-09-19bump version to 0.1.1.7-alpha-cvsNick Mathewson
svn:r5093
2005-09-18remove some debugging garbageNick Mathewson
svn:r5092
2005-09-18Make give-up-on-failure actually work: it seems the servers gave me a real ↵Nick Mathewson
test case. svn:r5091
2005-09-18Prevent a "try forever to download an unobtainable descriptor" bug. Still ↵Nick Mathewson
remaining: the "give up forever" bug. svn:r5090
2005-09-18Refactor new directory code a bit. Keep a big list of rolled-up router ↵Nick Mathewson
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. svn:r5089
2005-09-18Move to new base64 digest functions. Switch to new router digest ↵Nick Mathewson
calculation. Make sure there are no duplicates in router status lists. svn:r5088
2005-09-18Helper functions to perform our truncated base64 encoding on hexdigests.Nick Mathewson
svn:r5087
2005-09-18Make smartlist_add_all more efficient.Nick Mathewson
svn:r5086
2005-09-16Remove a bunch of #if0d code that I no longer need to look at.Nick Mathewson
svn:r5083
2005-09-16Resolve/expand some XXXXs and improve a log message or twoNick Mathewson
svn:r5082
2005-09-16simplifyRoger Dingledine
svn:r5081
2005-09-16Fix the never-marked-anything-as-running bug. Now Tor builds circuts again. Woo.Nick Mathewson
svn:r5080
2005-09-16Add a missing returnNick Mathewson
svn:r5079
2005-09-16Fix the confusing bug where we were downloading only the first n/2-1 of the ↵Nick Mathewson
servers we actually wanted. svn:r5078
2005-09-16Unify our "figure out which fingerprints we were downloading" code.Nick Mathewson
svn:r5077
2005-09-15Add some (notice, for now) log messages that imply confusing things are ↵Nick Mathewson
happening. svn:r5076
2005-09-15fix braino in dirserv.Nick Mathewson
svn:r5075
2005-09-15Make authdirs smarter. Reject/invalidate by key and IP. Remember that not ↵Nick Mathewson
every authdir has to be a naming authdir. svn:r5074
2005-09-15And some documentation before bed.Nick Mathewson
svn:r5073
2005-09-15make some functions static; clean dead networkstatus entries more often.Nick Mathewson
svn:r5072
2005-09-15Make unittests not dieNick Mathewson
svn:r5071
2005-09-15Stop downloading directories and download routers instead. This still needs ↵Nick Mathewson
some work, but at last clients are finally on the new architecture. Next comes the tuning and bugfixing. svn:r5070
2005-09-15separate validation from naming in authoritative directory servers; simplify ↵Nick Mathewson
some router-management code. svn:r5069
2005-09-14Fix a bunch of log messages. Deprecate some routerlist fields; remove ↵Nick Mathewson
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. svn:r5068