Commit Graph

2324 Commits

Author SHA1 Message Date
Roger Dingledine
cd6d6d76d7 update tor-doc, recommend running server as a separate user
svn:r2361
2004-09-21 22:12:27 +00:00
Nick Mathewson
9defe8a307 Attach dummy resolve connections to a circuit *before* calling dns_resolve(). This fixes a bug where cached answers would never be sent in RESOLVED cells.
svn:r2360
2004-09-21 18:12:12 +00:00
Nick Mathewson
c20b24c952 clean up/bugfix deflate logic and log messages
svn:r2359
2004-09-21 18:09:38 +00:00
Roger Dingledine
d977677aa8 bugfix: when a resolve fails for a begin request, actually send
the end cell back. also, give a better reason for failure.


svn:r2358
2004-09-21 17:33:05 +00:00
Roger Dingledine
ff622786f1 slightly better warn message
svn:r2357
2004-09-21 17:14:47 +00:00
Nick Mathewson
431b33a2ca Warn the user when we mark ourself as down.
svn:r2356
2004-09-21 16:44:20 +00:00
Nick Mathewson
0dcc8c7048 Bugfix: When a dns request failed, we would detach any "resolving" streams from the circuit before we would send a the resolve_failed cells.
svn:r2355
2004-09-21 16:42:07 +00:00
Nick Mathewson
93f085c4a2 Stop using openssl functions that rely on stdio; they can apparently lead to linker grief on win32.
svn:r2354
2004-09-21 04:55:43 +00:00
Roger Dingledine
802b203ff1 fix a rare seg fault for people running hidden services on
intermittent connections


svn:r2353
2004-09-20 03:07:11 +00:00
Roger Dingledine
eade496dcd JI hates people who say "IP" when they mean "IP address"
svn:r2352
2004-09-12 15:07:14 +00:00
Roger Dingledine
ac7658f2bb fix some typos
svn:r2351
2004-09-11 18:16:18 +00:00
Roger Dingledine
8cea004c98 prioritize todo
svn:r2350
2004-09-10 21:43:51 +00:00
Roger Dingledine
959199340a don't pick administrative-friends when picking your path
(just a skeleton for now)


svn:r2349
2004-09-10 21:40:29 +00:00
Roger Dingledine
8954cd91ce LOG_ERR is for when we're going to exit
svn:r2348
2004-09-10 21:39:53 +00:00
Roger Dingledine
a885eea609 tab-man nick is going to learn elisp, he promises
svn:r2347
2004-09-10 21:05:48 +00:00
Nick Mathewson
f9c10db7ae Revise TODO items for 009
svn:r2346
2004-09-10 20:57:09 +00:00
Roger Dingledine
b9f6e300c6 a few more todo entries
svn:r2345
2004-09-10 19:59:48 +00:00
Roger Dingledine
a475ccf5b8 we should exit(1) if $HOME doesn't exist and we needed it
svn:r2344
2004-09-10 19:16:01 +00:00
Roger Dingledine
b287509fb3 typos and tabs
svn:r2343
2004-09-10 18:56:52 +00:00
Nick Mathewson
8ab26650ee Fix documentation about how not to be an OP
svn:r2342
2004-09-10 18:54:21 +00:00
Nick Mathewson
45fb420c96 Document rest of options
svn:r2341
2004-09-10 00:15:59 +00:00
Roger Dingledine
12101a25e8 bump us to 0.0.9pre1-cvs
svn:r2340
2004-09-10 00:14:16 +00:00
Nick Mathewson
5908aa6b43 Document most remaining undocumented options
svn:r2339
2004-09-09 23:52:15 +00:00
Nick Mathewson
9e14c562c5 Note win32 tsocksalikes in tor-doc.html
svn:r2338
2004-09-09 23:38:07 +00:00
Nick Mathewson
9759c58eb7 Note win32 tsocks workalikes
svn:r2337
2004-09-09 23:27:49 +00:00
Nick Mathewson
0ef85f6dba Some platforms have weird translations when you open files in "test" mode; make read/write_str_to_file aware.
svn:r2336
2004-09-08 07:16:34 +00:00
Nick Mathewson
c66e4c4870 Flush more changes from sandbox
- make clients cache directories and use them to seed their router lists
   at startup.  This means clients have a datadir again.
 - Introduce a global_write_bucket.  We need to respond better to exhausting
   it.
 - Remove the last vestiges of LinkPadding and TrafficShaping.
 - Configuration infrastructure support for warning on obsolete options.
 - Refactor directory header parsing to use smartlist_split_string.
 - Respond to content-encoding headers by trying to uncompress as appropriate.
 - Reply with a deflated directory when a client asks for "dir.z".
   (We could use allow-encodings instead, but allow-encodings isn't
   specified in HTTP 1.0.)


svn:r2335
2004-09-08 06:52:33 +00:00
Nick Mathewson
b6798866d0 Idiot-proof uncompress; make sure it always nul-terminates its output. Also, make all compression methods nonzero.
svn:r2334
2004-09-08 06:47:33 +00:00
Nick Mathewson
6b9e27f037 Document more undocumented options
svn:r2333
2004-09-08 06:46:33 +00:00
Nick Mathewson
79ccbab100 fix a typo (spotted by weasel)
svn:r2332
2004-09-08 06:46:13 +00:00
Nick Mathewson
2233090f57 Document some previously undocumented config options; note which ones still are undocumented
svn:r2331
2004-09-02 23:41:06 +00:00
Nick Mathewson
9836ccda8c Move a paren 4 characters to the left; fix a bug in OutboundBindAddress
svn:r2330
2004-09-02 23:25:23 +00:00
Nick Mathewson
ecf414f05e Stop using separate defaults for no-config-file and empty-config-file
svn:r2329
2004-09-02 22:08:36 +00:00
Nick Mathewson
d6e47bec46 Keep a deflated version of each directory so we can deliver it when requested
svn:r2328
2004-09-02 18:57:09 +00:00
Nick Mathewson
bda41ba3fd Use new split function and strcmpstart correctly
svn:r2327
2004-09-02 18:39:59 +00:00
Nick Mathewson
4c799ae731 Check for zlib; link with it.
svn:r2326
2004-09-02 18:27:09 +00:00
Nick Mathewson
f311206d1d Make split function smarter; add a strcmpstart function so we can stop bungling strcmp(x, y, strlen(y));
svn:r2325
2004-09-02 18:25:50 +00:00
Nick Mathewson
3590eb535a Add basic wrappers for zlib/gzip
svn:r2324
2004-09-02 18:22:51 +00:00
Peter Palfrader
dccc4b7415 New upstream release
svn:r2322
2004-08-27 12:34:43 +00:00
Nick Mathewson
6e844ea743 Bump windows version to 0.0.8
svn:r2319
2004-08-26 01:27:58 +00:00
Roger Dingledine
0987cf4bec changelog for 0.0.8
svn:r2318
2004-08-25 19:45:23 +00:00
Nick Mathewson
31b81650b7 Define LONG_MAX and UINT_MAX when they are missing
svn:r2317
2004-08-25 19:16:18 +00:00
Roger Dingledine
571176d263 bump us to 0.0.8 -- this is it. (well, soon)
svn:r2316
2004-08-25 19:09:16 +00:00
Roger Dingledine
0cdf7c764f add a hint for building on athena
svn:r2315
2004-08-25 19:07:51 +00:00
Roger Dingledine
7b5b9588f8 look for ssldir in /usr/athena too
svn:r2314
2004-08-25 19:04:55 +00:00
Roger Dingledine
f91c552af7 fix a seg fault on solaris
svn:r2313
2004-08-25 17:37:00 +00:00
Roger Dingledine
444a01610c make the compile work (and not complain) on sunos 5.9
svn:r2312
2004-08-25 17:31:47 +00:00
Roger Dingledine
be7909f670 Fix a symptom for a bug that straycat found.
Apparently in rare cases poll() is returning POLLIN for an idle
dns worker. It reads no bytes, presumably because the idle dns
worker didn't write anything in the first place. Gosh, who knows.

Now we only trigger the assert if the idle dns worker actually
tries to send an answer to us.


svn:r2311
2004-08-25 05:26:09 +00:00
Roger Dingledine
d91cacb839 agree with nick: this legal-chars-in-filename stuff gets us nothing
svn:r2310
2004-08-24 21:57:12 +00:00
Nick Mathewson
015232bd39 As far as I can tell, CONFIG_LEGAL_FILENAME_CHARACTERS is both pointless and broken. #if it out, pending agreement from arma. This fixes a bug on win32 that rejected paths with a : in them.
svn:r2309
2004-08-24 20:48:22 +00:00