Elektrine lite

← Feed

@gunchleoc@mastodon.scot

Post #1939946

2024-02-22 10:13 UTC

Scripts to identify abandoned versions of Mastodon and push a blocklist, or automatically manage using ready-made blocklists: https://codeberg.org/GunChleoc/mastodon-scripts/src/branch/main/blocklists Update: - Save tags information to JSON file so we can hit the sources less often. Default fetch interval: 30 days - Implement support for GitHub, GitLab and Forgejo REST APIs to save disk space. GitHub is a bit of a pain, so read the instructions in https://codeberg.org/GunChleoc/mastodon-scripts/src/branch/main/blocklists/config.sample.find_old_versions.toml carefully if you want to use their REST API #spam #Mastoadmin #FediAdmin

Replies (2)

  • @gunchleoc@mastodon.scot 2024-02-25 19:57

    I have added the most popular Fediverse software to the sample config. Firefish versioning needs a custom regex 😬 Anything that's older than ca. 1-3 months gets silenced by this config, and versions that are ca. 1 year or older get suspended. The script will demote any suspend to silence if the server knows about a follow relationship. The current sample config will block around 4000 outdated servers 😱 #MastoAdmin #FediAdmin #Spam #InfoSec

    Open ##2232263

  • @m0bi13@pol.social 2024-02-22 19:43

    @gunchleoc@mastodon.scot cc #FediModsPL #FediAdminsPL

    Open ##2232266