From: Roland Häder Date: Fri, 30 Jun 2023 11:38:43 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9396bb2061b88b045836d4e5ecf33e65ee2bda0e;p=fba.git Continued: - lhr.life and localhost.run provide some tunnel service with tons of sub domains which causes the 'instances' table to flood - command 'fetch_fbabot_atom' is originating from ryona.agency --- diff --git a/fba/commands.py b/fba/commands.py index daf462b..5caa65f 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -691,7 +691,7 @@ def fetch_fbabot_atom(args: argparse.Namespace) -> int: for domain in domains: try: logger.info("Fetching instances from domain='%s' ...", domain) - federation.fetch_instances(domain, None, None, inspect.currentframe().f_code.co_name) + federation.fetch_instances(domain, "ryona.agency", None, inspect.currentframe().f_code.co_name) except network.exceptions as exception: logger.warning("Exception '%s' during fetching instances (fetch_fbabot_atom) from domain='%s'", type(exception), domain) instances.set_last_error(domain, exception) diff --git a/fba/helpers/blacklist.py b/fba/helpers/blacklist.py index 02c7b80..9057531 100644 --- a/fba/helpers/blacklist.py +++ b/fba/helpers/blacklist.py @@ -31,8 +31,9 @@ blacklist = [ "4chan.icu", # Flooder (?) "social.shrimpcam.pw", - # Flooder (?) "mastotroll.netz.org", + "lhr.life", + "localhost.run", # Testing/developing installations "ngrok.io", "ngrok-free.app",