]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Sat, 16 Oct 2004 22:37:08 +0000 (22:37 +0000)]
Code to parse (but not yet actually use) RedirectExit lines
svn:r2546
Roger Dingledine [Sat, 16 Oct 2004 22:28:11 +0000 (22:28 +0000)]
don't assert multiple things in the same tor_assert()
svn:r2545
Roger Dingledine [Sat, 16 Oct 2004 22:14:52 +0000 (22:14 +0000)]
don't assert multiple things in the same tor_assert()
svn:r2544
Nick Mathewson [Sat, 16 Oct 2004 21:57:24 +0000 (21:57 +0000)]
Fix unit tests, make it compile
svn:r2543
Nick Mathewson [Sat, 16 Oct 2004 21:53:30 +0000 (21:53 +0000)]
Change interface of parse_addr_port() to return address in host order, since most users seem to want that.
svn:r2542
Nick Mathewson [Sat, 16 Oct 2004 21:42:09 +0000 (21:42 +0000)]
Make unit tests pass; refactor most of exit policy parfsing out into new function
svn:r2541
Nick Mathewson [Sat, 16 Oct 2004 21:41:12 +0000 (21:41 +0000)]
Refactor parse-addr-mask-and-port-range into a separate function
svn:r2540
Nick Mathewson [Sat, 16 Oct 2004 20:41:50 +0000 (20:41 +0000)]
Note NULL/memset status in TODO
svn:r2539
Nick Mathewson [Sat, 16 Oct 2004 20:38:57 +0000 (20:38 +0000)]
fix memory leak in router.c; start relying on NULL==(zero bytes)
svn:r2538
Nick Mathewson [Sat, 16 Oct 2004 20:37:54 +0000 (20:37 +0000)]
Paranoid bulletproofing for exit code
svn:r2537
Nick Mathewson [Sat, 16 Oct 2004 20:26:12 +0000 (20:26 +0000)]
Add an autoconf test to make sure that memset(&ptr, 0, sizeof(ptr)) and ptr=NULL are equivalent
svn:r2536
Nick Mathewson [Sat, 16 Oct 2004 08:39:56 +0000 (08:39 +0000)]
Fix memory leak
svn:r2535
Nick Mathewson [Fri, 15 Oct 2004 20:52:09 +0000 (20:52 +0000)]
Implement user-declared node families.
svn:r2534
Nick Mathewson [Fri, 15 Oct 2004 20:50:43 +0000 (20:50 +0000)]
Remove unused locals
svn:r2533
Nick Mathewson [Fri, 15 Oct 2004 20:49:31 +0000 (20:49 +0000)]
Oops; make sure that break; and continue; work within SMARTLIST_FOREACH
svn:r2532
Nick Mathewson [Fri, 15 Oct 2004 19:18:08 +0000 (19:18 +0000)]
Use the real default exit policy, not reject *:*
svn:r2531
Nick Mathewson [Fri, 15 Oct 2004 19:17:36 +0000 (19:17 +0000)]
Add a comment
svn:r2530
Nick Mathewson [Fri, 15 Oct 2004 19:04:38 +0000 (19:04 +0000)]
Upload to trusted dir servers based on DirServer config options, not on routerinfos.
svn:r2529
Nick Mathewson [Fri, 15 Oct 2004 05:09:48 +0000 (05:09 +0000)]
Make RecommendedVersions a CONFIG_TYPE_LINELIST option, and have it tolerate whitespace a little better.
svn:r2528
Nick Mathewson [Fri, 15 Oct 2004 04:57:36 +0000 (04:57 +0000)]
Ignore fascistfirewall when dealing with service descriptors; obey fascistfirewall when posting server descriptors; ignore fascistfirewall on directory connections when httpproxy is set.
svn:r2527
Nick Mathewson [Fri, 15 Oct 2004 04:45:47 +0000 (04:45 +0000)]
Use token-pasting magic to make nested SMARTLIST_FOREACH work.
svn:r2526
Nick Mathewson [Fri, 15 Oct 2004 03:55:53 +0000 (03:55 +0000)]
Fix search-and-replace in comments: Friends->family does not imply friendship->familyhip.
svn:r2525
Nick Mathewson [Fri, 15 Oct 2004 03:55:02 +0000 (03:55 +0000)]
add documentation for smartlist_join_strings
svn:r2524
Nick Mathewson [Fri, 15 Oct 2004 01:58:11 +0000 (01:58 +0000)]
Implement "families" of coadministered nodes; prevent them all from appearing on the same circuit.
svn:r2523
Nick Mathewson [Thu, 14 Oct 2004 20:09:31 +0000 (20:09 +0000)]
Add TODO items from meeting
svn:r2522
Nick Mathewson [Thu, 14 Oct 2004 19:51:47 +0000 (19:51 +0000)]
Basic string-join functionality
svn:r2521
Nick Mathewson [Thu, 14 Oct 2004 15:42:13 +0000 (15:42 +0000)]
Update windows ver to 009pre3
svn:r2519
Nick Mathewson [Thu, 14 Oct 2004 15:41:41 +0000 (15:41 +0000)]
fix warning on win32
svn:r2518
Peter Palfrader [Thu, 14 Oct 2004 12:03:08 +0000 (12:03 +0000)]
changelog for 0.0.8+0.0.9pre3-1
svn:r2516
Roger Dingledine [Thu, 14 Oct 2004 10:53:00 +0000 (10:53 +0000)]
bump to 0.0.9pre4-cvs
svn:r2515
Roger Dingledine [Thu, 14 Oct 2004 10:27:26 +0000 (10:27 +0000)]
more useful changelog for pre3
svn:r2513
Roger Dingledine [Thu, 14 Oct 2004 10:21:04 +0000 (10:21 +0000)]
a todo item we ought to do, but it's not going to get into pre3
svn:r2512
Roger Dingledine [Thu, 14 Oct 2004 10:05:22 +0000 (10:05 +0000)]
advertise moria2's dirport as 18.244.0.114:80
svn:r2511
Roger Dingledine [Thu, 14 Oct 2004 09:40:57 +0000 (09:40 +0000)]
note the read() bugfix in the changelog
svn:r2510
Roger Dingledine [Thu, 14 Oct 2004 09:28:31 +0000 (09:28 +0000)]
bugfix on a really old bug:
if read() fails on a stream, send back an end cell before you
close it down.
svn:r2509
Roger Dingledine [Thu, 14 Oct 2004 08:45:07 +0000 (08:45 +0000)]
bugfix: parse_addr_port() bites us again -- it returns addr in network order.
svn:r2508
Roger Dingledine [Thu, 14 Oct 2004 06:59:12 +0000 (06:59 +0000)]
bump version to 0.0.9pre3
svn:r2507
Roger Dingledine [Thu, 14 Oct 2004 06:56:52 +0000 (06:56 +0000)]
add a wishlist item from weasel
svn:r2506
Roger Dingledine [Thu, 14 Oct 2004 06:50:57 +0000 (06:50 +0000)]
update changelog re: weasel's warn
svn:r2505
Roger Dingledine [Thu, 14 Oct 2004 06:44:47 +0000 (06:44 +0000)]
update cvs changelog with 0.0.8.1 entry
svn:r2501
Peter Palfrader [Thu, 14 Oct 2004 06:35:05 +0000 (06:35 +0000)]
Commit changelog for 0.0.8+0.0.9pre2-1
svn:r2498
Roger Dingledine [Thu, 14 Oct 2004 05:45:32 +0000 (05:45 +0000)]
push back todo items, remove a few that we've done
svn:r2497
Roger Dingledine [Thu, 14 Oct 2004 05:31:03 +0000 (05:31 +0000)]
changelog for 0.0.9pre3 and 0.0.8.1
svn:r2496
Roger Dingledine [Thu, 14 Oct 2004 04:50:33 +0000 (04:50 +0000)]
better warn message for the Content-Length attack
svn:r2495
Nick Mathewson [Thu, 14 Oct 2004 04:31:40 +0000 (04:31 +0000)]
Improve warnings for old-style directories.
svn:r2494
Nick Mathewson [Thu, 14 Oct 2004 04:31:16 +0000 (04:31 +0000)]
fix tab/space in torgzip.h
svn:r2493
Nick Mathewson [Thu, 14 Oct 2004 04:24:42 +0000 (04:24 +0000)]
fix tab/space in torgzip.c
svn:r2492
Nick Mathewson [Thu, 14 Oct 2004 04:06:24 +0000 (04:06 +0000)]
Compile without warnings on windows
svn:r2491
Nick Mathewson [Thu, 14 Oct 2004 03:44:45 +0000 (03:44 +0000)]
Try to always dtrt if routerlist==NULL
svn:r2489
Roger Dingledine [Thu, 14 Oct 2004 03:31:40 +0000 (03:31 +0000)]
rename addr to address to we avoid this bug later
svn:r2488
Nick Mathewson [Thu, 14 Oct 2004 03:18:14 +0000 (03:18 +0000)]
Build without warnings on mac gcc 3.3
svn:r2487
Roger Dingledine [Thu, 14 Oct 2004 03:13:08 +0000 (03:13 +0000)]
make it build on amd64
svn:r2486
Roger Dingledine [Thu, 14 Oct 2004 03:01:43 +0000 (03:01 +0000)]
reformat comment and fix typo
svn:r2485
Roger Dingledine [Thu, 14 Oct 2004 02:49:48 +0000 (02:49 +0000)]
and another one
svn:r2484
Roger Dingledine [Thu, 14 Oct 2004 02:48:57 +0000 (02:48 +0000)]
oh, and some more in common/
svn:r2483
Roger Dingledine [Thu, 14 Oct 2004 02:47:09 +0000 (02:47 +0000)]
more int to size_t conversions, fixing one or more amd64 bugs
plus a whitespace patch on config.c from vicman
svn:r2482
Nick Mathewson [Thu, 14 Oct 2004 02:29:03 +0000 (02:29 +0000)]
Add missing line; add similar check
svn:r2481
Nick Mathewson [Thu, 14 Oct 2004 02:04:43 +0000 (02:04 +0000)]
Patch from "J Doe": Use SHGetSpecialFolderLocation instead of
SHGetSpecialFolderPath in order to find application data folder.
Apparently, until IE 4 (!?) came out, nobody realized that programmers
might like to get paths as strings. Clearly, a fancy pseudo-OO list
of "identifiers" is a far more convenient way to deal with these
things. And while we're being OO, why return object that you can free
with free()? Instead, let's make the user get a handle to an abstract
allocation object, and ask it to free the fancy list, and then ask it
to release itself. Won't that be fun and convenient?
Navigating ancient Win32 APIs is like bikini-waxing creatures from HP
Lovecraft: to do a good job you must understand what's going on... but
the understanding itself can blast your sanity.
svn:r2480
Nick Mathewson [Thu, 14 Oct 2004 01:44:32 +0000 (01:44 +0000)]
Remove need for dirservers file: now, we note trusted dirservers in configuration options, and only need to remember addr:port and key digest for each one.
svn:r2479
Nick Mathewson [Wed, 13 Oct 2004 20:28:46 +0000 (20:28 +0000)]
Fix comment in dirserv.c
svn:r2470
Roger Dingledine [Wed, 13 Oct 2004 20:17:45 +0000 (20:17 +0000)]
stop trying to print a NULL
plus make router_nickname_is_approved() more obviously unused
svn:r2469
Nick Mathewson [Wed, 13 Oct 2004 20:05:57 +0000 (20:05 +0000)]
Unify tests for "did I originate this nonopen OR connection?"
svn:r2468
Nick Mathewson [Wed, 13 Oct 2004 19:56:42 +0000 (19:56 +0000)]
Add default trusted-dir-server entries only when no dirserver lines are given in the config file
svn:r2467
Nick Mathewson [Wed, 13 Oct 2004 19:55:40 +0000 (19:55 +0000)]
fix typo
svn:r2466
Nick Mathewson [Wed, 13 Oct 2004 19:53:34 +0000 (19:53 +0000)]
fix warning about always-false comparison; detect too-large realport better
svn:r2465
Nick Mathewson [Wed, 13 Oct 2004 19:42:36 +0000 (19:42 +0000)]
answer question about rep_hist_note_connect_failed
svn:r2464
Nick Mathewson [Wed, 13 Oct 2004 19:17:27 +0000 (19:17 +0000)]
hex-to-hex compare makes more sense than hex-to-bin.
svn:r2463
Nick Mathewson [Wed, 13 Oct 2004 18:28:39 +0000 (18:28 +0000)]
Make directories get generated properly again; debug key lookup. Also, it is hard to find entries in a table when you never put them there.
svn:r2462
Roger Dingledine [Wed, 13 Oct 2004 05:54:58 +0000 (05:54 +0000)]
a few more ints to size_ts
svn:r2461
Roger Dingledine [Wed, 13 Oct 2004 04:44:37 +0000 (04:44 +0000)]
fix const char * vs char * issue
plus unshadow some variables
svn:r2460
Nick Mathewson [Wed, 13 Oct 2004 01:25:42 +0000 (01:25 +0000)]
Omit any exit rules that follow a catch-all rule when writing a router descriptor.
svn:r2459
Nick Mathewson [Wed, 13 Oct 2004 01:13:37 +0000 (01:13 +0000)]
Check fingerprint list before generating running-routers lists; also add as-yet-uncalled function to update an OR connection nickname on the fly
svn:r2458
Roger Dingledine [Tue, 12 Oct 2004 20:28:53 +0000 (20:28 +0000)]
ok, vim isn't the greatest editor in the world
svn:r2457
Roger Dingledine [Tue, 12 Oct 2004 20:22:09 +0000 (20:22 +0000)]
parse HttpProxy address in config
fix a potential confusion in fetch_from_buf_http()
make all our int config options non-negative
better bounds checking on options that are ports
svn:r2456
Roger Dingledine [Tue, 12 Oct 2004 20:20:19 +0000 (20:20 +0000)]
start the great migration from int to size_t
and clean some deadweight from util.h
svn:r2455
Nick Mathewson [Tue, 12 Oct 2004 20:17:45 +0000 (20:17 +0000)]
Appease overzealous gcc
svn:r2454
Nick Mathewson [Tue, 12 Oct 2004 19:33:03 +0000 (19:33 +0000)]
Use tor_parse_long in more places
svn:r2453
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