aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
Commit message (Collapse)AuthorAge
* alice can intercept y.onion requests, do a lookup on them via tor,Roger Dingledine2004-04-03
| | | | | | | and receive a 404 svn:r1455
* fix some bugs; more remainRoger Dingledine2004-04-03
| | | | svn:r1450
* AP conns use conn->rend_query now tooRoger Dingledine2004-04-02
| | | | | | | expose connection_ap_handshake_attach_circuit() svn:r1448
* break out circ->rend_serviceRoger Dingledine2004-04-02
| | | | | | | | | | | (this breaks the compile; must fix things) let alice react when she learns a new rendezvous descriptor let alice launch intro and rend circuits and mark them with her query svn:r1446
* refactor; start adding debugging logs to midpoint rend stuffNick Mathewson2004-04-02
| | | | svn:r1445
* now circuit_get_newest returns an appropriate circ for your purposeRoger Dingledine2004-04-02
| | | | | | | | | | connection_ap_handshake_attach_circuit attaches to a circ of the right purpose add a skeletal rendclient.c svn:r1441
* alice chooses her rendezvous node from all running routersRoger Dingledine2004-04-01
| | | | | | | and she can set preferences in her options svn:r1433
* let the circuit-launcher choose the exit node (if he wants)Roger Dingledine2004-04-01
| | | | svn:r1428
* let alice recognize a y.onion address and, uhm, do somethingRoger Dingledine2004-04-01
| | | | svn:r1422
* put in hooks for alice and bob logic when circuits finish/failRoger Dingledine2004-04-01
| | | | | | | | | let you specify the purpose of circuits you launch bugfix: we used to be declaring the first successful circuit too early -- when the first hop finished. now we're more accurate. svn:r1421
* allow conns to demand to be attached to a clean circuitRoger Dingledine2004-03-31
| | | | | | | (nobody uses this yet) svn:r1417
* Add an ap_bridge function to do a socketpair and skip socks.Roger Dingledine2004-03-31
| | | | | | | | | | | | | | | | | This allows us to do a directory connection *through* tor just as if we're doing it as an application. Make ap_conns tolerate it when the application sends stuff before The socks handshake is done (it just buffers it). Tell directory_initiate_command the length of the payload (because it might include nuls). Add a directory_has_arrived function to, for example, start building the rendezvous service descriptor. svn:r1412
* work around a tsocks bugRoger Dingledine2004-03-27
| | | | | | | | when an AP connection dies early, be sure to do a socks reject for it. if you just hang up, tsocks goes into an infinite loop. svn:r1352
* deal with hardware word alignmentRoger Dingledine2004-03-20
| | | | | | | | | this was causing the seg faults on sparc processors i wonder if i got them all. svn:r1314
* Integrate the new "rephist" [rep(utation) hist(ory)] module to traceNick Mathewson2004-03-20
| | | | | | | | | | | | | | successful/failed connections, successful/failed extends, and connection uptimes. It's still not done: more tests are needed, and not everything calls connection/circuit_mark_for_close properly. This skews the results. Also, there needs to be a 'testing' mode for non-OP ORs, where they periodically build circuits just to test whether extends work. svn:r1313
* Use strmap code for client DNS.Nick Mathewson2004-03-20
| | | | svn:r1309
* Make tor build on windows again. More work still neededNick Mathewson2004-03-09
| | | | svn:r1247
* re-try streams at most 4 timesRoger Dingledine2004-03-07
| | | | svn:r1242
* if a stream times out after 15s without a connected cell,Roger Dingledine2004-03-06
| | | | | | | don't try that circuit again. svn:r1239
* holding until flush was borkedRoger Dingledine2004-03-03
| | | | | | | | | | we were never writing anything when hold_open_until_flushed was set, since conn_write returns early if marked_for_conn is set. seems a bit better now. svn:r1214
* don't mark_for_close again when the destroy arrives after the end cellRoger Dingledine2004-03-03
| | | | svn:r1211
* use conn->hold_open_until_flushed for streamsRoger Dingledine2004-03-03
| | | | | | | and also note/fix a variety of other stream-based bugs svn:r1210
* make socks5 not give a spurious warningRoger Dingledine2004-03-03
| | | | | | | also rename AP_CONN_STATE_CONNECTING to _CONNECT_WAIT svn:r1208
* Split out mark_for_close with circuits. Seems to work for me.Nick Mathewson2004-03-02
| | | | svn:r1197
* Fix assertion failure spotted by arma.Nick Mathewson2004-03-02
| | | | | | | | | | | Apparently, when a DNS failure was already cached, then when we tried to mark the exit connection as closed, we'd try to remove it from the pending queue anyway, and hit an assert. Now, we put failed-resolve connections in a separate state so that mark_for_close does the right thing. svn:r1196
* note an assert trigger bugRoger Dingledine2004-03-01
| | | | | | | nick, want to fix this? :) svn:r1192
* fix duplicate call to connection_mark_for_closeRoger Dingledine2004-02-29
| | | | svn:r1187
* bugfix: we were checking the wrong thing to see if 'reason'Roger Dingledine2004-02-29
| | | | | | | was out of range svn:r1186
* when a stream is 15s late, print out the circuit at -l warnRoger Dingledine2004-02-29
| | | | svn:r1180
* create a separate connection_edge_destroy() functionRoger Dingledine2004-02-29
| | | | svn:r1176
* bugfix: when we time out on a stream and detach, send an end firstRoger Dingledine2004-02-28
| | | | svn:r1175
* clean up some log messages and severitiesRoger Dingledine2004-02-28
| | | | | | | still plenty more left to clean svn:r1158
* some more small fixesRoger Dingledine2004-02-28
| | | | svn:r1152
* Stop answering "end" with "end"Nick Mathewson2004-02-28
| | | | svn:r1150
* Push responsibility for connection marking down as far as possible; have ↵Nick Mathewson2004-02-28
| | | | | | only a close path; add some missing end cells; change return conventions a little. svn:r1149
* Make has_sent_end irrelevant: only try to send end if reason is nonzeroNick Mathewson2004-02-28
| | | | svn:r1148
* patches/answers to nick's commitRoger Dingledine2004-02-27
| | | | svn:r1146
* Refactor mark_for_close, connection_edge_end and friends. Now, everybodyNick Mathewson2004-02-27
| | | | | | | | | | | | | | | | who wants to shut down a connection calls connection_mark_for_close instead of setting marked_for_close to 1. This automatically removes the connection from the DNS cache if needed, sends a RELAY END cell if appropriate, and can be changed to do whatever else is needed. Still to do: - The same for circuits, maybe. - Add some kind of hold_connection_open_until_flushed flag, maybe. - Change stuff that closes connections with return -1 to use mark_for_close, maybe. svn:r1145
* make 'connected' cells include the resolved IPRoger Dingledine2004-02-27
| | | | svn:r1143
* adding the reattach-after-timeout feature wasn't so easy after all.Roger Dingledine2004-02-18
| | | | | | | maybe it works now. svn:r1101
* retry streams where the connected cell hasn't arrived in 15 secondsRoger Dingledine2004-02-17
| | | | svn:r1100
* Propagate yes/no/maybe a little farther forward.Nick Mathewson2004-02-17
| | | | svn:r1096
* Let AP edges receive 'end' relay cells while waiting for 'connected'Roger Dingledine2004-01-20
| | | | svn:r1012
* add an ap_conn connecting state; report connecting delayRoger Dingledine2004-01-20
| | | | svn:r1011
* fix assert trigger in serverRoger Dingledine2004-01-19
| | | | | | | | | | | Jan 18 04:11:43.312 [warn] connection_edge_send_command(): no circ. Closing. i think it was while sending a connected relay cell back. reason for having the circ gone is still not known. presumably the end cell arrived at just the right time. svn:r1005
* split the token bucket into 'rate' and 'burst' paramsRoger Dingledine2004-01-10
| | | | | | | | | | | we're not entirely migrated to burst yet, for backward compatibility note some win32 probable-bugs clean up routerlist.c svn:r982
* fix endian issue: rh.integrity was getting sent wrongRoger Dingledine2004-01-02
| | | | | | | now it's a char[4] rather than an int svn:r966
* stop a bug that straycat may have foundRoger Dingledine2004-01-01
| | | | svn:r964
* checkpoint: revamp relay cell packaging and handlingRoger Dingledine2003-12-23
| | | | | | | | include the infrastructure for inserting padding cells when there's a relay-recognized conflict, but it does not work currently. svn:r958
* make sure there's no conflict when generating stream_idsRoger Dingledine2003-12-19
| | | | svn:r955