aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
Commit message (Collapse)AuthorAge
* tweaks and bugfix on resolve/resolved codeRoger Dingledine2004-06-17
| | | | svn:r1980
* Implement RESOLVE/RESOLVED cells and socks resolve codeNick Mathewson2004-06-17
| | | | svn:r1978
* be sure to detach streams from the circuit linked list before freeing themRoger Dingledine2004-06-02
| | | | | | | also, don't bother marking a conn for close if you're about to free it svn:r1935
* fix a double mark-for-closeRoger Dingledine2004-05-20
| | | | svn:r1913
* enable checking the socks policyRoger Dingledine2004-05-20
| | | | svn:r1906
* Allow multiple exit policy lines; mostly add support for AP policiesNick Mathewson2004-05-20
| | | | svn:r1905
* Break files apart into more modulesRoger Dingledine2004-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | * \file circuitbuild.c * \brief The actual details of building circuits. * \file circuitlist.c * \brief Manage the global circuit list. * \file circuituse.c * \brief Launch the right sort of circuits, attach streams to them. * \file connection_edge.c * \brief Handle edge streams. * \file onion.c * \brief Functions to queue create cells, and handle onionskin * parsing and creation. * \file relay.c * \brief Handle relay cell encryption/decryption, plus packaging and * receiving from circuits. svn:r1863
* break connection_edge_end out of connection_mark_for_closeRoger Dingledine2004-05-12
| | | | svn:r1858
* Make "connected" a different case from "finished_flushing"; always ↵Nick Mathewson2004-05-12
| | | | | | close_immediate whhen connect() fails. svn:r1852
* it's amazing what a bit of punctuation can do for appearancesRoger Dingledine2004-05-10
| | | | svn:r1843
* comment and doxygenate connection_edge.cRoger Dingledine2004-05-10
| | | | svn:r1833
* bugfix: add a circ->resolving_streams field, and make dns resolving ↵Roger Dingledine2004-05-06
| | | | | | | | | | | | streams not actually in the connection_array until they're done 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
* Only connection_add connections once they have conn->s sett; refactor code ↵Nick Mathewson2004-05-05
| | | | | | around this. Should make stuff more bulletproof. svn:r1788
* Working strerror for windows socket errors, plus some snide comments.Nick Mathewson2004-05-02
| | | | svn:r1775
* Handle windows socket errors correctly; comment most of common.Nick Mathewson2004-05-01
| | | | svn:r1756
* Use socketclose on windows as appropriate; end pid files with newlineNick Mathewson2004-04-28
| | | | svn:r1745
* fix a bug in dns.c, note but don't fix another oneRoger Dingledine2004-04-28
| | | | svn:r1735
* don't crash, if a conn that sent a begin has suddenly lost its circuitRoger Dingledine2004-04-25
| | | | svn:r1704
* use tor_assertRoger Dingledine2004-04-25
| | | | | | | remove obsolete BUF_OK macro svn:r1697
* the socketpair bug is no longer a bugRoger Dingledine2004-04-19
| | | | | | | now it is a documented behavior svn:r1674
* bugfix: you mean we're supposed to reuse fresh descriptors andRoger Dingledine2004-04-18
| | | | | | | refetch stale ones, not reuse stale ones and refetch fresh ones? svn:r1667
* if an intro circ waiting for an ack dies before getting one, thenRoger Dingledine2004-04-18
| | | | | | | count it as a nack svn:r1665
* expire dir connections that live for more than 5 minutesRoger Dingledine2004-04-18
| | | | svn:r1663
* log n_circ_ids when attaching rend streamsRoger Dingledine2004-04-17
| | | | svn:r1657
* more useful logs to track weasel's bugRoger Dingledine2004-04-17
| | | | svn:r1649
* bugfix: when you sleep your hidden-service laptop, as soonRoger Dingledine2004-04-17
| | | | | | | | | | as it wakes up it tries to upload a service descriptor, but socketpair fails for some reason (localhost not up yet?) now we simply give up on that upload, and we'll try again later. svn:r1646
* fix a pair of duplicate mark-for-closesRoger Dingledine2004-04-16
| | | | svn:r1643
* when alice uses a port that the hidden service doesn't accept,Roger Dingledine2004-04-16
| | | | | | | | it now sends back an end cell (denied by exit policy). otherwise alice would just have to wait to time out. svn:r1642
* wait a minute, weasel said there was a memory-stomping bug hereRoger Dingledine2004-04-16
| | | | | | | let's see if we find it svn:r1639
* i was wrong about one of my invariantsRoger Dingledine2004-04-16
| | | | | | | | | 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
* Must detach before attaching, or else we infinite-loopNick Mathewson2004-04-15
| | | | svn:r1632
* make unattached rend streams expire after a while (60s)Roger Dingledine2004-04-15
| | | | | | | | | (they were darned persistent) also make intro circs that are waiting for acks expire after a while (20s) svn:r1628
* narrow in closerRoger Dingledine2004-04-15
| | | | svn:r1627
* prune abandoned circs betterRoger Dingledine2004-04-14
| | | | | | | add debugging info for the bug weasel found svn:r1626
* make rendezvous points work againRoger Dingledine2004-04-14
| | | | | | | (yay. now time to mess them up again.) svn:r1619
* let introcircs receive acks. rend streams now deal correctly again.Roger Dingledine2004-04-13
| | | | | | | (i think) svn:r1614
* or, not andNick Mathewson2004-04-13
| | | | svn:r1610
* Handle END_STREAM_REASON_{EXITPOLICY|RESOLVEFAILED}Nick Mathewson2004-04-13
| | | | svn:r1609
* ACK/NAK INTRODUCE1 requests. (We do no useful processing on them yet)Nick Mathewson2004-04-12
| | | | svn:r1597
* continue beating at pieces of The BugRoger Dingledine2004-04-09
| | | | svn:r1588
* set rend exit connection state _before_ calling ↵Nick Mathewson2004-04-09
| | | | | | rend_service_set_connection_addr_port and maybe eventually assert_connection_ok. This solves the other half of the bug weasel found. svn:r1579
* circuit-level sendmes weren't working, because the exitRoger Dingledine2004-04-08
| | | | | | | | | thought it was an exit. i overhauled the edge_type mechanism. hopefully this will help. svn:r1570
* don't try to circuit_log_path if you're at the exit edge of a circRoger Dingledine2004-04-08
| | | | svn:r1561
* Use CIRCUIT_IS_ORIGIN in favor of boolean circ->cpathNick Mathewson2004-04-08
| | | | svn:r1555
* Set rend_query on exiting streamsNick Mathewson2004-04-08
| | | | svn:r1551
* if the rend desc cache entry was fetched more than 15 mins ago,Roger Dingledine2004-04-07
| | | | | | | | then try to fetch a new one. but if the new fetch fails, use the old one. svn:r1540
* Remember when we received which service desc.Nick Mathewson2004-04-07
| | | | svn:r1536
* Delete trailing whitespace and expand tabs; remove unused aes decrypt codeNick Mathewson2004-04-07
| | | | svn:r1522
* mark a rend circ dirty when you attach to itRoger Dingledine2004-04-07
| | | | svn:r1518
* Set routerinfo->addr properly for own routerinfo; do casei routerinfo compareNick Mathewson2004-04-06
| | | | svn:r1514