- Apr 21, 2015
-
-
David Goulet authored
Also, fix a small typo in a comment. Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
The expected message of the command now expects "650+" and "650 OK". Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
The "SERVER=" option now supports LongName described in the control-spec.txt Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
The HS_DESC_CONTENT event results in multiple line thus must be prefixed with a "650+" and ending with "650 OK". Reported-by:
Damian Johnson <atagar@torproject.org> Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
The HS_DESC event was using rend_data_t from the dir connection to reply the onion address and authentication type. With the new HSFETCH command, it's now possible to fetch a descriptor only using the descriptor id thus resulting in not having an onion address in any HS_DESC event. This patch removes rend_query from the hs desc control functions and replace it by an onion address string and an auth type. On a successful fetch, the service id is taken from the fetched descriptor. For that, an extra parameter is added to "store as a client" function that contains the cache entry stored. This will make the control event functions scale more easily over time if other values not present in rend_data_t are needed since the rend_data from the dir connection might not contained everything we need. Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
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>
-
David Goulet authored
As defined in section 4.1.26 in the control-spec.txt, this new event replies the content of a successfully fetched HS descriptor. This also adds a unit test for the controller event. Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
This adds the command on the controller side that parses and validate arguments but does nothing for now. The HS desriptor fetch must be modularized a bit more before we can use the command. See control-spec.txt section 3.26 for more information on this command. Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
- Apr 16, 2015
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Apr 15, 2015
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
-
teor authored
-
- Apr 10, 2015
-
-
Yawning Angel authored
Till someone writes get_interface_address6 interface enumeration that is routing table aware, these tests will continue to fail on certain systems because the get_interface_address6() code is broken.
-
- Apr 09, 2015
-
-
Nick Mathewson authored
Fixes bug 15591; patch from joelanders
-
- Apr 08, 2015
-
-
Roger Dingledine authored
-
- Apr 07, 2015
-
-
Nick Mathewson authored
-
-
Nick Mathewson authored
-
-
-
Nick Mathewson authored
-
-
Nick Mathewson authored
-
- Apr 06, 2015
-
-
rl1987 authored
-
Yawning Angel authored
Fixes coverity defect CID 1293337, not in any released version of tor.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-