]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Fri, 30 Jun 2023 11:38:43 +0000 (13:38 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 30 Jun 2023 11:38:43 +0000 (13:38 +0200)
- 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

fba/commands.py
fba/helpers/blacklist.py

index daf462b79c5f160598910205dece10d23a328ba6..5caa65f5fa7bcb981e5cd15599e23081c24278d6 100644 (file)
@@ -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)
index 02c7b803fb245c5869992f3ca4af105ce47f4b8d..905753148af5f49a255aedb7807440cc70dba236 100644 (file)
@@ -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",