DAITA - Defence Against AI-Guided Traffic Analysis

February 4, 2026 ยท View on GitHub

In addition to the standard UAPI configuration protocol, GotaTun includes some non-standard extensions when some features are enabled.

DAITA - Defence Against AI-Guided Traffic Analysis

If GotaTun is built with --features daita-uapi, the following keys are available when adding or modifying a peer:

  • daita_enable: Set to 1 to enable or replace existing settings, or 0 to disable DAITA.
  • daita_machine: A base64-encoded Maybenot machine.
  • daita_max_delayed_packets: Maximum number of packets that may be delayed at any time.
  • daita_min_delay_capacity: Minimum number of free slots in the delay queue to continue delaying packets.
  • daita_max_decoy_frac: Maximum fraction of decoy packets in [0, 1].
  • daita_max_delay_frac: Maximum fraction of delayed packets in [0, 1].

In addition to the keys above, the following ones are available when retrieving a peer (get=1):

  • daita_rx_padding_bytes: Total padded bytes in received data packets from the previously added peer due to constant-size padding.
  • daita_tx_padding_bytes: Total padded bytes in sent data packets to the previously added peer due to constant-size padding.
  • daita_rx_decoy_packet_bytes: Total bytes of decoy packets received from the previously added peer.
  • daita_tx_decoy_packet_bytes: Total bytes of decoy packets sent to the previously added peer.