Skip to content
Snippets Groups Projects
  1. Oct 24, 2014
  2. Oct 03, 2014
    • Yawning Angel's avatar
      Improve the performance of the obfs4 handshake test. · 4932821b
      Yawning Angel authored
      Exhaustively testing padding combinations is really slow, and was
      causing timeouts during the Debian ARM package build process.  Attempt
      to improve the situation by:
      
       * Reusing the client and server keypair for all of the tests, to cut
         runtime down by  ~50%.
       * Splitting the client side and server side tests up, as it appears
         the timeout is per-test case.
      
      If this doesn't fix things, the next thing to try would be to reduce
      the actual number of padding lengths tested, but that is a last resort
      at the moment.
      4932821b
  3. Oct 01, 2014
  4. Sep 26, 2014
  5. Sep 24, 2014
  6. Sep 06, 2014
  7. Sep 03, 2014
  8. Aug 31, 2014
  9. Aug 27, 2014
  10. Aug 23, 2014
    • Yawning Angel's avatar
      Change all the arguments to use base16 from base64. · 1e574942
      Yawning Angel authored
      WARNING: THIS BREAKS BACKWARD COMPATIBILITY.
      
      This is primarily to work around bug #12930.  Base16 was chosen over
      unpadded Base64 because the go runtime Base64 decoder does not handle
      omitting the padding.
      
      May $deity have mercy on anyone who needs to hand-enter an obfs4 bridge
      line because I will not.
      1e574942
  11. Aug 20, 2014
  12. Aug 18, 2014
  13. Aug 17, 2014
    • Yawning Angel's avatar
      Massive cleanup/code reorg. · 339c63f0
      Yawning Angel authored
       * Changed obfs4proxy to be more like obfsproxy in terms of design,
         including being an easy framework for developing new TCP/IP style
         pluggable transports.
       * Added support for also acting as an obfs2/obfs3 client or bridge
         as a transition measure (and because the code itself is trivial).
       * Massively cleaned up the obfs4 and related code to be easier to
         read, and more idiomatic Go-like in style.
       * To ease deployment, obfs4proxy will now autogenerate the node-id,
         curve25519 keypair, and drbg seed if none are specified, and save
         them to a JSON file in the pt_state directory (Fixes Tor bug #12605).
      339c63f0
  14. Jun 25, 2014
  15. Jun 20, 2014
  16. Jun 19, 2014
  17. Jun 07, 2014
  18. Jun 02, 2014
  19. Jun 01, 2014
    • Yawning Angel's avatar
      Move the server keypair generation to right after Accept(). · 36228437
      Yawning Angel authored
      Instead of threading the code, move the keypair generation to right
      after Accept() is called.  This should mask the timing differential due
      to the rejection sampling with the noise from the variablity in how
      long it takes for the server to get around to pulling a connection out
      of the backlog, and the time taken for the client to send it's portion
      of the handshake.
      
      The downside is that anyone connecting to the obfs4 port does force us
      to do a bunch of math, but the obfs4 math is relatively cheap compared
      to it's precursors.
      
      Fixes #9.
      36228437
    • Yawning Angel's avatar
      Generate client keypairs before connecting, instead of after. · 2001f0b6
      Yawning Angel authored
      Part of issue #9.
      2001f0b6
  20. May 28, 2014
  21. May 26, 2014
Loading