]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Tue, 6 Apr 2004 03:46:37 +0000 (03:46 +0000)]
Remove the last tab in non-contributed code
svn:r1503
Nick Mathewson [Tue, 6 Apr 2004 03:44:36 +0000 (03:44 +0000)]
Document stuff, reduce magic numbers, add emacs magic
svn:r1502
Peter Palfrader [Tue, 6 Apr 2004 01:00:26 +0000 (01:00 +0000)]
Document :n-m exit policy
svn:r1501
Roger Dingledine [Tue, 6 Apr 2004 00:56:24 +0000 (00:56 +0000)]
finish off a bunch of rend todo, add more
svn:r1500
Roger Dingledine [Mon, 5 Apr 2004 23:40:59 +0000 (23:40 +0000)]
fix the bob-can't-decode-relays bug
now alice can send the begin and bob can receive it.
svn:r1499
Roger Dingledine [Mon, 5 Apr 2004 22:43:01 +0000 (22:43 +0000)]
don't detach-and-retry rendezvous streams
svn:r1498
Nick Mathewson [Mon, 5 Apr 2004 22:22:42 +0000 (22:22 +0000)]
make router_get_by_nickname consider this router.
svn:r1497
Roger Dingledine [Mon, 5 Apr 2004 22:01:35 +0000 (22:01 +0000)]
make rend apconn send to the right cpath layer
and fix circuit_log_path to know about rend circs
svn:r1496
Nick Mathewson [Mon, 5 Apr 2004 21:40:22 +0000 (21:40 +0000)]
More symbolic constants for checking rendezvous1 cell lengths
svn:r1495
Nick Mathewson [Mon, 5 Apr 2004 21:39:47 +0000 (21:39 +0000)]
Use correct payload lengths when sending RENDEZVOUS1 cells
svn:r1494
Nick Mathewson [Mon, 5 Apr 2004 21:39:18 +0000 (21:39 +0000)]
Spec conformance: KH|"INTRODUCE" is only for establishing intro pt
svn:r1493
Nick Mathewson [Mon, 5 Apr 2004 21:31:53 +0000 (21:31 +0000)]
Add a missing offset
svn:r1492
Nick Mathewson [Mon, 5 Apr 2004 21:15:14 +0000 (21:15 +0000)]
Use symbolic constants; make padding types match.
svn:r1491
Nick Mathewson [Mon, 5 Apr 2004 20:53:50 +0000 (20:53 +0000)]
Implement response to RENDEZVOUS2 cell.
svn:r1490
Nick Mathewson [Mon, 5 Apr 2004 20:53:04 +0000 (20:53 +0000)]
Make init_cpath_crypto able to handle both sides of handshake, by adding a "reverse" flag
svn:r1489
Nick Mathewson [Mon, 5 Apr 2004 20:52:16 +0000 (20:52 +0000)]
add more constants
svn:r1488
Nick Mathewson [Mon, 5 Apr 2004 20:34:58 +0000 (20:34 +0000)]
It's amazing how wrong things look when you invert the booleans on your
sanity checks.
svn:r1487
Nick Mathewson [Mon, 5 Apr 2004 20:33:29 +0000 (20:33 +0000)]
Slightly more helpful msg on mismatched service pk digest in INTRODUCE2 cell
svn:r1486
Nick Mathewson [Mon, 5 Apr 2004 20:30:53 +0000 (20:30 +0000)]
Do first half of Alice-side of DH handshake.
svn:r1485
Roger Dingledine [Mon, 5 Apr 2004 18:22:00 +0000 (18:22 +0000)]
oaep uses 42 more bytes -- stop clobbering buffers
also maybe fix some constants here and there -- nick?
svn:r1484
Roger Dingledine [Mon, 5 Apr 2004 17:56:34 +0000 (17:56 +0000)]
strdup the intro point when you pick it, so you
don't free it and then return it
svn:r1483
Roger Dingledine [Mon, 5 Apr 2004 17:51:00 +0000 (17:51 +0000)]
complain early if we get an unrecognized nickname from
bob's rend service descriptor
svn:r1482
Nick Mathewson [Mon, 5 Apr 2004 17:36:30 +0000 (17:36 +0000)]
use the right variable when comparing hashes; maybe fix "Hash of session" bug
svn:r1481
Nick Mathewson [Mon, 5 Apr 2004 17:28:48 +0000 (17:28 +0000)]
Expect a 20-byte nul-padded-and-terminated nickname
svn:r1480
Nick Mathewson [Mon, 5 Apr 2004 17:20:57 +0000 (17:20 +0000)]
Add some temporary log calls to try to debug the "Hash of session info was not as expected" problem
svn:r1479
Nick Mathewson [Mon, 5 Apr 2004 17:10:48 +0000 (17:10 +0000)]
i2d_RSAPublicKey advances the pointer it receives past the ASN1-encoded string.
svn:r1478
Roger Dingledine [Mon, 5 Apr 2004 15:24:03 +0000 (15:24 +0000)]
if a rend stream has already been attached to a rend circ,
then don't attach it again (and again, and again, and...)
svn:r1477
Roger Dingledine [Mon, 5 Apr 2004 15:17:34 +0000 (15:17 +0000)]
send a destroy after we send an introduce
svn:r1476
Roger Dingledine [Mon, 5 Apr 2004 07:41:31 +0000 (07:41 +0000)]
more alice-side infrastructure
handle rendezvous acks,
do rend begin cells right,
send an introduction cell (sort of)
receive a rendezvous2 cell (sort of)
svn:r1475
Roger Dingledine [Mon, 5 Apr 2004 05:04:55 +0000 (05:04 +0000)]
rend point nickname is nul-padded to avoid revealing rend point
svn:r1474
Roger Dingledine [Mon, 5 Apr 2004 04:42:00 +0000 (04:42 +0000)]
bob's rend desc must list >=1 intro point
plus note a bug in our spec that we should fix
svn:r1473
Roger Dingledine [Mon, 5 Apr 2004 04:41:32 +0000 (04:41 +0000)]
nicknames are at most 19 chars
svn:r1472
Roger Dingledine [Mon, 5 Apr 2004 00:47:48 +0000 (00:47 +0000)]
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
Nick Mathewson [Sat, 3 Apr 2004 04:55:22 +0000 (04:55 +0000)]
Implement acks
svn:r1470
Nick Mathewson [Sat, 3 Apr 2004 04:22:22 +0000 (04:22 +0000)]
Add func to generate,set,and send rend cookie
svn:r1469
Nick Mathewson [Sat, 3 Apr 2004 04:08:54 +0000 (04:08 +0000)]
Make it build on linux
svn:r1468
Roger Dingledine [Sat, 3 Apr 2004 04:05:30 +0000 (04:05 +0000)]
nick, can you make and send the rendezvous cookie?
svn:r1467
Nick Mathewson [Sat, 3 Apr 2004 04:05:12 +0000 (04:05 +0000)]
Make "common" no longer depend on or.h
svn:r1466
Nick Mathewson [Sat, 3 Apr 2004 03:39:31 +0000 (03:39 +0000)]
Strdup hates finding 0 bytes.
svn:r1465
Nick Mathewson [Sat, 3 Apr 2004 03:37:11 +0000 (03:37 +0000)]
Handle rendezvous relay cells
svn:r1464
Roger Dingledine [Sat, 3 Apr 2004 03:33:57 +0000 (03:33 +0000)]
publish and fetch the right rendezvous urls
svn:r1463
Nick Mathewson [Sat, 3 Apr 2004 03:07:25 +0000 (03:07 +0000)]
Use (set|get)_uint(16|32) in lieu of memcpy where reasonable.
svn:r1462
Roger Dingledine [Sat, 3 Apr 2004 03:06:06 +0000 (03:06 +0000)]
more progress on alice's side
svn:r1461
Nick Mathewson [Sat, 3 Apr 2004 02:55:42 +0000 (02:55 +0000)]
Loops work better when they terminate. Non-terminating loops are easier
to diagnose when they don't trash the stack.
svn:r1460
Nick Mathewson [Sat, 3 Apr 2004 02:43:09 +0000 (02:43 +0000)]
Build without warnings against openssl 0.9.6
svn:r1459
Nick Mathewson [Sat, 3 Apr 2004 02:40:30 +0000 (02:40 +0000)]
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
Roger Dingledine [Sat, 3 Apr 2004 02:37:13 +0000 (02:37 +0000)]
it's HiddenServiceDir
svn:r1457
Roger Dingledine [Sat, 3 Apr 2004 02:14:20 +0000 (02:14 +0000)]
tabs
svn:r1456
Roger Dingledine [Sat, 3 Apr 2004 01:59:53 +0000 (01:59 +0000)]
alice can intercept y.onion requests, do a lookup on them via tor,
and receive a 404
svn:r1455
Roger Dingledine [Sat, 3 Apr 2004 01:48:22 +0000 (01:48 +0000)]
no underscores in nicknames
svn:r1454
Nick Mathewson [Sat, 3 Apr 2004 01:44:24 +0000 (01:44 +0000)]
Add examples for hidden services
svn:r1453
Nick Mathewson [Sat, 3 Apr 2004 01:11:04 +0000 (01:11 +0000)]
Startup without crashing.
svn:r1452
Nick Mathewson [Sat, 3 Apr 2004 00:58:54 +0000 (00:58 +0000)]
Hide smartlist internals
svn:r1451
Roger Dingledine [Sat, 3 Apr 2004 00:55:53 +0000 (00:55 +0000)]
fix some bugs; more remain
svn:r1450
Roger Dingledine [Sat, 3 Apr 2004 00:27:33 +0000 (00:27 +0000)]
remember to lower-case the y in y.onion
svn:r1449
Roger Dingledine [Fri, 2 Apr 2004 23:54:48 +0000 (23:54 +0000)]
AP conns use conn->rend_query now too
expose connection_ap_handshake_attach_circuit()
svn:r1448
Nick Mathewson [Fri, 2 Apr 2004 23:44:46 +0000 (23:44 +0000)]
Finish renaming rend_service field
svn:r1447
Roger Dingledine [Fri, 2 Apr 2004 23:38:26 +0000 (23:38 +0000)]
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
Nick Mathewson [Fri, 2 Apr 2004 23:30:54 +0000 (23:30 +0000)]
refactor; start adding debugging logs to midpoint rend stuff
svn:r1445
Nick Mathewson [Fri, 2 Apr 2004 23:04:10 +0000 (23:04 +0000)]
Finish missing comment :p
svn:r1444
Nick Mathewson [Fri, 2 Apr 2004 23:01:00 +0000 (23:01 +0000)]
Implement rennd_services_init
svn:r1443
Roger Dingledine [Fri, 2 Apr 2004 22:30:39 +0000 (22:30 +0000)]
router_choose_random_node can take a smartlist of nodes to exclude
svn:r1442
Roger Dingledine [Fri, 2 Apr 2004 22:23:15 +0000 (22:23 +0000)]
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
Nick Mathewson [Fri, 2 Apr 2004 22:06:46 +0000 (22:06 +0000)]
Make preferred/excluded intro points configurable
svn:r1440
Nick Mathewson [Fri, 2 Apr 2004 21:56:52 +0000 (21:56 +0000)]
Implement midpoint functionality for rendezvous points.
svn:r1439
Nick Mathewson [Thu, 1 Apr 2004 22:21:01 +0000 (22:21 +0000)]
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
Nick Mathewson [Thu, 1 Apr 2004 22:12:00 +0000 (22:12 +0000)]
refactor to use new digest/checksig wrapper, add emacs magic, untabify
svn:r1437
Nick Mathewson [Thu, 1 Apr 2004 22:10:33 +0000 (22:10 +0000)]
Add new functions to wrap digest and sign/checksig.
svn:r1436
Nick Mathewson [Thu, 1 Apr 2004 22:09:34 +0000 (22:09 +0000)]
Clarify handdshake digest logic
svn:r1435
Roger Dingledine [Thu, 1 Apr 2004 21:32:01 +0000 (21:32 +0000)]
teach directory servers to handle renddesc responses
svn:r1434
Roger Dingledine [Thu, 1 Apr 2004 20:33:29 +0000 (20:33 +0000)]
alice chooses her rendezvous node from all running routers
and she can set preferences in her options
svn:r1433
Nick Mathewson [Thu, 1 Apr 2004 20:05:57 +0000 (20:05 +0000)]
Finish implementing what-bob-does-on-INTRODUCE2
svn:r1432
Nick Mathewson [Thu, 1 Apr 2004 20:04:54 +0000 (20:04 +0000)]
Separate "generate-DH-key" from "get-DH-key" without breaking old interface
svn:r1431
Roger Dingledine [Thu, 1 Apr 2004 19:39:11 +0000 (19:39 +0000)]
teach alice to recognize y.onion addresses
svn:r1430
Nick Mathewson [Thu, 1 Apr 2004 04:07:09 +0000 (04:07 +0000)]
Add some hooks to handle rendezvous-related cells at ORs
svn:r1429
Roger Dingledine [Thu, 1 Apr 2004 03:44:49 +0000 (03:44 +0000)]
let the circuit-launcher choose the exit node (if he wants)
svn:r1428
Nick Mathewson [Thu, 1 Apr 2004 03:43:54 +0000 (03:43 +0000)]
Make it compile.
svn:r1427
Nick Mathewson [Thu, 1 Apr 2004 03:34:05 +0000 (03:34 +0000)]
Add a (also fragmentary) function to handle introduction requests
svn:r1426
Nick Mathewson [Thu, 1 Apr 2004 03:31:00 +0000 (03:31 +0000)]
Use padding with intro requests
svn:r1425
Roger Dingledine [Thu, 1 Apr 2004 03:23:28 +0000 (03:23 +0000)]
outline what bob does to initialize his hidden services
let circuit_launch_new return the circ it just made
svn:r1424
Nick Mathewson [Thu, 1 Apr 2004 03:08:35 +0000 (03:08 +0000)]
Add helpful hybrid encryption functions
svn:r1423
Roger Dingledine [Thu, 1 Apr 2004 02:41:41 +0000 (02:41 +0000)]
let alice recognize a y.onion address and, uhm, do something
svn:r1422
Roger Dingledine [Thu, 1 Apr 2004 01:57:22 +0000 (01:57 +0000)]
put in hooks for alice and bob logic when circuits finish/fail
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
Nick Mathewson [Thu, 1 Apr 2004 01:17:45 +0000 (01:17 +0000)]
Bob needs the hash of his PK in order to know which hidden service to be.
svn:r1420
Nick Mathewson [Thu, 1 Apr 2004 01:11:28 +0000 (01:11 +0000)]
Add relay command types for rendezvous
svn:r1419
Nick Mathewson [Thu, 1 Apr 2004 00:36:46 +0000 (00:36 +0000)]
Add documentation for hidden server cfg
svn:r1418
Roger Dingledine [Wed, 31 Mar 2004 23:06:16 +0000 (23:06 +0000)]
allow conns to demand to be attached to a clean circuit
(nobody uses this yet)
svn:r1417
Roger Dingledine [Wed, 31 Mar 2004 22:58:15 +0000 (22:58 +0000)]
specify that alice and bob can use dirty circuits when
uploading or fetching hidserv descriptors
svn:r1416
Roger Dingledine [Wed, 31 Mar 2004 22:41:25 +0000 (22:41 +0000)]
make changes that ben laurie suggested
(ben, was this what you had in mind?)
svn:r1415
Roger Dingledine [Wed, 31 Mar 2004 22:30:14 +0000 (22:30 +0000)]
a few more todo items done
svn:r1414
Roger Dingledine [Wed, 31 Mar 2004 22:30:02 +0000 (22:30 +0000)]
tweak rend spec
svn:r1413
Roger Dingledine [Wed, 31 Mar 2004 22:02:13 +0000 (22:02 +0000)]
Add an ap_bridge function to do a socketpair and skip socks.
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
Nick Mathewson [Wed, 31 Mar 2004 21:54:56 +0000 (21:54 +0000)]
Add missing file
svn:r1411
Nick Mathewson [Wed, 31 Mar 2004 21:35:23 +0000 (21:35 +0000)]
Add code to configure hidden services, parse configuration, generate keys and service IDs, and store/load them from disk
svn:r1410
Nick Mathewson [Wed, 31 Mar 2004 20:58:35 +0000 (20:58 +0000)]
Fix warning
svn:r1409
Roger Dingledine [Wed, 31 Mar 2004 05:10:34 +0000 (05:10 +0000)]
better way: always nul-terminate. then sometimes use it, sometimes not.
svn:r1408
Roger Dingledine [Wed, 31 Mar 2004 05:01:30 +0000 (05:01 +0000)]
let fetch_from_buf_http tolerate nuls in the http body
teach directory.c about which places it needs to nul-terminate
body before it uses it, and which places it must not
svn:r1407
Nick Mathewson [Wed, 31 Mar 2004 04:10:10 +0000 (04:10 +0000)]
rename hidserv_xx
svn:r1406
Roger Dingledine [Wed, 31 Mar 2004 03:54:20 +0000 (03:54 +0000)]
tweaks/patches on the rendezvous spec
svn:r1405
Nick Mathewson [Wed, 31 Mar 2004 03:42:56 +0000 (03:42 +0000)]
Implement hidserv_XX functions; there is still an XXX in directory_handle_command
svn:r1404