aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Collapse)AuthorAge
* 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
* Implement rennd_services_initNick Mathewson2004-04-02
| | | | svn:r1443
* router_choose_random_node can take a smartlist of nodes to excludeRoger Dingledine2004-04-02
| | | | svn:r1442
* 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
* teach directory servers to handle renddesc responsesRoger Dingledine2004-04-01
| | | | svn:r1434
* 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
* 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
* Add relay command types for rendezvousNick Mathewson2004-04-01
| | | | svn:r1419
* 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
* Add code to configure hidden services, parse configuration, generate keys ↵Nick Mathewson2004-03-31
| | | | | | and service IDs, and store/load them from disk svn:r1410
* let fetch_from_buf_http tolerate nuls in the http bodyRoger Dingledine2004-03-31
| | | | | | | | teach directory.c about which places it needs to nul-terminate body before it uses it, and which places it must not svn:r1407
* rename hidserv_xxNick Mathewson2004-03-31
| | | | svn:r1406
* Implement hidserv_XX functions; there is still an XXX in ↵Nick Mathewson2004-03-31
| | | | | | directory_handle_command svn:r1404
* Parse and generate service descriptorsNick Mathewson2004-03-31
| | | | svn:r1403
* Refactor directory serversRoger Dingledine2004-03-30
| | | | | | | | | | | * read all the time (before we would ignore eof sometimes, oops) * we can handle different urls now * send back 404 for an un-handled url * commands initiated by the client can handle payloads now * introduce conn->purpose to avoid exponential state-space explosion svn:r1400
* 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
* first guess at a set of circuit purposesRoger Dingledine2004-03-29
| | | | svn:r1370
* Remove descriptors that are older than 24 hours from the directory. Use ↵Nick Mathewson2004-03-29
| | | | | | strlcat instead of strncat to generate directories. svn:r1361
* there is yet another dns-pending-conn-clobbering bugRoger Dingledine2004-03-28
| | | | | | | somewhere svn:r1354
* 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
* 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
* 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
* Add initial history-tracking backend code for reputation module. Not called ↵Nick Mathewson2004-03-20
| | | | | | or tested yet. svn:r1310
* bugfix: decrement OR connections from global_bucket tooRoger Dingledine2004-03-14
| | | | | | | | bugfix: don't return immediately for has_pending_tls_data unless the conn is allowed to read svn:r1270
* refactor bandwidth-control token bucketsRoger Dingledine2004-03-14
| | | | | | | | this is a checkpoint commit; there still remain some bugs, er, somewhere. svn:r1269
* Make OP work on windows! (Also misc logging tweaks)Nick Mathewson2004-03-11
| | | | svn:r1258
* Get entropy in windows.Nick Mathewson2004-03-11
| | | | svn:r1257
* 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
* New, more flexible directory parsing backend. Uses a bit more RAM, but ↵Nick Mathewson2004-03-05
| | | | | | implements the new spec. Uses more RAM, but not so you would notice. svn:r1235
* Try to find out early if buffers get trashed or double-freed.Nick Mathewson2004-03-03
| | | | svn:r1225
* Implement hold_open_until_flushed. I may have missed something important.Nick Mathewson2004-03-03
| | | | svn:r1209
* make socks5 not give a spurious warningRoger Dingledine2004-03-03
| | | | | | | also rename AP_CONN_STATE_CONNECTING to _CONNECT_WAIT svn:r1208
* make circuit-building less noisy when a node in your exclude/exit/entrynodes ↵Roger Dingledine2004-03-03
| | | | | | is down svn:r1206
* 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
* 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
* Split dns_cancel_pending_resolve into dns_cancel_pending_resolve (kill aNick Mathewson2004-02-28
| | | | | | | | resolve in response to a DNS worker dying) and connection_dns_remove (remove a pending connection from the resolve structure.) svn:r1168
* Stop trying to flush on broken sockets marked for close.Nick Mathewson2004-02-28
| | | | svn:r1163
* rename ExcludedNodes config option to ExcludeNodesRoger Dingledine2004-02-28
| | | | svn:r1155
* 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