summaryrefslogtreecommitdiff
path: root/src/or/config.c
AgeCommit message (Collapse)Author
2009-07-13fix comments and other typosRoger Dingledine
2009-07-07Merge commit 'karsten/entrystats-master'Nick Mathewson
Conflicts: ChangeLog configure.in src/or/config.c src/or/or.h
2009-07-05If configured, write entry-node statistics to disk periodically.Karsten Loesing
2009-07-05If configured, write cell statistics to disk periodically.Karsten Loesing
2009-07-02If configured, write per-port exit statistics to disk periodically.Karsten Loesing
[Original patch series from Karsten, revised and squashed by Nick]
2009-06-25Log a notice about collecting geoip statsSebastian Hahn
2009-06-12Move the Libvent setup logic into compat_libevent from config.Nick Mathewson
This has been some pretty ugly and voodoo-laden code. I've tried to clean it up a bit, but more work probably remains.
2009-06-12Update Tor to use Libevent 2.0 APIs when available.Nick Mathewson
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).
2009-05-31Merge commit 'origin/maint-0.2.1'Nick Mathewson
2009-05-31Merge branch 'hardware_accel_improvements'Nick Mathewson
2009-05-31Fix-ups for dynamic OpenSSL engine patch.Nick Mathewson
Include a changelog, and don't try to compare strings with !=.
2009-05-30Warn and exit when we are configured to measure GeoIP statistics, but have ↵Karsten Loesing
no GeoIP database.
2009-05-29Clean up a bit of C logic, and fix an erroneous warning.Nick Mathewson
(Simplify "if (cond) return 1; return 0;" to "return cond;", and don't give a warning when we start with accounting on but dirport off.)
2009-05-30Consider *ListenAddress when warning about low ports and hibernationSebastian Hahn
Tas (thanks!) noticed that when *ListenAddress is set, Tor would still warn on startup when *Port is low and hibernation is active. The patch parses all the *ListenAddress lines, and checks the ports. Bugfix on 0.2.1.15-rc
2009-05-28Merge commit 'origin/maint-0.2.1'Nick Mathewson
2009-05-28Fixes to spelling fixes. Thanks, Roger!Nick Mathewson
2009-05-27Merge commit 'origin/maint-0.2.1'Nick Mathewson
2009-05-27Spell-check Tor.Nick Mathewson
2009-05-27Merge commit 'origin/maint-0.2.1'Nick Mathewson
2009-05-27Change the way how directories that are configured with --enable-geoip-stats ↵Karsten Loesing
write geoip stats to disk. - 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).
2009-05-27Fix bug 932 even more.Karsten Loesing
Ignore connections two hours after switching from bridge to relay or back.
2009-05-24simplify options_act()Roger Dingledine
2009-05-23Add support for dynamic OpenSSL hardware crypto acceleration engines.Martin Peck
2009-05-22Merge commit 'origin/maint-0.2.1'Nick Mathewson
2009-05-22fix a spelling mistake in config.c for "contries"phobos
2009-05-13Merge commit 'origin/maint-0.2.1'Nick Mathewson
2009-05-13Use | with flags, not +.Nick Mathewson
2009-05-13Prevent bridges from publishing router descriptors.Karsten Loesing
Bridges are not supposed to publish router descriptors to the directory authorities. It defeats the point of bridges when they are included in the public relay directory. This patch puts out a warning and exits when the node is configured as a bridge and to publish v1, v2, or v3 descriptors at the same time. Also fixes part of bug 932.
2009-05-13When our bridge status changes, forget old geoip data.Nick Mathewson
This fixes bug 932, where all of our usage totals for users when we were a regular server would get included in the extrainfo document.
2009-05-12Merge commit 'origin/maint-0.2.1' into m3Nick Mathewson
2009-05-12Warn when hibernation and low-port on non-windows is configuredSebastian Hahn
This addresses the first part of bug 918. Users are now warned when they try to use hibernation in combination with a port below 1024 when they're not on Windows. We don't want to die here, because people might run Tor as root, use a capabilities system or some other platform that will allow them to re-attach low ports. Wording suggested by Marian
2009-05-08Include the *_sha1.i files in their own *_codedigest.c files.Nick Mathewson
This way we do not need to rebuild util.c and/or config.c whenever any unrelated source file in src/common or src/or has changed.
2009-05-04Update copyright to 2009.Karsten Loesing
2009-05-02Update copyright to 2009.Karsten Loesing
2009-04-29Command-line option to dump SHA1 digests of all source files.Nick Mathewson
Now, when you call tor --digests, it dumps the SHA1 digest of each source file that Tor was built with. We support both 'sha1sum' and 'openssl sha1'. If the user is building from a tarball and they haven't edited anything, they don't need any program that calculates SHA1. If they _have_ modified a file but they don't have a program to calculate SHA1, we try to build so we do not output digests.
2009-04-12Raise the minimum bandwidth to be a relay from 20000 bytes to 20480Roger Dingledine
bytes (aka 20KB/s), to match our documentation. Also update directory authorities so they always assign the Fast flag to relays with 20KB/s of capacity. Now people running relays won't suddenly find themselves not seeing any use, if the network gets faster on average. svn:r19305
2009-04-11If the bridge config line doesn't specify a port, assume 443.Roger Dingledine
This makes bridge lines a bit smaller and easier for users to understand. Also, remove a duplicate changelog entry from the past. svn:r19260
2009-04-10commit sebastian's patch to not require contactinfo when testingtornetworkRoger Dingledine
is set svn:r19257
2009-02-16Possible fix for broken country settings in ExcludeExitNodes.Nick Mathewson
It turns out that we weren't updating the _ExcludeExitNodesUnion set's country numbers when we reloaded (or first loaded!) the IP-to-country file. Spotted by Lark. Bugfix on 0.2.1.6-alpha. svn:r18575
2009-02-09Disable KQUEUE from inside Tor if the OSX version is prior to 10.4.0Nick Mathewson
svn:r18450
2009-01-15This patch changes the default location where config and data filesNick Mathewson
are stored when the --enable-local-appdata option is configured. This changes the Windows path from %APPDATA% to a host local %USERPROFILE%\Local Settings\Application Data\ path (aka, LOCAL_APPDATA). Patch from coderman. svn:r18122
2009-01-07Make the last bunch of libevent version detection silliness work on macosx.Nick Mathewson
svn:r18015
2009-01-07Check that Libevent header version matches Libevent library version.Nick Mathewson
Unfortunately, old Libevents don't _put_ a version in their headers, so this can get a little tricky. Fortunately, the only binary-compatibility issue we care about is the size of struct event. Even more fortunately, Libevent 2.0 will let us keep binary compatiblity forever by letting us decouple ourselves from the structs, if we like. svn:r18014
2009-01-06Slightly better messages on ControlListenAddress 0.0.0.0Nick Mathewson
svn:r17963
2009-01-04Another round of downgrading removing or postponing XXXX021 issues. Some ↵Nick Mathewson
remain, though. svn:r17888
2009-01-04Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson
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
2008-12-29Downgrade some xxx021s, comment more on others, etcNick Mathewson
svn:r17823
2008-12-23Document most undocumented variables.Nick Mathewson
svn:r17754
2008-12-22Add DOCDOC entries for undocumented static and global variables.Nick Mathewson
svn:r17739
2008-12-22gabelmoo has a new IP address (once more).Karsten Loesing
svn:r17717