Skip to content
Snippets Groups Projects
  1. Nov 04, 2019
    • teor's avatar
      dirauth: Refactor some code and tests · fd18d512
      teor authored
      Minor simplification and refactoring.
      
      Make the dirauth tests focus on testing the intention of the code,
      rather than option processing order.
      
      Part of 32213.
      fd18d512
  2. Oct 31, 2019
    • teor's avatar
      config: Delete get_list_of_ports_to_forward() · d6654580
      teor authored
      Tor has not supported automatic port forwarding for some time.
      d6654580
    • teor's avatar
      config: Move warn_nonlocal_ext_orports() to relay · 8036954b
      teor authored
      Part of 32213.
      8036954b
    • teor's avatar
      relay/config: Remove direct references to dirauth options · 23faa03f
      teor authored
      All *AuthoritativeDir* options are now accessed via the authmode
      functions in relay_config.c, relay/transport_config.c, and config.c.
      
      Part of 32213.
      23faa03f
    • teor's avatar
      config: Move dirauth stats actions into the module · 1d4d2dee
      teor authored
      This commit:
      * moves dirauth stats and mtbf config actions into dirauth_config,
      * adds thin wrappers to make the moved code compile.
      
      The moved code is disabled when the dirauth module is disabled.
      
      Part of 32213.
      1d4d2dee
    • teor's avatar
      config: Move relay config actions into the relay module · fc5da4ad
      teor authored
      This commit:
      * moves relay config actions into relay_config,
      * moves get_dirportfrontpage() into relay_config,
      * adds thin wrappers to make the moved code compile.
      
      No functional changes: the moved code is still enabled,
      even if the relay module is disabled. (Some of the checks
      are re-ordered, so the order of some warnings may change.)
      
      Part of 32213.
      fc5da4ad
    • teor's avatar
      config: Move server transport actions into the relay module · 6d03c056
      teor authored
      This commit:
      * moves server transport config checks into transport_config.c,
      * adds thin wrappers to make the moved code compile.
      
      No functional changes: the moved code is still enabled,
      even if the relay module is disabled. (Some of the checks
      are re-ordered, so the order of some warnings may change.)
      
      Part of 32213.
      6d03c056
    • teor's avatar
      config: Move bw & other configs into the dirauth module · 0a511778
      teor authored
      This commit:
      * moves bandwidth checks into dirauth_config, and
      * moves some other minor checks into dirauth_config.
      
      The moved code is disabled when the dirauth module is disabled.
      (And some of the checks are re-ordered, so the order of some
      warnings may change.)
      
      Part of 32213.
      0a511778
    • teor's avatar
      config: Move accounting/bandwidth config into the relay module · d5ca56e2
      teor authored
      This commit:
      * moves accounting and bandwidth checks into relay_config,
      * moves testing options checks into relay_config,
      * moves some other minor checks into relay_config,
      * exposes some code from src/app/config.c
        (we'll refactor it later in 29211), and
      * adds thin wrappers to make the moved code compile.
      
      No functional changes: the moved code is still enabled,
      even if the relay module is disabled. (Some of the checks
      are re-ordered, so the order of some warnings may change.)
      
      Part of 32213.
      d5ca56e2
    • teor's avatar
      config: Move server transport config into the relay module · 11f283f5
      teor authored
      This commit:
      * creates feature/relay/transport_config.[ch],
      * moves server transport config checks into them,
      * exposes some code from src/app/config.c
        (we'll refactor it later in 29211), and
      * adds thin wrappers to make the moved code compile.
      
      No functional changes: the moved code is still enabled,
      even if the relay module is disabled. (Some of the checks
      are re-ordered, so the order of some warnings may change.)
      
      Part of 32213.
      11f283f5
    • teor's avatar
      config: Move relay config checks into the relay module · 093a127c
      teor authored
      This commit:
      * moves relay config checks into relay_config.[ch],
      * exposes some code from src/app/config.c
        (we'll refactor it later in 29211), and
      * adds thin wrappers to make the moved code compile.
      
      No functional changes: the moved code is still enabled,
      even if the relay module is disabled. (Some of the checks
      are re-ordered, so the order of some warnings may change.)
      
      Part of 32213.
      093a127c
    • teor's avatar
      config: Move relay port parsing into the relay module · 0722b4fd
      teor authored
      This commit:
      * creates feature/relay/relay_config.[ch],
      * moves relay port parsing into them,
      * exposes some code from src/app/config.c
        (we'll refactor it later in 29211), and
      * adds thin wrappers to make the moved code compile.
      
      No functional changes: the moved code is still enabled,
      even if the relay module is disabled.
      
      Part of 32213.
      0722b4fd
    • teor's avatar
      dirauth: Remove some outdated config comments · f70633d7
      teor authored
      Part of 32213.
      f70633d7
    • teor's avatar
      dirauth: Refactor some config checks · 3881ac2c
      teor authored
      Minor cleanup and simplification.
      
      Part of 32213.
      3881ac2c
    • teor's avatar
      dirauth: Disable dirauth config when the module is disabled · da49c4d7
      teor authored
      Part of 32213.
      da49c4d7
    • teor's avatar
      config: Move dirauth config into the dirauth module · 5950566f
      teor authored
      This commit:
      * creates feature/dirauth/dirauth_config.[ch],
      * moves the dirauth config code into them,
      * copies some macros from src/app/config.c
        (we'll refactor them later in 29211), and
      * adds thin wrappers to make the moved code compile.
      
      No functional changes: the moved code is still enabled,
      even if the dirauth module is disabled.
      
      Part of 32213.
      5950566f
    • teor's avatar
      doc: Add defaults for some transport options · 40e75bc3
      teor authored
      Unverified
      40e75bc3
    • teor's avatar
      config: Improve some function comments · a18e84ad
      teor authored
      Unverified
      a18e84ad
    • teor's avatar
      config: Give warn_about_relative_paths() const args · 4666ca73
      teor authored
      Also gives make_path_absolute() const args.
      
      Obviously correct fixes to already reviewed code.
      Unverified
      4666ca73
  3. Oct 30, 2019
  4. Oct 29, 2019
  5. Oct 28, 2019
Loading