Skip to content
Snippets Groups Projects
  1. Apr 21, 2015
    • David Goulet's avatar
      Refactor HS descriptor fetch to support descriptor ID · 59f8dced
      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: default avatarDavid Goulet <dgoulet@ev0ke.net>
      59f8dced
    • David Goulet's avatar
      Control: add HS_DESC_CONTENT event · 7db58445
      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: default avatarDavid Goulet <dgoulet@ev0ke.net>
      7db58445
    • David Goulet's avatar
      Control: groud work for the HSFETCH command · 084be236
      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: default avatarDavid Goulet <dgoulet@ev0ke.net>
      084be236
    • David Goulet's avatar
  2. Apr 16, 2015
  3. Apr 15, 2015
  4. Apr 10, 2015
  5. Apr 09, 2015
  6. Apr 08, 2015
  7. Apr 07, 2015
  8. Apr 06, 2015
Loading