Commit Graph

2405 Commits

Author SHA1 Message Date
Roger Dingledine 6fb3cf0218 make zlib.h a required header, not an optional header
svn:r2406
2004-10-01 19:55:01 +00:00
(no author) 1496320267 This commit was manufactured by cvs2svn to create tag
'tor-0_0_9pre1'.

svn:r2405
2004-10-01 04:53:00 +00:00
Roger Dingledine 35ab5f4756 note the earlier assert fix in our changelog
svn:r2404
2004-10-01 04:53:00 +00:00
Nick Mathewson a5b0c960f8 Decode Content-Encoding header correctly.
svn:r2403
2004-10-01 04:45:14 +00:00
Roger Dingledine 389ee477e6 Fix a rare assert trigger, where routerinfos for entries in our cpath
would expire while we're building the path.
Thanks to Eugene Armstead for pointing it out.


svn:r2402
2004-09-30 15:40:05 +00:00
Roger Dingledine a5b1fe49dd prefer tor_free to free
plus complain more loudly when we fail to parse a dir we just fetched


svn:r2401
2004-09-29 06:52:36 +00:00
Roger Dingledine c3961094b9 print the IP if a conn fails badly, to see if there are any trends
svn:r2400
2004-09-29 05:59:55 +00:00
Roger Dingledine 705056fc7f ha ha, thought the bugs were done
don't stop writing the compressed directory just because you found a nul


svn:r2399
2004-09-29 05:48:25 +00:00
Roger Dingledine 5409df4413 bump version to 0.0.9pre1
svn:r2398
2004-09-29 04:22:13 +00:00
Roger Dingledine 3fb83a0962 add a last entry to the 0.0.9pre1 changelog
time to start testing it


svn:r2397
2004-09-29 00:55:35 +00:00
Roger Dingledine d7db1b6465 remove 0.0.9pre1 todo items: they're all completed
svn:r2396
2004-09-29 00:47:56 +00:00
Roger Dingledine 6638dd467e rearrange 0.0.9pre1 and 0.0.9pre2 entries a bit more
svn:r2395
2004-09-29 00:47:19 +00:00
Roger Dingledine b033e9ab0b if our local cached directory is new enough, go ahead and
start building circuits while we're fetching a new one


svn:r2394
2004-09-28 23:27:41 +00:00
Nick Mathewson 7e914d8882 Make sure that routerlists contain only routers; give a better error message if they start with a nonrouter.
svn:r2393
2004-09-28 22:49:34 +00:00
Nick Mathewson 31bc65f8d3 cached-directory has a directory, not a router list
svn:r2392
2004-09-28 22:43:11 +00:00
Roger Dingledine b2646b8bfd fix some local buffer overflows
fix a memory leak


svn:r2391
2004-09-28 22:38:21 +00:00
Nick Mathewson a179a54f63 Fix messages for _UNRECOGNIZED tokens
svn:r2390
2004-09-28 22:35:02 +00:00
Nick Mathewson 5c724eba5b If we are an authoritative dirserver, check out the fingerprint list when setting connection nicknames
svn:r2389
2004-09-28 22:24:56 +00:00
Roger Dingledine 467847ff3c Fix an evil bug: when we failed to write to our log, fputs()
gave us a sigpipe, and we logged that we were ignoring it,
causing us to fail to log that, and delete the log entry. Then
when the signal handler exited, we proceeded to delete the log
entry that had already been deleted.

Now we make sure to only log inside our signal handler if we'll
be exit()ing right after.


svn:r2388
2004-09-28 21:14:40 +00:00
Nick Mathewson bf6fc8a3d3 Move pending pre1 items to pre2, move pre2 items to pre3
svn:r2387
2004-09-28 21:13:38 +00:00
Roger Dingledine 69dacfba0c a few todo items have been done
svn:r2386
2004-09-28 20:29:46 +00:00
Roger Dingledine ee9f0e04bf make the warn message better for reading short files
svn:r2385
2004-09-28 08:40:03 +00:00
Roger Dingledine 4c752d5362 the tor clients in cvs can't speak to the current tor authdirservers for
rendezvous publishes and fetches, since they're still running 0.0.8. so
make them speak the old way until we've upgraded the authdirservers.


svn:r2384
2004-09-28 03:30:28 +00:00
Roger Dingledine ef4754074e fix another bug with cached compressed directories
still not working


svn:r2383
2004-09-27 07:28:48 +00:00
Roger Dingledine 8659e0daf8 fix two bugs with cached directories:
- don't complain that you won't cache it, then cache it anyway.
- change confusing terminology from 'deflate' to 'compress', so
  we'll stop getting our logic backwards. i assume the rfc author
  has shot himself by now.


svn:r2382
2004-09-27 06:57:16 +00:00
Roger Dingledine 2a21542c20 put my fenceposts back in valid memory space
svn:r2381
2004-09-27 06:45:32 +00:00
Roger Dingledine 53372c5af6 checking only 0.0.7 and 0.0.8 didn't work, because some dirservers
files have really old descriptors for the authdirservers, so we're
asking them in the new format because they're too old.

now we actually compare the version to a cutoff version, and act
appropriately.

also take this chance to use only >=0.0.8 servers for dns resolves,
because of the recent bugs. we'll bump to >=0.0.9pre1 once there are
some servers running that.


svn:r2380
2004-09-27 06:00:43 +00:00
Roger Dingledine 44e595287f post descriptors to 0.0.8 authdirservers the old way, to make the
transition easier


svn:r2379
2004-09-27 03:50:58 +00:00
Roger Dingledine e28aad104e clients ask 0.0.9-and-later dirservers for a compressed dir
dirservers rewrite url /foo/ to /tor/foo/, which will help us run things
behind apache once 0.0.8 is obsolete


svn:r2378
2004-09-27 03:39:30 +00:00
Roger Dingledine 93817b1e98 clean up the torify man page
svn:r2377
2004-09-27 01:28:17 +00:00
Roger Dingledine 652c68e7ff commit a changelog so far for 0.0.9pre1
svn:r2376
2004-09-27 01:10:07 +00:00
Nick Mathewson a79aa9ec00 Make read_all distinguish between error and EOF; read_file_to_string should only check bytes read against st_size when in binary mode.
svn:r2375
2004-09-26 16:51:31 +00:00
Roger Dingledine 65d5b90dc1 mention bandwidth-observed in the tor spec
thanks to duck for pointing out this omission


svn:r2374
2004-09-25 06:26:59 +00:00
Roger Dingledine 907fb7000a don't mind empty exit policy entries
svn:r2373
2004-09-23 22:57:32 +00:00
Roger Dingledine 1104a28cd4 cleanup: use strcmpstart() in more places
svn:r2372
2004-09-23 22:18:50 +00:00
Roger Dingledine 89d566efc4 don't imply to people that they should store their hidden service
keys in /tmp


svn:r2371
2004-09-23 20:50:27 +00:00
Roger Dingledine 03f5722cb7 protect dirservers from overzealous descriptor uploading
wait 10 seconds after directory gets dirty, before regenerating


svn:r2370
2004-09-23 19:58:44 +00:00
Roger Dingledine 24500f2cb6 discourage people from setting their dirfetchpostperiod more often
than once per minute


svn:r2369
2004-09-23 19:23:32 +00:00
Roger Dingledine c94a4bf0fb make our tor_assert actually work when it's going to be triggered,
rather than seg fault


svn:r2368
2004-09-23 05:02:51 +00:00
Roger Dingledine e188211de3 bugfix on the bugfix
actually unlink the log entry.

ok, that wasn't cleverly hidden enough. let's try again.


svn:r2367
2004-09-23 04:59:02 +00:00
Roger Dingledine 4890ebde3a bugfix: we were starting to daemonize before we opened our logs,
so if there were any problems opening logs, we would complain to
stderr (which wouldn't work) and then mysteriously exit.


svn:r2366
2004-09-23 04:32:43 +00:00
Roger Dingledine aeed9b078f bugfix: when we run out of disk space, or other log writing error,
don't crash. just stop logging to that log and continue.

nick, can you find the bug i've cleverly hidden in this commit?


svn:r2365
2004-09-23 03:51:45 +00:00
Roger Dingledine ecc5bfdde0 fix confusing cut-n-paste mistake
svn:r2364
2004-09-22 04:08:05 +00:00
Roger Dingledine fbc887ec97 people are starting to bump into the limit of 50 dns workers.
raise it to 100 for now. we need a better solution long-term.
but alas, there are no better solutions that are also portable.
hm.


svn:r2363
2004-09-22 03:56:41 +00:00
Roger Dingledine d260007330 update readme similarly
svn:r2362
2004-09-21 22:12:36 +00:00
Roger Dingledine 1669e03568 update tor-doc, recommend running server as a separate user
svn:r2361
2004-09-21 22:12:27 +00:00
Nick Mathewson 515925a0f0 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 add46c4a35 clean up/bugfix deflate logic and log messages
svn:r2359
2004-09-21 18:09:38 +00:00
Roger Dingledine 73aa8f274f 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 47367afba5 slightly better warn message
svn:r2357
2004-09-21 17:14:47 +00:00