The BlockList object can be used with some network APIs to specify rules for disabling inbound or outbound access to specific IP addresses, IP ranges, or IP subnets.
BlockList
v15.0.0, v14.18.0
The list of rules added to the blocklist.
Adds a rule to block the given IP address.
Adds a rule to block a range of IP addresses from start (inclusive) toend (inclusive).
start
end
Adds a rule to block a range of IP addresses specified as a subnet mask.
Returns true if the given IP address matches any of the rules added to theBlockList.
true