Commit Graph

1565 Commits

Author SHA1 Message Date
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
Roger Dingledine
9723061dd9 first guess at a set of circuit purposes
svn:r1370
2004-03-29 22:14:19 +00:00
Peter Palfrader
2c81a6cb1d Remove automake files from cvs. Let's see whether it works for Roger too.
svn:r1369
2004-03-29 22:09:11 +00:00
Nick Mathewson
f2c68bcf54 Make preliminary list of tasks for rendezvous service
svn:r1368
2004-03-29 20:39:40 +00:00
Nick Mathewson
cc844eeed3 Add more stuff to cvsignores
svn:r1367
2004-03-29 20:38:49 +00:00
Roger Dingledine
bcda3ebaef bugfix: we were closing socks-request connections immediately, rather
than flushing them, if they were timing out before we marked them


svn:r1366
2004-03-29 20:04:09 +00:00
Roger Dingledine
7118c6177d clean up a few more bugs
svn:r1365
2004-03-29 19:57:50 +00:00
Roger Dingledine
155c777a84 fix typo
svn:r1364
2004-03-29 19:53:53 +00:00
Roger Dingledine
0edf0ea7cc make normal exit nodes less likely to crash from the conn-munging bug
but leave dirservers just as likely to crash


svn:r1363
2004-03-29 19:51:39 +00:00
Nick Mathewson
6a79b1cb57 Re-enable unit tests for directory generation.
svn:r1362
2004-03-29 19:50:59 +00:00
Nick Mathewson
0e6084d751 Remove descriptors that are older than 24 hours from the directory. Use strlcat instead of strncat to generate directories.
svn:r1361
2004-03-29 19:28:16 +00:00
Nick Mathewson
47b9d4439a Possible fix for c99 aliasing warnings
svn:r1360
2004-03-29 06:18:04 +00:00
Roger Dingledine
8c3999c964 make it less noisy for normal ORs when a server uses a false nickname
svn:r1359
2004-03-28 21:35:02 +00:00
Roger Dingledine
4a5586b8e3 make dns resolves a lot faster
(but only enable this once we've found the bug)


svn:r1358
2004-03-28 21:16:52 +00:00
Roger Dingledine
2ba9901cb4 oh, i forgot to enable the find-munged-conn function
svn:r1357
2004-03-28 21:14:05 +00:00
Roger Dingledine
e6a2e03524 hold socks reply open until flushed (if possible)
svn:r1356
2004-03-28 09:48:21 +00:00
Nick Mathewson
c4c97c0746 Initial rendezvous spec version. Needs another review and revision; but first I must sleep
svn:r1355
2004-03-28 08:46:38 +00:00
Roger Dingledine
f241fdfc73 there is yet another dns-pending-conn-clobbering bug
somewhere


svn:r1354
2004-03-28 04:54:36 +00:00
Roger Dingledine
df57d3ff3a update todo a bit farther
svn:r1353
2004-03-27 05:52:55 +00:00
Roger Dingledine
56dfc3151f 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
2004-03-27 05:45:52 +00:00
Roger Dingledine
9ab5f3c067 fix an assert trigger where an OP would fail to handshake, and we'd
expect it to have a nickname.


svn:r1351
2004-03-27 01:28:14 +00:00
Roger Dingledine
47b40de0aa 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
2004-03-27 00:15:09 +00:00
Roger Dingledine
f2a692081f make it less noisy to consider exit policies
svn:r1349
2004-03-27 00:13:27 +00:00