]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Thu, 8 Apr 2004 02:24:06 +0000 (02:24 +0000)]
Use CIRCUIT_IS_ORIGIN in favor of boolean circ->cpath
svn:r1555
Roger Dingledine [Thu, 8 Apr 2004 02:22:26 +0000 (02:22 +0000)]
only call circuit_build_failed when we're circ's origin
svn:r1554
Roger Dingledine [Thu, 8 Apr 2004 02:19:35 +0000 (02:19 +0000)]
make the max buf size 10 megabytes, not 1 megabyte
need to implement flexible buffer sizes soon
svn:r1553
Roger Dingledine [Thu, 8 Apr 2004 02:11:49 +0000 (02:11 +0000)]
clean up rend_client_get_random_intro
svn:r1552
Nick Mathewson [Thu, 8 Apr 2004 02:10:43 +0000 (02:10 +0000)]
Set rend_query on exiting streams
svn:r1551
Roger Dingledine [Thu, 8 Apr 2004 02:08:23 +0000 (02:08 +0000)]
more todo items marked off
svn:r1550
Roger Dingledine [Thu, 8 Apr 2004 02:07:53 +0000 (02:07 +0000)]
spec change: bob is allowed to advertise zero intro points
svn:r1549
Roger Dingledine [Thu, 8 Apr 2004 01:59:31 +0000 (01:59 +0000)]
don't log info when we asked for log warn
svn:r1548
Nick Mathewson [Thu, 8 Apr 2004 01:55:21 +0000 (01:55 +0000)]
Split out major functionality of circuit_get_best; rephrase a few booleans
svn:r1547
Nick Mathewson [Thu, 8 Apr 2004 01:54:02 +0000 (01:54 +0000)]
Do not crash when no desc is found
svn:r1546
Roger Dingledine [Thu, 8 Apr 2004 01:47:33 +0000 (01:47 +0000)]
allow for directories >8192 bytes
svn:r1545
Roger Dingledine [Thu, 8 Apr 2004 01:08:56 +0000 (01:08 +0000)]
allow 90 minutes of clock skew, not 30
svn:r1544
Roger Dingledine [Thu, 8 Apr 2004 00:49:28 +0000 (00:49 +0000)]
clean up torrc.sample more
svn:r1543
Roger Dingledine [Wed, 7 Apr 2004 23:31:29 +0000 (23:31 +0000)]
clean up choose_good_exit_server()
svn:r1542
Roger Dingledine [Wed, 7 Apr 2004 22:48:06 +0000 (22:48 +0000)]
don't try to build intro circs until you've fetched the directory
svn:r1541
Roger Dingledine [Wed, 7 Apr 2004 22:41:00 +0000 (22:41 +0000)]
if the rend desc cache entry was fetched more than 15 mins ago,
then try to fetch a new one. but if the new fetch fails, use the
old one.
svn:r1540
Nick Mathewson [Wed, 7 Apr 2004 22:25:37 +0000 (22:25 +0000)]
Freeing the same variable twice in rapid succession can sometimes cause a double-free
svn:r1539
Nick Mathewson [Wed, 7 Apr 2004 22:18:57 +0000 (22:18 +0000)]
Insert a *copy* of our routerinfo into the routerlist.
svn:r1538
Nick Mathewson [Wed, 7 Apr 2004 22:06:54 +0000 (22:06 +0000)]
Rebuild and re-upload service descriptors every 15 minutes
svn:r1537
Nick Mathewson [Wed, 7 Apr 2004 22:00:54 +0000 (22:00 +0000)]
Remember when we received which service desc.
svn:r1536
Nick Mathewson [Wed, 7 Apr 2004 21:44:46 +0000 (21:44 +0000)]
Make sure we have our own keys before we initialize our routerlist
svn:r1535
Nick Mathewson [Wed, 7 Apr 2004 21:44:24 +0000 (21:44 +0000)]
Generating data does no good if you make no use of it
svn:r1534
Nick Mathewson [Wed, 7 Apr 2004 21:36:03 +0000 (21:36 +0000)]
Don't use Tor version 0.0.5 for intro/rendezvous points. (We don't need
to worry about 0.0.4 or earlier, because nobody is running them any more.)
svn:r1533
Roger Dingledine [Wed, 7 Apr 2004 21:35:38 +0000 (21:35 +0000)]
bump cvs to 0.0.6pre1
svn:r1532
Roger Dingledine [Wed, 7 Apr 2004 21:12:54 +0000 (21:12 +0000)]
don't pick myself or my twins as hops when building circuits
svn:r1531
Nick Mathewson [Wed, 7 Apr 2004 20:59:38 +0000 (20:59 +0000)]
Carefully increment failure counts when appropriate
svn:r1530
Nick Mathewson [Wed, 7 Apr 2004 20:49:37 +0000 (20:49 +0000)]
Identify some finished stuff
svn:r1529
Roger Dingledine [Wed, 7 Apr 2004 20:47:50 +0000 (20:47 +0000)]
let bob replenish his intro points and republish service desc
as necessary
svn:r1528
Roger Dingledine [Wed, 7 Apr 2004 20:46:58 +0000 (20:46 +0000)]
a few more todo thoughts
svn:r1527
Roger Dingledine [Wed, 7 Apr 2004 20:38:23 +0000 (20:38 +0000)]
expire open-but-not-yet-acked circs if they're too old
svn:r1526
Roger Dingledine [Wed, 7 Apr 2004 20:23:59 +0000 (20:23 +0000)]
convince ourselves that circuit_failed doesn't have to be any smarter
svn:r1525
Nick Mathewson [Wed, 7 Apr 2004 20:11:28 +0000 (20:11 +0000)]
There is no need to cast void* to other pointer types.
svn:r1524
Nick Mathewson [Wed, 7 Apr 2004 20:01:51 +0000 (20:01 +0000)]
Repair whitespace in windows orconfig.h
svn:r1523
Nick Mathewson [Wed, 7 Apr 2004 19:57:40 +0000 (19:57 +0000)]
Delete trailing whitespace and expand tabs; remove unused aes decrypt code
svn:r1522
Nick Mathewson [Wed, 7 Apr 2004 19:46:27 +0000 (19:46 +0000)]
Put ourself in router list; act accordingly.
svn:r1521
Roger Dingledine [Wed, 7 Apr 2004 19:30:22 +0000 (19:30 +0000)]
we were uploading our server descriptor to each the dirservers
when we boot, and then also on the first iteration of the main loop
svn:r1520
Roger Dingledine [Wed, 7 Apr 2004 19:22:55 +0000 (19:22 +0000)]
let alice reuse recent rendjoin circs
svn:r1519
Roger Dingledine [Wed, 7 Apr 2004 19:14:45 +0000 (19:14 +0000)]
mark a rend circ dirty when you attach to it
svn:r1518
Roger Dingledine [Wed, 7 Apr 2004 19:14:33 +0000 (19:14 +0000)]
when counting how many being-built circs will handle a stream,
don't count ones that are too old
svn:r1517
Roger Dingledine [Wed, 7 Apr 2004 06:40:06 +0000 (06:40 +0000)]
more todo action, and a spec note
svn:r1516
Roger Dingledine [Wed, 7 Apr 2004 06:17:27 +0000 (06:17 +0000)]
routerinfo->addr is host order
svn:r1515
Nick Mathewson [Tue, 6 Apr 2004 22:23:12 +0000 (22:23 +0000)]
Set routerinfo->addr properly for own routerinfo; do casei routerinfo compare
svn:r1514
Nick Mathewson [Tue, 6 Apr 2004 22:05:49 +0000 (22:05 +0000)]
Set correct address and port mappings on outgoing rendezvous connections
svn:r1513
Roger Dingledine [Tue, 6 Apr 2004 21:52:01 +0000 (21:52 +0000)]
alice just fetched bob's hidden webpage.
yay.
svn:r1512
Roger Dingledine [Tue, 6 Apr 2004 21:25:11 +0000 (21:25 +0000)]
set the circ windows on the middle hop of the rend circs
svn:r1511
Nick Mathewson [Tue, 6 Apr 2004 21:19:59 +0000 (21:19 +0000)]
router_choose_random_node wants a smartlist of routers, not of nicknames.
svn:r1510
Nick Mathewson [Tue, 6 Apr 2004 20:55:46 +0000 (20:55 +0000)]
Force hybrid encryption on for key negotiation
svn:r1509
Nick Mathewson [Tue, 6 Apr 2004 20:45:44 +0000 (20:45 +0000)]
Stupid sizeof operator!
svn:r1508
Nick Mathewson [Tue, 6 Apr 2004 20:42:25 +0000 (20:42 +0000)]
Remove vestigial variable
svn:r1507
Roger Dingledine [Tue, 6 Apr 2004 20:25:18 +0000 (20:25 +0000)]
checkpoint commit: rend closer to working, still not there yet
svn:r1506
Nick Mathewson [Tue, 6 Apr 2004 20:23:58 +0000 (20:23 +0000)]
Set handshake_state to NULL before appending cpath hops
svn:r1505
Nick Mathewson [Tue, 6 Apr 2004 20:16:12 +0000 (20:16 +0000)]
Continue attack on magic numbers; use new crypto wrappers where possible
svn:r1504
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