Opened 4 months ago

Last modified 8 weeks ago

#28638 new defect

Serialize state machines in the torrc

Reported by: asn Owned by:
Priority: High Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: wtf-pad, tor-relay, tor-cell, padding, 041-proposed
Cc: nickm Actual Points:
Parent ID: #29102 Points: 5
Reviewer: Sponsor: Sponsor2

Description

Figure out how to serialize state machines in the torrc and consensus to make it easire to specify state machines for researchers (and for common users).

Perhaps it's fine to do this after 0.4.0 since the WTF-PAD code in 0.4.0 is mainly for research purposes and not inteded to be used by a wide audience. The researchers can perhaps write code of their own that instantiates the padding machines if we write a good enough doc to do so.

Child Tickets

Change History (8)

comment:1 Changed 2 months ago by asn

from todo file:

- circpad_machine_validate() function to sanity-check histograms loaded from
  consensus/torrc (can also be used to help guide a GA).
  - Check bin construction
  - no type overflow (start_usec + range_sec, etc)
  - no conflicting state transitions (or overlap with cancel events)
  - no use of both histograms and iat_dist
  - at least two histogram bins
  - min_hop vs target_hop

comment:2 Changed 2 months ago by mikeperry

Keywords: 041-proposed added

comment:3 Changed 2 months ago by mikeperry

Points: 10

(Figure 5 days for torrc serialization + testing + optimization and another 5 for consensus work and monitoring).

comment:4 Changed 2 months ago by mikeperry

Points: 1013

Also, back-and-forth for review will take 3-4 days, I bet.

comment:5 Changed 2 months ago by mikeperry

Parent ID: #28632#29102
Points: 135

comment:6 Changed 2 months ago by mikeperry

Summary: Serialize state machines in the torrc and consensusSerialize state machines in the torrc

Separated out the consensus piece into #29102

comment:7 Changed 2 months ago by mikeperry

Priority: MediumHigh

comment:8 Changed 8 weeks ago by nickm

Sponsor: Sponsor2
Note: See TracTickets for help on using tickets.