Commit Graph

3616 Commits

Author SHA1 Message Date
Nick Mathewson
a035032f09 Use getaddrinfo and gethostbyname_r where available. Note that these are not necessarily threadsafe: this needs more thinking. Perhaps we should back down on this multithreading idea.
svn:r3522
2005-02-03 21:31:04 +00:00
Roger Dingledine
4174bf9cbd resolve references
svn:r3521
2005-02-03 21:28:03 +00:00
Roger Dingledine
7740a687ad pdf versions of the graphics
svn:r3520
2005-02-03 21:19:56 +00:00
Roger Dingledine
a94fef2e67 an abstract, that needs more work
svn:r3519
2005-02-03 20:53:06 +00:00
Roger Dingledine
82522ac5c8 add a hidden-services section
svn:r3518
2005-02-03 20:07:38 +00:00
Nick Mathewson
e4b21c97f7 Forward-port SGI Compatibility patches from Jan Schaumann
svn:r3517
2005-02-03 19:59:10 +00:00
Nick Mathewson
cd39e4fc62 write remaining sections; edit some.
svn:r3515
2005-02-03 19:06:09 +00:00
Peter Palfrader
59e89e2b89 Fix typo
svn:r3514
2005-02-03 11:27:56 +00:00
Peter Palfrader
7f51007678 Add a snippet to disable epoll in etc/default/tor, commented out.
svn:r3513
2005-02-03 11:20:56 +00:00
Roger Dingledine
051cda803e point out a potential thread/process leak problem when we're out of memory
svn:r3512
2005-02-03 07:35:24 +00:00
Roger Dingledine
bcece3d8a7 another minor fix
svn:r3511
2005-02-03 07:30:00 +00:00
Peter Palfrader
378172ff77 Also check for dmalloc.h
svn:r3510
2005-02-03 07:29:52 +00:00
Roger Dingledine
1145da1e8a fix typo
svn:r3509
2005-02-03 07:26:12 +00:00
Peter Palfrader
ddd724ef94 Add --with-dmalloc configure option
svn:r3508
2005-02-03 07:25:10 +00:00
Peter Palfrader
dfa3a0220f Write a function header for Roger so he can fill it with life
svn:r3507
2005-02-03 07:23:48 +00:00
Roger Dingledine
f3b74a2adb http://www.erlenstar.demon.co.uk/unix/faq_2.html says we
should call _exit, not exit, from child processes.


svn:r3506
2005-02-03 06:40:06 +00:00
Roger Dingledine
0dc14b3b7d finish the 'other policy' section
svn:r3505
2005-02-03 06:37:42 +00:00
Peter Palfrader
0133411df9 Use SIGINT to shutdown tor
svn:r3504
2005-02-02 06:49:07 +00:00
Roger Dingledine
f575d29a59 note a bug that wmf just found
svn:r3503
2005-02-02 06:28:45 +00:00
Roger Dingledine
c1656f41b4 bugfix: tor-resolve requests were ignoring .exit if there was
a working circuit they could use instead.


svn:r3502
2005-02-02 06:26:52 +00:00
Peter Palfrader
cbb1b33fb5 Set ulimit for file descriptors to 4096 in our init script
svn:r3501
2005-02-02 06:20:38 +00:00
Roger Dingledine
0551e3a814 reject more default filesharing ports by default.
svn:r3500
2005-02-02 04:15:40 +00:00
Roger Dingledine
976bee4a3f only check if exit_policy_implicitly_allows if you're a server.
also, put a comment next to an interesting undocumented 'feature'.


svn:r3499
2005-02-02 01:59:16 +00:00
Roger Dingledine
0f5a198028 sometimes, a conn on the closeable_lst gets absolutely
clobbered. maybe this will help me find out why.


svn:r3498
2005-02-02 00:19:09 +00:00
Nick Mathewson
b2e34616d3 Write a few subsections
svn:r3497
2005-02-01 23:57:07 +00:00
Nick Mathewson
1790dc6760 Check for libpthread
svn:r3496
2005-02-01 23:29:15 +00:00
Paul Syverson
3805f67e8f Various changes. Some more references. Section on enclaves and path length.
svn:r3495
2005-02-01 22:48:10 +00:00
Roger Dingledine
850c300e46 bump the default rate limit to 1 MB
svn:r3494
2005-02-01 13:44:10 +00:00
Roger Dingledine
b90983e44f reject odd-looking addresses at the client, rather than having
the server drop them because they're malformed.


svn:r3493
2005-02-01 12:19:44 +00:00
Roger Dingledine
d9ec1a6fe9 minor cleanups throughout
svn:r3492
2005-02-01 11:39:54 +00:00
Roger Dingledine
5675ae0407 throw down the gauntlet.
svn:r3491
2005-02-01 10:31:14 +00:00
Roger Dingledine
44f6300c8c fix typo in design paper
svn:r3490
2005-02-01 09:48:49 +00:00
Roger Dingledine
1447145470 give a bit more load to servers that claim to be able to
handle a whole lot.


svn:r3489
2005-02-01 02:56:31 +00:00
Roger Dingledine
1e847aebb1 Go into soft hibernation after 95% of the bandwidth is used,
not 99%. This is especially important for daily hibernators who
have a small accounting max. Hopefully it will result in fewer
cut connections when the hard hibernation starts.


svn:r3488
2005-02-01 02:45:28 +00:00
Roger Dingledine
2e97593d25 define TOR_FRAGILE if you want tor to give you a core when
something goes wrong. this should only be used by people actively
tracking bugs.


svn:r3487
2005-02-01 00:37:16 +00:00
Roger Dingledine
e7e77d6d8e fix an edge case in parsing config options (thanks weasel)
svn:r3486
2005-02-01 00:05:57 +00:00
Peter Palfrader
d19aaa9a46 Fix arma's fix for my leak
svn:r3485
2005-01-31 23:47:25 +00:00
Roger Dingledine
ab8691c343 fix a minor memory leak found by weasel
svn:r3484
2005-01-31 20:38:57 +00:00
Roger Dingledine
f80734d590 clean up our references some more
svn:r3483
2005-01-31 09:09:15 +00:00
Roger Dingledine
2fa4b77735 clean up section 2, add back reputability subsec.
svn:r3482
2005-01-31 08:34:38 +00:00
Roger Dingledine
d232831135 stop a sigpipe.
apparently when we get an eof, at least sometimes it *does* mean
you'd better not try writing.


svn:r3481
2005-01-31 08:12:30 +00:00
Roger Dingledine
ec2a6ff2e3 flesh out the routing-zones section
svn:r3480
2005-01-31 06:43:38 +00:00
Roger Dingledine
9856e328c4 stop logging loudly when a client tries an old onion key. it's
time to give up on that issue, at least for now.


svn:r3479
2005-01-31 04:03:57 +00:00
Roger Dingledine
a7138f2535 fix another rogue connection_free that was causing us troubles
there are no doubt more lurking.


svn:r3478
2005-01-31 03:47:38 +00:00
Roger Dingledine
a0312f3590 don't double-detach a closing exit conn that's waiting for dns resolve
svn:r3477
2005-01-31 01:27:49 +00:00
Roger Dingledine
692a57c8e8 but don't spring the trip on worker children, because it turns
out they don't actually remove anything before freeing the conns.


svn:r3476
2005-01-31 01:02:20 +00:00
Roger Dingledine
d6489d8e41 lay a trap for situations where we connection_free something
that's still on one of the lists.

in particular, this will detect situations where we mark-for-close
and then free it ourselves.


svn:r3475
2005-01-31 00:33:32 +00:00
Roger Dingledine
75b45bcd4d stop the infinite loop of freeing the same connection_t over and
over when it's not linked into the connection_array


svn:r3474
2005-01-31 00:26:09 +00:00
Roger Dingledine
c53c7a0b4c clarify what smartlist_remove promises, since we rely on it.
svn:r3473
2005-01-31 00:24:59 +00:00
Roger Dingledine
5d8659429e be less noisy about complaining when a jap client tries to connect
and we refuse him.


svn:r3472
2005-01-30 23:52:47 +00:00