aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
Commit message (Expand)AuthorAge
* r12585@catbus: nickm | 2007-04-30 14:38:37 -0400••• (Needs review.) Allow directory authorities to accept multiple router descriptors and extra info documents in a single POST. This will make implementing the client side of proposal 104 a lot simpler. svn:r10069 Nick Mathewson2007-04-30
* r12553@catbus: nickm | 2007-04-30 01:32:54 -0400••• Backport candidate: Add asserts to dirserv_remove_invalid, and fix a bug in dirserv_remove_invalid that could mess with pointers in a freed routerinfo right after it was freed. svn:r10052 Nick Mathewson2007-04-30
* r12414@catbus: nickm | 2007-04-16 17:37:17 -0400••• More proposal-104 stuff: actually remember extra-info stuff. svn:r9975 Nick Mathewson2007-04-16
* r12406@catbus: nickm | 2007-04-16 14:39:33 -0400••• More proposal-104 stuff: add most of the code for authorities to accept and serve extra-info documents. The back-end to store the things is missing. svn:r9971 Nick Mathewson2007-04-16
* r12349@catbus: nickm | 2007-04-11 09:18:15 -0400••• Add code to shrink the cell memory pool by discarding empty chunks that have been empty for the last 60 seconds. Also, instead of having test.c duplicate declarations for exposed functions, put them inside #ifdef foo_PRIVATE blocks in the headers. This prevents bugs where test.c gets out of sync. svn:r9944 Nick Mathewson2007-04-11
* Turn bool_neq and bool_eq into macros.•••svn:r9914 Nick Mathewson2007-03-29
* r12652@Kushana: nickm | 2007-03-25 15:01:48 -0400••• A surprisingly simple patch to stop reading on edge connections when their circuits get too full, and start again when they empty out. This lets us remove the logic to block begin_dir conns when the corresponding or conns get full: it was already broken by cell queues anyway. svn:r9905 Nick Mathewson2007-03-26
* other minor fixes lurking in my sandbox•••svn:r9854 Roger Dingledine2007-03-17
* Fix an infinite loop introduced in 0.1.2.7-alpha when we serve•••directory information requested inside Tor connections (i.e. via begin_dir cells). It only triggered when the same connection was serving other data at the same time. Reported by seeess. Backport candidate. svn:r9841 Roger Dingledine2007-03-16
* Stop allowing hibernating servers to be "stable" or "fast".•••This is what I meant to do in r9690 but didn't actually do. svn:r9808 Roger Dingledine2007-03-13
* Directory authorities now call routers stable if they have an•••uptime of at least 30 days, even if that's not the median uptime in the network. Implements proposal 1xx, suggested by Kevin Bauer and Damon McCoy. svn:r9788 Roger Dingledine2007-03-10
* resolve another xxx012•••svn:r9701 Roger Dingledine2007-03-01
* r12013@catbus: nickm | 2007-02-28 18:26:13 -0500••• Note a piece of code that needs to get resolved, before we forget it. svn:r9695 Nick Mathewson2007-03-01
* - Stop calling servers that have been hibernating for a long time••• "stable". Also, stop letting hibernating or obsolete servers affect uptime and bandwidth cutoffs. - Stop listing hibernating servers in the v1 directory. svn:r9690 Roger Dingledine2007-02-28
* the other half of r9572, suggested by seeess: when we receive•••a v1 dir or rr that is too old, don't even cache it. svn:r9649 Roger Dingledine2007-02-25
* r11933@catbus: nickm | 2007-02-24 18:55:33 -0500••• Fix a bug in 9572: after we decref a defunct v1 directory, drop the main reference to it. Should fix bug 396. Many thanks to seeess for tracking this one down. svn:r9648 Nick Mathewson2007-02-24
* doc pedant•••svn:r9634 Roger Dingledine2007-02-24
* bugfix on r9568: we were throwing around an uninitialized•••nickname array, and only treating a server as reachable if the array magically has the right nickname in it. this was causing the authorities to label only themselves as running, and clients were "mysteriously" failing. svn:r9628 Roger Dingledine2007-02-24
* cosmetic, comment, and todo fixes•••svn:r9627 Roger Dingledine2007-02-24
* r11832@catbus: nickm | 2007-02-16 15:31:59 -0500••• Fix 35 remaining DOCDOC comments. Yowza. svn:r9596 Nick Mathewson2007-02-16
* 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
* 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
* r11591@catbus: nickm | 2007-01-29 17:31:02 -0500••• Add an XXXX comment to dirserv.c so I can take it out of my todo email folder. svn:r9459 Nick Mathewson2007-01-29
* fix all the bugs i could find in nick's bridge dir commit.•••let's hope i got them all. svn:r9442 Roger Dingledine2007-01-27
* r11552@catbus: nickm | 2007-01-27 03:55:02 -0500••• This one is a little tricky. Our BEGIN_DIR implementation has a problem: the dirserv conns will decide they can flush all their data immediately, since the edge_conns will read greedily. For our 0.1.2 workaround, we track which or_conn a bridged dirserv conn is attached to, and stop writing when its outbuf is too full, and start writing again when the or_conn's outbuf empties out a little. This requires a bit of pointer management. Let's hope it works. svn:r9432 Nick Mathewson2007-01-27
* Bugfix: If we're not marking exits as guards, ignore exit bandwidth•••when we're deciding the required bandwidth to become a guard. svn:r9423 Roger Dingledine2007-01-26
* r11278@catbus: nickm | 2007-01-23 14:22:27 -0500••• More doxygen comments: this time mainly around spooling and storing directory information. svn:r9392 Nick Mathewson2007-01-23
* r11967@Kushana: nickm | 2007-01-15 16:13:15 -0500••• tidy up more whitespace issues svn:r9356 Nick Mathewson2007-01-15
* r11930@Kushana: nickm | 2007-01-11 09:05:27 -0500••• fix recently-introduced segfault when not running as a dirserver svn:r9332 Nick Mathewson2007-01-11
* 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
* r11868@Kushana: nickm | 2007-01-06 01:32:55 -0500••• Document how we set Guard a little better. svn:r9283 Nick Mathewson2007-01-06
* r11863@Kushana: nickm | 2007-01-06 01:12:24 -0500••• Fix computation of total_exit_bandwidth; this will cause exits not to get recommended as guards if the total exit bandwidth if they constitute less than a third of total available bandwidth. There may be problems here with flapping; lets see if they occur in practice. svn:r9281 Nick Mathewson2007-01-06
* fix a bug, defer a bug, bump to 0.1.2.5-alpha•••svn:r9270 Roger Dingledine2007-01-05
* more progress and cleanups•••svn:r9269 Roger Dingledine2007-01-05
* man page entries for TunnelDirConns and PreferTunneledDirConns•••and add a todo item for nick in case he gets bored :) svn:r9260 Roger Dingledine2007-01-04
* be slightly less eager to yell at a server for being unreachable•••svn:r9259 Roger Dingledine2007-01-03
* 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
* more cleanups, including a shiny new XXX012•••svn:r9250 Roger Dingledine2007-01-03
* r11799@Kushana: nickm | 2007-01-02 16:38:34 -0500••• Simplify and remove most of dirserv_orconn_tls_cone svn:r9243 Nick Mathewson2007-01-02
* r11784@Kushana: nickm | 2007-01-02 01:13:04 -0500••• Spec-conformance on r9181: make "opt v" strings start with "Tor". svn:r9233 Nick Mathewson2007-01-02
* r11777@Kushana: nickm | 2007-01-01 21:01:10 -0500••• Fix an idiot bug in r9181: snprintf returns <0 on error, not !=0. svn:r9232 Nick Mathewson2007-01-02
* r11765@Kushana: nickm | 2006-12-29 16:04:22 -0500••• Remove duplicated code in dirserv_get_networkstatus_v2; document dirserv_get_networkstatus_v2_fingerprints. Down to 13 XXXX012 items. svn:r9220 Nick Mathewson2006-12-30
* r11744@Kushana: nickm | 2006-12-28 23:43:53 -0500••• Refactor connection_write_to_buf_zlib back into connection_write_to_buf. Hooray for dumping duplicate code. svn:r9209 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
* reinstate the most important dead chickens for limiting•••impact of directory writes now that we're write limiting. a few more dead chickens remain. svn:r9170 Roger Dingledine2006-12-23
* r11643@Kushana: nickm | 2006-12-19 13:15:14 -0500••• Stop recommmending exits as guards when the exit bandwidth is less than a third of the total bandwidth. svn:r9154 Nick Mathewson2006-12-19
* 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
* r11475@Kushana: nickm | 2006-12-07 20:49:21 -0500••• Make GETINFO dir/status/... work even when we are not a directory. Needs a little cleanup. Closes bug 263. svn:r9051 Nick Mathewson2006-12-08