]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Tue, 12 Oct 2004 19:32:41 +0000 (19:32 +0000)]
Make a bounds-checking replacement for strtol with slightly easier error-checking in the common case
svn:r2452
Roger Dingledine [Tue, 12 Oct 2004 19:09:40 +0000 (19:09 +0000)]
fix signed/unsigned comparison, plus typo
svn:r2451
Nick Mathewson [Tue, 12 Oct 2004 19:01:53 +0000 (19:01 +0000)]
Better bounds checking on parsed ints
svn:r2450
Nick Mathewson [Tue, 12 Oct 2004 19:01:28 +0000 (19:01 +0000)]
Add default directory servers
svn:r2449
Nick Mathewson [Tue, 12 Oct 2004 18:38:36 +0000 (18:38 +0000)]
Add fix for remote-crash bug.
svn:r2447
Roger Dingledine [Tue, 12 Oct 2004 18:32:34 +0000 (18:32 +0000)]
fix a signed/unsigned comparison
svn:r2446
Nick Mathewson [Tue, 12 Oct 2004 16:04:25 +0000 (16:04 +0000)]
Oops, missed one
svn:r2445
Nick Mathewson [Tue, 12 Oct 2004 16:02:15 +0000 (16:02 +0000)]
Note byte-order on result for parse_addr_port()
svn:r2444
Nick Mathewson [Tue, 12 Oct 2004 15:55:20 +0000 (15:55 +0000)]
Add an implementation of trusted_dir_server logic to switch towards simply remembering an addr/port/keyid for each trusted dir server
svn:r2443
Nick Mathewson [Tue, 12 Oct 2004 15:52:57 +0000 (15:52 +0000)]
Add long-term format for dir-signing-key fields (commented out)
svn:r2442
Nick Mathewson [Tue, 12 Oct 2004 15:52:09 +0000 (15:52 +0000)]
Use parse_addr_port() function instead of ad-hoc variants
svn:r2441
Nick Mathewson [Tue, 12 Oct 2004 15:48:30 +0000 (15:48 +0000)]
Add functions to parse addr[:port] consistently
svn:r2440
Roger Dingledine [Tue, 12 Oct 2004 06:03:10 +0000 (06:03 +0000)]
bugfix on my friday commit: make hidden services work again in cvs
svn:r2439
Roger Dingledine [Mon, 11 Oct 2004 22:19:12 +0000 (22:19 +0000)]
fix paul gardner's assert bug.
sometimes circuit_get_open_circ_or_launch() can return 0 but not
return a circuit, e.g. because too many circuits have failed recently
so the new one didn't launch. we need to tolerate that.
svn:r2438
Roger Dingledine [Mon, 11 Oct 2004 21:55:19 +0000 (21:55 +0000)]
Fix a potential buffer overflow found by Ilja van Sprundel.
We don't think this is exploitable, but best to fix it anyway.
svn:r2437
Roger Dingledine [Mon, 11 Oct 2004 01:17:42 +0000 (01:17 +0000)]
fix the stale pointer assert bug reported by joe magic
svn:r2436
Roger Dingledine [Sun, 10 Oct 2004 01:47:24 +0000 (01:47 +0000)]
when a begin cell has an invalid port, give us a better hint of
what went wrong
svn:r2435
Nick Mathewson [Fri, 8 Oct 2004 15:09:06 +0000 (15:09 +0000)]
Add/clarify a few TODO items
svn:r2434
Roger Dingledine [Fri, 8 Oct 2004 06:02:14 +0000 (06:02 +0000)]
oops, actually pre3-cvs now
svn:r2433
Roger Dingledine [Fri, 8 Oct 2004 06:02:01 +0000 (06:02 +0000)]
bump us to 0.0.9pre3-cvs
svn:r2432
Roger Dingledine [Fri, 8 Oct 2004 05:53:59 +0000 (05:53 +0000)]
interim commit for http proxy support
svn:r2431
Roger Dingledine [Fri, 8 Oct 2004 05:43:28 +0000 (05:43 +0000)]
fix compile error: move variable declarations before code
svn:r2430
Nick Mathewson [Thu, 7 Oct 2004 21:37:06 +0000 (21:37 +0000)]
Turn tor_strpartion into a swiss-army-knife function, so it can terminate or not-terminate appropriately.
svn:r2429
Nick Mathewson [Thu, 7 Oct 2004 21:10:40 +0000 (21:10 +0000)]
Include a dir-signing-key token in directories to tell the parsing entity which key is being used to sign. This is the first step in obsoleting the dirservers file.
svn:r2428
Nick Mathewson [Thu, 7 Oct 2004 20:58:53 +0000 (20:58 +0000)]
More complete docs for crypto.c; factor out string partitioning code
svn:r2427
Nick Mathewson [Thu, 7 Oct 2004 20:22:58 +0000 (20:22 +0000)]
Workaround for bug on windows where cached-directories get crlf corruption.
svn:r2426
Nick Mathewson [Thu, 7 Oct 2004 20:22:03 +0000 (20:22 +0000)]
Bump windows version
svn:r2425
Nick Mathewson [Thu, 7 Oct 2004 20:15:56 +0000 (20:15 +0000)]
Windows requires a different cast uint64_t format
svn:r2424
Nick Mathewson [Thu, 7 Oct 2004 03:11:42 +0000 (03:11 +0000)]
Make base-64-encoded DER work, including workaround for ugly openssl misfeature that makes base64 decoding fail when you strip out the newlines.
svn:r2423
Nick Mathewson [Wed, 6 Oct 2004 13:31:48 +0000 (13:31 +0000)]
Refactor fingerprint handling: remember hex digests (no spaces) instead of beautified fingerprints
svn:r2422
Nick Mathewson [Wed, 6 Oct 2004 13:28:34 +0000 (13:28 +0000)]
Fix a couple of typos, one of which conceals a bug in parsing opt keywords with objects
svn:r2421
Nick Mathewson [Wed, 6 Oct 2004 13:26:37 +0000 (13:26 +0000)]
Add a function to remove a set of characters from a string
svn:r2420
Nick Mathewson [Wed, 6 Oct 2004 13:26:10 +0000 (13:26 +0000)]
Implement (temporarily) a base64-encoded-DER format for RSA keys; make it easier to generate fingerprints with no space
svn:r2419
Roger Dingledine [Wed, 6 Oct 2004 05:05:43 +0000 (05:05 +0000)]
when an OR starts up, it loads its directory from cache.
then it serves *that directory* to others who ask for a copy of the
directory. it's better to serve no directory at all until you have a
fresh copy.
svn:r2418
Roger Dingledine [Wed, 6 Oct 2004 00:20:44 +0000 (00:20 +0000)]
clean up old todo items
svn:r2417
Roger Dingledine [Sun, 3 Oct 2004 19:39:29 +0000 (19:39 +0000)]
use only 0.0.9pre1 and later servers for resolve cells
svn:r2416
Roger Dingledine [Sun, 3 Oct 2004 19:37:48 +0000 (19:37 +0000)]
better example lines for dirbindaddress and orbindaddress
svn:r2415
Nick Mathewson [Sun, 3 Oct 2004 02:37:52 +0000 (02:37 +0000)]
Only check versions against downloaded directories, not cached directories.
svn:r2413
Roger Dingledine [Sun, 3 Oct 2004 00:06:47 +0000 (00:06 +0000)]
better warn message for failed hidserv desc fetch
svn:r2412
Roger Dingledine [Sat, 2 Oct 2004 23:29:56 +0000 (23:29 +0000)]
pre2 changes:
o Bugfixes on pre1:
- Make fetching a cached directory work for 64-bit platforms too.
- Make zlib.h a required header, not an optional header.
svn:r2411
Roger Dingledine [Fri, 1 Oct 2004 21:02:12 +0000 (21:02 +0000)]
use size_t rather than int for directory lengths in memory
this might fix a bug with amd64
svn:r2410
Roger Dingledine [Fri, 1 Oct 2004 20:59:57 +0000 (20:59 +0000)]
bump version to 0.0.9pre2-cvs
svn:r2409
Peter Palfrader [Fri, 1 Oct 2004 20:30:53 +0000 (20:30 +0000)]
New upstream version, build-dep on zlib-dev
svn:r2407
Roger Dingledine [Fri, 1 Oct 2004 19:55:01 +0000 (19:55 +0000)]
make zlib.h a required header, not an optional header
svn:r2406
Roger Dingledine [Fri, 1 Oct 2004 04:53:00 +0000 (04:53 +0000)]
note the earlier assert fix in our changelog
svn:r2404
Nick Mathewson [Fri, 1 Oct 2004 04:45:14 +0000 (04:45 +0000)]
Decode Content-Encoding header correctly.
svn:r2403
Roger Dingledine [Thu, 30 Sep 2004 15:40:05 +0000 (15:40 +0000)]
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
Roger Dingledine [Wed, 29 Sep 2004 06:52:36 +0000 (06:52 +0000)]
prefer tor_free to free
plus complain more loudly when we fail to parse a dir we just fetched
svn:r2401
Roger Dingledine [Wed, 29 Sep 2004 05:59:55 +0000 (05:59 +0000)]
print the IP if a conn fails badly, to see if there are any trends
svn:r2400
Roger Dingledine [Wed, 29 Sep 2004 05:48:25 +0000 (05:48 +0000)]
ha ha, thought the bugs were done
don't stop writing the compressed directory just because you found a nul
svn:r2399
Roger Dingledine [Wed, 29 Sep 2004 04:22:13 +0000 (04:22 +0000)]
bump version to 0.0.9pre1
svn:r2398
Roger Dingledine [Wed, 29 Sep 2004 00:55:35 +0000 (00:55 +0000)]
add a last entry to the 0.0.9pre1 changelog
time to start testing it
svn:r2397
Roger Dingledine [Wed, 29 Sep 2004 00:47:56 +0000 (00:47 +0000)]
remove 0.0.9pre1 todo items: they're all completed
svn:r2396
Roger Dingledine [Wed, 29 Sep 2004 00:47:19 +0000 (00:47 +0000)]
rearrange 0.0.9pre1 and 0.0.9pre2 entries a bit more
svn:r2395
Roger Dingledine [Tue, 28 Sep 2004 23:27:41 +0000 (23:27 +0000)]
if our local cached directory is new enough, go ahead and
start building circuits while we're fetching a new one
svn:r2394
Nick Mathewson [Tue, 28 Sep 2004 22:49:34 +0000 (22:49 +0000)]
Make sure that routerlists contain only routers; give a better error message if they start with a nonrouter.
svn:r2393
Nick Mathewson [Tue, 28 Sep 2004 22:43:11 +0000 (22:43 +0000)]
cached-directory has a directory, not a router list
svn:r2392
Roger Dingledine [Tue, 28 Sep 2004 22:38:21 +0000 (22:38 +0000)]
fix some local buffer overflows
fix a memory leak
svn:r2391
Nick Mathewson [Tue, 28 Sep 2004 22:35:02 +0000 (22:35 +0000)]
Fix messages for _UNRECOGNIZED tokens
svn:r2390
Nick Mathewson [Tue, 28 Sep 2004 22:24:56 +0000 (22:24 +0000)]
If we are an authoritative dirserver, check out the fingerprint list when setting connection nicknames
svn:r2389
Roger Dingledine [Tue, 28 Sep 2004 21:14:40 +0000 (21:14 +0000)]
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
Nick Mathewson [Tue, 28 Sep 2004 21:13:38 +0000 (21:13 +0000)]
Move pending pre1 items to pre2, move pre2 items to pre3
svn:r2387
Roger Dingledine [Tue, 28 Sep 2004 20:29:46 +0000 (20:29 +0000)]
a few todo items have been done
svn:r2386
Roger Dingledine [Tue, 28 Sep 2004 08:40:03 +0000 (08:40 +0000)]
make the warn message better for reading short files
svn:r2385
Roger Dingledine [Tue, 28 Sep 2004 03:30:28 +0000 (03:30 +0000)]
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
Roger Dingledine [Mon, 27 Sep 2004 07:28:48 +0000 (07:28 +0000)]
fix another bug with cached compressed directories
still not working
svn:r2383
Roger Dingledine [Mon, 27 Sep 2004 06:57:16 +0000 (06:57 +0000)]
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
Roger Dingledine [Mon, 27 Sep 2004 06:45:32 +0000 (06:45 +0000)]
put my fenceposts back in valid memory space
svn:r2381
Roger Dingledine [Mon, 27 Sep 2004 06:00:43 +0000 (06:00 +0000)]
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
Roger Dingledine [Mon, 27 Sep 2004 03:50:58 +0000 (03:50 +0000)]
post descriptors to 0.0.8 authdirservers the old way, to make the
transition easier
svn:r2379
Roger Dingledine [Mon, 27 Sep 2004 03:39:30 +0000 (03:39 +0000)]
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
Roger Dingledine [Mon, 27 Sep 2004 01:28:17 +0000 (01:28 +0000)]
clean up the torify man page
svn:r2377
Roger Dingledine [Mon, 27 Sep 2004 01:10:07 +0000 (01:10 +0000)]
commit a changelog so far for 0.0.9pre1
svn:r2376
Nick Mathewson [Sun, 26 Sep 2004 16:51:31 +0000 (16:51 +0000)]
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
Roger Dingledine [Sat, 25 Sep 2004 06:26:59 +0000 (06:26 +0000)]
mention bandwidth-observed in the tor spec
thanks to duck for pointing out this omission
svn:r2374
Roger Dingledine [Thu, 23 Sep 2004 22:57:32 +0000 (22:57 +0000)]
don't mind empty exit policy entries
svn:r2373
Roger Dingledine [Thu, 23 Sep 2004 22:18:50 +0000 (22:18 +0000)]
cleanup: use strcmpstart() in more places
svn:r2372
Roger Dingledine [Thu, 23 Sep 2004 20:50:27 +0000 (20:50 +0000)]
don't imply to people that they should store their hidden service
keys in /tmp
svn:r2371
Roger Dingledine [Thu, 23 Sep 2004 19:58:44 +0000 (19:58 +0000)]
protect dirservers from overzealous descriptor uploading
wait 10 seconds after directory gets dirty, before regenerating
svn:r2370
Roger Dingledine [Thu, 23 Sep 2004 19:23:32 +0000 (19:23 +0000)]
discourage people from setting their dirfetchpostperiod more often
than once per minute
svn:r2369
Roger Dingledine [Thu, 23 Sep 2004 05:02:51 +0000 (05:02 +0000)]
make our tor_assert actually work when it's going to be triggered,
rather than seg fault
svn:r2368
Roger Dingledine [Thu, 23 Sep 2004 04:59:02 +0000 (04:59 +0000)]
bugfix on the bugfix
actually unlink the log entry.
ok, that wasn't cleverly hidden enough. let's try again.
svn:r2367
Roger Dingledine [Thu, 23 Sep 2004 04:32:43 +0000 (04:32 +0000)]
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
Roger Dingledine [Thu, 23 Sep 2004 03:51:45 +0000 (03:51 +0000)]
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
Roger Dingledine [Wed, 22 Sep 2004 04:08:05 +0000 (04:08 +0000)]
fix confusing cut-n-paste mistake
svn:r2364
Roger Dingledine [Wed, 22 Sep 2004 03:56:41 +0000 (03:56 +0000)]
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
Roger Dingledine [Tue, 21 Sep 2004 22:12:36 +0000 (22:12 +0000)]
update readme similarly
svn:r2362
Roger Dingledine [Tue, 21 Sep 2004 22:12:27 +0000 (22:12 +0000)]
update tor-doc, recommend running server as a separate user
svn:r2361
Nick Mathewson [Tue, 21 Sep 2004 18:12:12 +0000 (18:12 +0000)]
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
Nick Mathewson [Tue, 21 Sep 2004 18:09:38 +0000 (18:09 +0000)]
clean up/bugfix deflate logic and log messages
svn:r2359
Roger Dingledine [Tue, 21 Sep 2004 17:33:05 +0000 (17:33 +0000)]
bugfix: when a resolve fails for a begin request, actually send
the end cell back. also, give a better reason for failure.
svn:r2358
Roger Dingledine [Tue, 21 Sep 2004 17:14:47 +0000 (17:14 +0000)]
slightly better warn message
svn:r2357
Nick Mathewson [Tue, 21 Sep 2004 16:44:20 +0000 (16:44 +0000)]
Warn the user when we mark ourself as down.
svn:r2356
Nick Mathewson [Tue, 21 Sep 2004 16:42:07 +0000 (16:42 +0000)]
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
Nick Mathewson [Tue, 21 Sep 2004 04:55:43 +0000 (04:55 +0000)]
Stop using openssl functions that rely on stdio; they can apparently lead to linker grief on win32.
svn:r2354
Roger Dingledine [Mon, 20 Sep 2004 03:07:11 +0000 (03:07 +0000)]
fix a rare seg fault for people running hidden services on
intermittent connections
svn:r2353
Roger Dingledine [Sun, 12 Sep 2004 15:07:14 +0000 (15:07 +0000)]
JI hates people who say "IP" when they mean "IP address"
svn:r2352
Roger Dingledine [Sat, 11 Sep 2004 18:16:18 +0000 (18:16 +0000)]
fix some typos
svn:r2351
Roger Dingledine [Fri, 10 Sep 2004 21:43:51 +0000 (21:43 +0000)]
prioritize todo
svn:r2350
Roger Dingledine [Fri, 10 Sep 2004 21:40:29 +0000 (21:40 +0000)]
don't pick administrative-friends when picking your path
(just a skeleton for now)
svn:r2349