aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Expand)AuthorAge
* r14727@31-33-67: nickm | 2007-11-05 18:34:35 -0500••• Make VERSIONS variable-length. svn:r12391 Nick Mathewson2007-11-05
* r16438@catbus: nickm | 2007-11-05 16:45:45 -0500••• Initial code for variable-length cells. CERT and VERSIONS need to use them. svn:r12390 Nick Mathewson2007-11-05
* r16435@catbus: nickm | 2007-11-05 14:23:07 -0500••• Patch from karsten: tidy up v2 hidden service directory logic, and fix a few bugs. svn:r12388 Nick Mathewson2007-11-05
* r16432@catbus: nickm | 2007-11-05 14:18:57 -0500••• Send and parse link_auth cells properly. svn:r12386 Nick Mathewson2007-11-05
* r16414@catbus: nickm | 2007-11-05 13:14:46 -0500••• Function to process link auth cells; stub function for cert cell processing svn:r12385 Nick Mathewson2007-11-05
* r16411@catbus: nickm | 2007-11-05 11:27:37 -0500••• Remember X509 certificates in the context. Store peer/self certificate digests in handshake state. svn:r12382 Nick Mathewson2007-11-05
* r16410@catbus: nickm | 2007-11-05 10:54:29 -0500••• Code to remember client_random and server_random values, and to compute hmac using TLS master secret. svn:r12381 Nick Mathewson2007-11-05
* r16409@catbus: nickm | 2007-11-05 10:38:25 -0500••• Split handshake state into its own structure. Revise versions and netinfo code to use this structure. svn:r12380 Nick Mathewson2007-11-05
* If bridge users set UpdateBridgesFromAuthority, but the digest•••they ask for is a 404 from the bridge authority, they now fall back to trying the bridge directly. svn:r12368 Roger Dingledine2007-11-04
* r14678@tombo: nickm | 2007-11-03 16:12:31 -0400••• Try to make hidden service directory lookup functions a bit more efficient: go for fewer O(n) operations, and look at the consensus rather than the routerinfo list. svn:r12361 Nick Mathewson2007-11-03
* r14631@tombo: nickm | 2007-11-02 00:18:17 -0400••• Better log messages for "not enough to build a circuit" message. svn:r12324 Nick Mathewson2007-11-02
* r14623@tombo: nickm | 2007-11-01 22:25:18 -0400••• More tweaks from karsten, with some cleanup and commentary. svn:r12319 Nick Mathewson2007-11-02
* r16320@catbus: nickm | 2007-11-01 00:11:20 -0400••• Learn new addresses for authorities from their certificates. svn:r12305 Nick Mathewson2007-11-01
* r16314@catbus: nickm | 2007-10-31 23:40:08 -0400••• Clients download and cache new hidden descriptor format. svn:r12302 Nick Mathewson2007-11-01
* r16301@catbus: nickm | 2007-10-31 16:43:49 -0400••• A couple of small tweaks to karsten's latest patch, and note an issue with using a bitmap to represent a single int. svn:r12300 Nick Mathewson2007-10-31
* r16300@catbus: nickm | 2007-10-31 15:36:41 -0400••• Next patch from Karsten: rename some macros, tunnel dir connections, generate (and upload) multiple descriptors as appropriate. svn:r12299 Nick Mathewson2007-10-31
* r16285@catbus: nickm | 2007-10-30 17:43:25 -0400••• Implement (but do not enable) link connection version negotiation svn:r12286 Nick Mathewson2007-10-30
* r16282@catbus: nickm | 2007-10-30 14:28:58 -0400••• Implement lots of proposal 105. None of it is enabled yet. svn:r12285 Nick Mathewson2007-10-30
* r16263@catbus: nickm | 2007-10-29 15:08:17 -0400••• Tidy last patch a bit. svn:r12273 Nick Mathewson2007-10-29
* r16262@catbus: nickm | 2007-10-29 13:21:35 -0400••• Patch from Karsten: Code to act as (and use) v2 hidden service directories. svn:r12272 Nick Mathewson2007-10-29
* r16246@catbus: nickm | 2007-10-28 19:34:58 -0400••• Implement a FallbackNetworkstatusFile (default to $prefix/share/tor/fallback-consensus) to that we know about lots of directory servers and routers when we start up the first time. svn:r12259 Nick Mathewson2007-10-28
* r16242@catbus: nickm | 2007-10-28 16:28:13 -0400••• Implement if-modified-since for consensus networkstatuses so that we do not download duplicates needlessly. svn:r12258 Nick Mathewson2007-10-28
* r16237@catbus: nickm | 2007-10-28 15:45:25 -0400••• Tidy v2 hidden service descriptor format code: fix memory leaks, fix reference problems, note magic numbers, note questions, remove redundant checks, remove a possible stack smashing bug when encoding a descriptor with no protocols supported. svn:r12255 Nick Mathewson2007-10-28
* r16236@catbus: nickm | 2007-10-28 14:36:30 -0400••• Patch from Karsten Loesing: encode and parse v2 rendezvous descriptors. svn:r12254 Nick Mathewson2007-10-28
* r16234@catbus: nickm | 2007-10-28 14:27:22 -0400••• Clean up a couple of comments from r12244. svn:r12253 Nick Mathewson2007-10-28
* Separate "SOCKS_COMMAND_CONNECT_DIR" into two flags in•••edge_connection_t: want_onehop if it must attach to a circuit with only one hop (e.g. for the current tunnelled connections that use begin_dir), and use_begindir if we mean to use a BEGIN_DIR relay command to establish the stream rather than the normal BEGIN. Now we can make anonymized begin_dir connections for (e.g.) more secure hidden service posting and fetching. svn:r12244 Roger Dingledine2007-10-28
* r16115@catbus: nickm | 2007-10-24 21:52:33 -0400••• Tolerate a slightly dead consensus when deciding whether to download descriptors and build circuits. svn:r12167 Nick Mathewson2007-10-25
* r16111@catbus: nickm | 2007-10-24 15:03:57 -0400••• Allow multiple download schedules to exist. At the moment, we use one for consensus, and the other one for everything else. svn:r12158 Nick Mathewson2007-10-24
* r16108@catbus: nickm | 2007-10-24 14:41:12 -0400••• Refactor the arguments for router_pick_{directory_|trusteddir}server[_impl] so that they all take the same flags, and so that their flags have names. Fix their documentation too. svn:r12157 Nick Mathewson2007-10-24
* Authorities no longer send back "400 you're unreachable please fix•••it" errors to Tor servers that aren't online all the time. We're supposed to tolerate these servers now. svn:r12136 Roger Dingledine2007-10-24
* When there's no concensus, we were forming a vote every 30•••minutes, but writing the "valid-after" line in our vote based on our configured V3AuthVotingInterval: so unless the intervals matched up, we immediately rejected our own vote because it didn't start at the voting interval that caused us to construct a vote. This caused log entries like: Oct 23 01:16:16.303 [notice] Choosing expected valid-after time as 2007-10-23 05:30:00: consensus_set=0, interval=1800 ... Oct 23 01:20:01.203 [notice] Choosing valid-after time in vote as 2007-10-23 06:00:00: consensus_set=0, interval=3600 Oct 23 01:20:01.290 [warn] Rejecting vote with valid-after time of 2007-10-23 06:00:00; we were expecting 2007-10-23 05:30:00 Oct 23 01:20:01.291 [warn] Couldn't store my own vote! (I told myself, 'Bad valid-after time'.) Nick, you should look at this, as it's your design. :) svn:r12129 Roger Dingledine2007-10-23
* r16042@catbus: nickm | 2007-10-22 13:30:49 -0400••• Move functions into and out of dirvote.c so that it contains all the v3 authority functionality, and no non-authority functionality. svn:r12107 Nick Mathewson2007-10-22
* r16041@catbus: nickm | 2007-10-22 13:02:14 -0400••• Reattempt certificate downloads immediately on failure, as appropriate. svn:r12106 Nick Mathewson2007-10-22
* r16032@catbus: nickm | 2007-10-22 11:56:53 -0400••• When our directory status or our v3 authority status changes, reschedule operations as appropriate. (Fixes some xxxx020 items) svn:r12102 Nick Mathewson2007-10-22
* r15995@catbus: nickm | 2007-10-21 00:40:46 -0400••• More fixes for bad behavior when downloading extrainfos: do not download an ei if we lack the key to verify it, and do not download it if we already got it and found (weirdly) that it didn't match the corresponding server descriptor. svn:r12071 Nick Mathewson2007-10-21
* r15991@catbus: nickm | 2007-10-20 20:08:29 -0400••• Fix a nasty bug in DownloadExtraInfo implementation where we would discard, download, discard, download ad infinitum. svn:r12069 Nick Mathewson2007-10-21
* r15965@catbus: nickm | 2007-10-19 13:32:11 -0400••• Client-side implementation for proposal 122. svn:r12051 Nick Mathewson2007-10-19
* r15964@catbus: nickm | 2007-10-19 12:43:49 -0400••• Sort out that need_to_mirror is for routerstatuses in v2 networkstatuses only. svn:r12050 Nick Mathewson2007-10-19
* r15961@catbus: nickm | 2007-10-19 12:40:15 -0400••• Learn the difference between "mismatched vote digest" and "mismatched vote times": the latter is more informative. svn:r12049 Nick Mathewson2007-10-19
* r15956@catbus: nickm | 2007-10-19 11:18:14 -0400••• Encode address in certificates. Also, make it possible to create certs reusing an old key. svn:r12046 Nick Mathewson2007-10-19
* r15939@catbus: nickm | 2007-10-18 22:14:15 -0400••• Remember the valid-until time of the most recent consensus that listed a router, and (if we are a cache) never delete the routerdesc until that conensus is expired. This is way easier than retaining multiple consensuses. (Of course, the info isn't retained across restarts, but that only affects a few caches at a time.) svn:r12041 Nick Mathewson2007-10-19
* r15915@catbus: nickm | 2007-10-18 10:26:44 -0400••• Stop incessant notices about when we think the expected valid-after time should be, if we are not an authority. svn:r12022 Nick Mathewson2007-10-18
* r15877@catbus: nickm | 2007-10-17 12:54:56 -0400••• Make unverified-consensus get removed when it is accepted or rejected. Make a new get_datadir_fname*() set of functions to eliminate the common code of "get the options, get the datadir, append some stuff". svn:r12000 Nick Mathewson2007-10-17
* r15806@catbus: nickm | 2007-10-15 19:14:57 -0400••• Implement v3 networkstatus client code. Remove v2 networkstatus client code, except as needed for caches to fetch and serve v2 networkstatues and the routers they list. svn:r11957 Nick Mathewson2007-10-15
* r15750@catbus: nickm | 2007-10-13 20:06:47 -0400••• Eventually delete the obsolete cached-routers and cached-routers.new files, so they don't sit around on disk forever. svn:r11918 Nick Mathewson2007-10-14
* r15732@catbus: nickm | 2007-10-12 17:28:24 -0400••• Start roughing out the functions that we'll use to replace the old ugly v2 networkstatus manipulation code". svn:r11904 Nick Mathewson2007-10-12
* Controllers should now specify cache=no or cache=yes when using•••the +POSTDESCRIPTOR command. svn:r11892 Roger Dingledine2007-10-12
* minor cleanups•••svn:r11890 Roger Dingledine2007-10-11
* r15703@catbus: nickm | 2007-10-11 17:30:34 -0400••• Fix for the reported case of bug 438: check families as well as identities in circuit_find_to_cannibalize(). Code audit still pending. ;) svn:r11886 Nick Mathewson2007-10-11
* r15689@catbus: nickm | 2007-10-11 16:40:25 -0400••• Fix bug 451. This was a nasty bug, so let's fix it twice: first, by banning recursive calls to connection_handle_write from connection_flushed_some; and second, by not calling connection_finished_flushing() on a closed connection. Backport candidate. svn:r11882 Nick Mathewson2007-10-11