summaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2005-09-30Reformat inconsistent function declarations.Nick Mathewson
svn:r5160
2005-09-30resolve a docdocRoger Dingledine
svn:r5157
2005-09-29do the other half of dirport reachability testing.Roger Dingledine
it should be back and working now. svn:r5155
2005-09-29better cleanups as i figure out what's going onRoger Dingledine
svn:r5154
2005-09-29move some code around when we're succeeding or failing at fetchingRoger Dingledine
server descs. also clean up some formatting. svn:r5153
2005-09-29re-enable dirport testing againRoger Dingledine
(still need the other half, to notice when it has worked.) svn:r5152
2005-09-29fix typoRoger Dingledine
svn:r5151
2005-09-29Add a bunch more warnings to out warning suite; resolve them; pack structs a ↵Nick Mathewson
little better. svn:r5150
2005-09-29suppress all our usual compiler warnings, including a longstanding one from ↵Nick Mathewson
tree.h svn:r5149
2005-09-29Be more conservative about whether to advertise our dirport.Roger Dingledine
The main change is to not advertise if we're running at capacity and either a) we could hibernate or b) our capacity is low and we're using a default dirport. svn:r5148
2005-09-29clean up some doxygen stuffRoger Dingledine
svn:r5147
2005-09-26Fix crash-on-wakeup bug in networkstatus download.Nick Mathewson
svn:r5144
2005-09-24bugfix: we were whining about using socks4 or socks5-with-local-lookupRoger Dingledine
even when they used an IP in the "virtual" range we designed exactly for this case. svn:r5142
2005-09-23But, of course, mirrors should get the most up-to-date server in any case.Nick Mathewson
svn:r5135
2005-09-23Log even less verbosely. Also, do not download old (frequently-updating) ↵Nick Mathewson
servers more than once every 2 hours. svn:r5134
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-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-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-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