Nick Mathewson
b7e68c8a53
Make a bounds-checking replacement for strtol with slightly easier error-checking in the common case
...
svn:r2452
2004-10-12 19:32:41 +00:00
Roger Dingledine
acf6bf75e4
fix signed/unsigned comparison, plus typo
...
svn:r2451
2004-10-12 19:09:40 +00:00
Nick Mathewson
e4182e7b3b
Better bounds checking on parsed ints
...
svn:r2450
2004-10-12 19:01:53 +00:00
Nick Mathewson
50075c6c52
Add default directory servers
...
svn:r2449
2004-10-12 19:01:28 +00:00
Nick Mathewson
8c9cc221d6
Backport fix for remote-crash bug
...
svn:r2448
2004-10-12 18:39:32 +00:00
Nick Mathewson
7607423aaa
Add fix for remote-crash bug.
...
svn:r2447
2004-10-12 18:38:36 +00:00
Roger Dingledine
3b658d8af7
fix a signed/unsigned comparison
...
svn:r2446
2004-10-12 18:32:34 +00:00
Nick Mathewson
bcb53b771a
Oops, missed one
...
svn:r2445
2004-10-12 16:04:25 +00:00
Nick Mathewson
7861df1b8b
Note byte-order on result for parse_addr_port()
...
svn:r2444
2004-10-12 16:02:15 +00:00
Nick Mathewson
79dd0a62b9
Add an implementation of trusted_dir_server logic to switch towards simply remembering an addr/port/keyid for each trusted dir server
...
svn:r2443
2004-10-12 15:55:20 +00:00
Nick Mathewson
f939baaf78
Add long-term format for dir-signing-key fields (commented out)
...
svn:r2442
2004-10-12 15:52:57 +00:00
Nick Mathewson
48ea08e737
Use parse_addr_port() function instead of ad-hoc variants
...
svn:r2441
2004-10-12 15:52:09 +00:00
Nick Mathewson
54415aae93
Add functions to parse addr[:port] consistently
...
svn:r2440
2004-10-12 15:48:30 +00:00
Roger Dingledine
70759d8529
bugfix on my friday commit: make hidden services work again in cvs
...
svn:r2439
2004-10-12 06:03:10 +00:00
Roger Dingledine
3082705a4f
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
2004-10-11 22:19:12 +00:00
Roger Dingledine
519317f4a2
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
2004-10-11 21:55:19 +00:00
Roger Dingledine
9c2442f4b6
fix the stale pointer assert bug reported by joe magic
...
svn:r2436
2004-10-11 01:17:42 +00:00
Roger Dingledine
567f512167
when a begin cell has an invalid port, give us a better hint of
...
what went wrong
svn:r2435
2004-10-10 01:47:24 +00:00
Nick Mathewson
1cb6487a18
Add/clarify a few TODO items
...
svn:r2434
2004-10-08 15:09:06 +00:00
Roger Dingledine
8ddc376295
oops, actually pre3-cvs now
...
svn:r2433
2004-10-08 06:02:14 +00:00
Roger Dingledine
2611fdc5ea
bump us to 0.0.9pre3-cvs
...
svn:r2432
2004-10-08 06:02:01 +00:00
Roger Dingledine
ef64d26383
interim commit for http proxy support
...
svn:r2431
2004-10-08 05:53:59 +00:00
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