Each record starts with 1 or 3 bytes of Bit Mask for various options.
Block Type Bit 7 is True
If Block Type bit 7 is true in the file's headers, then the record will start with 3 bytes of bitmasks as detailed below:
Byte 0: This byte contains data about the usage of this IP address:
Bit # |
Description |
0 |
True if this IP is likely to be a proxy. |
1 |
True if this IP is likely to be a VPN. |
2 |
True if this IP is likely to be a TOR node. |
3 |
True if this IP is a known search engine crawler. |
4 |
True if this IP is likely to be a bot. |
5 |
True if this IP has recently been seen committing abusive actions. |
6 |
True if this IP is on a blocklist or has been on a blocklist recently. |
7 |
True if this IP is a private non-routable IP address. |
Byte 1: This byte contains data about the usage of this IP address:
Bit # |
Description |
0 |
True if this IP is likely to belong to a mobile carrier. |
1 |
True if this IP has or recently had open (listening) ports. |
2 |
True if this IP is or was recently used by a hosting provider. |
3 |
True if this IP is likely to be an active VPN provider. |
4 |
True if this IP is likely to be an active TOR node. |
5 |
True if this IP is likely to be a public access point (coffee shop, library, campus, etc)... |
6 |
This bit is reserved for future use or custom applications. |
7 |
This bit is reserved for future use or custom applications. |
Byte 2: This byte contains data about the type of IP address and it's recent abuse:
Bit # |
Description |
0 |
This bit is reserved for future use or custom applications. |
1 |
This bit is reserved for future use or custom applications. |
2 |
This bit is reserved for future use or custom applications. |
3-5 |
Three bit unsigned integer enum representing the connection type of this IP address.
# |
Enum Description |
1 |
Residential IP |
2 |
Mobile IP |
3 |
Corporate IP |
4 |
Data Center IP |
5 |
Educational IP |
|
6-7 |
# |
Enum Description |
1 |
Low Recent Abuse IP |
2 |
Medium Recent Abuse IP |
3 |
High Recent Abuse IP |
|
Block Type Bit 7 is False
If Block Type bit 7 is false in the file's headers, then the first and only byte of bitmasks will be as follows:
Byte 0: This byte contains data about the type of IP address and it's recent abuse.
Bit # |
Description |
0 |
This bit is reserved for future use or custom applications. |
1 |
This bit is reserved for future use or custom applications. |
2 |
This bit is reserved for future use or custom applications. |
3-5 |
Three bit unsigned integer enum representing the connection type of this IP address.
# |
Enum Description |
1 |
Residential IP |
2 |
Mobile IP |
3 |
Corporate IP |
4 |
Data Center IP |
5 |
Educational IP |
|
6-7 |
# |
Enum Description |
1 |
Low Recent Abuse IP |
2 |
Medium Recent Abuse IP |
3 |
High Recent Abuse IP |
|