Author releases clcg for randomized IPv4 scanning
The author built a standalone tool called clcg that uses a linear congruential generator combined with a mix function and modular arithmetic to efficiently iterate through every IPv4 address in a randomized order without repeating values or requiring massive memory. By applying exponentiation by squaring, the generator allows work to be easily sharded across multiple independent machines. The design avoids the heavy memory overhead of upfront arrays or state bitmapped records used by other scanning tools. Open article →