aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Collapse)AuthorAge
* early skeletal support for running a bridge directory authorityRoger Dingledine2007-05-04
| | | | svn:r10112
* r12639@catbus: nickm | 2007-05-02 17:37:49 -0400Nick Mathewson2007-05-02
| | | | | | | Start implementing key certificate parsing. Note TODO items for combined 101/103. svn:r10097
* New config option V2AuthoritativeDirectory that all directoryRoger Dingledine2007-05-02
| | | | | | | | | | | authorities should set. This will let future authorities choose not to serve V2 directory information. Also, go through and revamp all the authdir_mode stuff so it tries to do the right thing if you're an auth but not a V1 or V2 auth. svn:r10092
* r12625@catbus: nickm | 2007-05-01 16:41:23 -0400Nick Mathewson2007-05-01
| | | | | | | Remove the _UploadExtraInfo option, since I tried turning it on and moria[12] seem not to have exploded. svn:r10089
* r12619@catbus: nickm | 2007-05-01 16:13:42 -0400Nick Mathewson2007-05-01
| | | | | | | Add code to upload extrainfos to authorities running 0.2.0.0-alpha-dev (r10070) or later. svn:r10086
* more cleanups on the hsusage patchRoger Dingledine2007-04-30
| | | | svn:r10077
* r12586@catbus: nickm | 2007-04-30 15:43:05 -0400Nick Mathewson2007-04-30
| | | | | | | More work for proposal 104: actually cache extrainfo documents to disk, and reload the cache properly. svn:r10070
* r12585@catbus: nickm | 2007-04-30 14:38:37 -0400Nick Mathewson2007-04-30
| | | | | | | (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
* r12580@catbus: nickm | 2007-04-30 13:29:05 -0400Nick Mathewson2007-04-30
| | | | | | | Initial version of patch from Karsten Loesing: Add an HSAuthorityRecordStats option to track statistics of overall hidden service usage without logging information that would be useful to an attacker. svn:r10067
* r12567@catbus: nickm | 2007-04-30 10:26:35 -0400Nick Mathewson2007-04-30
| | | | | | | Suggested by weasel: Add a fast function to check for the common failure mode for bug 417/404, and call it a lot. svn:r10059
* Let the controller specify HOP=%d as an argument to ATTACHSTREAM,Roger Dingledine2007-04-30
| | | | | | | so we can exit from the middle of the circuit. svn:r10056
* Add a new config option __DisablePredictedCircuits designed forRoger Dingledine2007-04-30
| | | | | | | | use by the controller, when we don't want Tor to build any circuits preemptively. svn:r10054
* r12557@catbus: nickm | 2007-04-30 01:36:39 -0400Nick Mathewson2007-04-30
| | | | | | | Oops; the rest of the last patch. If that one gets backported, this should too. svn:r10053
* minor cleanupsRoger Dingledine2007-04-30
| | | | svn:r10050
* Make PreferTunneledDirConns and TunnelDirConns work even whenRoger Dingledine2007-04-27
| | | | | | | | we have no cached directory info. This means Tor clients can now do all of their connections protected by TLS. svn:r10035
* cleanups, and note a bugRoger Dingledine2007-04-25
| | | | svn:r10022
* r12496@catbus: nickm | 2007-04-22 23:04:05 -0400Nick Mathewson2007-04-23
| | | | | | | When logging memory usage, break down memory used in buffers by buffer type. svn:r10004
* r12485@catbus: nickm | 2007-04-21 13:46:14 -0400Nick Mathewson2007-04-21
| | | | | | | Document some fields in or.h svn:r9998
* r12482@catbus: nickm | 2007-04-21 13:30:24 -0400Nick Mathewson2007-04-21
| | | | | | | Rename a couple of confusing fields svn:r9996
* r12763@Kushana: nickm | 2007-04-20 18:42:58 -0400Nick Mathewson2007-04-21
| | | | | | | Initial version of code to stop using socket pairs for linked connections. Superficially, it seems to work, but it probably needs a lot more testing and attention. svn:r9995
* r12456@catbus: nickm | 2007-04-19 14:47:01 -0400Nick Mathewson2007-04-19
| | | | | | | Make dumpmemusage() dump cell pool usage information. svn:r9991
* r12418@catbus: nickm | 2007-04-16 20:58:25 -0400Nick Mathewson2007-04-17
| | | | | | | Twiddle tor_version_as_new_as() so we can check for particular svn revisions. With unit tests, for added freshness. svn:r9977
* r12414@catbus: nickm | 2007-04-16 17:37:17 -0400Nick Mathewson2007-04-16
| | | | | | | More proposal-104 stuff: actually remember extra-info stuff. svn:r9975
* Fix some proposal-104 bugs.Nick Mathewson2007-04-16
| | | | svn:r9972
* r12406@catbus: nickm | 2007-04-16 14:39:33 -0400Nick Mathewson2007-04-16
| | | | | | | 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
* r12403@catbus: nickm | 2007-04-16 13:55:03 -0400Nick Mathewson2007-04-16
| | | | | | | Code to generate extrainfo whenever routerdesc is regenerated; code to check extrainfo against routerdesc. svn:r9970
* r12385@catbus: nickm | 2007-04-15 22:55:58 -0400Nick Mathewson2007-04-16
| | | | | | | 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
* r12349@catbus: nickm | 2007-04-11 09:18:15 -0400Nick Mathewson2007-04-11
| | | | | | | 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
* r12337@catbus: nickm | 2007-04-10 17:55:26 -0400Nick Mathewson2007-04-11
| | | | | | | Add support for using memory pools to allocate queued cell; pass --disable-cell-pool to configure to disable this. svn:r9939
* r12332@catbus: nickm | 2007-04-10 12:24:45 -0400Nick Mathewson2007-04-10
| | | | | | | 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
* r12330@catbus: nickm | 2007-04-09 19:15:42 -0400Nick Mathewson2007-04-09
| | | | | | | 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
* r12654@Kushana: nickm | 2007-03-25 19:03:44 -0400Nick Mathewson2007-03-26
| | | | | | | Add documentation for cell queue functions; make destroy cells result in cell queues getting cleared before the destroy gets sent. svn:r9907
* r12652@Kushana: nickm | 2007-03-25 15:01:48 -0400Nick Mathewson2007-03-26
| | | | | | | 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
* r12651@Kushana: nickm | 2007-03-24 18:26:42 -0400Nick Mathewson2007-03-26
| | | | | | | 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
* r12644@0-41-wifi: nickm | 2007-03-23 16:02:23 -0400Nick Mathewson2007-03-24
| | | | | | | Eliminate more redundant circuit_t arguments when edge_connection_t is already supplied and the circuit is already attached. svn:r9900
* r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400Nick Mathewson2007-03-24
| | | | | | | Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899
* a stopgap measure while we wait for proposal 111: apply theRoger Dingledine2007-03-20
| | | | | | | | stricter rate limiting to all OR conns except those that have been touched by local circuits. svn:r9882
* Add a separate set of token buckets for relayed traffic. RightRoger Dingledine2007-03-20
| | | | | | | now that's just defined as answers to directory requests. svn:r9881
* r12519@Kushana: nickm | 2007-03-10 00:57:01 -0500Nick Mathewson2007-03-10
| | | | | | | Remove a redundant check for event.h; add some comments, and reformat. svn:r9790
* r12080@catbus: nickm | 2007-03-04 21:40:55 -0500Nick Mathewson2007-03-05
| | | | | | | Remove dnsworkers and related code. there goes another 550 lines of code. svn:r9736
* r12077@catbus: nickm | 2007-03-04 16:08:23 -0500Nick Mathewson2007-03-04
| | | | | | | 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
* r11996@catbus: nickm | 2007-02-28 13:52:48 -0500Nick Mathewson2007-02-28
| | | | | | | Add an MSC_VER check I missed. svn:r9684
* r11981@catbus: nickm | 2007-02-28 11:55:27 -0500Nick Mathewson2007-02-28
| | | | | | | Clamp declarable bandwidth at INT32_MAX, not INT_MAX. svn:r9677
* r11970@catbus: nickm | 2007-02-27 19:17:27 -0500Nick Mathewson2007-02-28
| | | | | | | 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
* doc pedantRoger Dingledine2007-02-24
| | | | svn:r9634
* bugfix on r9568: we were throwing around an uninitializedRoger Dingledine2007-02-24
| | | | | | | | | | 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
* cosmetic, comment, and todo fixesRoger Dingledine2007-02-24
| | | | svn:r9627
* r11895@catbus: nickm | 2007-02-23 15:12:58 -0500Nick Mathewson2007-02-23
| | | | | | | 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
* r11826@catbus: nickm | 2007-02-16 14:58:38 -0500Nick Mathewson2007-02-16
| | | | | | | Resolve 56 DOCDOC comments. svn:r9594
* r11825@catbus: nickm | 2007-02-16 14:04:36 -0500Nick Mathewson2007-02-16
| | | | | | | Fix DOCDOC items in or.h; rename a couple of macros to be more sensible. svn:r9593