aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuit.c
Commit message (Expand)AuthorAge
* bugfix: do directory_send_command only after we've established a socket•••also many comments, cleaning, etc svn:r1823 Roger Dingledine2004-05-09
* bugfix: add a circ->resolving_streams field, and make dns resolving ...•••bugfix: actually complain if we duplicate mark-for-close a circuit add more logging for relay ends that claim dns resolve failed, so we can find out why they're not being retried. svn:r1798 Roger Dingledine2004-05-06
* Only connection_add connections once they have conn->s sett; refactor code ar...•••svn:r1788 Nick Mathewson2004-05-05
* stop the circuit_receive_relay_cell warning•••mark the circ for close if circuit_extend fails because the next hop is not up yet; don't just return -1 svn:r1765 Roger Dingledine2004-05-02
* Remove IVs from cipher code, since AES-ctr has none.•••svn:r1742 Nick Mathewson2004-04-28
* Make Tor build on win32 with VC6 without warnings.•••svn:r1739 Nick Mathewson2004-04-28
* make my assumption explicit•••svn:r1730 Roger Dingledine2004-04-27
* it was the second bug that was nailing us.•••periodically we expire some circuits if we already have enough, and we were counting rend circs in that number. (the first one wasn't a bug after all) svn:r1729 Roger Dingledine2004-04-27
* don't expire joined-rend circs that have an exit connection attached•••and don't expire non-general excess circuits svn:r1728 Roger Dingledine2004-04-27
* Refactor crypto error handling to be more like TLS error handling:•••crypto_perror is a no-no, since an operation can set more than one error. Also, fix a bug in the unix crypto_seed_rng: mixing stdio with /dev/urandom is a bad idea, since fopen can make all kinds of weird extraneous syscalls (mmap, fcntl, stat64, etc.) and since fread tends to buffer data in big chunks, thus depleting the entropy pool. svn:r1717 Nick Mathewson2004-04-26
* since we don't support truncateds much, don't bother sending them;•••just close the circ. (this wasn't relevant before, because we were mis-handling destroys.) svn:r1711 Roger Dingledine2004-04-26
* fix a bug that's been lurking since 27 may 03 (!)•••when passing back a destroy cell, we would use the wrong circ id. how the heck did this work? svn:r1710 Roger Dingledine2004-04-26
* use tor_assert•••remove obsolete BUF_OK macro svn:r1697 Roger Dingledine2004-04-25
* Remove onion_pkey from connection, since onion keys can change more often tha...•••svn:r1693 Nick Mathewson2004-04-25
* tmp patch to also expire old clean rend_ready circs for now•••will have to be fixed once we build-and-open rend circs preemptively svn:r1668 Roger Dingledine2004-04-18
* if an intro circ waiting for an ack dies before getting one, then•••count it as a nack svn:r1665 Roger Dingledine2004-04-18
* log n_circ_ids when attaching rend streams•••svn:r1657 Roger Dingledine2004-04-17
* a ! goes a long way toward more helpful debug messages•••svn:r1656 Roger Dingledine2004-04-17
* more debugging to hunt for a bug•••svn:r1647 Roger Dingledine2004-04-17
* i was wrong about one of my invariants•••now it's commented this should fix asserts when you try an intro point, get a nack, and try a second one and it works. svn:r1637 Roger Dingledine2004-04-16
* make unattached rend streams expire after a while (60s)•••(they were darned persistent) also make intro circs that are waiting for acks expire after a while (20s) svn:r1628 Roger Dingledine2004-04-15
* prune abandoned circs better•••add debugging info for the bug weasel found svn:r1626 Roger Dingledine2004-04-14
* Retry non-final-hop rendezvous failures•••svn:r1625 Nick Mathewson2004-04-14
* call circuit_build_failed() even when the failure is immediate•••svn:r1617 Roger Dingledine2004-04-14
* let introcircs receive acks. rend streams now deal correctly again.•••(i think) svn:r1614 Roger Dingledine2004-04-13
* Separate "start-establishing-introduction" from "upload descriptors"; only up...•••svn:r1607 Nick Mathewson2004-04-13
* clean up circuit rebuilding some; fix some bugs we hadn't hit yet•••svn:r1606 Roger Dingledine2004-04-13
* Get the rest of intro-ack/nak handling in ... except for the tricky "pick a n...•••svn:r1601 Nick Mathewson2004-04-13
* break circuit_build_needed_circs into its own func•••svn:r1596 Roger Dingledine2004-04-12
* expire old CIRCUIT_PURPOSE_C_REND_READY circs too•••svn:r1585 Roger Dingledine2004-04-09
* circuit-level sendmes weren't working, because the exit•••thought it was an exit. i overhauled the edge_type mechanism. hopefully this will help. svn:r1570 Roger Dingledine2004-04-08
* Launch intro services after launching connections; allow ORs to build circuit...•••svn:r1562 Nick Mathewson2004-04-08
* Nothing is good enough for you, is it?•••svn:r1556 Nick Mathewson2004-04-08
* Use CIRCUIT_IS_ORIGIN in favor of boolean circ->cpath•••svn:r1555 Nick Mathewson2004-04-08
* only call circuit_build_failed when we're circ's origin•••svn:r1554 Roger Dingledine2004-04-08
* Split out major functionality of circuit_get_best; rephrase a few booleans•••svn:r1547 Nick Mathewson2004-04-08
* don't pick myself or my twins as hops when building circuits•••svn:r1531 Roger Dingledine2004-04-07
* Carefully increment failure counts when appropriate•••svn:r1530 Nick Mathewson2004-04-07
* expire open-but-not-yet-acked circs if they're too old•••svn:r1526 Roger Dingledine2004-04-07
* convince ourselves that circuit_failed doesn't have to be any smarter•••svn:r1525 Roger Dingledine2004-04-07
* Delete trailing whitespace and expand tabs; remove unused aes decrypt code•••svn:r1522 Nick Mathewson2004-04-07
* let alice reuse recent rendjoin circs•••svn:r1519 Roger Dingledine2004-04-07
* when counting how many being-built circs will handle a stream,•••don't count ones that are too old svn:r1517 Roger Dingledine2004-04-07
* alice just fetched bob's hidden webpage.•••yay. svn:r1512 Roger Dingledine2004-04-06
* set the circ windows on the middle hop of the rend circs•••svn:r1511 Roger Dingledine2004-04-06
* checkpoint commit: rend closer to working, still not there yet•••svn:r1506 Roger Dingledine2004-04-06
* Continue attack on magic numbers; use new crypto wrappers where possible•••svn:r1504 Nick Mathewson2004-04-06
* make rend apconn send to the right cpath layer•••and fix circuit_log_path to know about rend circs svn:r1496 Roger Dingledine2004-04-05
* Make init_cpath_crypto able to handle both sides of handshake, by adding a "r...•••svn:r1489 Nick Mathewson2004-04-05
* alice can now look up bob's service descriptor,•••choose an intro point, connect to it, choose a rend point, connect to it and establish a cookie, get an ack from the rendezvous point, and know when both circs are ready for her. APConns don't use conn->purpose anymore don't initiate a renddesc lookup if one is already in progress also fix a buffer overflow in nickname parsing (only exploitable by the operator though) svn:r1471 Roger Dingledine2004-04-05