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

22 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

22 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

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

svn:r1435

22 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

22 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

22 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

22 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

22 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

22 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

22 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

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

svn:r1427

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

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

svn:r1413

22 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

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

svn:r1411

22 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

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

svn:r1409

22 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

22 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

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

svn:r1406

22 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

22 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

22 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

22 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

22 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

22 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

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

svn:r1399

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 years agoold or skewed descriptor doesn't mean we failed to parse it
Roger Dingledine [Mon, 29 Mar 2004 23:23:01 +0000 (23:23 +0000)] 
old or skewed descriptor doesn't mean we failed to parse it

svn:r1373

22 years agobump to 0.0.5rc2
Roger Dingledine [Mon, 29 Mar 2004 22:18:32 +0000 (22:18 +0000)] 
bump to 0.0.5rc2

svn:r1372

22 years agorefactor directories a smidgen
Roger Dingledine [Mon, 29 Mar 2004 22:18:05 +0000 (22:18 +0000)] 
refactor directories a smidgen

svn:r1371

22 years agofirst guess at a set of circuit purposes
Roger Dingledine [Mon, 29 Mar 2004 22:14:19 +0000 (22:14 +0000)] 
first guess at a set of circuit purposes

svn:r1370

22 years agoRemove automake files from cvs. Let's see whether it works for Roger too.
Peter Palfrader [Mon, 29 Mar 2004 22:09:11 +0000 (22:09 +0000)] 
Remove automake files from cvs.  Let's see whether it works for Roger too.

svn:r1369

22 years agoMake preliminary list of tasks for rendezvous service
Nick Mathewson [Mon, 29 Mar 2004 20:39:40 +0000 (20:39 +0000)] 
Make preliminary list of tasks for rendezvous service

svn:r1368

22 years agoAdd more stuff to cvsignores
Nick Mathewson [Mon, 29 Mar 2004 20:38:49 +0000 (20:38 +0000)] 
Add more stuff to cvsignores

svn:r1367

22 years agobugfix: we were closing socks-request connections immediately, rather
Roger Dingledine [Mon, 29 Mar 2004 20:04:09 +0000 (20:04 +0000)] 
bugfix: we were closing socks-request connections immediately, rather
than flushing them, if they were timing out before we marked them

svn:r1366

22 years agoclean up a few more bugs
Roger Dingledine [Mon, 29 Mar 2004 19:57:50 +0000 (19:57 +0000)] 
clean up a few more bugs

svn:r1365

22 years agofix typo
Roger Dingledine [Mon, 29 Mar 2004 19:53:53 +0000 (19:53 +0000)] 
fix typo

svn:r1364

22 years agomake normal exit nodes less likely to crash from the conn-munging bug
Roger Dingledine [Mon, 29 Mar 2004 19:51:39 +0000 (19:51 +0000)] 
make normal exit nodes less likely to crash from the conn-munging bug
but leave dirservers just as likely to crash

svn:r1363

22 years agoRe-enable unit tests for directory generation.
Nick Mathewson [Mon, 29 Mar 2004 19:50:59 +0000 (19:50 +0000)] 
Re-enable unit tests for directory generation.

svn:r1362

22 years agoRemove descriptors that are older than 24 hours from the directory. Use strlcat...
Nick Mathewson [Mon, 29 Mar 2004 19:28:16 +0000 (19:28 +0000)] 
Remove descriptors that are older than 24 hours from the directory.  Use strlcat instead of strncat to generate directories.

svn:r1361

22 years agoPossible fix for c99 aliasing warnings
Nick Mathewson [Mon, 29 Mar 2004 06:18:04 +0000 (06:18 +0000)] 
Possible fix for c99 aliasing warnings

svn:r1360

22 years agomake it less noisy for normal ORs when a server uses a false nickname
Roger Dingledine [Sun, 28 Mar 2004 21:35:02 +0000 (21:35 +0000)] 
make it less noisy for normal ORs when a server uses a false nickname

svn:r1359

22 years agomake dns resolves a lot faster
Roger Dingledine [Sun, 28 Mar 2004 21:16:52 +0000 (21:16 +0000)] 
make dns resolves a lot faster
(but only enable this once we've found the bug)

svn:r1358

22 years agooh, i forgot to enable the find-munged-conn function
Roger Dingledine [Sun, 28 Mar 2004 21:14:05 +0000 (21:14 +0000)] 
oh, i forgot to enable the find-munged-conn function

svn:r1357

22 years agohold socks reply open until flushed (if possible)
Roger Dingledine [Sun, 28 Mar 2004 09:48:21 +0000 (09:48 +0000)] 
hold socks reply open until flushed (if possible)

svn:r1356

22 years agoInitial rendezvous spec version. Needs another review and revision; but first I...
Nick Mathewson [Sun, 28 Mar 2004 08:46:38 +0000 (08:46 +0000)] 
Initial rendezvous spec version.  Needs another review and revision; but first I must sleep

svn:r1355

22 years agothere is yet another dns-pending-conn-clobbering bug
Roger Dingledine [Sun, 28 Mar 2004 04:54:36 +0000 (04:54 +0000)] 
there is yet another dns-pending-conn-clobbering bug
somewhere

svn:r1354

22 years agoupdate todo a bit farther
Roger Dingledine [Sat, 27 Mar 2004 05:52:55 +0000 (05:52 +0000)] 
update todo a bit farther

svn:r1353

22 years agowork around a tsocks bug
Roger Dingledine [Sat, 27 Mar 2004 05:45:52 +0000 (05:45 +0000)] 
work around a tsocks bug

when an AP connection dies early, be sure to do a socks reject
for it. if you just hang up, tsocks goes into an infinite loop.

svn:r1352

22 years agofix an assert trigger where an OP would fail to handshake, and we'd
Roger Dingledine [Sat, 27 Mar 2004 01:28:14 +0000 (01:28 +0000)] 
fix an assert trigger where an OP would fail to handshake, and we'd
expect it to have a nickname.

svn:r1351

22 years agoonly build circuits after we've fetched the directory
Roger Dingledine [Sat, 27 Mar 2004 00:15:09 +0000 (00:15 +0000)] 
only build circuits after we've fetched the directory

this resolves a subtle bug where tor clients were preferentially using
the directory servers, since when they start building circuits they
know only about the directory servers

on the other hand, it now takes longer after startup before there's
a working circuit. so it goes.

svn:r1350

22 years agomake it less noisy to consider exit policies
Roger Dingledine [Sat, 27 Mar 2004 00:13:27 +0000 (00:13 +0000)] 
make it less noisy to consider exit policies

svn:r1349

22 years agobump version back to 0.0.4.1
Roger Dingledine [Fri, 26 Mar 2004 23:38:33 +0000 (23:38 +0000)] 
bump version back to 0.0.4.1

svn:r1348

22 years agooops, 0.0.4 is more broken than 0.0.3
Roger Dingledine [Fri, 26 Mar 2004 23:37:13 +0000 (23:37 +0000)] 
oops, 0.0.4 is more broken than 0.0.3
maybe this will fix it

svn:r1347

22 years agoNew upstream release debian-version-0.0.4-1
Peter Palfrader [Fri, 26 Mar 2004 22:46:45 +0000 (22:46 +0000)] 
New upstream release

svn:r1345

22 years agobump cvs to 0.0.5
Roger Dingledine [Fri, 26 Mar 2004 22:44:44 +0000 (22:44 +0000)] 
bump cvs to 0.0.5

svn:r1344

22 years agoclean up some 'warn' messages while i'm at it tor-0.0.4
Roger Dingledine [Fri, 26 Mar 2004 22:28:16 +0000 (22:28 +0000)] 
clean up some 'warn' messages while i'm at it

svn:r1342

22 years agochangelog for 0.0.4 (just the bugfix)
Roger Dingledine [Fri, 26 Mar 2004 22:20:48 +0000 (22:20 +0000)] 
changelog for 0.0.4 (just the bugfix)

svn:r1341

22 years agofix two assert triggers (darn it, I hate releasing software)
Roger Dingledine [Fri, 26 Mar 2004 22:07:45 +0000 (22:07 +0000)] 
fix two assert triggers (darn it, I hate releasing software)

when connecting to a dirserver or OR and the network is down,
we would crash.

svn:r1340

22 years agobump cvs to 0.0.4
Roger Dingledine [Fri, 26 Mar 2004 19:39:11 +0000 (19:39 +0000)] 
bump cvs to 0.0.4

svn:r1339

22 years agoNew upstream release debian-version-0.0.3-1
Peter Palfrader [Fri, 26 Mar 2004 19:37:04 +0000 (19:37 +0000)] 
New upstream release

svn:r1337

22 years agoa missing comma could wreak all sorts of havoc. tor-0.0.3
Roger Dingledine [Fri, 26 Mar 2004 18:29:05 +0000 (18:29 +0000)] 
a missing comma could wreak all sorts of havoc.

svn:r1335

22 years agoanother todo item we thought of
Roger Dingledine [Fri, 26 Mar 2004 18:17:17 +0000 (18:17 +0000)] 
another todo item we thought of

svn:r1334

22 years agochangelog for 0.0.3
Roger Dingledine [Fri, 26 Mar 2004 18:15:31 +0000 (18:15 +0000)] 
changelog for 0.0.3

svn:r1333