aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Collapse)AuthorAge
* r12902@catbus: nickm | 2007-05-22 14:52:29 -0400Nick Mathewson2007-05-22
| | | | | | | First draft of code to generate votes. needs testing. does not yet upload or serve votes. Shares most of its code with the old generate_v2_networkstatus. svn:r10295
* r12899@catbus: nickm | 2007-05-22 13:51:26 -0400Nick Mathewson2007-05-22
| | | | | | | Extract common code from networkstatus_getinfo_helper_single() and generate_v2_networkstatus(). svn:r10294
* r12898@catbus: nickm | 2007-05-22 13:11:04 -0400Nick Mathewson2007-05-22
| | | | | | | More v3 directory code: have authorities load certificates; have everybody store certificates to disk and load them; provide a way to configure v3 authorities. svn:r10293
* r12853@catbus: nickm | 2007-05-22 11:36:54 -0400Nick Mathewson2007-05-22
| | | | | | | Make connection_array into a smartlist. svn:r10292
* r12852@catbus: nickm | 2007-05-22 11:00:27 -0400Nick Mathewson2007-05-22
| | | | | | | Use svn revisions consistently throughout all log messages. svn:r10291
* r12850@catbus: nickm | 2007-05-21 22:20:42 -0400Nick Mathewson2007-05-22
| | | | | | | Partial backport candidate: do not rely on finding a \0 after an mmaped() router/extrainfo file. Also, set journal length correctly when starting up. svn:r10248
* r13021@Kushana: nickm | 2007-05-20 14:03:10 -0400Nick Mathewson2007-05-20
| | | | | | | Provide actual reasons when dropping an uploaded extrainfo for incompatibility; also, clean whitespace. svn:r10230
* r12818@catbus: nickm | 2007-05-20 01:15:50 -0400Nick Mathewson2007-05-20
| | | | | | | Look for extrainfo bodies in the extrainfo mmap, not in the descriptor mmap. Duh. Should fix bug 429. svn:r10226
* r12800@catbus: nickm | 2007-05-18 20:45:15 -0400Nick Mathewson2007-05-19
| | | | | | | Possible fix for bug 417 and bug 404: do not insert our routerinfo directly; instead, re-parse it first. svn:r10217
* r12982@Kushana: nickm | 2007-05-18 15:15:14 -0400Nick Mathewson2007-05-18
| | | | | | | Partial backport candidate: We had a bug where we were downloading descriptors by descriptor digest, but trying to look them up by identity fingerprint when updating their failure count and next retry time. (Also use correct backoff logic for extrainfo code.) Needs testing, doubtless. svn:r10210
* r12981@Kushana: nickm | 2007-05-18 14:12:19 -0400Nick Mathewson2007-05-18
| | | | | | | First cut at code to download extra-info docs. Also note a bad bug in directory.c (look for the string BUG BUG BUG). svn:r10209
* r12770@catbus: nickm | 2007-05-16 17:49:26 -0400Nick Mathewson2007-05-16
| | | | | | | Move around field order a little, in order to compact some structures. (Thanks to -Wpadded) svn:r10200
* r12761@catbus: nickm | 2007-05-15 03:13:52 -0400Nick Mathewson2007-05-15
| | | | | | | Be a lot smarter when parsing lists of routers and extrainfos. svn:r10193
* r12758@catbus: nickm | 2007-05-14 15:19:29 -0400Nick Mathewson2007-05-14
| | | | | | | Cleanup, lock-down, and refactor bits of routerparse.c: use a single unified function to check all signatures. Fix all DOCDOCs. Remove some old dead debugging code. Enforce some parsing rules better. svn:r10192
* r12708@catbus: nickm | 2007-05-10 15:18:08 -0400Nick Mathewson2007-05-10
| | | | | | | Patch from shibz: implement a getinfo status/version/... so a controller can tell whether the current version is recommended, whether any versions are good, and how many authorities agree. svn:r10162
* move a few more situations over to the authority_type_t bitfieldRoger Dingledine2007-05-10
| | | | svn:r10151
* r12706@catbus: nickm | 2007-05-09 18:39:46 -0400Nick Mathewson2007-05-09
| | | | | | | Keep two freelists for buffer ram chunks: one of 4k chunks, and one of 16k chunks. Also, document the whole business. svn:r10150
* r12704@catbus: nickm | 2007-05-09 17:43:34 -0400Nick Mathewson2007-05-09
| | | | | | | Periodically clean the freelist of buffer memory chunks. svn:r10149
* r12697@catbus: nickm | 2007-05-09 00:15:40 -0400Nick Mathewson2007-05-09
| | | | | | | Change authority_type_t to a set of flags; use it more consistently. svn:r10144
* complain when we try to upload to, say, bridge authorities,Roger Dingledine2007-05-09
| | | | | | | yet we didn't configure any first. svn:r10143
* Interim commit: new config options Bridge and UseBridges.Roger Dingledine2007-05-08
| | | | | | | | | It is becoming increasingly clear to me that bridges should be a special case of entry guards, not a whole separate pile of nearly identical functions. svn:r10141
* record the router purpose at each step of the circuit path.Roger Dingledine2007-05-08
| | | | | | | i have the feeling this will come in handy. svn:r10139
* Change the PublishServerDescriptor config option from a booleanRoger Dingledine2007-05-08
| | | | | | | | into a string: "v1", "v2", bridge", "". Continue to support "0" and "1". svn:r10136
* prepare directory_post_to_dirservers() to hear what sort ofRoger Dingledine2007-05-07
| | | | | | | | dir authority we'd like to upload to. at some point we should pick a config option to say that in, for bridges. svn:r10129
* add a 'bridge' flag for dirserver config entriesRoger Dingledine2007-05-07
| | | | svn:r10128
* 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