Connection attempts to the subnet
Log-likelihood ratio walk L_n

Port Scan Detection: Threshold Random Walk of the Log-Likelihood Ratio (2D)

Watch an attacker laptop probe a subnet while a sequential probability ratio test keeps a running log-likelihood ratio for the host. Each refused connection pushes the walk toward the scanner threshold, each success pulls it back. Tune the benign and scanner success rates and the target false-alarm and miss rates to see the exact decision probabilities and the number of attempts needed. Blender-built scene with numerical checks built in.

Made with 🟠 Blender