Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-04-21 | Control: unbolt rend_data from HS desc event | David Goulet | |
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> | |||
2015-04-21 | Refactor HS descriptor fetch to support descriptor ID | David Goulet | |
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 | Control: add HS_DESC_CONTENT event | David Goulet | |
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> | |||
2015-04-21 | Control: groud work for the HSFETCH command | David Goulet | |
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> | |||
2015-04-21 | Remove onion address usage in lookup_last_hid_serv_request | David Goulet | |
Signed-off-by: David Goulet <dgoulet@ev0ke.net> | |||
2015-04-16 | code style fixes | Nick Mathewson | |
2015-04-16 | Fix missing-initializer warning | Nick Mathewson | |
2015-04-16 | Merge remote-tracking branch 'arma/ticket8766' | Nick Mathewson | |
2015-04-15 | Fix indentation on a block | Nick Mathewson | |
2015-04-15 | Remove spurious warn | Nick Mathewson | |
2015-04-15 | Merge remote-tracking branch 'sebastian/bug14784' | Nick Mathewson | |
2015-04-15 | Fix another space issue | Nick Mathewson | |
2015-04-15 | Merge remote-tracking branch 'teor/fix-spaces-20150415' | Nick Mathewson | |
2015-04-15 | changes file for 14391 | Nick Mathewson | |
2015-04-15 | Merge remote-tracking branch 'dgoulet/bug14391_026_v2' | Nick Mathewson | |
2015-04-15 | chagnes file for 15542 | Nick Mathewson | |
2015-04-15 | Make --hash-password imply --hush to prevent unnecessary noise. | cypherpunks | |
2015-04-15 | Fix spaces in crypto.h and test-memwipe.c | teor | |
2015-04-10 | Disable the udp_socket_trick_blackbox tests that fail due to #12377 | Yawning Angel | |
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. | |||
2015-04-09 | Collect badness values in ntor_ref.py; don't just clobber. | Nick Mathewson | |
Fixes bug 15591; patch from joelanders | |||
2015-04-08 | update url in HACKING file | Roger Dingledine | |
2015-04-07 | Merge branch 'bug15604_squashed' | Nick Mathewson | |
2015-04-07 | Set ConnDirectionStatistics back to 0 if not running as relay. | rl1987 | |
2015-04-07 | Merge branch 'bug15541_squashed' | Nick Mathewson | |
2015-04-07 | Update other entries in CMDLINE_ONLY_OPTIONS to use values from ↵ | rl1987 | |
takes_argument_t. | |||
2015-04-07 | Print the error message for --dump-config even if no arguments are given. | rl1987 | |
2015-04-07 | Merge branch 'doc15550_squashed' | Nick Mathewson | |
2015-04-07 | Improve descriptions of statistics-related torrc options. | rl1987 | |
2015-04-07 | Add lukas to doc/HACKING pakager list | Nick Mathewson | |
2015-04-06 | Fix error message in do_dump_config(). | rl1987 | |
2015-04-06 | Fix the memory leak in `warn_if_option_path_is_relative()`. | Yawning Angel | |
Fixes coverity defect CID 1293337, not in any released version of tor. | |||
2015-04-06 | Merge remote-tracking branch 'origin/maint-0.2.6' | Nick Mathewson | |
2015-04-06 | bump version to 0.2.6.7-dev | Nick Mathewson | |
2015-04-06 | Forward-port today's changelogs and release notes | Nick Mathewson | |
2015-04-06 | bump version to 0.2.6.7 | Nick Mathewson | |
2015-04-06 | Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6 | Nick Mathewson | |
2015-04-06 | bump 0.2.5 version to 0.2.5.12 | Nick Mathewson | |
2015-04-06 | Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5 | Nick Mathewson | |
2015-04-06 | Bump 0.2.4 version more places | Nick Mathewson | |
2015-04-06 | Bump 0.2.4 version | Nick Mathewson | |
2015-04-06 | Merge remote-tracking branch 'origin/maint-0.2.6' | Nick Mathewson | |
2015-04-06 | Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6 | Nick Mathewson | |
2015-04-06 | Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5 | Nick Mathewson | |
2015-04-06 | Changes file for bug15601 | Nick Mathewson | |
2015-04-06 | Handle empty/zero length encoded intro points more gracefully. | Yawning Angel | |
In theory these should never the triggered as the only caller now validates the parameters before this routine gets called. | |||
2015-04-06 | Treat empty introduction points sections as missing. | Yawning Angel | |
Found by DonnchaC. | |||
2015-04-06 | Validate the RSA key size received when parsing INTRODUCE2 cells. | Yawning Angel | |
Fixes bug 15600; reported by skruffy | |||
2015-04-03 | Merge remote-tracking branch 'origin/maint-0.2.6' | Nick Mathewson | |
2015-04-03 | Decrease the amount of rend circ relaunches for hidden services. | George Kadianakis | |
2015-04-03 | ... and if we do get multiple INTRODUCE1s on a circuit, kill the circuit | George Kadianakis | |
(Sending a nak would be pointless.) See ticket 15515 for discussion. |