Go to file
Nick Mathewson e6785ee16d Get Libevent's PRNG functioning under the linux sandbox
Libevent uses an arc4random implementation (I know, I know) to
generate DNS transaction IDs and capitalization.  But it liked to
initialize it either with opening /dev/urandom (which won't work
under the sandbox if it doesn't use the right pointer), or with
sysctl({CTL_KERN,KERN_RANDOM,RANDOM_UUIC}).  To make _that_ work, we
were permitting sysctl unconditionally.  That's not such a great
idea.

Instead, we try to initialize the libevent PRNG _before_ installing
the sandbox, and make sysctl always fail with EPERM under the
sandbox.
2014-04-16 22:03:09 -04:00
changes Merge remote-tracking branch 'public/bug11465' 2014-04-15 20:55:28 -04:00
contrib Make the redox script sorta work again. 2014-03-25 11:01:09 -04:00
doc Merge remote-tracking branch 'origin/maint-0.2.4' 2014-04-01 21:00:30 -04:00
m4 Use pc_from_ucontext.m4 from Google Performance Tools 2013-11-18 10:43:15 -05:00
src Get Libevent's PRNG functioning under the linux sandbox 2014-04-16 22:03:09 -04:00
.gitignore Merge branch 'backtrace_squashed' 2013-11-18 11:00:16 -05:00
acinclude.m4 Give a better warning when stack protection breaks linking. 2013-10-21 13:07:47 -04:00
autogen.sh Use a nicely written autoconf macro to determine the sign of a type 2013-02-07 16:23:48 -05:00
ChangeLog Move and combine some 0.2.5.4-alpha changelog sections. 2014-04-08 20:55:25 -04:00
configure.ac Get Libevent's PRNG functioning under the linux sandbox 2014-04-16 22:03:09 -04:00
Doxyfile.in Fix up all doxygen warnings other than "foo is not documented" 2011-03-16 14:47:27 -04:00
INSTALL Small fixes for the 2702 implementation 2011-04-02 12:15:08 +02:00
LICENSE Raw import of Marek Majkowski's cisphash.c 2014-02-12 10:09:45 -05:00
Makefile.am Add optional target directory parameter to coverage script and add reset-gcov target to Makefile.am 2013-07-15 22:33:39 -07:00
Makefile.nmake Add clean target and test subdir to makefile.nmake 2013-01-16 22:29:38 -05:00
README Mention doc/HACKING in the readme 2014-03-04 10:34:25 -05:00
ReleaseNotes forward-port the 0.2.4.21 release notes 2014-03-01 04:09:34 -05:00

Tor protects your privacy on the internet by hiding the connection
between your Internet address and the services you use. We believe Tor
is reasonably secure, but please ensure you read the instructions and
configure it properly.

To build Tor from source:
        ./configure && make && make install

Home page:
        https://www.torproject.org/

Download new versions:
        https://www.torproject.org/download.html

Documentation, including links to installation and setup instructions:
        https://www.torproject.org/documentation.html

Making applications work with Tor:
        https://wiki.torproject.org/noreply/TheOnionRouter/TorifyHOWTO

Frequently Asked Questions:
        https://www.torproject.org/faq.html
        https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ


To get started working on Tor development:
        See the doc/HACKING file.