3 ms·
Yes --- but in a more limited role. I just wrote an Intel x86 assembly language routine to compare an IP address to a subnet mask (in modified CIDR format) and
by jqpabc123 4y ago
Yes --- but in a more limited role.
I just wrote an Intel x86 assembly language routine to compare an IP address to a subnet mask (in modified CIDR format) and return negative if the IP is before the subnet, zero if it matches the subnet and positive if it is after the subnet in the address space.
Only about 10 asm instructions (not counting register save/restore). This dramatically simplified and speeded up the task in a higher level language of denying access to foreign scan bots.