Commit Graph

1472 Commits

Author SHA1 Message Date
Roger Dingledine e2fa5bb5c7 bob's rend desc must list >=1 intro point
plus note a bug in our spec that we should fix


svn:r1473
2004-04-05 04:42:00 +00:00
Roger Dingledine 7983b84524 nicknames are at most 19 chars
svn:r1472
2004-04-05 04:41:32 +00:00
Roger Dingledine b6eb972533 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
2004-04-05 00:47:48 +00:00
Nick Mathewson c67ea22047 Implement acks
svn:r1470
2004-04-03 04:55:22 +00:00
Nick Mathewson 1afa14d3d6 Add func to generate,set,and send rend cookie
svn:r1469
2004-04-03 04:22:22 +00:00
Nick Mathewson ae65615c18 Make it build on linux
svn:r1468
2004-04-03 04:08:54 +00:00
Roger Dingledine 125623d388 nick, can you make and send the rendezvous cookie?
svn:r1467
2004-04-03 04:05:30 +00:00
Nick Mathewson bc84a23656 Make "common" no longer depend on or.h
svn:r1466
2004-04-03 04:05:12 +00:00
Nick Mathewson 301de200a7 Strdup hates finding 0 bytes.
svn:r1465
2004-04-03 03:39:31 +00:00
Nick Mathewson b47e8b8973 Handle rendezvous relay cells
svn:r1464
2004-04-03 03:37:11 +00:00
Roger Dingledine 27e0b0ec30 publish and fetch the right rendezvous urls
svn:r1463
2004-04-03 03:33:57 +00:00
Nick Mathewson f6cf771c1b Use (set|get)_uint(16|32) in lieu of memcpy where reasonable.
svn:r1462
2004-04-03 03:07:25 +00:00
Roger Dingledine b9890f8893 more progress on alice's side
svn:r1461
2004-04-03 03:06:06 +00:00
Nick Mathewson 6ae59c4fc5 Loops work better when they terminate. Non-terminating loops are easier
to diagnose when they don't trash the stack.


svn:r1460
2004-04-03 02:55:42 +00:00
Nick Mathewson f6252564a3 Build without warnings against openssl 0.9.6
svn:r1459
2004-04-03 02:43:09 +00:00
Nick Mathewson df2bdf5483 Refactor the heck out of crypto interface: admit that we will stick with one ciphersuite at a time, make const things const, and stop putting openssl in the headers.
svn:r1458
2004-04-03 02:40:30 +00:00
Roger Dingledine 60929899c2 it's HiddenServiceDir
svn:r1457
2004-04-03 02:37:13 +00:00
Roger Dingledine 52bdeb0642 tabs
svn:r1456
2004-04-03 02:14:20 +00:00
Roger Dingledine f810d7e735 alice can intercept y.onion requests, do a lookup on them via tor,
and receive a 404


svn:r1455
2004-04-03 01:59:53 +00:00
Roger Dingledine af398a2446 no underscores in nicknames
svn:r1454
2004-04-03 01:48:22 +00:00
Nick Mathewson 7779f6fe22 Add examples for hidden services
svn:r1453
2004-04-03 01:44:24 +00:00
Nick Mathewson 6be4b2c1a9 Startup without crashing.
svn:r1452
2004-04-03 01:11:04 +00:00
Nick Mathewson 9cf8b5439d Hide smartlist internals
svn:r1451
2004-04-03 00:58:54 +00:00
Roger Dingledine 5bb3d9ce99 fix some bugs; more remain
svn:r1450
2004-04-03 00:55:53 +00:00
Roger Dingledine 9bf54418b7 remember to lower-case the y in y.onion
svn:r1449
2004-04-03 00:27:33 +00:00
Roger Dingledine 110b014fbe AP conns use conn->rend_query now too
expose connection_ap_handshake_attach_circuit()


svn:r1448
2004-04-02 23:54:48 +00:00
Nick Mathewson fece0d4391 Finish renaming rend_service field
svn:r1447
2004-04-02 23:44:46 +00:00
Roger Dingledine 4e78204daa break out circ->rend_service
(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
2004-04-02 23:38:26 +00:00
Nick Mathewson 56cfd8299e refactor; start adding debugging logs to midpoint rend stuff
svn:r1445
2004-04-02 23:30:54 +00:00
Nick Mathewson 77947387f0 Finish missing comment :p
svn:r1444
2004-04-02 23:04:10 +00:00
Nick Mathewson a3d8a7508a Implement rennd_services_init
svn:r1443
2004-04-02 23:01:00 +00:00
Roger Dingledine ea73158b5f router_choose_random_node can take a smartlist of nodes to exclude
svn:r1442
2004-04-02 22:30:39 +00:00
Roger Dingledine 2060769759 now circuit_get_newest returns an appropriate circ for your purpose
connection_ap_handshake_attach_circuit attaches to a circ of the
right purpose

add a skeletal rendclient.c


svn:r1441
2004-04-02 22:23:15 +00:00
Nick Mathewson 608a5a0802 Make preferred/excluded intro points configurable
svn:r1440
2004-04-02 22:06:46 +00:00
Nick Mathewson 0a5e30f86a Implement midpoint functionality for rendezvous points.
svn:r1439
2004-04-02 21:56:52 +00:00
Nick Mathewson 0ae86b52a6 For hidden services: handle INTRODUCE2, send ESTABLISH_INTRO, RENDEZVOUS1.
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
2004-04-01 22:21:01 +00:00
Nick Mathewson 289267d1ef refactor to use new digest/checksig wrapper, add emacs magic, untabify
svn:r1437
2004-04-01 22:12:00 +00:00
Nick Mathewson 979452d104 Add new functions to wrap digest and sign/checksig.
svn:r1436
2004-04-01 22:10:33 +00:00
Nick Mathewson 817809d4d1 Clarify handdshake digest logic
svn:r1435
2004-04-01 22:09:34 +00:00
Roger Dingledine 8a6323d901 teach directory servers to handle renddesc responses
svn:r1434
2004-04-01 21:32:01 +00:00
Roger Dingledine 092e9f9c7a alice chooses her rendezvous node from all running routers
and she can set preferences in her options


svn:r1433
2004-04-01 20:33:29 +00:00
Nick Mathewson 9e168978bd Finish implementing what-bob-does-on-INTRODUCE2
svn:r1432
2004-04-01 20:05:57 +00:00
Nick Mathewson 420af02e2b Separate "generate-DH-key" from "get-DH-key" without breaking old interface
svn:r1431
2004-04-01 20:04:54 +00:00
Roger Dingledine 9164211338 teach alice to recognize y.onion addresses
svn:r1430
2004-04-01 19:39:11 +00:00
Nick Mathewson 1de5f2ea47 Add some hooks to handle rendezvous-related cells at ORs
svn:r1429
2004-04-01 04:07:09 +00:00
Roger Dingledine d55ee3be5d let the circuit-launcher choose the exit node (if he wants)
svn:r1428
2004-04-01 03:44:49 +00:00
Nick Mathewson e57283ce13 Make it compile.
svn:r1427
2004-04-01 03:43:54 +00:00
Nick Mathewson eda71bb779 Add a (also fragmentary) function to handle introduction requests
svn:r1426
2004-04-01 03:34:05 +00:00
Nick Mathewson f985565fcb Use padding with intro requests
svn:r1425
2004-04-01 03:31:00 +00:00
Roger Dingledine cfb0f43e5b outline what bob does to initialize his hidden services
let circuit_launch_new return the circ it just made


svn:r1424
2004-04-01 03:23:28 +00:00