#28637 closed defect (implemented)

Improve general WTF-PAD code quality and maintainability

Reported by: asn Owned by:
Priority: Medium Milestone: Tor: 0.4.0.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: wtf-pad, tor-relay, tor-cell, padding, 041-proposed
Cc: nickm Actual Points:
Parent ID: #28631 Points:
Reviewer: Sponsor: Sponsor2


This is a master ticket for tasks that can be done after WTF-PAD gets merged, and maybe even after 0.4.0 gets released. They represent tasks that increase code quality and reduce tech debt.


  • Improve the probability distribution API. Instead of using nameless dist params, instead have the caller instantiate a struct with the right params for each distribution.
  • The above will also allow callers to specify a genpareto distribution with configurable mu parameter.

Child Tickets

#28778closedRename some circuitpadding structsCore Tor/Tor
#28779closedRemove double function declarations in circuitpadding.c/test_circuitpadding.cCore Tor/Tor

Change History (3)

comment:1 Changed 17 months ago by mikeperry

Keywords: 041-proposed added

comment:2 Changed 17 months ago by nickm

Sponsor: Sponsor2

comment:3 Changed 17 months ago by nickm

Milestone: Tor: unspecifiedTor: 0.4.0.x-final
Resolution: implemented
Status: newclosed

Marking this as closed; open new tickets for refactoring in 0.4.1 and later.

Note: See TracTickets for help on using tickets.