summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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
* Move items from meeting into dir-spec and TODO.Nick Mathewson2005-09-21
| | | | svn:r5102
* Only check versions from versioning authdirs.Nick Mathewson2005-09-21
| | | | svn:r5101
* Implement new version handling code.Nick Mathewson2005-09-21
| | | | svn:r5100
* Add notes of things that must be done to dir-specNick Mathewson2005-09-21
| | | | svn:r5099
* clean up a bit more codeRoger Dingledine2005-09-20
| | | | svn:r5098
* Add a temporary section to dir-spec reflecting what we actually do now.Nick Mathewson2005-09-20
| | | | svn:r5097
* a few more todo items doneRoger Dingledine2005-09-20
| | | | svn:r5096
* make router_is_general_exit match its documentationRoger Dingledine2005-09-20
| | | | | | | but it's still wrong maybe svn:r5095
* clean up new dir spec a bit moreRoger Dingledine2005-09-20
| | | | svn:r5094
* bump version to 0.1.1.7-alpha-cvsNick Mathewson2005-09-19
| | | | svn:r5093
* 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
* Prevent a "try forever to download an unobtainable descriptor" bug. Still ↵Nick Mathewson2005-09-18
| | | | | | remaining: the "give up forever" bug. svn:r5090
* Refactor new directory code a bit. Keep a big list of rolled-up router ↵Nick Mathewson2005-09-18
| | | | | | 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
* Move to new base64 digest functions. Switch to new router digest ↵Nick Mathewson2005-09-18
| | | | | | calculation. Make sure there are no duplicates in router status lists. svn:r5088
* Helper functions to perform our truncated base64 encoding on hexdigests.Nick Mathewson2005-09-18
| | | | svn:r5087
* Make smartlist_add_all more efficient.Nick Mathewson2005-09-18
| | | | svn:r5086
* Specify exactly what we meant by "the digest of a descriptor". Fortunately, ↵Nick Mathewson2005-09-18
| | | | | | we dont depend on it being right yet. svn:r5085
* add a couple of directory itemsNick Mathewson2005-09-16
| | | | svn:r5084
* Remove a bunch of #if0d code that I no longer need to look at.Nick Mathewson2005-09-16
| | | | svn:r5083
* Resolve/expand some XXXXs and improve a log message or twoNick Mathewson2005-09-16
| | | | svn:r5082
* simplifyRoger Dingledine2005-09-16
| | | | svn:r5081
* Fix the never-marked-anything-as-running bug. Now Tor builds circuts again. Woo.Nick Mathewson2005-09-16
| | | | svn:r5080
* Add a missing returnNick Mathewson2005-09-16
| | | | svn:r5079
* Fix the confusing bug where we were downloading only the first n/2-1 of the ↵Nick Mathewson2005-09-16
| | | | | | servers we actually wanted. svn:r5078
* Unify our "figure out which fingerprints we were downloading" code.Nick Mathewson2005-09-16
| | | | svn:r5077
* Add some (notice, for now) log messages that imply confusing things are ↵Nick Mathewson2005-09-15
| | | | | | happening. svn:r5076
* fix braino in dirserv.Nick Mathewson2005-09-15
| | | | svn:r5075
* Make authdirs smarter. Reject/invalidate by key and IP. Remember that not ↵Nick Mathewson2005-09-15
| | | | | | every authdir has to be a naming authdir. svn:r5074
* And some documentation before bed.Nick Mathewson2005-09-15
| | | | svn:r5073
* make some functions static; clean dead networkstatus entries more often.Nick Mathewson2005-09-15
| | | | svn:r5072
* Make unittests not dieNick Mathewson2005-09-15
| | | | svn:r5071
* Stop downloading directories and download routers instead. This still needs ↵Nick Mathewson2005-09-15
| | | | | | some work, but at last clients are finally on the new architecture. Next comes the tuning and bugfixing. svn:r5070
* separate validation from naming in authoritative directory servers; simplify ↵Nick Mathewson2005-09-15
| | | | | | some router-management code. svn:r5069
* Fix a bunch of log messages. Deprecate some routerlist fields; remove ↵Nick Mathewson2005-09-14
| | | | | | 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
* Add a touch_file() function to compat so we can update cache mtimes.Nick Mathewson2005-09-14
| | | | svn:r5067
* Oops. directory_set_dirty() needs to mark networkstatus as dirty too.Nick Mathewson2005-09-14
| | | | svn:r5066
* tweak punctuationRoger Dingledine2005-09-14
| | | | svn:r5065
* Would you believe that the software_versions field of routerlist_t was never ↵Nick Mathewson2005-09-14
| | | | | | actually used for anything? svn:r5064
* Big commit: clients start downloading and using network-statuses.Nick Mathewson2005-09-14
| | | | | | | | | | | | | | | | | | | | | Only caches need to get running-routers; nobody needs to parse, store, or use it. Same for the router-status line in the directories. Add many #if 0's that can get removed once I'm convinced they don't contain anything I'm forgetting. Start all newly-parsed routers as non-running and non-valid; update them from the list of network statuses. Update all routers when a new networkstatus comes in. After 3 tries for a networkstatus, clients give up until they're told to try again. "Let's get those missles ready to **DESTROY THE UNIVERSE**!" -TMBG svn:r5063
* Clean up a few warnings that make gcc twig out a bit.Nick Mathewson2005-09-14
| | | | svn:r5062
* Declare 0.1.1.7 as The Version With The Good Dirservers.Nick Mathewson2005-09-14
| | | | svn:r5061
* New experimental upstreamdebian-version-0.1.1.7-alpha-1Peter Palfrader2005-09-14
| | | | svn:r5059
* update changelog with minor tweaksRoger Dingledine2005-09-14
| | | | svn:r5057