aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuit.c
Commit message (Collapse)AuthorAge
* Refactor the heck out of crypto interface: admit that we will stick with one ↵Nick Mathewson2004-04-03
| | | | | | ciphersuite at a time, make const things const, and stop putting openssl in the headers. svn:r1458
* alice can intercept y.onion requests, do a lookup on them via tor,Roger Dingledine2004-04-03
| | | | | | | and receive a 404 svn:r1455
* Hide smartlist internalsNick Mathewson2004-04-03
| | | | svn:r1451
* 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
* Finish renaming rend_service fieldNick Mathewson2004-04-02
| | | | svn:r1447
* 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
* Implement midpoint functionality for rendezvous points.Nick Mathewson2004-04-02
| | | | svn:r1439
* For hidden services: handle INTRODUCE2, send ESTABLISH_INTRO, RENDEZVOUS1.Nick Mathewson2004-04-01
| | | | | | | | | | | | | Also: - Add a pending final cpath element to build_state - Rename S_RENDEZVOUSING to S_CONNECT_REND - Add [CS]_REND_JOINED - Split out logic to initialize cpath crypto objects. - Have circuits/cpaths remember the KH element from their handshake, so they can use it for other authentication later. (As in ESTABLISH_INTRO) svn:r1438
* alice chooses her rendezvous node from all running routersRoger Dingledine2004-04-01
| | | | | | | and she can set preferences in her options svn:r1433
* Finish implementing what-bob-does-on-INTRODUCE2Nick Mathewson2004-04-01
| | | | svn:r1432
* let the circuit-launcher choose the exit node (if he wants)Roger Dingledine2004-04-01
| | | | svn:r1428
* outline what bob does to initialize his hidden servicesRoger Dingledine2004-04-01
| | | | | | | let circuit_launch_new return the circ it just made svn:r1424
* 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
* Make smartlist Do What Arma Expects.Nick Mathewson2004-03-30
| | | | svn:r1401
* Add rendezvous-related metadata and code to circuits. Initially, weNick Mathewson2004-03-30
| | | | | | | | | | thought that a complicated adjunct structure would be necessary, but it doesn't look that way anymore. Of course, I might have forgotten something. svn:r1396
* use 'notice' loglevel for things the operator should hearRoger Dingledine2004-03-30
| | | | | | | but that aren't warnings svn:r1384
* Remove unused open circuits when there are too many, not when they are too old.Nick Mathewson2004-03-21
| | | | svn:r1332
* Dont expire circuits we didnt originate. This may be redundant somehow, but ↵Nick Mathewson2004-03-21
| | | | | | better safe than sorry. svn:r1331
* Add a RunTesting option to try to learn link state by creating test ↵Nick Mathewson2004-03-21
| | | | | | circuits, even when SocksPort is off. svn:r1327
* make servers not crash when they rep-hist-note circuits that don't start at themRoger Dingledine2004-03-20
| | | | svn:r1317
* 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
* clean up some presentation and commentsRoger Dingledine2004-03-18
| | | | svn:r1294
* bugfix: address that strcat vulnerability in circuit.cRoger Dingledine2004-03-14
| | | | svn:r1273
* Make tor build on windows again. More work still neededNick Mathewson2004-03-09
| | | | svn:r1247
* reenable part of assert_circuit_ok, leave some still disabledRoger Dingledine2004-03-03
| | | | svn:r1207
* Fix (maybe) assert_circuit_ok. leave it disabled till arma confirmsNick Mathewson2004-03-03
| | | | svn:r1205
* Nth time is the charm on list manip.Nick Mathewson2004-03-03
| | | | svn:r1201
* fix a pair of lurking segfaultsRoger Dingledine2004-03-02
| | | | svn:r1198
* Split out mark_for_close with circuits. Seems to work for me.Nick Mathewson2004-03-02
| | | | svn:r1197
* print a statement when the first circ is finished,Roger Dingledine2004-02-29
| | | | | | | so the user knows it's working svn:r1179
* create a separate connection_edge_destroy() functionRoger Dingledine2004-02-29
| | | | svn:r1176
* clean up some log messages and severitiesRoger Dingledine2004-02-28
| | | | | | | still plenty more left to clean svn:r1158
* if a relay cell is unrecognized at the end of the circuit,Roger Dingledine2004-02-28
| | | | | | | send back a destroy svn:r1153
* 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
* clean up an ia64 warningRoger Dingledine2004-02-27
| | | | svn:r1140
* Basic RAM poisoning and magic-checking to notice connection and circuitNick Mathewson2004-02-25
| | | | | | | | corruption faster; also, check for corruption in dns.c so we can fail fast for the bug that's nailing Lucky and moria3. svn:r1123
* adding the reattach-after-timeout feature wasn't so easy after all.Roger Dingledine2004-02-18
| | | | | | | maybe it works now. svn:r1101
* Propagate yes/no/maybe a little farther forward.Nick Mathewson2004-02-17
| | | | svn:r1096
* turn some knobs, add more debuggingRoger Dingledine2004-01-30
| | | | svn:r1023
* add an ap_conn connecting state; report connecting delayRoger Dingledine2004-01-20
| | | | svn:r1011
* fix endian issue: rh.integrity was getting sent wrongRoger Dingledine2004-01-02
| | | | | | | now it's a char[4] rather than an int svn:r966
* make loglevel info less noisyRoger Dingledine2003-12-30
| | | | svn:r961
* randomize the initial circ_id and stream_id, so an adversary whoRoger Dingledine2003-12-28
| | | | | | | | breaks in part-way through can't learn how many circs/streams have been made svn:r960