mirror repository of the tor core protocol in case of issues
Go to file
David Goulet 59f8dced11 Refactor HS descriptor fetch to support descriptor ID
Big refactor of the HS client descriptor fetch functionnality. This allows
to fetch an HS descriptor using only a descriptor ID. Furthermore, it's also
possible to provide a list of HSDir(s) now that are used instead of the
automatically choosen one.

The approach taken was to add a descriptor_id field to the rend_data_t
structure so it can be used, if available, by the HS client. The onion
address field however has priority over it that is if both are set, the
onion address is used to fetch the descriptor.

A new public function is introduced called rend_client_fetch_v2_desc(...)
that does NOT lookup the client cache before fetching and can take a list of
HSDirs as a parameter.

The HSFETCH control command now uses this new function thus making it work
and final.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2015-04-21 14:22:48 -04:00
changes Merge remote-tracking branch 'arma/ticket8766' 2015-04-16 11:15:29 -04:00
contrib bump to 0.2.6.6 2015-03-24 10:23:34 -04:00
doc update url in HACKING file 2015-04-08 13:44:56 -04:00
m4 Add pkg.m4 to use pkgconfig macros 2014-12-23 11:39:48 -05:00
scripts Revive updateVersions.pl with make update-versions. 2015-03-14 13:00:06 -04:00
src Refactor HS descriptor fetch to support descriptor ID 2015-04-21 14:22:48 -04:00
.gitignore Drop support for --digests 2015-04-01 09:54:20 -04:00
acinclude.m4 Be consistent with capitalization, quoting, and spacing of help strings. 2015-03-15 08:25:36 -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 today's changelogs and release notes 2015-04-06 10:01:44 -04:00
configure.ac Remove now-needless AC_PATH_PROG checks from configure.ac 2015-04-01 13:44:35 -04:00
Doxyfile.in Use output variables instead of relative paths. 2015-03-14 13:00:04 -04:00
INSTALL Small fixes for the 2702 implementation 2011-04-02 12:15:08 +02:00
LICENSE Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05:00
Makefile.am Add call to chutney to coverage-html-full target 2015-03-22 09:43:46 +01:00
Makefile.nmake Clean up the MVSC nmake files so they work again. 2014-09-09 10:27:05 -04:00
README Update verbiage in README to mention autogen.sh 2014-11-04 09:01:46 -05:00
ReleaseNotes Forward-port today's changelogs and release notes 2015-04-06 10:01:44 -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

To build Tor from a just-cloned git repository:
        sh autogen.sh && ./configure && make && make install

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

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

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

Making applications work with Tor:
        https://wiki.torproject.org/projects/tor/wiki/doc/TorifyHOWTO

Frequently Asked Questions:
        https://www.torproject.org/docs/faq.html


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