aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
Commit message (Expand)AuthorAge
* Fix bridge statistics.•••Fix statistics on client numbers by country as seen by bridges that were broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour intervals instead of variable 12-to-48-hour intervals. Karsten Loesing2009-12-17
* Merge branch 'safelogging2'•••Conflicts: ChangeLog Nick Mathewson2009-12-15
|\
| * Refactor the safe_str_*() API to make more sense.•••The new rule is: safe_str_X() means "this string is a piece of X information; make it safe to log." safe_str() on its own means "this string is a piece of who-knows-what; make it safe to log". Nick Mathewson2009-12-15
| * Allow SafeLogging to exclude client related informationSebastian Hahn2009-12-12
* | Now that FOO_free(NULL) always works, remove checks before calling it.Nick Mathewson2009-12-12
|/
* Clarification to suppress Coverity CID 405.•••Every or conn has an outbuf, but coverity has no way of knowing that. Add an assert to ease its conscience. Nick Mathewson2009-10-26
* Fix various bugs in microdescriptor caching.Nick Mathewson2009-10-18
* Fix a couple of smaller issues with gathering statistics.•••- Avoid memmoving 0 bytes which might lead to compiler warnings. - Don't require relays to be entry node AND bridge at the same to time to record clients. - Fix a memory leak when writing dirreq-stats. - Don't say in the stats files that measurement intervals are twice as long as they really are. - Reduce minimum observation time for requests to 12 hours, or we might never record usage. - Clear exit stats correctly after writing them, or we accumulate old stats over time. - Reset interval start for buffer stats, too. Karsten Loesing2009-09-24
* Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-09-01
|\
| * Fix compile warnings on Snow Leopard•••Big thanks to nickm and arma for helping me with this! Sebastian Hahn2009-09-01
* | Merge branch 'maint-0.2.1'Roger Dingledine2009-08-31
|\|
| * Only send reachability status events on overall success/failure•••We were telling the controller about CHECKING_REACHABILITY and REACHABILITY_FAILED status events whenever we launch a testing circuit or notice that one has failed. Instead, only tell the controller when we want to inform the user of overall success or overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported by SwissTorExit. Roger Dingledine2009-08-31
* | Merge commit 'karsten/proposal-166-impl-master'Nick Mathewson2009-08-26
|\ \
| * | Some final (?) cleanups of proposal 166 implementation.Karsten Loesing2009-08-19
| * | Write all statistics to disk exactly every 24 hours.Karsten Loesing2009-08-19
| * | Remove ./configure option for cell statistics.Karsten Loesing2009-08-17
* | | Survive unparseable cached cert fileRoger Dingledine2009-08-20
|/ /
* | If configured, write cell statistics to disk periodically.Karsten Loesing2009-07-05
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-06-30
|\|
| * the third piece of bug 969 fixing•••when we write out our stability info, detect relays that have slipped through the cracks. log about them and correct the problem. if we continue to see a lot of these over time, it means there's another spot where relays fall out of the routerlist without being marked as unreachable. Roger Dingledine2009-06-30
* | Isolate Libevent API dependency to just main.c and dns.c in src/or.•••The rest of the code was only including event.h so that it could see EV_READ and EV_WRITE, which we were using as part of the connection_watch_events interface for no very good reason. Nick Mathewson2009-06-12
* | Make Tor compile with Libevent 1.0 again.Nick Mathewson2009-06-12
* | Update Tor to use Libevent 2.0 APIs when available.•••This patch adds a new compat_libevent.[ch] set of files, and moves our Libevent compatibility and utilitity functions there. We build them into a separate .a so that nothing else in src/commmon depends on Libevent (partially fixing bug 507). Also, do not use our own built-in evdns copy when we have Libevent 2.0, whose evdns is finally good enough (thus fixing Bug 920). Nick Mathewson2009-06-12
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-06-04
|\|
| * Fix gprof bottlenecks on exit nodes found by Jacob.•••Apparently all the stuff that does a linear scan over all the DNS cache entries can get really expensive when your DNS cache is very large. It's hard to say how much this will help performance, since gprof doesn't count time spent in OpenSSL or zlib, but I'd guess 10%. Also, this patch removes calls to assert_connection_ok() from inside the read and write callbacks, which are similarly unneeded, and a little costlier than I'm happy with. This is probably worth backporting to 0.2.0. Nick Mathewson2009-06-03
* | Merge branch 'hardware_accel_improvements'Nick Mathewson2009-05-31
|\ \
| * | Add support for dynamic OpenSSL hardware crypto acceleration engines.Martin Peck2009-05-23
* | | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-27
|\ \ \ | | |/ | |/|
| * | Spell-check Tor.Nick Mathewson2009-05-27
| * | Update copyright to 2009.Karsten Loesing2009-05-04
* | | Change the way how directories that are configured with --enable-geoip-stats ...•••- Write geoip stats to disk every 24 hours, not every hour. - Remove configuration options and define reasonable defaults. - Clear history of client requests every 24 hours (which wasn't done at all before). Karsten Loesing2009-05-27
* | | fix a commentRoger Dingledine2009-05-24
| |/ |/|
* | Log the number and size of DNS cache entries on SIGUSR1.•••Specifically if you send SIGUSR1, it will add two lines to the log file: May 22 07:41:59.576 [notice] Our DNS cache has 3364 entries. May 22 07:41:59.576 [notice] Our DNS cache size is approximately 1022656 bytes. [tweaked a bit by nickm] Jacob Appelbaum2009-05-22
* | Update copyright to 2009.Karsten Loesing2009-05-02
|/
* Support 64-bit time_t. Patch from Matthias Drochner. Partial backport candid...•••svn:r18234 Nick Mathewson2009-01-22
* Make sure that even in the weird fiddly paths that lead to init_keys,•••crypto_global_init gets called. Also have it be crypto_global_init that calls crypto_seed_rng, so we are not dependent on OpenSSL's RAND_poll in these fiddly cases. Should fix bug 907. Bugfix on 0.0.9pre6. Backport candidate. svn:r18210 Nick Mathewson2009-01-21
* Remove svn $Id$s from our source, and remove tor --version --version.•••The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867 Nick Mathewson2009-01-04
* Checkpoint my big bug-891 patch.•••svn:r17757 Nick Mathewson2008-12-24
* Document most undocumented variables.•••svn:r17754 Nick Mathewson2008-12-23
* Add DOCDOC entries for undocumented static and global variables.•••svn:r17739 Nick Mathewson2008-12-22
* Fix most DOCDOCs remaining and/or added by redox.•••svn:r17734 Nick Mathewson2008-12-22
* Add DOCDOC comments for all undocumented functions. Add missing *s to other ...•••svn:r17729 Nick Mathewson2008-12-22
* Why were we using gettimeofday() in second_elapsed_callback? We were only ev...•••svn:r17691 Nick Mathewson2008-12-18
* Replace calls to time(NULL) that occur on the order of once per read, one per...•••svn:r17690 Nick Mathewson2008-12-18
* Remove fixed xxx020s; downgrade unfixed ones.•••(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 Nick Mathewson2008-12-18
* Call release_lockfile() before exiting.•••svn:r17679 Nick Mathewson2008-12-18
* Remove RedirectExit feature; it has been deprecated since 0.2.0.3-alpha•••svn:r17663 Nick Mathewson2008-12-17
* Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig.•••(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 Nick Mathewson2008-12-17
* Move edge-only flags from connection_t to edge_connection_t.•••svn:r17643 Nick Mathewson2008-12-17
* Rename or_is_obsolete and move it to or_connection_t where it belongs.•••svn:r17642 Nick Mathewson2008-12-17