aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
Commit message (Expand)AuthorAge
* 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
| * Cache the parsed value of SafeLogging as an enum.Nick Mathewson2009-12-12
| * Allow SafeLogging to exclude client related informationSebastian Hahn2009-12-12
* | New controller command "getinfo config-text"•••It returns the contents that Tor would write if you send it a SAVECONF command, so the controller can write the file to disk itself. Roger Dingledine2009-12-13
* | Merge commit 'sebastian/coverity'Nick Mathewson2009-12-12
|\ \
| * | Disallow command line keywords with more than two dashes as prefix.•••This might help fix cid 422, where coverity fails to notice that argv strings are null-escaped. Sebastian Hahn2009-10-27
* | | Now that FOO_free(NULL) always works, remove checks before calling it.Nick Mathewson2009-12-12
* | | *_free functions now accept NULL•••Some *_free functions threw asserts when passed NULL. Now all of them accept NULL as input and perform no action when called that way. This gains us consistence for our free functions, and allows some code simplifications where an explicit null check is no longer necessary. Sebastian Hahn2009-12-12
| |/ |/|
* | add a minimum for CircuitStreamTimeout, plus a man page•••plus some other unrelated touchups that have been sitting in my sandbox Roger Dingledine2009-11-22
* | New config option "CircuitStreamTimeout"•••New config option "CircuitStreamTimeout" to override our internal timeout schedule for how many seconds until we detach a stream from a circuit and try a new circuit. If your network is particularly slow, you might want to set this to a number like 60. Roger Dingledine2009-11-21
* | Implement DisableAllSwap to avoid putting secret info in page files.•••This commit implements a new config option: 'DisableAllSwap' This option probably only works properly when Tor is started as root. We added two new functions: tor_mlockall() and tor_set_max_memlock(). tor_mlockall() attempts to mlock() all current and all future memory pages. For tor_mlockall() to work properly we set the process rlimits for memory to RLIM_INFINITY (and beyond) inside of tor_set_max_memlock(). We behave differently from mlockall() by only allowing tor_mlockall() to be called one single time. All other calls will result in a return code of 1. It is not possible to change DisableAllSwap while running. A sample configuration item was added to the torrc.complete.in config file. A new item in the man page for DisableAllSwap was added. Thanks to Moxie Marlinspike and Chris Palmer for their feedback on this patch. Please note that we make no guarantees about the quality of your OS and its mlock/mlockall implementation. It is possible that this will do nothing at all. It is also possible that you can ulimit the mlock properties of a given user such that root is not required. This has not been extensively tested and is unsupported. I have included some comments for possible ways we can handle this on win32. Jacob Appelbaum2009-10-27
|/
* Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-10-26
|\
| * Add missing break statements for Coverity CIDs #406,407.•••The code for these was super-wrong, but will only break things when we reset an option on a platform where sizeof(time_t) is different from sizeof(int). Nick Mathewson2009-10-26
* | Merge commit 'origin/maint-0.2.1'•••Conflicts: ChangeLog configure.in contrib/tor-mingw.nsi.in src/or/config.c src/win32/orconfig.h Nick Mathewson2009-10-15
|\|
| * Move moria1 and Tonga to alternate IP addresses.Roger Dingledine2009-10-15
* | Move dizum to an alternate IP address.Roger Dingledine2009-10-11
* | Move Tonga to an alternate IP addressRoger Dingledine2009-09-30
* | Move moria1 to a nearby IP addressRoger Dingledine2009-09-30
* | Fix some win32 compilation warningsNick Mathewson2009-09-28
* | Let our config abbreviations rewrite more than onceRoger Dingledine2009-09-17
* | Move circuitbuildtimeout config check.•••We want it to be under our control so it doesn't mess up initialization. This is likely the cause for the bug the previous assert-adding commit (09a75ad) was trying to address. Mike Perry2009-09-16
* | Fix issues found by arma in review.Mike Perry2009-09-16
* | space/indent cleanups, plus point out three bugsRoger Dingledine2009-09-16
* | Use our variable directly for timeout.•••Using CircuitBuildTimeout is prone to issues with SIGHUP, etc. Also, shuffle the circuit build times array after loading it in so that newer measurements don't replace chunks of similarly timed measurements. Mike Perry2009-09-16
* | Write unit tests and fix issues they uncovered.Mike Perry2009-09-16
* | Implement the pareto fitting and timeout calculating bits.Mike Perry2009-09-16
* | Clean up Fallon's partially complete GSoC project.•••The code actually isn't that bad. It's a shame she didn't finish. Using it as the base for this feature. Mike Perry2009-09-16
* | ConsensusParams config option lists key=value params•••finishes the authority-operator interface side of proposal 167. Roger Dingledine2009-09-15
* | 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
* | Remove a debug printfSebastian Hahn2009-09-01
* | Revise parsing of time and memory units to handle spaces.•••When we added support for fractional units (like 1.5 MB) I broke support for giving units with no space (like 2MB). This patch should fix that. It also adds a propoer tor_parse_double(). Fix for bug 1076. Bugfix on 0.2.2.1-alpha. Nick Mathewson2009-08-31
* | Merge commit 'karsten/proposal-166-impl-master'Nick Mathewson2009-08-26
|\ \
| * | Write all statistics to disk exactly every 24 hours.Karsten Loesing2009-08-19
| * | Include contents of *-stats files in descriptor.Karsten Loesing2009-08-17
| * | Remove ./configure option for cell statistics.Karsten Loesing2009-08-17
| * | Remove ./configure option for entry and dir request statistics.Karsten Loesing2009-08-17
| * | Remove ./configure option for exit port statistics.Karsten Loesing2009-08-14
* | | A changelog entry and a bit more documentation for socks-clientNick Mathewson2009-08-26
* | | Merge commit 'public/socks-client'•••Resolved conflict in: src/or/or.h Nick Mathewson2009-08-26
|\ \ \
| * | | Change proxy-address type to tor_addr_t to allow ipv6 proxies.Nick Mathewson2009-06-19
| * | | Enable Tor to connect through SOCKS 4/5 proxies•••Added a sanity check in config.c and a check in directory.c directory_initiate_command_rend() to catch any direct connection attempts when a socks proxy is configured. Christopher Davis2009-06-19
* | | | Add the first 8 bytes of the git commit digest to our versions.•••Note that unlike subversion revision numbers, it isn't meaningful to compare these for anything but equality. We define a sort-order anyway, in case one of these accidentally slips into a recommended-versions list. Nick Mathewson2009-08-21
* | | | Merge commit 'mikeperry/bandwidth-voting-final'Nick Mathewson2009-08-14
|\ \ \ \ | |_|/ / |/| | |
| * | | try loading the bandwidth measurement file on startup too,•••in case it's broken. Roger Dingledine2009-08-06
| * | | Implement measured bw parsing + unit tests.Mike Perry2009-08-06
* | | | Merge branch 'maint-0.2.1' into tmp_mergeRoger Dingledine2009-08-10
|\ \ \ \ | | |_|/ | |/| |
| * | | Set up urras as the seventh v3 directory authority.Roger Dingledine2009-08-10
* | | | Disable .exit notation unless AllowDotExit is 1.Roger Dingledine2009-08-07
| |/ / |/| |