mirror repository of the tor core protocol in case of issues
Go to file
Nick Mathewson e425fc7804 sandbox: revamp sandbox_getaddrinfo cacheing
The old cache had problems:
     * It needed to be manually preloaded. (It didn't remember any
       address you didn't tell it to remember)
     * It was AF_INET only.
     * It looked at its cache even if the sandbox wasn't turned on.
     * It couldn't remember errors.
     * It had some memory management problems. (You can't use memcpy
       to copy an addrinfo safely; it has pointers in.)

This patch fixes those issues, and moves to a hash table.

Fixes bug 11970; bugfix on 0.2.5.1-alpha.
2014-05-22 17:39:36 -04:00
changes sandbox: revamp sandbox_getaddrinfo cacheing 2014-05-22 17:39:36 -04:00
contrib Add a README file for the contrib directory 2014-05-07 01:03:35 -04:00
doc doc/HACKING: Improve documentation of how to bump version in maint 2014-05-20 15:02:35 -04:00
m4 Use pc_from_ucontext.m4 from Google Performance Tools 2013-11-18 10:43:15 -05:00
scripts make the changelog text wrapper respect arma's no-initial-openparen rule 2014-05-14 12:56:09 -04:00
src sandbox: revamp sandbox_getaddrinfo cacheing 2014-05-22 17:39:36 -04:00
.gitignore More .gitignore tweaks; goodbye latex; hello trs 2014-04-30 13:19:19 -04: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 Forward-port 0.2.4.22 changelog 2014-05-16 09:06:48 -04:00
configure.ac Merge remote-tracking branch 'andrea/bug11476' 2014-05-22 16:27:29 -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 Deal with the aftermath of sorting contrib 2014-04-28 11:59:55 -04: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 0.2.4.22 changelog 2014-05-16 09:06:48 -04: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.