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

21 years agoParse and generate service descriptors
Nick Mathewson [Wed, 31 Mar 2004 02:07:38 +0000 (02:07 +0000)] 
Parse and generate service descriptors

svn:r1403

21 years agoadd and use stubs for hidserv lookup and store
Roger Dingledine [Tue, 30 Mar 2004 23:41:24 +0000 (23:41 +0000)] 
add and use stubs for hidserv lookup and store

svn:r1402

21 years agoMake smartlist Do What Arma Expects.
Nick Mathewson [Tue, 30 Mar 2004 22:59:00 +0000 (22:59 +0000)] 
Make smartlist Do What Arma Expects.

svn:r1401

21 years agoRefactor directory servers
Roger Dingledine [Tue, 30 Mar 2004 22:57:49 +0000 (22:57 +0000)] 
Refactor directory servers
* read all the time (before we would ignore eof sometimes, oops)
* we can handle different urls now
* send back 404 for an un-handled url
* commands initiated by the client can handle payloads now
* introduce conn->purpose to avoid exponential state-space explosion

svn:r1400

21 years agoResolve type-punning warnings
Nick Mathewson [Tue, 30 Mar 2004 22:50:49 +0000 (22:50 +0000)] 
Resolve type-punning warnings

svn:r1399

21 years agoJump through a hoop, suppress a warning
Nick Mathewson [Tue, 30 Mar 2004 22:42:26 +0000 (22:42 +0000)] 
Jump through a hoop, suppress a warning

svn:r1398

21 years agoRemove maximum-size field from smartlists
Nick Mathewson [Tue, 30 Mar 2004 20:05:52 +0000 (20:05 +0000)] 
Remove maximum-size field from smartlists

svn:r1397

21 years agoAdd rendezvous-related metadata and code to circuits. Initially, we
Nick Mathewson [Tue, 30 Mar 2004 19:52:42 +0000 (19:52 +0000)] 
Add rendezvous-related metadata and code to circuits.  Initially, we
thought that a complicated adjunct structure would be necessary, but
it doesn't look that way anymore.

Of course, I might have forgotten something.

svn:r1396

21 years agoAdd more key manipulation functions, and base32 functions, to crypto
Nick Mathewson [Tue, 30 Mar 2004 19:47:32 +0000 (19:47 +0000)] 
Add more key manipulation functions, and base32 functions, to crypto

svn:r1395

21 years agoMake smartlists start small and grow as needed.
Nick Mathewson [Tue, 30 Mar 2004 19:25:43 +0000 (19:25 +0000)] 
Make smartlists start small and grow as needed.

svn:r1394

21 years agoMake service IDs 80 bits, not 128
Nick Mathewson [Tue, 30 Mar 2004 19:20:11 +0000 (19:20 +0000)] 
Make service IDs 80 bits, not 128

svn:r1393

21 years agoNew upstream release debian-version-0.0.5-1
Peter Palfrader [Tue, 30 Mar 2004 18:54:40 +0000 (18:54 +0000)] 
New upstream release

svn:r1391

21 years agocommit a changelog for 0.0.5 tor-0.0.5
Roger Dingledine [Tue, 30 Mar 2004 18:39:05 +0000 (18:39 +0000)] 
commit a changelog for 0.0.5

svn:r1389

21 years agobump to 0.0.5
Roger Dingledine [Tue, 30 Mar 2004 18:34:30 +0000 (18:34 +0000)] 
bump to 0.0.5

svn:r1388

21 years agoKeep using torrc instead of torrc.sample as dpkg handles conffile upgrades.
Peter Palfrader [Tue, 30 Mar 2004 12:29:33 +0000 (12:29 +0000)] 
Keep using torrc instead of torrc.sample as dpkg handles conffile upgrades.

svn:r1387

21 years agobump to 0.0.5rc3
Roger Dingledine [Tue, 30 Mar 2004 03:20:48 +0000 (03:20 +0000)] 
bump to 0.0.5rc3

svn:r1386

21 years agoupdate hacking to mention loglevel notice
Roger Dingledine [Tue, 30 Mar 2004 03:20:38 +0000 (03:20 +0000)] 
update hacking to mention loglevel notice

svn:r1385

21 years agouse 'notice' loglevel for things the operator should hear
Roger Dingledine [Tue, 30 Mar 2004 03:15:53 +0000 (03:15 +0000)] 
use 'notice' loglevel for things the operator should hear
but that aren't warnings

svn:r1384

21 years agoadd in a 'notice' log level
Roger Dingledine [Tue, 30 Mar 2004 03:15:23 +0000 (03:15 +0000)] 
add in a 'notice' log level

svn:r1383

21 years agoguess some times on some tasks
Roger Dingledine [Tue, 30 Mar 2004 02:31:36 +0000 (02:31 +0000)] 
guess some times on some tasks

svn:r1382

21 years agoswitch tor-design to usenix format
Roger Dingledine [Tue, 30 Mar 2004 02:28:36 +0000 (02:28 +0000)] 
switch tor-design to usenix format

svn:r1381

21 years agobreak up initial rend tasks
Nick Mathewson [Tue, 30 Mar 2004 01:32:16 +0000 (01:32 +0000)] 
break up initial rend tasks

svn:r1380

21 years agoAdd reminder to debian/changelog: Upstream installs a torrc.sample file now, rather...
Peter Palfrader [Tue, 30 Mar 2004 00:08:45 +0000 (00:08 +0000)] 
Add reminder to debian/changelog: Upstream installs a torrc.sample file now, rather than torrc

svn:r1379

21 years agodon't freak people out as much with the warning message
Roger Dingledine [Tue, 30 Mar 2004 00:06:59 +0000 (00:06 +0000)] 
don't freak people out as much with the warning message

svn:r1378

21 years agoclean up README to mention torrc.sample
Roger Dingledine [Tue, 30 Mar 2004 00:06:20 +0000 (00:06 +0000)] 
clean up README to mention torrc.sample

svn:r1377

21 years agore-enable recommendedversion checking (oops, thanks weasel)
Roger Dingledine [Tue, 30 Mar 2004 00:02:52 +0000 (00:02 +0000)] 
re-enable recommendedversion checking (oops, thanks weasel)

svn:r1376

21 years agorename torrc to torrc.sample
Roger Dingledine [Tue, 30 Mar 2004 00:01:03 +0000 (00:01 +0000)] 
rename torrc to torrc.sample
now by default no torrc will be installed, so we'll just
use the built-in defaults (we already do this on windows)

svn:r1375

21 years agocall it torrc.sample, not torrc
Roger Dingledine [Mon, 29 Mar 2004 23:58:02 +0000 (23:58 +0000)] 
call it torrc.sample, not torrc

svn:r1374