summaryrefslogtreecommitdiff
path: root/src/or/main.c
AgeCommit message (Collapse)Author
2008-12-22Add DOCDOC entries for undocumented static and global variables.Nick Mathewson
svn:r17739
2008-12-22Fix most DOCDOCs remaining and/or added by redox.Nick Mathewson
svn:r17734
2008-12-22Add DOCDOC comments for all undocumented functions. Add missing *s to other ↵Nick Mathewson
comments so that they will get recognized as doxygen. svn:r17729
2008-12-18Why were we using gettimeofday() in second_elapsed_callback? We were only ↵Nick Mathewson
ever looking at the tv_sec field. svn:r17691
2008-12-18Replace calls to time(NULL) that occur on the order of once per read, one ↵Nick Mathewson
per write, or once per cell with calls to a function that looks at a cached value of time. This is tricksy to benchmark, since it will only help on systems where time() is a syscall and syscalls are relatively slow. svn:r17690
2008-12-18Remove fixed xxx020s; downgrade unfixed ones.Nick Mathewson
(The unfixed ones are being downgraded to regular XXXs mainly on the rationale that they don't seem to be exploding Tor, and they were apparently not showstoppers for 0.2.0.x-final.) svn:r17682
2008-12-18Call release_lockfile() before exiting.Nick Mathewson
svn:r17679
2008-12-17Remove RedirectExit feature; it has been deprecated since 0.2.0.3-alphaNick Mathewson
svn:r17663
2008-12-17Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig.Nick Mathewson
(Many users have no idea what a resolv.conf is, and shouldn't be forced to learn. The old option will keep working for now.) Also, document it. svn:r17661
2008-12-17Move edge-only flags from connection_t to edge_connection_t.Nick Mathewson
svn:r17643
2008-12-17Rename or_is_obsolete and move it to or_connection_t where it belongs.Nick Mathewson
svn:r17642
2008-12-11Avoid multiple descriptor-fetch connections to authorities. Fixes bug 366.Nick Mathewson
svn:r17594
2008-12-11Fix wide line in main.cNick Mathewson
svn:r17587
2008-12-10Add new internal-use-only option for controllers to use to prevent SIGHUP ↵Nick Mathewson
from reloading the configuration. Fixes bug 856. svn:r17567
2008-12-10Bug 691 fix: do not shutdown Tor servers right away if the network is down.Nick Mathewson
svn:r17566
2008-12-07Directory mirrors no longer fetch the v1 directory orRoger Dingledine
running-routers files. They are obsolete, and nobody asks for them anymore. This is the first step to making v1 authorities obsolete. svn:r17513
2008-12-07Add comment clarifying OpenSSL usage.Jacob Appelbaum
svn:r17498
2008-11-29clean up some log messagesRoger Dingledine
svn:r17406
2008-11-21prepare_for_poll() -- plus its mysterious cousin, prepare_for_pool() --Roger Dingledine
are long gone. svn:r17351
2008-11-10Document a couple of functions.Nick Mathewson
svn:r17239
2008-11-10beg nick for some documentation on the locking functionsRoger Dingledine
svn:r17233
2008-09-25Whitespace fixes.Nick Mathewson
svn:r16967
2008-09-25Remove now-needless _tor_dmalloc_free helper.Nick Mathewson
svn:r16964
2008-09-09Refactor unit test macros and tor_free_all() logic a bit so as to make it ↵Nick Mathewson
easier to free memory on failing tests, in order to suppress scanner warnings and to make dmalloc() usable with tests. svn:r16816
2008-09-09minor cleanups on karsten's patchRoger Dingledine
svn:r16810
2008-09-09karsten's patch for bug 767.Roger Dingledine
svn:r16808
2008-09-09Catch and report a few more bootstrapping failure cases when TorRoger Dingledine
fails to establish a TCP connection. Cleanup on 0.2.1.x. svn:r16803
2008-09-04Fix mingw build with --enable-gcc-warnings set.Nick Mathewson
svn:r16759
2008-09-01Add a lockfile to the Tor data directory to avoid situations where two Tors ↵Nick Mathewson
start with the same datadir, or where a --list-fingerprints races with a server to create keys, or such. svn:r16722
2008-08-12Next patch from Karsten: client-side configuration stuff for proposal 121.Nick Mathewson
svn:r16510
2008-08-05 r17641@31-33-44: nickm | 2008-08-05 16:07:53 -0400Nick Mathewson
Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you. svn:r16435
2008-06-17Send an initial "Starting" bootstrap status event, so we have aRoger Dingledine
state to start out in. svn:r15326
2008-06-10Fix last geoip bugs.Nick Mathewson
svn:r15106
2008-06-09extra points if you make it compile. boy, i'm on a roll.Roger Dingledine
svn:r15077
2008-06-09when we haven't had any application requests lately, don't botherRoger Dingledine
logging when we have expired a bunch of descriptors. svn:r15074
2008-05-29Fix warning when compiling with dmalloc.Nick Mathewson
svn:r14829
2008-05-29New code to implement proposal for local geoip stats. Only enabled with ↵Nick Mathewson
--enable-geoip-stats passed to configure. svn:r14802
2008-04-23 r15304@tombo: nickm | 2008-04-23 16:31:40 -0400Nick Mathewson
Forward-port: I had apparently broken OSX and Freebsd by not initializing threading before we initialize the logging system. This patch should do so, and fix bug 671. svn:r14430
2008-04-10 r15161@31-33-107: nickm | 2008-04-10 11:11:58 -0400Nick Mathewson
Make dumpstats() log the size and fullness of openssl-internal buffers, so I can test my hypothesis that many of them are empty, and my alternative hypothesis that many of them are mostly empty, against the null hypothesis that we really need to be burning 32K per open OR connection on this. svn:r14350
2008-04-08 r19243@catbus: nickm | 2008-04-08 13:28:59 -0400Nick Mathewson
Use a freelist to hold a few recent memarea chunks. We do a kazillion memarea allocs and frees; that cant be good for us. svn:r14319
2008-03-27 r19109@catbus: nickm | 2008-03-27 16:05:18 -0400Nick Mathewson
Replace a syntax error and a log message that was never emitted with a simple assert. Asserts are fun and easy. svn:r14224
2008-03-27Add --hush switch.Peter Palfrader
New --hush command-line option similar to --quiet. While --quiet disables all logging to the console on startup, --hush limits the output to messages of warning and error severity. svn:r14222
2008-03-27 r19093@catbus: nickm | 2008-03-27 12:43:58 -0400Nick Mathewson
Only log a notice that dmalloc has been set up if it fails. Actually, since we have not added a temp log yet, I am not sure this ever does anything. svn:r14216
2008-03-27 r19089@catbus: nickm | 2008-03-27 11:05:23 -0400Nick Mathewson
Free some static hashtables and the log mutex on exit. Backport candidate. svn:r14212
2008-03-26 r19066@catbus: nickm | 2008-03-26 13:24:15 -0400Nick Mathewson
Initialize logging before we log anything. Bugfix on 0.2.0.x-alpha. svn:r14199
2008-03-21 r19004@catbus: nickm | 2008-03-21 15:18:43 -0400Nick Mathewson
Use RAND_poll() again: the bug that made us stop using it has been fixed. svn:r14150
2008-02-24 r14410@tombo: nickm | 2008-02-23 16:51:46 -0500Nick Mathewson
Fix the last of the -Wshorten-64-to-32 warnings. svn:r13696
2008-02-22 r14399@tombo: nickm | 2008-02-22 14:09:38 -0500Nick Mathewson
More 64-to-32 fixes. Partial backport candidate. still not done. svn:r13680
2008-02-21 r14357@31-33-219: nickm | 2008-02-21 10:39:11 -0500Nick Mathewson
Fix bug-handling code for unhandled write errors, so that it does not try to flush any data on the failed connection. Bugfix on 0.1.2.x. svn:r13655
2008-02-21If we're trying to flush the last bytes on a connection (forRoger Dingledine
example, when answering a directory request), reset the time-to-give-up timeout every time we manage to write something on the socket. Bugfix on 0.1.2.x. svn:r13643