aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* make router_is_general_exit match its documentationRoger Dingledine2005-09-20
| | | | | | | but it's still wrong maybe svn:r5095
* 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
* 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
* 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
* bump to 0.1.1.7-alphaRoger Dingledine2005-09-14
| | | | svn:r5051
* bugfix: when we try to determine the reachability of our dirport,Roger Dingledine2005-09-14
| | | | | | | | and it doesn't work, don't freak out and mark ourselves as down and try somewhere else. just calmly fail. svn:r5050
* Add new config.c function to set options that can fail, and roll back if ↵Nick Mathewson2005-09-14
| | | | | | they do. This should solve the setconf-an-impossible-port bug. svn:r5046
* stop the call duplication inside config_assign()Roger Dingledine2005-09-14
| | | | svn:r5045
* note that routerstatus_t.entries is sorted.Nick Mathewson2005-09-14
| | | | svn:r5044
* simplifyRoger Dingledine2005-09-14
| | | | svn:r5043
* and take the bang outRoger Dingledine2005-09-14
| | | | svn:r5042
* ok, ok, csv's get replaced even when we assign them from the torrc.Roger Dingledine2005-09-14
| | | | svn:r5041
* checkpoint: clean up and document the three ways to call config_assign()Roger Dingledine2005-09-14
| | | | | | | and reduce code duplication in config_free() and option_is_same(). svn:r5040
* correct "your server is reachable" log entries to indicate that it wasRoger Dingledine2005-09-13
| | | | | | | self-testing that told us so. svn:r5034
* a bit more code cleanupRoger Dingledine2005-09-13
| | | | svn:r5033
* I forgot -- smart kids make their code compile.Nick Mathewson2005-09-13
| | | | svn:r5032
* add docs, fix whitespace, and make ANY rule in routerparse a little tighter.Nick Mathewson2005-09-13
| | | | svn:r5031
* Fix DOCDOC entries in routerlist.c. Make more functions use ↵Nick Mathewson2005-09-13
| | | | | | SMARTLIST_FOREACH instead of raw loops. Replace router_list_superseded implementation with one that has a prayer of working. svn:r5027
* Add documentation to a few functions in container.c; reformat function ↵Nick Mathewson2005-09-13
| | | | | | definitions svn:r5026
* Add functions to extend and compress new router store logic. (Basic idea: ↵Nick Mathewson2005-09-13
| | | | | | use a journal of newly received router descriptors, and periodically replace the old file. This avoids the "too many files" problem and the "too many rewrites" problem.) svn:r5025
* Two new functions like write_bytes_to_file: one takes a list of byte-and-len ↵Nick Mathewson2005-09-13
| | | | | | structs; one appends. svn:r5024
* fix a seg fault if we ask an authdirserver for a descriptor byRoger Dingledine2005-09-13
| | | | | | | fingerprint but he doesn't know about him. svn:r5023
* when the user asked for a rendezvous port that the hidden serviceRoger Dingledine2005-09-12
| | | | | | | | didn't want to provide, we were sending an IP address back along with the end cell. fortunately, it was zero. but stop that anyway. svn:r5022