aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
Commit message (Collapse)AuthorAge
* r15047@catbus: nickm | 2007-09-11 13:40:54 -0400Nick Mathewson2007-09-11
| | | | | | | Fix a memory leak when reloading v3 authority certificate and keys. svn:r11428
* r15046@catbus: nickm | 2007-09-11 13:38:36 -0400Nick Mathewson2007-09-11
| | | | | | | Check V3 authority certificates for expiry, and warn the authority op as they get old. svn:r11427
* Let directory authorities startup even when they can't generate Roger Dingledine2007-08-20
| | | | | | | | a descriptor immediately, e.g. because they don't know their address. svn:r11228
* r14731@catbus: nickm | 2007-08-20 12:02:09 -0400Nick Mathewson2007-08-20
| | | | | | | Clean up authdir_X functions a little. svn:r11220
* r14729@catbus: nickm | 2007-08-20 11:58:02 -0400Nick Mathewson2007-08-20
| | | | | | | Trigger load and save of MTBF data. svn:r11219
* r14726@catbus: nickm | 2007-08-20 11:42:07 -0400Nick Mathewson2007-08-20
| | | | | | | Make v3-only authorities check reachability svn:r11218
* r14659@catbus: nickm | 2007-08-18 14:19:34 -0400Nick Mathewson2007-08-18
| | | | | | | When we are loading state info from disk, never believe any date in the future. Doing so can keep us from retrying guards, rotating onion keys, storing bandwidth info, etc. Fixes bug 434, and others. Backport candidate, once it has been tested. svn:r11166
* r13989@Kushana: nickm | 2007-08-13 16:31:03 -0400Nick Mathewson2007-08-13
| | | | | | | Actually store the v3 authority id digest of a trusteddirserver svn:r11091
* r14534@catbus: nickm | 2007-08-13 15:15:46 -0400Nick Mathewson2007-08-13
| | | | | | | Read v3 keys from the right location svn:r11087
* r13950@catbus: nickm | 2007-07-27 18:15:23 -0400Nick Mathewson2007-07-27
| | | | | | | Wrap bandwidth usage info in another ifdef so we can easily drop it on august 1 when it is time to finalize proposal 104. svn:r10951
* r13902@catbus: nickm | 2007-07-25 17:43:52 -0400Nick Mathewson2007-07-25
| | | | | | | Some dirvote code to handle generating votes and slinging them around. More code is still needed. svn:r10927
* handle fetching bridge descriptors from the bridge authority too.Roger Dingledine2007-07-22
| | | | svn:r10898
* when requesting tor/server/authority, ask for tor/server/authority.zRoger Dingledine2007-07-21
| | | | | | | | instead. same functionality, saves a bit of bandwidth. and might even work. svn:r10896
* more building blocks towards being able to fetch bridge descriptorsRoger Dingledine2007-06-10
| | | | svn:r10548
* Be clearer on the various roles for auth dir types.Roger Dingledine2007-06-09
| | | | | | | | Bridge authorities no longer write bridge descriptors to their cached-routers file -- this gets complex because of extrainfo documents. svn:r10545
* r13050@catbus: nickm | 2007-05-29 13:31:11 -0400Nick Mathewson2007-05-29
| | | | | | | Resolve all but 3 DOCDOCs. svn:r10393
* r12917@catbus: nickm | 2007-05-24 12:48:47 -0400Nick Mathewson2007-05-24
| | | | | | | Put the hash-as-signed, not the raw hash, in the signed_descriptor_digest field of our own descriptor. Backport candidate; probably harmless though. svn:r10305
* 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
* r12852@catbus: nickm | 2007-05-22 11:00:27 -0400Nick Mathewson2007-05-22
| | | | | | | Use svn revisions consistently throughout all log messages. svn:r10291
* r13023@Kushana: nickm | 2007-05-20 16:16:36 -0400Nick Mathewson2007-05-20
| | | | | | | More bulletproofing on bug 429 svn:r10231
* 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
* r13017@Kushana: nickm | 2007-05-20 13:40:45 -0400Nick Mathewson2007-05-20
| | | | | | | Address points in r10227. svn:r10229
* r12802@catbus: nickm | 2007-05-19 14:12:27 -0400Nick Mathewson2007-05-19
| | | | | | | clear some ram when freeing it; add some more checks to assert_routerlist_ok. svn:r10218
* 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
* r12794@catbus: nickm | 2007-05-18 20:24:26 -0400Nick Mathewson2007-05-19
| | | | | | | Make caches-extra-info lines parseable. svn:r10215
* 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
* r12768@catbus: nickm | 2007-05-16 17:25:33 -0400Nick Mathewson2007-05-16
| | | | | | | Fix GCC warnings related to local parameters/variables getting shadowed. svn:r10198
* r12763@catbus: nickm | 2007-05-15 05:29:33 -0400Nick Mathewson2007-05-15
| | | | | | | Make --enable-gcc-warnings happy on the upcoming gcc 4.2 svn:r10195
* 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
* 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
* use the new _PublishServerDescriptor to publish descriptors eitherRoger Dingledine2007-05-08
| | | | | | | to v2 authorities or to bridge authorities, depending on config. svn:r10137
* 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
* if you're using relaybandwidthrate and relaybandwidthburst, makeRoger Dingledine2007-05-04
| | | | | | | sure that's reflected in your router descriptor. svn:r10114
* early skeletal support for running a bridge directory authorityRoger Dingledine2007-05-04
| | | | svn:r10112
* 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
* 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
* 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
* A hack I've been wanting for a while: when building a -dev versionNick Mathewson2007-04-16
| | | | | | | | | from an SVN repository, use the current svn revision in the platform string and in the output of --version. svn:r9976
* 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
* 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
* 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