Commit Graph

1570 Commits

Author SHA1 Message Date
Nick Mathewson 82dc3e2219 note which preexisting or connection we found.
svn:r1571
2004-04-08 19:49:55 +00:00
Roger Dingledine 757d531469 circuit-level sendmes weren't working, because the exit
thought it was an exit.

i overhauled the edge_type mechanism. hopefully this will help.


svn:r1570
2004-04-08 09:41:28 +00:00
Roger Dingledine db93fae6cb we added more AP conns, oops
svn:r1569
2004-04-08 07:25:54 +00:00
Roger Dingledine 22791bfdb5 add 'Do you want to run a hidden service?' section
svn:r1568
2004-04-08 07:09:48 +00:00
Nick Mathewson 0147e0aa50 Document rest of hiddenservice config options; still needs example or tutorial maybe.
svn:r1567
2004-04-08 06:30:15 +00:00
Roger Dingledine 1066a83cee stop being so eager to have rend_cache_store reject the
service descriptor


svn:r1566
2004-04-08 05:08:27 +00:00
Nick Mathewson b01bb3c565 Be endianly-correct for rendezvous functionality
svn:r1565
2004-04-08 04:47:39 +00:00
Roger Dingledine d6ac05d265 log which intro points we picked
svn:r1564
2004-04-08 04:36:13 +00:00
Roger Dingledine e81cd28ba5 servers don't need other people to be able to resolve their Address anymore
svn:r1563
2004-04-08 04:35:51 +00:00
Nick Mathewson 8cb30357e7 Launch intro services after launching connections; allow ORs to build circuits through as-yet-unconnectd ORs
svn:r1562
2004-04-08 03:53:39 +00:00
Roger Dingledine fe73ae795e don't try to circuit_log_path if you're at the exit edge of a circ
svn:r1561
2004-04-08 03:30:47 +00:00
Nick Mathewson 3937f8aa00 Invert strcasecmp check for supports-rendezvous
svn:r1560
2004-04-08 03:21:15 +00:00
Roger Dingledine 1439d854e7 bugfix: alice would crash if bob advertised 0 intro points
svn:r1559
2004-04-08 03:18:03 +00:00
Nick Mathewson 93c3bd4881 Force tor_malloc(0) to always be sane
svn:r1558
2004-04-08 03:05:08 +00:00
Nick Mathewson 715c453419 Allow service descriptors with no intro points
svn:r1557
2004-04-08 03:02:50 +00:00
Nick Mathewson a06f89dd47 Nothing is good enough for you, is it?
svn:r1556
2004-04-08 02:50:34 +00:00
Nick Mathewson ccc5db36fc Use CIRCUIT_IS_ORIGIN in favor of boolean circ->cpath
svn:r1555
2004-04-08 02:24:06 +00:00
Roger Dingledine 33332f1fa7 only call circuit_build_failed when we're circ's origin
svn:r1554
2004-04-08 02:22:26 +00:00
Roger Dingledine b6dbffec07 make the max buf size 10 megabytes, not 1 megabyte
need to implement flexible buffer sizes soon


svn:r1553
2004-04-08 02:19:35 +00:00
Roger Dingledine c673e897de clean up rend_client_get_random_intro
svn:r1552
2004-04-08 02:11:49 +00:00
Nick Mathewson 3fd14b3560 Set rend_query on exiting streams
svn:r1551
2004-04-08 02:10:43 +00:00
Roger Dingledine ed9dce9963 more todo items marked off
svn:r1550
2004-04-08 02:08:23 +00:00
Roger Dingledine e06eaa2841 spec change: bob is allowed to advertise zero intro points
svn:r1549
2004-04-08 02:07:53 +00:00
Roger Dingledine 54d63979e1 don't log info when we asked for log warn
svn:r1548
2004-04-08 01:59:31 +00:00
Nick Mathewson e6e576689a Split out major functionality of circuit_get_best; rephrase a few booleans
svn:r1547
2004-04-08 01:55:21 +00:00
Nick Mathewson aa537d4d0a Do not crash when no desc is found
svn:r1546
2004-04-08 01:54:02 +00:00
Roger Dingledine 0cb332b928 allow for directories >8192 bytes
svn:r1545
2004-04-08 01:47:33 +00:00
Roger Dingledine 85495d0911 allow 90 minutes of clock skew, not 30
svn:r1544
2004-04-08 01:08:56 +00:00
Roger Dingledine eb6ff04a22 clean up torrc.sample more
svn:r1543
2004-04-08 00:49:28 +00:00
Roger Dingledine 78841f5579 clean up choose_good_exit_server()
svn:r1542
2004-04-07 23:31:29 +00:00
Roger Dingledine e44f791d58 don't try to build intro circs until you've fetched the directory
svn:r1541
2004-04-07 22:48:06 +00:00
Roger Dingledine e7786751e5 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
2004-04-07 22:41:00 +00:00
Nick Mathewson 375adca57c Freeing the same variable twice in rapid succession can sometimes cause a double-free
svn:r1539
2004-04-07 22:25:37 +00:00
Nick Mathewson 07042b24d9 Insert a *copy* of our routerinfo into the routerlist.
svn:r1538
2004-04-07 22:18:57 +00:00
Nick Mathewson 5cbb24369a Rebuild and re-upload service descriptors every 15 minutes
svn:r1537
2004-04-07 22:06:54 +00:00
Nick Mathewson d0e2a30b1c Remember when we received which service desc.
svn:r1536
2004-04-07 22:00:54 +00:00
Nick Mathewson a1ab8d2cf0 Make sure we have our own keys before we initialize our routerlist
svn:r1535
2004-04-07 21:44:46 +00:00
Nick Mathewson 95af04cd69 Generating data does no good if you make no use of it
svn:r1534
2004-04-07 21:44:24 +00:00
Nick Mathewson e4e5b79d38 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
2004-04-07 21:36:03 +00:00
Roger Dingledine 15256711a5 bump cvs to 0.0.6pre1
svn:r1532
2004-04-07 21:35:38 +00:00
Roger Dingledine 1eacbd597a don't pick myself or my twins as hops when building circuits
svn:r1531
2004-04-07 21:12:54 +00:00
Nick Mathewson 73214f6d5e Carefully increment failure counts when appropriate
svn:r1530
2004-04-07 20:59:38 +00:00
Nick Mathewson 89e2346e48 Identify some finished stuff
svn:r1529
2004-04-07 20:49:37 +00:00
Roger Dingledine f4b6572d75 let bob replenish his intro points and republish service desc
as necessary


svn:r1528
2004-04-07 20:47:50 +00:00
Roger Dingledine cb6fe5acbc a few more todo thoughts
svn:r1527
2004-04-07 20:46:58 +00:00
Roger Dingledine e186e13de4 expire open-but-not-yet-acked circs if they're too old
svn:r1526
2004-04-07 20:38:23 +00:00
Roger Dingledine 1a00674759 convince ourselves that circuit_failed doesn't have to be any smarter
svn:r1525
2004-04-07 20:23:59 +00:00
Nick Mathewson 9c42912575 There is no need to cast void* to other pointer types.
svn:r1524
2004-04-07 20:11:28 +00:00
Nick Mathewson fcc9f6e497 Repair whitespace in windows orconfig.h
svn:r1523
2004-04-07 20:01:51 +00:00
Nick Mathewson 23d68c3112 Delete trailing whitespace and expand tabs; remove unused aes decrypt code
svn:r1522
2004-04-07 19:57:40 +00:00