1. 15 May, 2019 2 commits
  2. 13 May, 2019 1 commit
  3. 03 May, 2019 6 commits
  4. 05 Apr, 2019 6 commits
  5. 21 Mar, 2019 2 commits
    • George Kadianakis's avatar
      circpad: Rename circpad_machine_state_t to circpad_machine_runtime_t. · 57291602
      George Kadianakis authored and teor's avatar teor committed
      The name of circpad_machine_state_t was very confusing since it was conflicting
      with circpad_state_t and circpad_circuit_state_t.
      
      Right now here is the current meaning of these structs:
      
            circpad_state_t -> A state of the state machine.
            circpad_machine_runtime_t -> The current mutable runtime info of the state machine.
            circpad_circuit_state_t -> Circuit conditions based on which we should apply a machine to the circuit
      57291602
    • George Kadianakis's avatar
      circpad: Don't pad if Tor is in dormant mode. · bc64fb4e
      George Kadianakis authored and teor's avatar teor committed
      This is something we should think about harder, but we probably want dormant
      mode to be more powerful than padding in case a client has been inactive for a
      day or so. After all, there are probably no circuits open at this point and
      dormant mode will not allow the client to open more circuits.
      
      Furthermore, padding should not block dormant mode from being activated, since
      dormant mode relies on SocksPort activity, and circuit padding does not mess
      with that.
      bc64fb4e
  6. 15 Mar, 2019 1 commit
  7. 13 Mar, 2019 2 commits
    • George Kadianakis's avatar
      Fix test prob distr parameters that caused warnings. · a7199946
      George Kadianakis authored and Nick Mathewson's avatar Nick Mathewson committed
      They were causing the following warnings in circuitpadding/circuitpadding_sample_distribution:
      
           src/lib/math/prob_distr.c:1311:17: runtime error: division by zero
           SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior src/lib/math/prob_distr.c:1311:17 in
           src/lib/math/prob_distr.c:1219:49: runtime error: division by zero
           SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior src/lib/math/prob_distr.c:1219:49 in
      
      because the distributions were called with erroneous parameters (e.g. geometric
      distribution with p=0).
      
      We now defined these test probability distributions with more realistic
      parameters.
      
      As far as the circuitpadding_sample_distribution() test is concerned, it
      doesn't matter if the distributions return values outside of [0,10] since we
      already restrict the values into that interval using min=0 and max=10 (and RTT
      estimate is disabled).
      a7199946
    • George Kadianakis's avatar
      circpad: Machines MUST have strictly increasing histogram edges. · cdaff26f
      George Kadianakis authored
      Add a basic validation function for the histograms. It can be a building block
      for the future
      cdaff26f
  8. 25 Feb, 2019 2 commits
  9. 15 Feb, 2019 2 commits
  10. 14 Feb, 2019 1 commit
  11. 24 Jan, 2019 1 commit
  12. 22 Jan, 2019 1 commit
  13. 10 Jan, 2019 2 commits
  14. 02 Jan, 2019 2 commits