aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Expand)AuthorAge
...
* r12403@catbus: nickm | 2007-04-16 13:55:03 -0400••• Code to generate extrainfo whenever routerdesc is regenerated; code to check extrainfo against routerdesc. svn:r9970 Nick Mathewson2007-04-16
* r12385@catbus: nickm | 2007-04-15 22:55:58 -0400••• Initial code to parse extra-info documents as described in proposal 104. This is making me realize that the parsing code in routerparse.c is a little daft. svn:r9963 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
* r12337@catbus: nickm | 2007-04-10 17:55:26 -0400••• Add support for using memory pools to allocate queued cell; pass --disable-cell-pool to configure to disable this. svn:r9939 Nick Mathewson2007-04-11
* r12332@catbus: nickm | 2007-04-10 12:24:45 -0400••• Yet another attempted Bug 411 fix: Under some circumstances, a circuit can have cells without being active. The likeliest is that it has been unlinked from all connections in preparation for closing. Therefore, stop enforcing this non-invariant. svn:r9936 Nick Mathewson2007-04-10
* r12330@catbus: nickm | 2007-04-09 19:15:42 -0400••• Split type of "packed cell" from "parsed cell"; pack cells before queueing them on circuits. This will help us avoid dumb errors when we confuse the two types. svn:r9935 Nick Mathewson2007-04-09
* r12654@Kushana: nickm | 2007-03-25 19:03:44 -0400••• Add documentation for cell queue functions; make destroy cells result in cell queues getting cleared before the destroy gets sent. svn:r9907 Nick Mathewson2007-03-26
* 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
* r12651@Kushana: nickm | 2007-03-24 18:26:42 -0400••• Initial version of circuit-based cell queues. Instead of hammering or_conns with piles of cells, queue cells on their corresponding circuits, and append them to the or_conn as needed. This seems to work so far, but needs a bit more work. This will break the memory-use-limitation patch for begin_dir conns: the solution will be a fun but fiddly. svn:r9904 Nick Mathewson2007-03-26
* r12644@0-41-wifi: nickm | 2007-03-23 16:02:23 -0400••• Eliminate more redundant circuit_t arguments when edge_connection_t is already supplied and the circuit is already attached. svn:r9900 Nick Mathewson2007-03-24
* r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400••• Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899 Nick Mathewson2007-03-24
* a stopgap measure while we wait for proposal 111: apply the•••stricter rate limiting to all OR conns except those that have been touched by local circuits. svn:r9882 Roger Dingledine2007-03-20
* Add a separate set of token buckets for relayed traffic. Right•••now that's just defined as answers to directory requests. svn:r9881 Roger Dingledine2007-03-20
* r12519@Kushana: nickm | 2007-03-10 00:57:01 -0500••• Remove a redundant check for event.h; add some comments, and reformat. svn:r9790 Nick Mathewson2007-03-10
* r12080@catbus: nickm | 2007-03-04 21:40:55 -0500••• Remove dnsworkers and related code. there goes another 550 lines of code. svn:r9736 Nick Mathewson2007-03-05
* r12077@catbus: nickm | 2007-03-04 16:08:23 -0500••• Remove support for v0 control protocol from 0.2.0.x trunk; send back error when we receive a v0 control message. (Leave "if(v1){...}"blocks indented for now so this patch is easier to read.) ((Finally, the linecount goes _down_ a little.)) svn:r9735 Nick Mathewson2007-03-04
* r11996@catbus: nickm | 2007-02-28 13:52:48 -0500••• Add an MSC_VER check I missed. svn:r9684 Nick Mathewson2007-02-28
* r11981@catbus: nickm | 2007-02-28 11:55:27 -0500••• Clamp declarable bandwidth at INT32_MAX, not INT_MAX. svn:r9677 Nick Mathewson2007-02-28
* r11970@catbus: nickm | 2007-02-27 19:17:27 -0500••• Fix a bug found by Udo van den Heuvel: avoid an assertion failure when a controller sets and clears EntryNodes before the next call to choose_random_entry(). Also make a function static. svn:r9669 Nick Mathewson2007-02-28
* 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
* r11895@catbus: nickm | 2007-02-23 15:12:58 -0500••• Make remap stream events have a souce; make them generated every time we get a successful connected or resolved cell. Also change reported stream target address to IP consistently when we get the IP from an exit node. svn:r9624 Nick Mathewson2007-02-23
* r11826@catbus: nickm | 2007-02-16 14:58:38 -0500••• Resolve 56 DOCDOC comments. svn:r9594 Nick Mathewson2007-02-16
* r11825@catbus: nickm | 2007-02-16 14:04:36 -0500••• Fix DOCDOC items in or.h; rename a couple of macros to be more sensible. svn:r9593 Nick Mathewson2007-02-16
* r11824@catbus: nickm | 2007-02-16 13:16:47 -0500••• Move all struct-offset-manipulation macros into util.h, and use them consistently. Because there are days when "SUBTYPE_P(handle, subtype, _base)" is just easier to read and write than "(basetp*)(((handle) - STRUCT_OFFSET(subtype, _base))". svn:r9592 Nick Mathewson2007-02-16
* r11813@catbus: nickm | 2007-02-14 11:42:58 -0500••• Tweak stream_bw patch: Remove a couple of redundant checks, save 8 bytes per edge connection, fix spelling in the changelog; expand spec. svn:r9586 Nick Mathewson2007-02-14
* r11812@catbus: nickm | 2007-02-14 11:22:08 -0500••• Apply stream_bw patch from Robert Hogan. svn:r9585 Nick Mathewson2007-02-14
* 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
* r11773@catbus: nickm | 2007-02-12 15:18:48 -0500••• Implement proposal 106: stop requiring clients to have certificates, and stop checking for nicknames in certificates. [See proposal 106 for rationale.] Also improve messages when checking TLS handshake, to re-resolve bug 382. svn:r9568 Nick Mathewson2007-02-12
* r11726@catbus: nickm | 2007-02-08 16:04:53 -0500••• Resolve some XXXX012 items: - Remove PathlenCoinWeight: if we want it again, we can add it back in. - Ditto with RelayBandwidth*. - Decide to leave in the "hey, you didn't set end_reason!" BUG log message, but stop telling people to bug me personally. - Postpone strengthening assert_connection_ok(): it's important, but it's also a good way to introduce weird bugs. - Move some expensive consistency checking from dns_free_all() into assert_cache_ok(). svn:r9533 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
* r11673@catbus: nickm | 2007-02-06 14:40:07 -0500••• Report stream end events where a resolve succeeded or where we got a socks protocol error correctly, rather than calling both of them "INTERNAL". Turn ALREADY_SOCKS_REPLIED into a flag rather than a reason. This will help debug 367 part 2 a little. svn:r9511 Nick Mathewson2007-02-07
* r11672@catbus: nickm | 2007-02-06 14:16:56 -0500••• Fix third case of bug 367: make circuit get sent along with END_STREAM_REASON_DESTROY stream CLOSED events. svn:r9510 Nick Mathewson2007-02-07
* more changes. i'm all caught up now.•••svn:r9495 Roger Dingledine2007-02-06
* r11641@catbus: nickm | 2007-02-05 13:59:26 -0500••• Add a REMAP state to stream events so that controllers can learn exactly when the target address for a stream has changed. May help Vidalia resolve confusions related to bug 375. svn:r9484 Nick Mathewson2007-02-05
* r11637@catbus: nickm | 2007-02-05 12:41:51 -0500••• Fix an XXXX012, and make circuits_pending_or_conns a static variable. In addition to cleaning up the code, this may also resolve Bug 386 if Roger has the right intuition there. svn:r9482 Nick Mathewson2007-02-05
* 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
* r12122@Kushana: nickm | 2007-02-02 10:41:39 -0500••• Fail when we are unable to parse the nameserver configuration. svn:r9475 Nick Mathewson2007-02-02
* r11607@catbus: nickm | 2007-01-30 17:19:27 -0500••• Audit non-const char arguments; make a lot more of them const. svn:r9466 Nick Mathewson2007-01-30
* there's such a thing as too much indirection•••svn:r9451 Roger Dingledine2007-01-28
* stop trying to hand 'platform' all around directory.c when we have a•••bit in routerstatus_t that tells us what we need to know. svn:r9448 Roger Dingledine2007-01-27
* Bring us one step closer to being able to establish an encrypted•••directory tunnel without knowing a descriptor first. Still not ready yet. As part of the change, now assume we can use a create_fast cell if we don't know anything about a router. svn:r9440 Roger Dingledine2007-01-27
* the other half of my patch. more coming later.•••svn:r9434 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
* never refuse directory requests from local addresses•••svn:r9421 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
* r9715@catbus: nickm | 2007-01-22 02:51:04 -0500••• Document a few undocumented functions and arguments. svn:r9385 Nick Mathewson2007-01-22