]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
21 years agoUse CIRCUIT_IS_ORIGIN in favor of boolean circ->cpath
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

21 years agoonly call circuit_build_failed when we're circ's origin
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

21 years agomake the max buf size 10 megabytes, not 1 megabyte
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

21 years agoclean up rend_client_get_random_intro
Roger Dingledine [Thu, 8 Apr 2004 02:11:49 +0000 (02:11 +0000)] 
clean up rend_client_get_random_intro

svn:r1552

21 years agoSet rend_query on exiting streams
Nick Mathewson [Thu, 8 Apr 2004 02:10:43 +0000 (02:10 +0000)] 
Set rend_query on exiting streams

svn:r1551

21 years agomore todo items marked off
Roger Dingledine [Thu, 8 Apr 2004 02:08:23 +0000 (02:08 +0000)] 
more todo items marked off

svn:r1550

21 years agospec change: bob is allowed to advertise zero intro points
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

21 years agodon't log info when we asked for log warn
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

21 years agoSplit out major functionality of circuit_get_best; rephrase a few booleans
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

21 years agoDo not crash when no desc is found
Nick Mathewson [Thu, 8 Apr 2004 01:54:02 +0000 (01:54 +0000)] 
Do not crash when no desc is found

svn:r1546

21 years agoallow for directories >8192 bytes
Roger Dingledine [Thu, 8 Apr 2004 01:47:33 +0000 (01:47 +0000)] 
allow for directories >8192 bytes

svn:r1545

21 years agoallow 90 minutes of clock skew, not 30
Roger Dingledine [Thu, 8 Apr 2004 01:08:56 +0000 (01:08 +0000)] 
allow 90 minutes of clock skew, not 30

svn:r1544

21 years agoclean up torrc.sample more
Roger Dingledine [Thu, 8 Apr 2004 00:49:28 +0000 (00:49 +0000)] 
clean up torrc.sample more

svn:r1543

21 years agoclean up choose_good_exit_server()
Roger Dingledine [Wed, 7 Apr 2004 23:31:29 +0000 (23:31 +0000)] 
clean up choose_good_exit_server()

svn:r1542

21 years agodon't try to build intro circs until you've fetched the directory
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

21 years agoif the rend desc cache entry was fetched more than 15 mins ago,
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

21 years agoFreeing the same variable twice in rapid succession can sometimes cause a double...
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

21 years agoInsert a *copy* of our routerinfo into the routerlist.
Nick Mathewson [Wed, 7 Apr 2004 22:18:57 +0000 (22:18 +0000)] 
Insert a *copy* of our routerinfo into the routerlist.

svn:r1538

21 years agoRebuild and re-upload service descriptors every 15 minutes
Nick Mathewson [Wed, 7 Apr 2004 22:06:54 +0000 (22:06 +0000)] 
Rebuild and re-upload service descriptors every 15 minutes

svn:r1537

21 years agoRemember when we received which service desc.
Nick Mathewson [Wed, 7 Apr 2004 22:00:54 +0000 (22:00 +0000)] 
Remember when we received which service desc.

svn:r1536

21 years agoMake sure we have our own keys before we initialize our routerlist
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

21 years agoGenerating data does no good if you make no use of it
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

21 years agoDon't use Tor version 0.0.5 for intro/rendezvous points. (We don't need
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

21 years agobump cvs to 0.0.6pre1
Roger Dingledine [Wed, 7 Apr 2004 21:35:38 +0000 (21:35 +0000)] 
bump cvs to 0.0.6pre1

svn:r1532

21 years agodon't pick myself or my twins as hops when building circuits
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

21 years agoCarefully increment failure counts when appropriate
Nick Mathewson [Wed, 7 Apr 2004 20:59:38 +0000 (20:59 +0000)] 
Carefully increment failure counts when appropriate

svn:r1530

21 years agoIdentify some finished stuff
Nick Mathewson [Wed, 7 Apr 2004 20:49:37 +0000 (20:49 +0000)] 
Identify some finished stuff

svn:r1529

21 years agolet bob replenish his intro points and republish service desc
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

21 years agoa few more todo thoughts
Roger Dingledine [Wed, 7 Apr 2004 20:46:58 +0000 (20:46 +0000)] 
a few more todo thoughts

svn:r1527

21 years agoexpire open-but-not-yet-acked circs if they're too old
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

21 years agoconvince ourselves that circuit_failed doesn't have to be any smarter
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

21 years agoThere is no need to cast void* to other pointer types.
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

21 years agoRepair whitespace in windows orconfig.h
Nick Mathewson [Wed, 7 Apr 2004 20:01:51 +0000 (20:01 +0000)] 
Repair whitespace in windows orconfig.h

svn:r1523

21 years agoDelete trailing whitespace and expand tabs; remove unused aes decrypt code
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

21 years agoPut ourself in router list; act accordingly.
Nick Mathewson [Wed, 7 Apr 2004 19:46:27 +0000 (19:46 +0000)] 
Put ourself in router list; act accordingly.

svn:r1521

21 years agowe were uploading our server descriptor to each the dirservers
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

21 years agolet alice reuse recent rendjoin circs
Roger Dingledine [Wed, 7 Apr 2004 19:22:55 +0000 (19:22 +0000)] 
let alice reuse recent rendjoin circs

svn:r1519

21 years agomark a rend circ dirty when you attach to it
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

21 years agowhen counting how many being-built circs will handle a stream,
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

21 years agomore todo action, and a spec note
Roger Dingledine [Wed, 7 Apr 2004 06:40:06 +0000 (06:40 +0000)] 
more todo action, and a spec note

svn:r1516

21 years agorouterinfo->addr is host order
Roger Dingledine [Wed, 7 Apr 2004 06:17:27 +0000 (06:17 +0000)] 
routerinfo->addr is host order

svn:r1515

21 years agoSet routerinfo->addr properly for own routerinfo; do casei routerinfo compare
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

21 years agoSet correct address and port mappings on outgoing rendezvous connections
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

21 years agoalice just fetched bob's hidden webpage.
Roger Dingledine [Tue, 6 Apr 2004 21:52:01 +0000 (21:52 +0000)] 
alice just fetched bob's hidden webpage.
yay.

svn:r1512

21 years agoset the circ windows on the middle hop of the rend circs
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

21 years agorouter_choose_random_node wants a smartlist of routers, not of nicknames.
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

21 years agoForce hybrid encryption on for key negotiation
Nick Mathewson [Tue, 6 Apr 2004 20:55:46 +0000 (20:55 +0000)] 
Force hybrid encryption on for key negotiation

svn:r1509

21 years agoStupid sizeof operator!
Nick Mathewson [Tue, 6 Apr 2004 20:45:44 +0000 (20:45 +0000)] 
Stupid sizeof operator!

svn:r1508

21 years agoRemove vestigial variable
Nick Mathewson [Tue, 6 Apr 2004 20:42:25 +0000 (20:42 +0000)] 
Remove vestigial variable

svn:r1507

21 years agocheckpoint commit: rend closer to working, still not there yet
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

21 years agoSet handshake_state to NULL before appending cpath hops
Nick Mathewson [Tue, 6 Apr 2004 20:23:58 +0000 (20:23 +0000)] 
Set handshake_state to NULL before appending cpath hops

svn:r1505

21 years agoContinue attack on magic numbers; use new crypto wrappers where possible
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

21 years agoRemove the last tab in non-contributed code
Nick Mathewson [Tue, 6 Apr 2004 03:46:37 +0000 (03:46 +0000)] 
Remove the last tab in non-contributed code

svn:r1503

21 years agoDocument stuff, reduce magic numbers, add emacs magic
Nick Mathewson [Tue, 6 Apr 2004 03:44:36 +0000 (03:44 +0000)] 
Document stuff, reduce magic numbers, add emacs magic

svn:r1502

21 years agoDocument :n-m exit policy
Peter Palfrader [Tue, 6 Apr 2004 01:00:26 +0000 (01:00 +0000)] 
Document :n-m exit policy

svn:r1501

21 years agofinish off a bunch of rend todo, add more
Roger Dingledine [Tue, 6 Apr 2004 00:56:24 +0000 (00:56 +0000)] 
finish off a bunch of rend todo, add more

svn:r1500

21 years agofix the bob-can't-decode-relays bug
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

21 years agodon't detach-and-retry rendezvous streams
Roger Dingledine [Mon, 5 Apr 2004 22:43:01 +0000 (22:43 +0000)] 
don't detach-and-retry rendezvous streams

svn:r1498

21 years agomake router_get_by_nickname consider this router.
Nick Mathewson [Mon, 5 Apr 2004 22:22:42 +0000 (22:22 +0000)] 
make router_get_by_nickname consider this router.

svn:r1497

21 years agomake rend apconn send to the right cpath layer
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

21 years agoMore symbolic constants for checking rendezvous1 cell lengths
Nick Mathewson [Mon, 5 Apr 2004 21:40:22 +0000 (21:40 +0000)] 
More symbolic constants for checking rendezvous1 cell lengths

svn:r1495

21 years agoUse correct payload lengths when sending RENDEZVOUS1 cells
Nick Mathewson [Mon, 5 Apr 2004 21:39:47 +0000 (21:39 +0000)] 
Use correct payload lengths when sending RENDEZVOUS1 cells

svn:r1494

21 years agoSpec conformance: KH|"INTRODUCE" is only for establishing intro pt
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

21 years agoAdd a missing offset
Nick Mathewson [Mon, 5 Apr 2004 21:31:53 +0000 (21:31 +0000)] 
Add a missing offset

svn:r1492

21 years agoUse symbolic constants; make padding types match.
Nick Mathewson [Mon, 5 Apr 2004 21:15:14 +0000 (21:15 +0000)] 
Use symbolic constants; make padding types match.

svn:r1491

21 years agoImplement response to RENDEZVOUS2 cell.
Nick Mathewson [Mon, 5 Apr 2004 20:53:50 +0000 (20:53 +0000)] 
Implement response to RENDEZVOUS2 cell.

svn:r1490

21 years agoMake init_cpath_crypto able to handle both sides of handshake, by adding a "reverse...
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

21 years agoadd more constants
Nick Mathewson [Mon, 5 Apr 2004 20:52:16 +0000 (20:52 +0000)] 
add more constants

svn:r1488

21 years agoIt's amazing how wrong things look when you invert the booleans on your
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

21 years agoSlightly more helpful msg on mismatched service pk digest in INTRODUCE2 cell
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

21 years agoDo first half of Alice-side of DH handshake.
Nick Mathewson [Mon, 5 Apr 2004 20:30:53 +0000 (20:30 +0000)] 
Do first half of Alice-side of DH handshake.

svn:r1485

21 years agooaep uses 42 more bytes -- stop clobbering buffers
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

21 years agostrdup the intro point when you pick it, so you
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

21 years agocomplain early if we get an unrecognized nickname from
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

21 years agouse the right variable when comparing hashes; maybe fix "Hash of session" bug
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

21 years agoExpect a 20-byte nul-padded-and-terminated nickname
Nick Mathewson [Mon, 5 Apr 2004 17:28:48 +0000 (17:28 +0000)] 
Expect a 20-byte nul-padded-and-terminated nickname

svn:r1480

21 years agoAdd some temporary log calls to try to debug the "Hash of session info was not as...
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

21 years agoi2d_RSAPublicKey advances the pointer it receives past the ASN1-encoded string.
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

21 years agoif a rend stream has already been attached to a rend circ,
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

21 years agosend a destroy after we send an introduce
Roger Dingledine [Mon, 5 Apr 2004 15:17:34 +0000 (15:17 +0000)] 
send a destroy after we send an introduce

svn:r1476

21 years agomore alice-side infrastructure
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

21 years agorend point nickname is nul-padded to avoid revealing rend point
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

21 years agobob's rend desc must list >=1 intro point
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

21 years agonicknames are at most 19 chars
Roger Dingledine [Mon, 5 Apr 2004 04:41:32 +0000 (04:41 +0000)] 
nicknames are at most 19 chars

svn:r1472

21 years agoalice can now look up bob's service descriptor,
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

21 years agoImplement acks
Nick Mathewson [Sat, 3 Apr 2004 04:55:22 +0000 (04:55 +0000)] 
Implement acks

svn:r1470

21 years agoAdd func to generate,set,and send rend cookie
Nick Mathewson [Sat, 3 Apr 2004 04:22:22 +0000 (04:22 +0000)] 
Add func to generate,set,and send rend cookie

svn:r1469

21 years agoMake it build on linux
Nick Mathewson [Sat, 3 Apr 2004 04:08:54 +0000 (04:08 +0000)] 
Make it build on linux

svn:r1468

21 years agonick, can you make and send the rendezvous cookie?
Roger Dingledine [Sat, 3 Apr 2004 04:05:30 +0000 (04:05 +0000)] 
nick, can you make and send the rendezvous cookie?

svn:r1467

21 years agoMake "common" no longer depend on or.h
Nick Mathewson [Sat, 3 Apr 2004 04:05:12 +0000 (04:05 +0000)] 
Make "common" no longer depend on or.h

svn:r1466

21 years agoStrdup hates finding 0 bytes.
Nick Mathewson [Sat, 3 Apr 2004 03:39:31 +0000 (03:39 +0000)] 
Strdup hates finding 0 bytes.

svn:r1465

21 years agoHandle rendezvous relay cells
Nick Mathewson [Sat, 3 Apr 2004 03:37:11 +0000 (03:37 +0000)] 
Handle rendezvous relay cells

svn:r1464

21 years agopublish and fetch the right rendezvous urls
Roger Dingledine [Sat, 3 Apr 2004 03:33:57 +0000 (03:33 +0000)] 
publish and fetch the right rendezvous urls

svn:r1463

21 years agoUse (set|get)_uint(16|32) in lieu of memcpy where reasonable.
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

21 years agomore progress on alice's side
Roger Dingledine [Sat, 3 Apr 2004 03:06:06 +0000 (03:06 +0000)] 
more progress on alice's side

svn:r1461

21 years agoLoops work better when they terminate. Non-terminating loops are easier
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

21 years agoBuild without warnings against openssl 0.9.6
Nick Mathewson [Sat, 3 Apr 2004 02:43:09 +0000 (02:43 +0000)] 
Build without warnings against openssl 0.9.6

svn:r1459

21 years agoRefactor the heck out of crypto interface: admit that we will stick with one ciphersu...
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

21 years agoit's HiddenServiceDir
Roger Dingledine [Sat, 3 Apr 2004 02:37:13 +0000 (02:37 +0000)] 
it's HiddenServiceDir

svn:r1457

21 years agotabs
Roger Dingledine [Sat, 3 Apr 2004 02:14:20 +0000 (02:14 +0000)] 
tabs

svn:r1456