Commit Graph

2580 Commits

Author SHA1 Message Date
Nick Mathewson c0601214e6 Every 60 seconds, check whether the listeners are still alive, and relaunch the dead ones.
svn:r2581
2004-10-24 01:22:40 +00:00
Nick Mathewson 93bea6234d Fix typo in last windows patch
svn:r2580
2004-10-24 00:58:29 +00:00
Nick Mathewson 05122ef2b8 Handle more errnos from accept() without closing the connection. This may fix a bug that could close OR listeners when (a) TCP connections were hung up before accept() could be called, or (b) during FD exhaustion.
svn:r2579
2004-10-24 00:55:18 +00:00
Nick Mathewson 6b54ab2d6e Make windows fall back to CWD if SHGetSpecialFolderLocation is borked
svn:r2578
2004-10-24 00:52:10 +00:00
Roger Dingledine 5fd6e1e546 pay attention to the return value of do_hup, and exit
when it fails


svn:r2577
2004-10-23 17:06:25 +00:00
Roger Dingledine 56f220b1f6 ship src/win32/ in the tarball
svn:r2576
2004-10-21 00:49:17 +00:00
Nick Mathewson 8b0527b72d Check for low _MSC_VER, not high. On windows, always use winsock.
svn:r2575
2004-10-20 23:30:38 +00:00
Roger Dingledine 65fb5f42fa bump version to pre5-cvs
svn:r2574
2004-10-20 23:28:11 +00:00
Roger Dingledine 880cd56a23 add winsock if you've got it, regardless of whether you're msv
svn:r2573
2004-10-20 23:23:53 +00:00
Nick Mathewson 6f673c87d7 Use bitwise masking to turn off bits, not compare-and-subtract
svn:r2572
2004-10-20 23:15:49 +00:00
Roger Dingledine fe4c68fd60 bcc win32 compiler has no timeval tv_sec
svn:r2571
2004-10-20 23:12:37 +00:00
Nick Mathewson d7ca8c2857 Update TODO
svn:r2570
2004-10-20 18:40:04 +00:00
Roger Dingledine c9255caa9b point out two parts where the spec is wrong
svn:r2569
2004-10-20 18:39:05 +00:00
Nick Mathewson ad87a868d7 Remove routerinfo_t->is_trusted_dir, and all the twisted machinery used to
maintain it.

Have clients default to the nickname "client" in their certificates.

Give a less frightening warning on obsolete (pre-0.0.8) routerinfo_t's.


svn:r2568
2004-10-19 18:19:59 +00:00
Nick Mathewson ce30d810b2 Tolerate NULL nicknames better
svn:r2567
2004-10-19 18:17:12 +00:00
Nick Mathewson 9be8f58392 Add "pass" target for RedirectExit, to make it easier to break out of a sequence of rules
svn:r2566
2004-10-19 17:46:06 +00:00
Roger Dingledine f3fd859372 start the process of making 0.0.7* obsolete
svn:r2565
2004-10-17 21:51:20 +00:00
Roger Dingledine 14f0f76925 use connection_edge_is_rendezvous_stream() more
svn:r2564
2004-10-17 21:10:41 +00:00
Roger Dingledine e3cf7ea51f mark some items done, move some around, add a wishlist item
svn:r2563
2004-10-17 20:46:59 +00:00
Roger Dingledine ff00d3986c whoops, resolve cells were probably broken
svn:r2562
2004-10-17 20:31:19 +00:00
(no author) 7c18431747 This commit was manufactured by cvs2svn to create tag
'debian_version_0_0_8+0_0_9pre4-1'.

svn:r2561
2004-10-17 18:36:36 +00:00
Peter Palfrader 05193280fe New upstream (pre)release.
Apply patch from cvs to fix a segfault in src/or/test (test.c, 1.131).


svn:r2560
2004-10-17 18:36:36 +00:00
Nick Mathewson 16c09efdaf Fix segfault in unit tests. (Main program is unaffected)
svn:r2559
2004-10-17 15:45:54 +00:00
(no author) c83b0fdbc8 This commit was manufactured by cvs2svn to create tag
'tor-0_0_9pre4'.

svn:r2558
2004-10-17 05:32:10 +00:00
Roger Dingledine 9f714b8471 bump version to 0.0.9pre4
svn:r2557
2004-10-17 05:32:10 +00:00
Roger Dingledine b5f08487d3 commit a changelog for pre4
svn:r2556
2004-10-17 05:15:46 +00:00
Roger Dingledine 7d0ea0b636 fix a seg fault with exitredirect
svn:r2555
2004-10-17 04:44:02 +00:00
Roger Dingledine cbd243581b ..and reflect that in the todo
svn:r2554
2004-10-17 04:07:23 +00:00
Roger Dingledine 2bd08d6099 switch conn->addr and conn->dir_port to reflect the final destination,
not the http proxy


svn:r2553
2004-10-17 04:06:48 +00:00
Nick Mathewson bda1738eb2 Unify windows special-dir handling
svn:r2552
2004-10-17 03:38:02 +00:00
Nick Mathewson 3bb2f47cc6 Document new options
svn:r2551
2004-10-17 03:33:51 +00:00
Nick Mathewson 06836b6fa8 Implement RedirectExit.
svn:r2550
2004-10-17 01:57:34 +00:00
Roger Dingledine 5f35e0f66c fix comment that makes no sense
svn:r2549
2004-10-16 23:18:58 +00:00
Roger Dingledine 748789190e various tweaks and fixes
svn:r2548
2004-10-16 22:56:46 +00:00
Roger Dingledine f46bb185b5 i take back everything i've said about unit tests
svn:r2547
2004-10-16 22:56:03 +00:00
Nick Mathewson 7c2f2fd125 Code to parse (but not yet actually use) RedirectExit lines
svn:r2546
2004-10-16 22:37:08 +00:00
Roger Dingledine 0a28e8180c don't assert multiple things in the same tor_assert()
svn:r2545
2004-10-16 22:28:11 +00:00
Roger Dingledine 14e79fd122 don't assert multiple things in the same tor_assert()
svn:r2544
2004-10-16 22:14:52 +00:00
Nick Mathewson 0273f58629 Fix unit tests, make it compile
svn:r2543
2004-10-16 21:57:24 +00:00
Nick Mathewson 2c84159748 Change interface of parse_addr_port() to return address in host order, since most users seem to want that.
svn:r2542
2004-10-16 21:53:30 +00:00
Nick Mathewson 1fa8c07850 Make unit tests pass; refactor most of exit policy parfsing out into new function
svn:r2541
2004-10-16 21:42:09 +00:00
Nick Mathewson e9431e03e1 Refactor parse-addr-mask-and-port-range into a separate function
svn:r2540
2004-10-16 21:41:12 +00:00
Nick Mathewson c6004b2b0e Note NULL/memset status in TODO
svn:r2539
2004-10-16 20:41:50 +00:00
Nick Mathewson f3f49aaad1 fix memory leak in router.c; start relying on NULL==(zero bytes)
svn:r2538
2004-10-16 20:38:57 +00:00
Nick Mathewson 11ba9a6f23 Paranoid bulletproofing for exit code
svn:r2537
2004-10-16 20:37:54 +00:00
Nick Mathewson 0a02d05c16 Add an autoconf test to make sure that memset(&ptr, 0, sizeof(ptr)) and ptr=NULL are equivalent
svn:r2536
2004-10-16 20:26:12 +00:00
Nick Mathewson 3e953640bf Fix memory leak
svn:r2535
2004-10-16 08:39:56 +00:00
Nick Mathewson 0661e1dea9 Implement user-declared node families.
svn:r2534
2004-10-15 20:52:09 +00:00
Nick Mathewson cc32a4e1ef Remove unused locals
svn:r2533
2004-10-15 20:50:43 +00:00
Nick Mathewson ae7b62912c Oops; make sure that break; and continue; work within SMARTLIST_FOREACH
svn:r2532
2004-10-15 20:49:31 +00:00