aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
Commit message (Expand)AuthorAge
...
* Logic to implement rendezvous/introduction via unknown servers.•••- Add a new extend_info_t datatype to hold information needed to extend a circuit (addr,port,keyid,onion_key). Use it in cpath and build_state. Make appropriate functions take or return it instead of routerinfo_t or keyid. - #if 0 needless check in circuit_get_by_edge_conn; if nobody triggers this error in 0.1.0.10, nobody will trigger it. - Implement new hidden service descriptor format, which contains "extend info" for introduction points, along with protocol version list. - Parse new format. - Generate new format - Cache old and new formats alongside each other. - Directories serve "old" format if asked in old way, "newest available" format if asked in new way. - Use new format to find introduction points if possible; otherwise fall back. Keep nickname lists and extendinfo lists in sync. - Tests for new format. - Implement new "v2" INTRODUCE cell format. - Accept new format - Use new format if we have a versioned service descriptor that says the server accepts the new format. - Add documentation for functions and data types. svn:r4506 Nick Mathewson2005-06-29
* Docment or add DOCDOC comments to undocumented functions in src/or. Make fun...•••svn:r4411 Nick Mathewson2005-06-11
* Change end-of-file NLNL convention. It turns out arma I and I agree.•••svn:r4382 Nick Mathewson2005-06-09
* New whitespace normalization rule: no blank line at EOF.•••svn:r4378 Nick Mathewson2005-06-09
* New and frightening code to implement fast-path first-hop CREATE_FAST cells. ...•••svn:r4162 Nick Mathewson2005-05-02
* Improve conn_*_to_string; add circuit_state_to_string; make skewed-descriptor...•••svn:r4047 Nick Mathewson2005-04-07
* update copyright notices.•••svn:r3982 Nick Mathewson2005-04-01
* Add a magic value to cpath_layer_t to make sure that we can tell valid cpaths...•••svn:r3831 Nick Mathewson2005-03-23
* make hidden services more likely to work from the server-side•••svn:r3781 Roger Dingledine2005-03-19
* fix a minor memory leak•••svn:r3704 Roger Dingledine2005-02-27
* Change from inet_ntoa to a threadproof tor_inet_ntoa.•••svn:r3656 Nick Mathewson2005-02-22
* Add more functions to free things to help dmalloc allong.•••svn:r3613 Nick Mathewson2005-02-10
* Introduce a notion of 'internal' circs, which are chosen without regard•••to the exit policy of the last hop. Intro and rendezvous circs must be internal circs, to avoid leaking information. Resolve and connect streams can use internal circs if they want. New circuit pooling algorithm: make sure to have enough circs around to satisfy any predicted ports, and also make sure to have 2 internal circs around if we've required internal circs lately (with high uptime if we've seen that lately). Split NewCircuitPeriod config option into NewCircuitPeriod (30 secs), which describes how often we retry making new circuits if current ones are dirty, and MaxCircuitDirtiness (10 mins), which describes how long we're willing to make use of an already-dirty circuit. Once rendezvous circuits are established, keep using the same circuit as long as you attach a new stream to it at least every 10 minutes. (So web browsing doesn't require you to build new rend circs every 30 seconds.) Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND circ as necessary, if there are any completed ones lying around when we try to launch one. Re-instate the ifdef's to use version-0 style introduce cells, since there was yet another bug in handling version-1 style. We'll try switching over again after 0.0.9 is obsolete. Bugfix: when choosing an exit node for a new non-internal circ, don't take into account whether it'll be useful for any pending x.onion addresses -- it won't. Bugfix: we weren't actually publishing the hidden service descriptor when it became dirty. So we only published it every 20 minutes or so, which means when you first start your Tor, the hidden service will seem broken. svn:r3360 Roger Dingledine2005-01-17
* when the hidden service launches a rendezvous circ, make sure it•••provides good uptime if any virtual_port of the service wants that. svn:r3355 Roger Dingledine2005-01-14
* start generating version 1 style introduce cells•••svn:r3352 Roger Dingledine2005-01-13
* Annotate circuits w/ whether they aim to contain high uptime nodes and/or•••high capacity nodes. When building circuits, choose appropriate nodes. New config option LongLivedPorts to indicate application streams that will want high uptime circuits. When attaching a stream to a circuit, pay attention to its requirements. This means that every single node in an intro rend circuit, not just the last one, will have a minimum uptime. Boost the min uptime from an hour to 24 hours. svn:r3339 Roger Dingledine2005-01-12
* fix a minor leak for people offering hidden services•••svn:r3113 Roger Dingledine2004-12-07
* Spell-check strings and comments•••svn:r3052 Nick Mathewson2004-12-01
* Suggestion from weasel: Make tor --version --version dump the cvs Id of every...•••svn:r3019 Nick Mathewson2004-11-29
* Normalize space: add one between every control keyword and control clause.•••svn:r3003 Nick Mathewson2004-11-28
* remove emacs droppings, since nick says he doesn't need them anymore•••svn:r2989 Roger Dingledine2004-11-26
* Normalize a few more kinds of whitespace. We now dislike:••• - func (args) - if (x){ This doesn't normalize if(x), for(x); while(x), and friends. svn:r2943 Nick Mathewson2004-11-22
* Break DirFetchPostPeriod into:••• - DirFetchPeriod for fetching full directory, - StatusFetchPeriod for fetching running-routers, - DirPostPeriod for posting server descriptor, - RendPostPeriod for posting hidden service descriptors. Also make sure the hidden service descriptors are at a random offset from each other, to hinder linkability. svn:r2889 Roger Dingledine2004-11-15
* Make check_private_dir trimodal (check/create/ignore), not bimodal (create/ig...•••svn:r2733 Nick Mathewson2004-11-09
* Separate validate from activate. Document undocumented stuff in config.c.•••svn:r2711 Nick Mathewson2004-11-08
* Clean up copyrights.•••Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698 Roger Dingledine2004-11-07
* Make options no longer a global variable.•••Now we can try setting an option but back out if it fails to parse, or if it's disallowed (e.g. changing RunAsDaemon from 1 to 0). Use parse_line_from_str rather than parse_line_from_file. svn:r2692 Roger Dingledine2004-11-06
* canonicalize "src" and "dest" arg order in crypto.c (and others)•••svn:r2644 Roger Dingledine2004-11-02
* Hidden service operators had a bug in version 1 style INTRODUCE cells•••that made them fail. Fix the bug, and revert clients to use version 0 until 0.0.9pre4 is obsolete. svn:r2641 Roger Dingledine2004-11-01
* Fix paul gardner's assert bug. Turns out when circuit_launch_by_nickname()•••failed at the first hop, it would try to relaunch another circ right then, even though the first circuit hadn't been populated yet with its pending_final_cpath. svn:r2624 Roger Dingledine2004-10-30
* Use strlcpy, not strcpy.•••svn:r2610 Nick Mathewson2004-10-27
* Use tor_snprintf, not snprintf•••svn:r2609 Nick Mathewson2004-10-27
* Replace sprintf with snprintf•••svn:r2602 Nick Mathewson2004-10-27
* fix a memory leak•••svn:r2587 Roger Dingledine2004-10-24
* start generating new version of introduce1 cells•••svn:r2586 Roger Dingledine2004-10-24
* don't assert multiple things in the same tor_assert()•••svn:r2544 Roger Dingledine2004-10-16
* Change interface of parse_addr_port() to return address in host order, since ...•••svn:r2542 Nick Mathewson2004-10-16
* bugfix: parse_addr_port() bites us again -- it returns addr in network order.•••svn:r2508 Roger Dingledine2004-10-14
* Build without warnings on mac gcc 3.3•••svn:r2487 Nick Mathewson2004-10-14
* more int to size_t conversions, fixing one or more amd64 bugs•••plus a whitespace patch on config.c from vicman svn:r2482 Roger Dingledine2004-10-14
* fix warning about always-false comparison; detect too-large realport better•••svn:r2465 Nick Mathewson2004-10-13
* parse HttpProxy address in config•••fix a potential confusion in fetch_from_buf_http() make all our int config options non-negative better bounds checking on options that are ports svn:r2456 Roger Dingledine2004-10-12
* Better bounds checking on parsed ints•••svn:r2450 Nick Mathewson2004-10-12
* Use parse_addr_port() function instead of ad-hoc variants•••svn:r2441 Nick Mathewson2004-10-12
* fix a rare seg fault for people running hidden services on•••intermittent connections svn:r2353 Roger Dingledine2004-09-20
* Some platforms have weird translations when you open files in "test" mode; ma...•••svn:r2336 Nick Mathewson2004-09-08
* Revert dumb think-o. Just because _some_ INTRODUCE2 cells are now longer,•••doesn't mean we should raise the _minimum_ size. svn:r2273 Nick Mathewson2004-08-18
* Support new INTRODUCE2 cell format•••svn:r2270 Nick Mathewson2004-08-18
* use unverified routers in the desired positions•••svn:r2249 Roger Dingledine2004-08-17
* Update to new choose_random_node interface.•••svn:r2239 Nick Mathewson2004-08-15