Opened 8 months ago

Last modified 2 months ago

#28638 new defect

Serialize state machines in the torrc

Reported by: asn Owned by:
Priority: Low Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: wtf-pad, tor-relay, tor-cell, padding
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 (10)

comment:1 Changed 6 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 6 months ago by mikeperry

Keywords: 041-proposed added

comment:3 Changed 6 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 6 months ago by mikeperry

Points: 1013

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

comment:5 Changed 6 months ago by mikeperry

Parent ID: #28632#29102
Points: 135

comment:6 Changed 6 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 6 months ago by mikeperry

Priority: MediumHigh

comment:8 Changed 6 months ago by nickm

Sponsor: Sponsor2

comment:9 Changed 3 months ago by mikeperry

Keywords: 041-proposed removed
Priority: HighMedium

comment:10 Changed 2 months ago by mikeperry

Priority: MediumLow

I'm lowering the priority of this based on engineering cost. I think researchers will likely need to recompile their relays' tors for some time still, while working on this stuff.

If anyone external to Tor will find this useful, let me know.

Note: See TracTickets for help on using tickets.