]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
21 years agoCode to parse (but not yet actually use) RedirectExit lines
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

21 years agodon't assert multiple things in the same tor_assert()
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

21 years agodon't assert multiple things in the same tor_assert()
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

21 years agoFix unit tests, make it compile
Nick Mathewson [Sat, 16 Oct 2004 21:57:24 +0000 (21:57 +0000)] 
Fix unit tests, make it compile

svn:r2543

21 years agoChange interface of parse_addr_port() to return address in host order, since most...
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

21 years agoMake unit tests pass; refactor most of exit policy parfsing out into new function
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

21 years agoRefactor parse-addr-mask-and-port-range into a separate function
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

21 years agoNote NULL/memset status in TODO
Nick Mathewson [Sat, 16 Oct 2004 20:41:50 +0000 (20:41 +0000)] 
Note NULL/memset status in TODO

svn:r2539

21 years agofix memory leak in router.c; start relying on NULL==(zero bytes)
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

21 years agoParanoid bulletproofing for exit code
Nick Mathewson [Sat, 16 Oct 2004 20:37:54 +0000 (20:37 +0000)] 
Paranoid bulletproofing for exit code

svn:r2537

21 years agoAdd an autoconf test to make sure that memset(&ptr, 0, sizeof(ptr)) and ptr=NULL...
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

21 years agoFix memory leak
Nick Mathewson [Sat, 16 Oct 2004 08:39:56 +0000 (08:39 +0000)] 
Fix memory leak

svn:r2535

21 years agoImplement user-declared node families.
Nick Mathewson [Fri, 15 Oct 2004 20:52:09 +0000 (20:52 +0000)] 
Implement user-declared node families.

svn:r2534

21 years agoRemove unused locals
Nick Mathewson [Fri, 15 Oct 2004 20:50:43 +0000 (20:50 +0000)] 
Remove unused locals

svn:r2533

21 years agoOops; make sure that break; and continue; work within SMARTLIST_FOREACH
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

21 years agoUse the real default exit policy, not reject *:*
Nick Mathewson [Fri, 15 Oct 2004 19:18:08 +0000 (19:18 +0000)] 
Use the real default exit policy, not reject *:*

svn:r2531

21 years agoAdd a comment
Nick Mathewson [Fri, 15 Oct 2004 19:17:36 +0000 (19:17 +0000)] 
Add a comment

svn:r2530

21 years agoUpload to trusted dir servers based on DirServer config options, not on routerinfos.
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

21 years agoMake RecommendedVersions a CONFIG_TYPE_LINELIST option, and have it tolerate whitespa...
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

21 years agoIgnore fascistfirewall when dealing with service descriptors; obey fascistfirewall...
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

21 years agoUse token-pasting magic to make nested SMARTLIST_FOREACH work.
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

21 years agoFix search-and-replace in comments: Friends->family does not imply friendship->familyhip.
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

21 years agoadd documentation for smartlist_join_strings
Nick Mathewson [Fri, 15 Oct 2004 03:55:02 +0000 (03:55 +0000)] 
add documentation for smartlist_join_strings

svn:r2524

21 years agoImplement "families" of coadministered nodes; prevent them all from appearing on...
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

21 years agoAdd TODO items from meeting
Nick Mathewson [Thu, 14 Oct 2004 20:09:31 +0000 (20:09 +0000)] 
Add TODO items from meeting

svn:r2522

21 years agoBasic string-join functionality
Nick Mathewson [Thu, 14 Oct 2004 19:51:47 +0000 (19:51 +0000)] 
Basic string-join functionality

svn:r2521

21 years agoUpdate windows ver to 009pre3
Nick Mathewson [Thu, 14 Oct 2004 15:42:13 +0000 (15:42 +0000)] 
Update windows ver to 009pre3

svn:r2519

21 years agofix warning on win32
Nick Mathewson [Thu, 14 Oct 2004 15:41:41 +0000 (15:41 +0000)] 
fix warning on win32

svn:r2518

21 years agochangelog for 0.0.8+0.0.9pre3-1 debian-version-0.0.8+0.0.9pre3-1
Peter Palfrader [Thu, 14 Oct 2004 12:03:08 +0000 (12:03 +0000)] 
changelog for 0.0.8+0.0.9pre3-1

svn:r2516

21 years agobump to 0.0.9pre4-cvs
Roger Dingledine [Thu, 14 Oct 2004 10:53:00 +0000 (10:53 +0000)] 
bump to 0.0.9pre4-cvs

svn:r2515

21 years agomore useful changelog for pre3 tor-0.0.9pre3
Roger Dingledine [Thu, 14 Oct 2004 10:27:26 +0000 (10:27 +0000)] 
more useful changelog for pre3

svn:r2513

21 years agoa todo item we ought to do, but it's not going to get into pre3
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

21 years agoadvertise moria2's dirport as 18.244.0.114:80
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

21 years agonote the read() bugfix in the changelog
Roger Dingledine [Thu, 14 Oct 2004 09:40:57 +0000 (09:40 +0000)] 
note the read() bugfix in the changelog

svn:r2510

21 years agobugfix on a really old bug:
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

21 years agobugfix: parse_addr_port() bites us again -- it returns addr in network order.
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

21 years agobump version to 0.0.9pre3
Roger Dingledine [Thu, 14 Oct 2004 06:59:12 +0000 (06:59 +0000)] 
bump version to 0.0.9pre3

svn:r2507

21 years agoadd a wishlist item from weasel
Roger Dingledine [Thu, 14 Oct 2004 06:56:52 +0000 (06:56 +0000)] 
add a wishlist item from weasel

svn:r2506

21 years agoupdate changelog re: weasel's warn
Roger Dingledine [Thu, 14 Oct 2004 06:50:57 +0000 (06:50 +0000)] 
update changelog re: weasel's warn

svn:r2505

21 years agoupdate cvs changelog with 0.0.8.1 entry
Roger Dingledine [Thu, 14 Oct 2004 06:44:47 +0000 (06:44 +0000)] 
update cvs changelog with 0.0.8.1 entry

svn:r2501

21 years agoCommit changelog for 0.0.8+0.0.9pre2-1 debian-version-0.0.8+0.0.9pre2-1
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

21 years agopush back todo items, remove a few that we've done
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

21 years agochangelog for 0.0.9pre3 and 0.0.8.1
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

21 years agobetter warn message for the Content-Length attack
Roger Dingledine [Thu, 14 Oct 2004 04:50:33 +0000 (04:50 +0000)] 
better warn message for the Content-Length attack

svn:r2495

21 years agoImprove warnings for old-style directories.
Nick Mathewson [Thu, 14 Oct 2004 04:31:40 +0000 (04:31 +0000)] 
Improve warnings for old-style directories.

svn:r2494

21 years agofix tab/space in torgzip.h
Nick Mathewson [Thu, 14 Oct 2004 04:31:16 +0000 (04:31 +0000)] 
fix tab/space in torgzip.h

svn:r2493

21 years agofix tab/space in torgzip.c
Nick Mathewson [Thu, 14 Oct 2004 04:24:42 +0000 (04:24 +0000)] 
fix tab/space in torgzip.c

svn:r2492

21 years agoCompile without warnings on windows
Nick Mathewson [Thu, 14 Oct 2004 04:06:24 +0000 (04:06 +0000)] 
Compile without warnings on windows

svn:r2491

21 years agoTry to always dtrt if routerlist==NULL
Nick Mathewson [Thu, 14 Oct 2004 03:44:45 +0000 (03:44 +0000)] 
Try to always dtrt if routerlist==NULL

svn:r2489

21 years agorename addr to address to we avoid this bug later
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

21 years agoBuild without warnings on mac gcc 3.3
Nick Mathewson [Thu, 14 Oct 2004 03:18:14 +0000 (03:18 +0000)] 
Build without warnings on mac gcc 3.3

svn:r2487

21 years agomake it build on amd64
Roger Dingledine [Thu, 14 Oct 2004 03:13:08 +0000 (03:13 +0000)] 
make it build on amd64

svn:r2486

21 years agoreformat comment and fix typo
Roger Dingledine [Thu, 14 Oct 2004 03:01:43 +0000 (03:01 +0000)] 
reformat comment and fix typo

svn:r2485

21 years agoand another one
Roger Dingledine [Thu, 14 Oct 2004 02:49:48 +0000 (02:49 +0000)] 
and another one

svn:r2484

21 years agooh, and some more in common/
Roger Dingledine [Thu, 14 Oct 2004 02:48:57 +0000 (02:48 +0000)] 
oh, and some more in common/

svn:r2483

21 years agomore int to size_t conversions, fixing one or more amd64 bugs
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

21 years agoAdd missing line; add similar check
Nick Mathewson [Thu, 14 Oct 2004 02:29:03 +0000 (02:29 +0000)] 
Add missing line; add similar check

svn:r2481

21 years agoPatch from "J Doe": Use SHGetSpecialFolderLocation instead of
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

21 years agoRemove need for dirservers file: now, we note trusted dirservers in configuration...
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

21 years agoFix comment in dirserv.c
Nick Mathewson [Wed, 13 Oct 2004 20:28:46 +0000 (20:28 +0000)] 
Fix comment in dirserv.c

svn:r2470

21 years agostop trying to print a NULL
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

21 years agoUnify tests for "did I originate this nonopen OR connection?"
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

21 years agoAdd default trusted-dir-server entries only when no dirserver lines are given in...
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

21 years agofix typo
Nick Mathewson [Wed, 13 Oct 2004 19:55:40 +0000 (19:55 +0000)] 
fix typo

svn:r2466

21 years agofix warning about always-false comparison; detect too-large realport better
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

21 years agoanswer question about rep_hist_note_connect_failed
Nick Mathewson [Wed, 13 Oct 2004 19:42:36 +0000 (19:42 +0000)] 
answer question about rep_hist_note_connect_failed

svn:r2464

21 years agohex-to-hex compare makes more sense than hex-to-bin.
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

21 years agoMake directories get generated properly again; debug key lookup. Also, it is hard...
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

21 years agoa few more ints to size_ts
Roger Dingledine [Wed, 13 Oct 2004 05:54:58 +0000 (05:54 +0000)] 
a few more ints to size_ts

svn:r2461

21 years agofix const char * vs char * issue
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

21 years agoOmit any exit rules that follow a catch-all rule when writing a router descriptor.
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

21 years agoCheck fingerprint list before generating running-routers lists; also add as-yet-uncal...
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

21 years agook, vim isn't the greatest editor in the world
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

21 years agoparse HttpProxy address in config
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

21 years agostart the great migration from int to size_t
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

21 years agoAppease overzealous gcc
Nick Mathewson [Tue, 12 Oct 2004 20:17:45 +0000 (20:17 +0000)] 
Appease overzealous gcc

svn:r2454

21 years agoUse tor_parse_long in more places
Nick Mathewson [Tue, 12 Oct 2004 19:33:03 +0000 (19:33 +0000)] 
Use tor_parse_long in more places

svn:r2453

21 years agoMake a bounds-checking replacement for strtol with slightly easier error-checking...
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

21 years agofix signed/unsigned comparison, plus typo
Roger Dingledine [Tue, 12 Oct 2004 19:09:40 +0000 (19:09 +0000)] 
fix signed/unsigned comparison, plus typo

svn:r2451

21 years agoBetter bounds checking on parsed ints
Nick Mathewson [Tue, 12 Oct 2004 19:01:53 +0000 (19:01 +0000)] 
Better bounds checking on parsed ints

svn:r2450

21 years agoAdd default directory servers
Nick Mathewson [Tue, 12 Oct 2004 19:01:28 +0000 (19:01 +0000)] 
Add default directory servers

svn:r2449

21 years agoAdd fix for remote-crash bug.
Nick Mathewson [Tue, 12 Oct 2004 18:38:36 +0000 (18:38 +0000)] 
Add fix for remote-crash bug.

svn:r2447

21 years agofix a signed/unsigned comparison
Roger Dingledine [Tue, 12 Oct 2004 18:32:34 +0000 (18:32 +0000)] 
fix a signed/unsigned comparison

svn:r2446

21 years agoOops, missed one
Nick Mathewson [Tue, 12 Oct 2004 16:04:25 +0000 (16:04 +0000)] 
Oops, missed one

svn:r2445

21 years agoNote byte-order on result for parse_addr_port()
Nick Mathewson [Tue, 12 Oct 2004 16:02:15 +0000 (16:02 +0000)] 
Note byte-order on result for parse_addr_port()

svn:r2444

21 years agoAdd an implementation of trusted_dir_server logic to switch towards simply rememberin...
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

21 years agoAdd long-term format for dir-signing-key fields (commented out)
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

21 years agoUse parse_addr_port() function instead of ad-hoc variants
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

21 years agoAdd functions to parse addr[:port] consistently
Nick Mathewson [Tue, 12 Oct 2004 15:48:30 +0000 (15:48 +0000)] 
Add functions to parse addr[:port] consistently

svn:r2440

21 years agobugfix on my friday commit: make hidden services work again in cvs
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

21 years agofix paul gardner's assert bug.
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

21 years agoFix a potential buffer overflow found by Ilja van Sprundel.
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

21 years agofix the stale pointer assert bug reported by joe magic
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

21 years agowhen a begin cell has an invalid port, give us a better hint of
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

21 years agoAdd/clarify a few TODO items
Nick Mathewson [Fri, 8 Oct 2004 15:09:06 +0000 (15:09 +0000)] 
Add/clarify a few TODO items

svn:r2434

21 years agooops, actually pre3-cvs now
Roger Dingledine [Fri, 8 Oct 2004 06:02:14 +0000 (06:02 +0000)] 
oops, actually pre3-cvs now

svn:r2433

21 years agobump us to 0.0.9pre3-cvs
Roger Dingledine [Fri, 8 Oct 2004 06:02:01 +0000 (06:02 +0000)] 
bump us to 0.0.9pre3-cvs

svn:r2432

21 years agointerim commit for http proxy support
Roger Dingledine [Fri, 8 Oct 2004 05:53:59 +0000 (05:53 +0000)] 
interim commit for http proxy support

svn:r2431

21 years agofix compile error: move variable declarations before code
Roger Dingledine [Fri, 8 Oct 2004 05:43:28 +0000 (05:43 +0000)] 
fix compile error: move variable declarations before code

svn:r2430

21 years agoTurn tor_strpartion into a swiss-army-knife function, so it can terminate or not...
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