Skip to content
Snippets Groups Projects
  1. Mar 16, 2022
  2. Mar 14, 2022
  3. Mar 11, 2022
  4. Mar 07, 2022
  5. Mar 04, 2022
  6. Mar 03, 2022
    • Nick Mathewson's avatar
      arti-testing: Initial implementation · 9329c7b8
      Nick Mathewson authored
      This commit adds a new program to try to implement the ideas behind
      experimentation in arti#329.  In particular, it tries to implement
      basic client "can I bootstrap and connect" functionality testing,
      with a lot of instrumentation, and support for breaking things.
      
      So far, the instrumentation is limited to counting TCP bytes and
      connections, and counting events.  Still, this is enough to measure
      behavior on some of the incorrect-clock tests.
      
      NOTE:
      
      For now, you are _required_ to pass in an explicit configuration, in
      hopes that this will lead you to override your storage directories
      for doing specific experiments.
      9329c7b8
  7. Mar 02, 2022
  8. Mar 01, 2022
  9. Feb 28, 2022
    • Ian Jackson's avatar
      arti-hyper: Provide TLS connector and make space for TLS stream · c397c772
      Ian Jackson authored
      Add tls_conn field to ArtiHttpConnector (and argument to constructor).
      Introduce MaybeHttpsStream and use it in ArtiHttpConnection.
      Have the example program pass the native TLS connector.
      
      Currently the TLS connector and the HTTPS variant are not used, but
      this commit is very noisy and fomrulaic, so I have split out the code
      to use them into a separate commit for easier preparation and review.
      c397c772
  10. Feb 25, 2022
  11. Feb 23, 2022
  12. Feb 18, 2022
  13. Feb 16, 2022
    • Nick Mathewson's avatar
      dirmgr: Remember where netdocs came from. · 2a7087ff
      Nick Mathewson authored
      This isn't complete (see TODO), but it's enough to let us report the
      right ErrorKind if something fails to parse.
      2a7087ff
    • Nick Mathewson's avatar
      49c87fa8
    • eta's avatar
      arti-client: add ability to automatically bootstrap · 790ea4af
      eta authored
      The new `BootstrapBehavior` enum controls whether an unbootstrapped
      `TorClient` will bootstrap itself automatically (`Ondemand`) when an
      attempt is made to use it, or whether the user must perform
      bootstrapping themselves (`Manual`).
      
      The `lazy-init` example shows how you could write a simple
      `get_tor_client()` function that used a global `OnceCell` to share
      a Tor client across an entire application with this API.
      
      closes arti#278
      790ea4af
  14. Feb 15, 2022
Loading