Copyright © 2015-2020 Marc Worrell
Authors: Marc Worrell.
dnsbl_list/0 | Default list of DNSBL services. |
dnswl_list/0 | Default list of DNSWL services. |
is_blocked/1 | Check if the IP address is on one of the default blocklists. |
is_blocked/2 | Check if the IP address is on one of the givem blocklists. |
is_blocked/3 | Check if the IP address is on one of the givem blocklists and not on one of the white lists. |
status/1 | Check the block- or whitelist status of an IP address. |
status/2 | Check the block- or whitelist status of an IP address with the given block lists. |
status/3 | Check the block- or whitelist status of an IP address with the given block- and whitelists. |
dnsbl_list() -> [string()]
Default list of DNSBL services
dnswl_list() -> [string()]
Default list of DNSWL services
is_blocked(IP::inet:ip_address()) -> boolean()
Check if the IP address is on one of the default blocklists.
is_blocked(IP::inet:ip_address(), RTBLs::[string()]) -> boolean()
Check if the IP address is on one of the givem blocklists.
is_blocked(IP::inet:ip_address(), RTBLs::[string()], WLs::[string()]) -> boolean()
Check if the IP address is on one of the givem blocklists and not on one of the white lists. If an IP address is white listen then this routine always return true.
status(IP::inet:ip_address()) -> {ok, notlisted | whitelisted | {blocked, [string()]}}
Check the block- or whitelist status of an IP address. If it is blocked then the blocklists where the IP address is blocked are returned.
status(IP::inet:ip_address(), DNSBLs::list()) -> {ok, notlisted | whitelisted | {blocked, [string()]}}
Check the block- or whitelist status of an IP address with the given block lists. If it is blocked then the blocklists where the IP address is blocked are returned.
status(IP::inet:ip_address(), DNSBLs::list(), DNSWLs::list()) -> {ok, {blocked, list()}} | {ok, notlisted} | {ok, whitelisted}
Check the block- or whitelist status of an IP address with the given block- and whitelists. If it is blocked then the blocklists where the IP address is blocked are returned.
Generated by EDoc, Jun 12 2020, 16:28:55.