]>
git.ipfire.org Git - thirdparty/tor.git/log
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
Nick Mathewson [Wed, 31 Mar 2004 02:07:38 +0000 (02:07 +0000)]
Parse and generate service descriptors
svn:r1403
Roger Dingledine [Tue, 30 Mar 2004 23:41:24 +0000 (23:41 +0000)]
add and use stubs for hidserv lookup and store
svn:r1402
Nick Mathewson [Tue, 30 Mar 2004 22:59:00 +0000 (22:59 +0000)]
Make smartlist Do What Arma Expects.
svn:r1401
Roger Dingledine [Tue, 30 Mar 2004 22:57:49 +0000 (22:57 +0000)]
Refactor directory servers
* 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
Nick Mathewson [Tue, 30 Mar 2004 22:50:49 +0000 (22:50 +0000)]
Resolve type-punning warnings
svn:r1399
Nick Mathewson [Tue, 30 Mar 2004 22:42:26 +0000 (22:42 +0000)]
Jump through a hoop, suppress a warning
svn:r1398
Nick Mathewson [Tue, 30 Mar 2004 20:05:52 +0000 (20:05 +0000)]
Remove maximum-size field from smartlists
svn:r1397
Nick Mathewson [Tue, 30 Mar 2004 19:52:42 +0000 (19:52 +0000)]
Add rendezvous-related metadata and code to circuits. Initially, we
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
Nick Mathewson [Tue, 30 Mar 2004 19:47:32 +0000 (19:47 +0000)]
Add more key manipulation functions, and base32 functions, to crypto
svn:r1395
Nick Mathewson [Tue, 30 Mar 2004 19:25:43 +0000 (19:25 +0000)]
Make smartlists start small and grow as needed.
svn:r1394
Nick Mathewson [Tue, 30 Mar 2004 19:20:11 +0000 (19:20 +0000)]
Make service IDs 80 bits, not 128
svn:r1393
Peter Palfrader [Tue, 30 Mar 2004 18:54:40 +0000 (18:54 +0000)]
New upstream release
svn:r1391
Roger Dingledine [Tue, 30 Mar 2004 18:39:05 +0000 (18:39 +0000)]
commit a changelog for 0.0.5
svn:r1389
Roger Dingledine [Tue, 30 Mar 2004 18:34:30 +0000 (18:34 +0000)]
bump to 0.0.5
svn:r1388
Peter Palfrader [Tue, 30 Mar 2004 12:29:33 +0000 (12:29 +0000)]
Keep using torrc instead of torrc.sample as dpkg handles conffile upgrades.
svn:r1387
Roger Dingledine [Tue, 30 Mar 2004 03:20:48 +0000 (03:20 +0000)]
bump to 0.0.5rc3
svn:r1386
Roger Dingledine [Tue, 30 Mar 2004 03:20:38 +0000 (03:20 +0000)]
update hacking to mention loglevel notice
svn:r1385
Roger Dingledine [Tue, 30 Mar 2004 03:15:53 +0000 (03:15 +0000)]
use 'notice' loglevel for things the operator should hear
but that aren't warnings
svn:r1384
Roger Dingledine [Tue, 30 Mar 2004 03:15:23 +0000 (03:15 +0000)]
add in a 'notice' log level
svn:r1383
Roger Dingledine [Tue, 30 Mar 2004 02:31:36 +0000 (02:31 +0000)]
guess some times on some tasks
svn:r1382
Roger Dingledine [Tue, 30 Mar 2004 02:28:36 +0000 (02:28 +0000)]
switch tor-design to usenix format
svn:r1381
Nick Mathewson [Tue, 30 Mar 2004 01:32:16 +0000 (01:32 +0000)]
break up initial rend tasks
svn:r1380
Peter Palfrader [Tue, 30 Mar 2004 00:08:45 +0000 (00:08 +0000)]
Add reminder to debian/changelog: Upstream installs a torrc.sample file now, rather than torrc
svn:r1379
Roger Dingledine [Tue, 30 Mar 2004 00:06:59 +0000 (00:06 +0000)]
don't freak people out as much with the warning message
svn:r1378
Roger Dingledine [Tue, 30 Mar 2004 00:06:20 +0000 (00:06 +0000)]
clean up README to mention torrc.sample
svn:r1377
Roger Dingledine [Tue, 30 Mar 2004 00:02:52 +0000 (00:02 +0000)]
re-enable recommendedversion checking (oops, thanks weasel)
svn:r1376
Roger Dingledine [Tue, 30 Mar 2004 00:01:03 +0000 (00:01 +0000)]
rename torrc to torrc.sample
now by default no torrc will be installed, so we'll just
use the built-in defaults (we already do this on windows)
svn:r1375
Roger Dingledine [Mon, 29 Mar 2004 23:58:02 +0000 (23:58 +0000)]
call it torrc.sample, not torrc
svn:r1374