]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
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

21 years agoalice can intercept y.onion requests, do a lookup on them via tor,
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

21 years agono underscores in nicknames
Roger Dingledine [Sat, 3 Apr 2004 01:48:22 +0000 (01:48 +0000)] 
no underscores in nicknames

svn:r1454

21 years agoAdd examples for hidden services
Nick Mathewson [Sat, 3 Apr 2004 01:44:24 +0000 (01:44 +0000)] 
Add examples for hidden services

svn:r1453

21 years agoStartup without crashing.
Nick Mathewson [Sat, 3 Apr 2004 01:11:04 +0000 (01:11 +0000)] 
Startup without crashing.

svn:r1452

21 years agoHide smartlist internals
Nick Mathewson [Sat, 3 Apr 2004 00:58:54 +0000 (00:58 +0000)] 
Hide smartlist internals

svn:r1451

21 years agofix some bugs; more remain
Roger Dingledine [Sat, 3 Apr 2004 00:55:53 +0000 (00:55 +0000)] 
fix some bugs; more remain

svn:r1450

21 years agoremember to lower-case the y in y.onion
Roger Dingledine [Sat, 3 Apr 2004 00:27:33 +0000 (00:27 +0000)] 
remember to lower-case the y in y.onion

svn:r1449

21 years agoAP conns use conn->rend_query now too
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

21 years agoFinish renaming rend_service field
Nick Mathewson [Fri, 2 Apr 2004 23:44:46 +0000 (23:44 +0000)] 
Finish renaming rend_service field

svn:r1447

21 years agobreak out circ->rend_service
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

21 years agorefactor; start adding debugging logs to midpoint rend stuff
Nick Mathewson [Fri, 2 Apr 2004 23:30:54 +0000 (23:30 +0000)] 
refactor; start adding debugging logs to midpoint rend stuff

svn:r1445

21 years agoFinish missing comment :p
Nick Mathewson [Fri, 2 Apr 2004 23:04:10 +0000 (23:04 +0000)] 
Finish missing comment :p

svn:r1444

21 years agoImplement rennd_services_init
Nick Mathewson [Fri, 2 Apr 2004 23:01:00 +0000 (23:01 +0000)] 
Implement rennd_services_init

svn:r1443

21 years agorouter_choose_random_node can take a smartlist of nodes to exclude
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

21 years agonow circuit_get_newest returns an appropriate circ for your purpose
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

21 years agoMake preferred/excluded intro points configurable
Nick Mathewson [Fri, 2 Apr 2004 22:06:46 +0000 (22:06 +0000)] 
Make preferred/excluded intro points configurable

svn:r1440

21 years agoImplement midpoint functionality for rendezvous points.
Nick Mathewson [Fri, 2 Apr 2004 21:56:52 +0000 (21:56 +0000)] 
Implement midpoint functionality for rendezvous points.

svn:r1439

21 years agoFor hidden services: handle INTRODUCE2, send ESTABLISH_INTRO, RENDEZVOUS1.
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

21 years agorefactor to use new digest/checksig wrapper, add emacs magic, untabify
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

21 years agoAdd new functions to wrap digest and sign/checksig.
Nick Mathewson [Thu, 1 Apr 2004 22:10:33 +0000 (22:10 +0000)] 
Add new functions to wrap digest and sign/checksig.

svn:r1436

21 years agoClarify handdshake digest logic
Nick Mathewson [Thu, 1 Apr 2004 22:09:34 +0000 (22:09 +0000)] 
Clarify handdshake digest logic

svn:r1435

21 years agoteach directory servers to handle renddesc responses
Roger Dingledine [Thu, 1 Apr 2004 21:32:01 +0000 (21:32 +0000)] 
teach directory servers to handle renddesc responses

svn:r1434

21 years agoalice chooses her rendezvous node from all running routers
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

21 years agoFinish implementing what-bob-does-on-INTRODUCE2
Nick Mathewson [Thu, 1 Apr 2004 20:05:57 +0000 (20:05 +0000)] 
Finish implementing what-bob-does-on-INTRODUCE2

svn:r1432

21 years agoSeparate "generate-DH-key" from "get-DH-key" without breaking old interface
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

21 years agoteach alice to recognize y.onion addresses
Roger Dingledine [Thu, 1 Apr 2004 19:39:11 +0000 (19:39 +0000)] 
teach alice to recognize y.onion addresses

svn:r1430

21 years agoAdd some hooks to handle rendezvous-related cells at ORs
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

21 years agolet the circuit-launcher choose the exit node (if he wants)
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

21 years agoMake it compile.
Nick Mathewson [Thu, 1 Apr 2004 03:43:54 +0000 (03:43 +0000)] 
Make it compile.

svn:r1427

21 years agoAdd a (also fragmentary) function to handle introduction requests
Nick Mathewson [Thu, 1 Apr 2004 03:34:05 +0000 (03:34 +0000)] 
Add a (also fragmentary) function to handle introduction requests

svn:r1426

21 years agoUse padding with intro requests
Nick Mathewson [Thu, 1 Apr 2004 03:31:00 +0000 (03:31 +0000)] 
Use padding with intro requests

svn:r1425

21 years agooutline what bob does to initialize his hidden services
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

21 years agoAdd helpful hybrid encryption functions
Nick Mathewson [Thu, 1 Apr 2004 03:08:35 +0000 (03:08 +0000)] 
Add helpful hybrid encryption functions

svn:r1423

21 years agolet alice recognize a y.onion address and, uhm, do something
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

21 years agoput in hooks for alice and bob logic when circuits finish/fail
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

21 years agoBob needs the hash of his PK in order to know which hidden service to be.
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

21 years agoAdd relay command types for rendezvous
Nick Mathewson [Thu, 1 Apr 2004 01:11:28 +0000 (01:11 +0000)] 
Add relay command types for rendezvous

svn:r1419

21 years agoAdd documentation for hidden server cfg
Nick Mathewson [Thu, 1 Apr 2004 00:36:46 +0000 (00:36 +0000)] 
Add documentation for hidden server cfg

svn:r1418

21 years agoallow conns to demand to be attached to a clean circuit
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

21 years agospecify that alice and bob can use dirty circuits when
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

21 years agomake changes that ben laurie suggested
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

21 years agoa few more todo items done
Roger Dingledine [Wed, 31 Mar 2004 22:30:14 +0000 (22:30 +0000)] 
a few more todo items done

svn:r1414

21 years agotweak rend spec
Roger Dingledine [Wed, 31 Mar 2004 22:30:02 +0000 (22:30 +0000)] 
tweak rend spec

svn:r1413

21 years agoAdd an ap_bridge function to do a socketpair and skip socks.
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

21 years agoAdd missing file
Nick Mathewson [Wed, 31 Mar 2004 21:54:56 +0000 (21:54 +0000)] 
Add missing file

svn:r1411

21 years agoAdd code to configure hidden services, parse configuration, generate keys and service...
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

21 years agoFix warning
Nick Mathewson [Wed, 31 Mar 2004 20:58:35 +0000 (20:58 +0000)] 
Fix warning

svn:r1409

21 years agobetter way: always nul-terminate. then sometimes use it, sometimes not.
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

21 years agolet fetch_from_buf_http tolerate nuls in the http body
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

21 years agorename hidserv_xx
Nick Mathewson [Wed, 31 Mar 2004 04:10:10 +0000 (04:10 +0000)] 
rename hidserv_xx

svn:r1406

21 years agotweaks/patches on the rendezvous spec
Roger Dingledine [Wed, 31 Mar 2004 03:54:20 +0000 (03:54 +0000)] 
tweaks/patches on the rendezvous spec

svn:r1405

21 years agoImplement hidserv_XX functions; there is still an XXX in directory_handle_command
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