aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
...
* fix a memory leak on exit in routerlist.cNick Mathewson2005-09-30
| | | | svn:r5169
* Never call free() on tor_malloc()d memory. This is unlikely to be our ↵Nick Mathewson2005-09-30
| | | | | | current leak, but it may help dmalloc work. svn:r5168
* Resolve several DOCDOCs. Make non-mirrors only launch routerdesc downloads ↵Nick Mathewson2005-09-30
| | | | | | when they have more than 16 router descriptors to download, or when 10 minutes have passed since the last download. svn:r5166
* we were leaking some memory every time the client changes IPsRoger Dingledine2005-09-30
| | | | svn:r5165
* Hey kids, guess why connection_mark_for_close() started giving an assert ↵Nick Mathewson2005-09-30
| | | | | | when called for an even-numbered line? Right, because I made it a bitfield, when it was really a line number. Why did I think it was a bitfield? A stale comment. Let that be a lesson to us all. svn:r5164
* resolve nick's commentRoger Dingledine2005-09-30
| | | | svn:r5163
* even better function start checks; give dmalloc a chance of working.Nick Mathewson2005-09-30
| | | | svn:r5162
* Note that there is incorrect behavior in directory.c code. Arma, please ↵Nick Mathewson2005-09-30
| | | | | | check this too. svn:r5161
* Reformat inconsistent function declarations.Nick Mathewson2005-09-30
| | | | svn:r5160
* resolve a docdocRoger Dingledine2005-09-30
| | | | svn:r5157
* do the other half of dirport reachability testing.Roger Dingledine2005-09-29
| | | | | | | it should be back and working now. svn:r5155
* better cleanups as i figure out what's going onRoger Dingledine2005-09-29
| | | | svn:r5154
* move some code around when we're succeeding or failing at fetchingRoger Dingledine2005-09-29
| | | | | | | | server descs. also clean up some formatting. svn:r5153
* re-enable dirport testing againRoger Dingledine2005-09-29
| | | | | | | (still need the other half, to notice when it has worked.) svn:r5152
* fix typoRoger Dingledine2005-09-29
| | | | svn:r5151
* Add a bunch more warnings to out warning suite; resolve them; pack structs a ↵Nick Mathewson2005-09-29
| | | | | | little better. svn:r5150
* suppress all our usual compiler warnings, including a longstanding one from ↵Nick Mathewson2005-09-29
| | | | | | tree.h svn:r5149
* Be more conservative about whether to advertise our dirport.Roger Dingledine2005-09-29
| | | | | | | | | 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
* clean up some doxygen stuffRoger Dingledine2005-09-29
| | | | svn:r5147
* Fix crash-on-wakeup bug in networkstatus download.Nick Mathewson2005-09-26
| | | | svn:r5144
* bugfix: we were whining about using socks4 or socks5-with-local-lookupRoger Dingledine2005-09-24
| | | | | | | | even when they used an IP in the "virtual" range we designed exactly for this case. svn:r5142
* But, of course, mirrors should get the most up-to-date server in any case.Nick Mathewson2005-09-23
| | | | svn:r5135
* Log even less verbosely. Also, do not download old (frequently-updating) ↵Nick Mathewson2005-09-23
| | | | | | servers more than once every 2 hours. svn:r5134
* Provide dire warnings to any users who set DirServer; move it out of ↵Nick Mathewson2005-09-23
| | | | | | torrc.sample and into torrc.complete. svn:r5132
* Oops. It looks like some old GCCs dislike #if inside a macro argument.Nick Mathewson2005-09-23
| | | | svn:r5131
* put a log message so we can start confirming socks5-with-remote-dnsRoger Dingledine2005-09-23
| | | | | | | vs socks5-with-local-dns svn:r5130
* Decouple router downloads from old directory downloads entirelyNick Mathewson2005-09-23
| | | | svn:r5128
* Fix logic error (people who ask authorities should never split; others ↵Nick Mathewson2005-09-23
| | | | | | should always split). Also, fix timing error in main.c so retries really happen. svn:r5127
* Re-enable autosplitting, but authorities and mirrors should not do it, and ↵Nick Mathewson2005-09-23
| | | | | | make the cutoff higher than 1. svn:r5126
* Fix at least one overzealous download bug. (tor_malloc_zero new ↵Nick Mathewson2005-09-23
| | | | | | 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
* Fix some compiler warningsNick Mathewson2005-09-23
| | | | svn:r5124
* Remove extraneous space on read-history lines.Nick Mathewson2005-09-23
| | | | svn:r5123
* make the numbers in read-history and write-history into uint64s,Roger Dingledine2005-09-23
| | | | | | | | so they don't overflow and publish negatives in the descriptor. fixes bug 193. svn:r5119
* and a minor log cleanupRoger Dingledine2005-09-23
| | | | svn:r5115
* there was no need to die when we failed to spawn a cpuworker.Roger Dingledine2005-09-23
| | | | | | | it handles it fine if we decide not to die. svn:r5114
* remove another loud debug msgRoger Dingledine2005-09-22
| | | | svn:r5113
* resolve lucky's recent bug: tor was exiting if we failed to spawnRoger Dingledine2005-09-22
| | | | | | | a new dns worker (e.g. because we were out of fd's). svn:r5112
* get rid of a noisy debug logRoger Dingledine2005-09-22
| | | | svn:r5111
* I love the smell of C in the morning. Make router-download rules smarter ↵Nick Mathewson2005-09-22
| | | | | | (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
* Use a separate type for "local view of router status". Also, even though I ↵Nick Mathewson2005-09-22
| | | | | | 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
* content-type bugfixes:Roger Dingledine2005-09-22
| | | | | | | | | | 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
* bugfix: nobody ever implemented EVENT_ADDRMAP for control protocolRoger Dingledine2005-09-21
| | | | | | | version 0, so don't let version 0 controllers ask for it. svn:r5107
* Make write_escaped_data more bulletproof; backport candidate.Nick Mathewson2005-09-21
| | | | svn:r5106
* clean up misleading comment on authdir_wants_to_reject_router()Roger Dingledine2005-09-21
| | | | svn:r5105
* Only check versions from versioning authdirs.Nick Mathewson2005-09-21
| | | | svn:r5101
* Implement new version handling code.Nick Mathewson2005-09-21
| | | | svn:r5100
* clean up a bit more codeRoger Dingledine2005-09-20
| | | | svn:r5098
* make router_is_general_exit match its documentationRoger Dingledine2005-09-20
| | | | | | | but it's still wrong maybe svn:r5095
* remove some debugging garbageNick Mathewson2005-09-18
| | | | svn:r5092
* Make give-up-on-failure actually work: it seems the servers gave me a real ↵Nick Mathewson2005-09-18
| | | | | | test case. svn:r5091