aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
Commit message (Expand)AuthorAge
* doc pedant•••svn:r9634 Roger Dingledine2007-02-24
* fix a log message that was broken long ago and never noticed•••svn:r9630 Roger Dingledine2007-02-24
* r11900@catbus: nickm | 2007-02-23 18:11:04 -0500••• Fix null-pointer access on update_router_descriptor_cache_downloads. svn:r9626 Nick Mathewson2007-02-23
* r11876@catbus: nickm | 2007-02-22 02:23:13 -0500••• Fix two XXXX012 issues in routerlist.c: a possible performance issue hasnt shown up on any profiles, so unflag it. Stop warning when we get a router descriptor that we asked for but no longer want: just drop it (if we are not a cache) or cache if (if we are). svn:r9616 Nick Mathewson2007-02-22
* r11859@catbus: nickm | 2007-02-21 00:53:27 -0500••• Fix use of predict. this should get refactored, but now now. svn:r9611 Nick Mathewson2007-02-21
* r11858@catbus: nickm | 2007-02-21 00:27:44 -0500••• As a trivial optimization, remove a redundant call to router_have_minimum_dir_info. This might shave 2% on some systems by according to some profilers. svn:r9610 Nick Mathewson2007-02-21
* r11844@catbus: nickm | 2007-02-17 16:53:42 -0500••• Note a problematic warning. svn:r9599 Nick Mathewson2007-02-17
* r11827@catbus: nickm | 2007-02-16 15:00:39 -0500••• Try to fix VC++ int conversion warning. svn:r9595 Nick Mathewson2007-02-16
* r11826@catbus: nickm | 2007-02-16 14:58:38 -0500••• Resolve 56 DOCDOC comments. svn:r9594 Nick Mathewson2007-02-16
* r11787@catbus: nickm | 2007-02-12 21:01:34 -0500••• Always remove expired routers and networkstatus docs before checking whether we have enough information to build circuits. (Fixes bug 373.) svn:r9575 Nick Mathewson2007-02-13
* r11785@catbus: nickm | 2007-02-12 20:27:48 -0500••• Node-picking fixes: Never warn when a down node is listed in a config option (bug 348); always warn when a node in a config option is unnamed. Also, when entrynodes is configured, then build the guard list as: (parts of EntryNodes that were guards before), (the rest of EntryNodes), (the rest of the old guards). This last point ensures that EntryNode users will get the EntryNodes they want with the minimum change to their guard list. svn:r9574 Nick Mathewson2007-02-13
* r11781@catbus: nickm | 2007-02-12 18:31:33 -0500••• Discard any v1 directory info that is so old as to be useless. (Fixes bug 387) svn:r9572 Nick Mathewson2007-02-12
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500••• Update copyright dates. svn:r9570 Nick Mathewson2007-02-12
* r11774@catbus: nickm | 2007-02-12 16:31:47 -0500••• Handle errors on opening cached-routers* more uniformly and sanely: log not-found errors at level INFO, and all other errors at level WARN. Needs testing on win32. svn:r9569 Nick Mathewson2007-02-12
* r11732@catbus: nickm | 2007-02-08 18:12:54 -0500••• Fix an "uninitialized variable" warning. svn:r9536 Nick Mathewson2007-02-08
* add a comment so i stop worrying•••svn:r9532 Roger Dingledine2007-02-08
* r11717@catbus: nickm | 2007-02-08 14:44:30 -0500••• Clear up some XXX012s in routerlist.c: make smartlist_choose_by_bandwidth handle statuses with no corresponding routers much better. svn:r9531 Nick Mathewson2007-02-08
* r11700@catbus: nickm | 2007-02-08 02:03:50 -0500••• Fix several bugs in computing recommended versions. 1) refactor is-this-version-good handling and which-vesions-are-good handling to be in the same place. 2) a version is recommended if more than half of the versioning authorities like it, not >= half. 3) "NEW_IN_SERIES" should mean, "I don't know of an 0.1.1.x this recent, and there are some 0.1.2.x versions out", not "I don't know of an 0.1.1.x this recent, but I know some older ones." This should resolve bug 383. svn:r9523 Nick Mathewson2007-02-08
* more changes. i'm all caught up now.•••svn:r9495 Roger Dingledine2007-02-06
* r11629@catbus: nickm | 2007-02-02 15:06:17 -0500••• Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch! svn:r9477 Nick Mathewson2007-02-02
* r12123@Kushana: nickm | 2007-02-02 13:57:42 -0500••• Resolve remaining DOCDOC comments. svn:r9476 Nick Mathewson2007-02-02
* r11621@catbus: nickm | 2007-02-01 13:09:18 -0500••• Fix another VC compiler warning. svn:r9473 Nick Mathewson2007-02-01
* r11620@catbus: nickm | 2007-02-01 13:06:27 -0500••• Call stat() slightly less often; use fstat() when possible. svn:r9472 Nick Mathewson2007-02-01
* avoid messy crashes (bugfix by nick)•••svn:r9435 Roger Dingledine2007-01-27
* Weight directory requests by advertised bandwidth. Now we can•••let servers enable write limiting but still allow most clients to succeed at their directory requests. svn:r9433 Roger Dingledine2007-01-27
* r9723@catbus: nickm | 2007-01-22 15:47:17 -0500••• Fix an XXXX012 in routerlist.c: when we do not have enough networkstatuses to launch router requests, do not launch router requests. Backport candidate. svn:r9388 Nick Mathewson2007-01-22
* minor cleanups•••svn:r9387 Roger Dingledine2007-01-22
* r9715@catbus: nickm | 2007-01-22 02:51:04 -0500••• Document a few undocumented functions and arguments. svn:r9385 Nick Mathewson2007-01-22
* resolve an XXX, add a new XXX, simplify some code•••svn:r9381 Roger Dingledine2007-01-22
* r11922@Kushana: nickm | 2007-01-10 15:43:18 -0500••• Clear untrusted networkstatuses after 10 days too. (This is not a terribly awful bug, since we would only ever retain 16 of them, but it still might be nice to backport.) Resolves part A of bug 372. svn:r9324 Nick Mathewson2007-01-10
* r11824@Kushana: nickm | 2007-01-03 17:15:28 -0500••• control-spec: upcase arguments in status events; note unimplemented events individually r11825@Kushana: nickm | 2007-01-03 17:41:43 -0500 Implement EXTERNAL IP server status event. r11826@Kushana: nickm | 2007-01-03 17:47:10 -0500 Implement BAD_SERVER_DESCRIPTOR server status event. r11827@Kushana: nickm | 2007-01-03 18:01:56 -0500 Implement SOCKS_UNKNOWN_PROTOCOL and DANGEROUS_SOCKS client events. r11828@Kushana: nickm | 2007-01-03 18:23:22 -0500 Implement BUG controller events. Also, flush ERR-level status events just like ERR-level log messages. r11829@Kushana: nickm | 2007-01-03 23:37:27 -0500 Yet more status events: CLOCK_SKEW, GOOD/ACCEPTED_SERVER_DESCRIPTOR, {CHECKING_}REACHABILITY_{SUCCEEDED|FAILED} r11833@Kushana: nickm | 2007-01-05 16:56:37 -0500 Note some unimplementedness in control-spec.txt svn:r9279 Nick Mathewson2007-01-06
* fix a bug i introduced in r9249; and more cleanups.•••svn:r9263 Roger Dingledine2007-01-04
* r11820@Kushana: nickm | 2007-01-03 14:54:05 -0500••• Add (and specify) a BadDirectory flag to networkstatuses, so authorities can tell clients that some caches are broken. Also, implement an as-yet-unused function to estimate how many bytes will be sent on a directory connection. svn:r9255 Nick Mathewson2007-01-03
* checkpoint as we add PreferTunneledDirConns config option•••svn:r9249 Roger Dingledine2007-01-03
* r11759@Kushana: nickm | 2006-12-29 15:21:14 -0500••• Actually, handle_getinfo_helper supports 552 results just fine: just leave *answer unset. svn:r9217 Nick Mathewson2006-12-29
* r11737@Kushana: nickm | 2006-12-28 18:32:13 -0500••• Remove some dead code; refactor some duplicated code. svn:r9206 Nick Mathewson2006-12-29
* r11736@Kushana: nickm | 2006-12-28 17:46:23 -0500••• Mark a pile of XXXX comments as targetted for 0.1.2: some because they look important, some because they look easy. svn:r9205 Nick Mathewson2006-12-29
* r11694@Kushana: nickm | 2006-12-23 23:09:20 -0500••• Add a version entry to networkstatus documents; have this entry get parsed and used to calculate whether begin_dir is supported. svn:r9181 Nick Mathewson2006-12-24
* r11677@Kushana: nickm | 2006-12-23 21:17:54 -0500••• Track when we get 503s from directory servers. Do not use directory servers that have given us a 503 until either an hour has passed, or we are are out of non-busy servers. svn:r9172 Nick Mathewson2006-12-24
* r11676@Kushana: nickm | 2006-12-23 20:42:17 -0500••• Add an orport option to dirserver lines so that clients can tell where to connect to open an encrypted tunnel to a dirserver even before they have its descriptor. svn:r9171 Nick Mathewson2006-12-24
* r11479@Kushana: nickm | 2006-12-07 23:38:54 -0500••• Refactor GETINFO into a table-driven dispatch, as suggested by arma. My brain hurts. svn:r9052 Nick Mathewson2006-12-08
* r11454@Kushana: nickm | 2006-12-07 10:07:24 -0500••• Apparently, we actually hit the nasty mmap-then-unlink behavior. Fix it. svn:r9039 Nick Mathewson2006-12-07
* cleanups, bump to 0.1.2.4-alpha•••svn:r9015 Roger Dingledine2006-12-02
* r9467@Kushana: nickm | 2006-11-01 18:51:16 -0500••• Allow larger amounts of drift in uptime to be "cosmetic". svn:r8891 Nick Mathewson2006-11-01
* and blow away what appears to be some redundant logic•••svn:r8806 Roger Dingledine2006-10-23
* spec and implement some more status events. start to build•••some conventions. svn:r8805 Roger Dingledine2006-10-23
* fix a minor memory leak every time we rebuild the router store,•••fix a rare memory leak if something goes wrong while rebuilding it, and clean up some code. nick, please confirm. reported by "fookoowa" in flyspray 346 (yay!) svn:r8789 Roger Dingledine2006-10-22
* r9312@Kushana: nickm | 2006-10-20 14:45:22 -0400••• Add an event type to tell the controller when our opinion of a router status has changed. I might have missed some cases here. svn:r8781 Nick Mathewson2006-10-20
* checkpoint some changes as i read diffs•••svn:r8780 Roger Dingledine2006-10-20
* r9290@31-35-219: nickm | 2006-10-20 10:32:33 -0400••• Add a GETINFO target so controllers can ask Tor for the current state of a router. (Results given in networkstatus format.) svn:r8772 Nick Mathewson2006-10-20