The five steps
- Walk a range 8 min
- Steps and reverse 9 min
- CIDR blocks 10 min
- From a range to blocks 10 min
- Skip what is excluded 11 min
Walk IPv4 address space lazily, the way an allowlist or a scanner has to: ranges in either direction, CIDR blocks up to all four billion addresses, the smallest set of blocks that covers a range, and exclusions you jump over instead of stepping through.