abusehelper.core.rules.NETBLOCK: Two new features. The first one is the support for giving string CIDRs for NETBLOCK rule constructors (e.g. NETBLOCK("1.2.3.4/24")). The old explicit way (NETBLOCK("1.2.3.4", 24)) also works, but can't be mixed with the new way (so no NETBLOCK("1.2.3.4/32", 32)). The second new feature is that netblocks are also matched to sub-blocks. For example NETBLOCK("1.2.0.0/16") would now match to value "1.2.3.0/24".
abusehelper.core.rules.NETBLOCK: Two new features. The first one is the support for giving string CIDRs for NETBLOCK rule constructors (e.g. NETBLOCK("1.2.3.4/24")). The old explicit way (NETBLOCK("1.2.3.4", 24)) also works, but can't be mixed with the new way (so no NETBLOCK("1.2.3.4/32", 32)). The second new feature is that netblocks are also matched to sub-blocks. For example NETBLOCK("1.2.0.0/16") would now match to value "1.2.3.0/24".

abusesa/abusehelper