kitsunping

Implementation Notes

This page keeps deeper implementation details out of the main README, while documenting how Kitsunping is structured internally.

Boot stages (Magisk)

Runtime components

Daemon (monitor)

Policy executor (applier)

Timing knobs (summary)

Key time-based controls used by the daemon and executor:

Policy selection (optional)

Provider mapping / calibration data

Common state files

Stored under cache/:

Tools and fallbacks

Kitsunping tries to be resilient across ROMs:

SELinux / ping preflight

CALIBRATE_TIMEOUT Adjustment

The CALIBRATE_TIMEOUT value was reduced from 1200 seconds to 600 seconds. This decision was made after analyzing the calibration process, which takes a maximum of 462 seconds under all configurations. The new value provides a reasonable buffer while optimizing the timeout duration for better performance.