tor/doc
Jacob Appelbaum 2aac39a779 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.
2009-10-27 04:28:40 -04:00
..
contrib fix typo and naming convention 2009-04-26 03:59:35 +00:00
design-paper Remove all svn metadata minus what I missed. 2009-05-05 17:05:46 +02:00
roadmaps Add the pdf of the roadmap to the right section of docs. 2009-03-12 16:46:06 +00:00
spec Revise consensus-flavors proposal to better URLs. 2009-10-18 18:46:12 -04:00
codecon04.mgp pre-talk slides 2004-02-21 20:41:15 +00:00
HACKING fix the wiki link in doc pages. remove obsolete FAQ. 2009-10-01 04:45:59 -04:00
Makefile.am Make the tor-gencert man page get included correctly in the tarball. 2008-01-17 20:32:37 +00:00
privoxy-osx-universal-binary.txt some documentation from pnx for building universal binary privoxy 2007-12-14 05:30:18 +00:00
rump-fc04.mgp slides for tor rump session talk at FC04 2004-02-18 08:36:42 +00:00
TODO move the todo.external file into svn projects 2009-07-14 23:35:34 -04:00
TODO.021 Remove all svn metadata minus what I missed. 2009-05-05 17:05:46 +02:00
TODO.022 mark off a done proposal 2009-08-26 14:47:29 -04:00
TODO.external move the todo.external file into svn projects 2009-07-14 23:35:34 -04:00
TODO.future fix the wiki link in doc pages. remove obsolete FAQ. 2009-10-01 04:45:59 -04:00
tor-gencert.1 r14396@tombo: nickm | 2008-02-22 14:07:37 -0500 2008-02-22 19:07:52 +00:00
tor-osx-dmg-creation.txt update osx-dmg creation directions for the new methods 2009-08-25 15:58:25 -04:00
tor-resolve.1 r11719@Kushana: nickm | 2006-12-26 17:41:09 -0500 2006-12-26 22:41:49 +00:00
tor-rpm-creation.txt updated rpm instructions for realtime libevent. 2009-07-02 17:57:47 -04:00
tor-win32-mingw-creation.txt update to openssl 0.9.8k 2009-04-09 04:11:13 +00:00
tor.1.in Implement DisableAllSwap to avoid putting secret info in page files. 2009-10-27 04:28:40 -04:00
translations.txt Update translation doc with info on two options for new 2009-03-16 07:56:01 +00:00
v3-authority-howto.txt new v3 authorities will want the one that includes lefkada 2007-12-13 00:01:49 +00:00