Roger Dingledine
f7b425761c
fix compile error: move variable declarations before code
...
svn:r2430
2004-10-08 05:43:28 +00:00
Nick Mathewson
7b0ee54414
Turn tor_strpartion into a swiss-army-knife function, so it can terminate or not-terminate appropriately.
...
svn:r2429
2004-10-07 21:37:06 +00:00
Nick Mathewson
ba412a19ec
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
2004-10-07 21:10:40 +00:00
Nick Mathewson
62683484d5
More complete docs for crypto.c; factor out string partitioning code
...
svn:r2427
2004-10-07 20:58:53 +00:00
Nick Mathewson
d28c143889
Workaround for bug on windows where cached-directories get crlf corruption.
...
svn:r2426
2004-10-07 20:22:58 +00:00
Nick Mathewson
372074c961
Bump windows version
...
svn:r2425
2004-10-07 20:22:03 +00:00
Nick Mathewson
8a6bb27cce
Windows requires a different cast uint64_t format
...
svn:r2424
2004-10-07 20:15:56 +00:00
Nick Mathewson
4200df9bda
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
2004-10-07 03:11:42 +00:00
Nick Mathewson
36398ca304
Refactor fingerprint handling: remember hex digests (no spaces) instead of beautified fingerprints
...
svn:r2422
2004-10-06 13:31:48 +00:00
Nick Mathewson
ee31e684b5
Fix a couple of typos, one of which conceals a bug in parsing opt keywords with objects
...
svn:r2421
2004-10-06 13:28:34 +00:00
Nick Mathewson
fc019d4fa0
Add a function to remove a set of characters from a string
...
svn:r2420
2004-10-06 13:26:37 +00:00
Nick Mathewson
17b03c38f5
Implement (temporarily) a base64-encoded-DER format for RSA keys; make it easier to generate fingerprints with no space
...
svn:r2419
2004-10-06 13:26:10 +00:00
Roger Dingledine
0494c9de4c
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
2004-10-06 05:05:43 +00:00
Roger Dingledine
f52ad32366
clean up old todo items
...
svn:r2417
2004-10-06 00:20:44 +00:00
Roger Dingledine
d2cc16659b
use only 0.0.9pre1 and later servers for resolve cells
...
svn:r2416
2004-10-03 19:39:29 +00:00
Roger Dingledine
a052c2e860
better example lines for dirbindaddress and orbindaddress
...
svn:r2415
2004-10-03 19:37:48 +00:00
(no author)
3f4ab059c6
This commit was manufactured by cvs2svn to create tag
...
'tor-0_0_9pre2'.
svn:r2414
2004-10-03 02:37:52 +00:00
Nick Mathewson
15be7aa873
Only check versions against downloaded directories, not cached directories.
...
svn:r2413
2004-10-03 02:37:52 +00:00
Roger Dingledine
3accc18332
better warn message for failed hidserv desc fetch
...
svn:r2412
2004-10-03 00:06:47 +00:00
Roger Dingledine
7e98b988a5
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
2004-10-02 23:29:56 +00:00
Roger Dingledine
b9f03c8f03
use size_t rather than int for directory lengths in memory
...
this might fix a bug with amd64
svn:r2410
2004-10-01 21:02:12 +00:00
Roger Dingledine
39b477a881
bump version to 0.0.9pre2-cvs
...
svn:r2409
2004-10-01 20:59:57 +00:00
(no author)
6c4de190ef
This commit was manufactured by cvs2svn to create tag
...
'debian_version_0_0_8+0_0_9pre1-1'.
svn:r2408
2004-10-01 20:30:53 +00:00
Peter Palfrader
ea2fb7d114
New upstream version, build-dep on zlib-dev
...
svn:r2407
2004-10-01 20:30:53 +00:00
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