logger.debug("block[blocked]='%s' is a fake domain - SKIPPED!", block["blocked"])
continue
elif block["blocked"].find("*") >= 0:
- logger.debug("blocker='%s' uses obfuscated domains", blocker)
+ logger.debug("blocker='%s' uses '*' for obfuscating domains", blocker)
instances.set_has_obfuscation(blocker, True)
obfuscated = obfuscated + 1
origin = row["origin"]
nodeinfo_url = row["nodeinfo_url"]
elif block["blocked"].find("?") >= 0:
- logger.debug("blocker='%s' uses obfuscated domains", blocker)
+ logger.debug("blocker='%s' uses '?' for obfuscating domains", blocker)
instances.set_has_obfuscation(blocker, True)
obfuscated = obfuscated + 1
logger.debug("Hash wasn't found, adding: block[blocked]'%s',blocker='%s'", block["blocked"], blocker)
federation.fetch_instances(block["blocked"], blocker, None, inspect.currentframe().f_code.co_name)
+ logger.debug("Invoking blocks.alias_block_level('%s') ... - BEFORE!", block["block_level"])
block["block_level"] = blocks.alias_block_level(block["block_level"])
+ logger.debug("block[block_level]='%s' - AFTER!", block["block_level"])
if processing.block(blocker, block["blocked"], block["reason"], block["block_level"]) and block["block_level"] in ["reject", "suspend"] and config.get("bot_enabled"):
logger.debug("Appending block[blocked]'%s',reason='%s' for blocker='%s' ...", block["blocked"], block["block_level"], blocker)
logger.debug("blocked[%s]='%s',block[blocked]='%s'", type(blocked), blocked, block["blocked"])
if blocked is not None and blocked != block["blocked"]:
logger.debug("blocked='%s' was deobfuscated to blocked='%s'", block["blocked"], blocked)
- obfuscated = obfuscated - 1
if blacklist.is_blacklisted(blocked):
logger.debug("blocked='%s' is blacklisted - SKIPPED!", blocked)