Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 0adfed19 authored by Markus Heiser's avatar Markus Heiser Committed by GitHub
Browse files

Merge pull request #2338 from return42/block-old-farside

[mod] limiter: block unmaintained Farside instances
parents 5f6ee2f8 8c835476
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -34,9 +34,9 @@ block_user_agent = re.compile(
    + r'|bingbot|Baiduspider|yacybot|YandexMobileBot|YandexBot|Yahoo! Slurp|MJ12bot|AhrefsBot|archive.org_bot|msnbot'
    + r'|bingbot|Baiduspider|yacybot|YandexMobileBot|YandexBot|Yahoo! Slurp|MJ12bot|AhrefsBot|archive.org_bot|msnbot'
    + r'|MJ12bot|SeznamBot|linkdexbot|Netvibes|SMTBot|zgrab|James BOT|Sogou|Abonti|Pixray|Spinn3r|SemrushBot|Exabot'
    + r'|MJ12bot|SeznamBot|linkdexbot|Netvibes|SMTBot|zgrab|James BOT|Sogou|Abonti|Pixray|Spinn3r|SemrushBot|Exabot'
    + r'|ZmEu|BLEXBot|bitlybot'
    + r'|ZmEu|BLEXBot|bitlybot'
    # when you block requests from Farside instances, your instance will
    # unmaintained Farside instances
    # disappear from https://farside.link/
    + r'|'
    # + r'|Farside'
    + re.escape(r'Mozilla/5.0 (compatible; Farside/0.1.0; +https://farside.link)')
    + r')'
    + r')'
)
)