Roger Dingledine
7eff6a4d1b
call directory_has_arrived has arrived every time we get
...
a new directory, not just the first time
svn:r1581
2004-04-09 19:30:38 +00:00
Nick Mathewson
680ce65aab
Make comment more sensible. Still uncertain about when to call rend_services_init, though.
...
svn:r1580
2004-04-09 17:54:20 +00:00
Nick Mathewson
bc9f16846a
set rend exit connection state _before_ calling rend_service_set_connection_addr_port and maybe eventually assert_connection_ok. This solves the other half of the bug weasel found.
...
svn:r1579
2004-04-09 17:51:57 +00:00
Nick Mathewson
63a16ac183
Reload rendezvous service keys on sighup; otherwise, we wind up with a
...
bunch of half-initialized services. This should solve half of
weasel's current bug. The crash is the other half.
(arma: should we also call rend_services_init on hup?)
svn:r1578
2004-04-09 17:48:09 +00:00
Peter Palfrader
9c0237c9e7
Update cvsignores
...
svn:r1577
2004-04-09 13:14:52 +00:00
Roger Dingledine
b1dc6ef6bc
get more serious about hunting The Bug
...
(it has been haunting us since the days of 0.0.2preX)
svn:r1576
2004-04-09 09:39:42 +00:00
Nick Mathewson
4fc1824b5f
remove a stray printf
...
svn:r1575
2004-04-08 20:59:48 +00:00
Nick Mathewson
a2ca3b9db1
Fix base32 implementation; make base32 implementation follow standard; add more tests for base32
...
svn:r1574
2004-04-08 20:56:33 +00:00
Nick Mathewson
1b15964b56
Fix unit tests (now that platform code works differently)
...
svn:r1573
2004-04-08 20:22:01 +00:00
Roger Dingledine
8e266835cd
when rend_cache_store warns, give more detail
...
svn:r1572
2004-04-08 20:13:28 +00:00
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