Commit Graph

1537 Commits

Author SHA1 Message Date
Roger Dingledine
36ff23209b let alice recognize a y.onion address and, uhm, do something
svn:r1422
2004-04-01 02:41:41 +00:00
Roger Dingledine
d13857a3f0 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
2004-04-01 01:57:22 +00:00
Nick Mathewson
6c9c4a3249 Bob needs the hash of his PK in order to know which hidden service to be.
svn:r1420
2004-04-01 01:17:45 +00:00
Nick Mathewson
6d8be5e6f6 Add relay command types for rendezvous
svn:r1419
2004-04-01 01:11:28 +00:00
Nick Mathewson
37b967fd9c Add documentation for hidden server cfg
svn:r1418
2004-04-01 00:36:46 +00:00
Roger Dingledine
ee45ae575d allow conns to demand to be attached to a clean circuit
(nobody uses this yet)


svn:r1417
2004-03-31 23:06:16 +00:00
Roger Dingledine
2894813141 specify that alice and bob can use dirty circuits when
uploading or fetching hidserv descriptors


svn:r1416
2004-03-31 22:58:15 +00:00
Roger Dingledine
d7cb4d0ae6 make changes that ben laurie suggested
(ben, was this what you had in mind?)


svn:r1415
2004-03-31 22:41:25 +00:00
Roger Dingledine
f8ac1a6714 a few more todo items done
svn:r1414
2004-03-31 22:30:14 +00:00
Roger Dingledine
3ed1a22031 tweak rend spec
svn:r1413
2004-03-31 22:30:02 +00:00
Roger Dingledine
a0b0d16981 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
2004-03-31 22:02:13 +00:00
Nick Mathewson
28adda81e6 Add missing file
svn:r1411
2004-03-31 21:54:56 +00:00
Nick Mathewson
bf83b1e345 Add code to configure hidden services, parse configuration, generate keys and service IDs, and store/load them from disk
svn:r1410
2004-03-31 21:35:23 +00:00
Nick Mathewson
157cd7fe15 Fix warning
svn:r1409
2004-03-31 20:58:35 +00:00
Roger Dingledine
b4a61d1ab1 better way: always nul-terminate. then sometimes use it, sometimes not.
svn:r1408
2004-03-31 05:10:34 +00:00
Roger Dingledine
87dbd36a3c 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
2004-03-31 05:01:30 +00:00
Nick Mathewson
8fedefe6cb rename hidserv_xx
svn:r1406
2004-03-31 04:10:10 +00:00
Roger Dingledine
342ce84b01 tweaks/patches on the rendezvous spec
svn:r1405
2004-03-31 03:54:20 +00:00
Nick Mathewson
b32440a028 Implement hidserv_XX functions; there is still an XXX in directory_handle_command
svn:r1404
2004-03-31 03:42:56 +00:00
Nick Mathewson
6ea61d5e0d Parse and generate service descriptors
svn:r1403
2004-03-31 02:07:38 +00:00
Roger Dingledine
670aeb6c8d add and use stubs for hidserv lookup and store
svn:r1402
2004-03-30 23:41:24 +00:00
Nick Mathewson
93ab51e9ac Make smartlist Do What Arma Expects.
svn:r1401
2004-03-30 22:59:00 +00:00
Roger Dingledine
2d3ac08633 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
2004-03-30 22:57:49 +00:00
Nick Mathewson
919a8f236e Resolve type-punning warnings
svn:r1399
2004-03-30 22:50:49 +00:00
Nick Mathewson
c31f5505da Jump through a hoop, suppress a warning
svn:r1398
2004-03-30 22:42:26 +00:00
Nick Mathewson
96a86ef14d Remove maximum-size field from smartlists
svn:r1397
2004-03-30 20:05:52 +00:00
Nick Mathewson
0ba9ab5fb0 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
2004-03-30 19:52:42 +00:00
Nick Mathewson
6ea95488d2 Add more key manipulation functions, and base32 functions, to crypto
svn:r1395
2004-03-30 19:47:32 +00:00
Nick Mathewson
abcf3d9341 Make smartlists start small and grow as needed.
svn:r1394
2004-03-30 19:25:43 +00:00
Nick Mathewson
32cc2e5909 Make service IDs 80 bits, not 128
svn:r1393
2004-03-30 19:20:11 +00:00
Peter Palfrader
b1e9832136 New upstream release
svn:r1391
2004-03-30 18:54:40 +00:00
Roger Dingledine
3dad8557a6 commit a changelog for 0.0.5
svn:r1389
2004-03-30 18:39:05 +00:00
Roger Dingledine
05019b64f4 bump to 0.0.5
svn:r1388
2004-03-30 18:34:30 +00:00
Peter Palfrader
f058d99712 Keep using torrc instead of torrc.sample as dpkg handles conffile upgrades.
svn:r1387
2004-03-30 12:29:33 +00:00
Roger Dingledine
826513e42b bump to 0.0.5rc3
svn:r1386
2004-03-30 03:20:48 +00:00
Roger Dingledine
414dff42c5 update hacking to mention loglevel notice
svn:r1385
2004-03-30 03:20:38 +00:00
Roger Dingledine
524312494b use 'notice' loglevel for things the operator should hear
but that aren't warnings


svn:r1384
2004-03-30 03:15:53 +00:00
Roger Dingledine
0864d3f484 add in a 'notice' log level
svn:r1383
2004-03-30 03:15:23 +00:00
Roger Dingledine
57918e4902 guess some times on some tasks
svn:r1382
2004-03-30 02:31:36 +00:00
Roger Dingledine
94f048c248 switch tor-design to usenix format
svn:r1381
2004-03-30 02:28:36 +00:00
Nick Mathewson
96ebb0bc88 break up initial rend tasks
svn:r1380
2004-03-30 01:32:16 +00:00
Peter Palfrader
03b50cf0f5 Add reminder to debian/changelog: Upstream installs a torrc.sample file now, rather than torrc
svn:r1379
2004-03-30 00:08:45 +00:00
Roger Dingledine
f796957182 don't freak people out as much with the warning message
svn:r1378
2004-03-30 00:06:59 +00:00
Roger Dingledine
015f722957 clean up README to mention torrc.sample
svn:r1377
2004-03-30 00:06:20 +00:00
Roger Dingledine
c09b185f03 re-enable recommendedversion checking (oops, thanks weasel)
svn:r1376
2004-03-30 00:02:52 +00:00
Roger Dingledine
ce200ae133 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
2004-03-30 00:01:03 +00:00
Roger Dingledine
d8a5358ce9 call it torrc.sample, not torrc
svn:r1374
2004-03-29 23:58:02 +00:00
Roger Dingledine
83c88c55fd old or skewed descriptor doesn't mean we failed to parse it
svn:r1373
2004-03-29 23:23:01 +00:00
Roger Dingledine
10b360f188 bump to 0.0.5rc2
svn:r1372
2004-03-29 22:18:32 +00:00
Roger Dingledine
ce08baba1b refactor directories a smidgen
svn:r1371
2004-03-29 22:18:05 +00:00