To all Mastodon-admins: seems like there's an attack on all instances by troll accounts. Servers get slow because of it.
They use thousands of subdomains of activitypub-troll.cf. My 'pull' queues skyrocketed.

I now blocked the domain activitypub-troll.cf and all is back to normal. Please check if you're hit too.
#mastoadmin #fediblock

@ruud I'm running Misskey so I was targeted. The domains I've seen in the attack are:

*.activitypub-troll.cf *.misskey-forkbomb.cf *.repl.co

@dwarf Oh, I'm also running misskey, but hadn't noticed yet. I'll check those other ones as well, thanks!

@dwarf @ruud Well, I just ended up using a CSV import method that I found for Mastodon to block all domains listed here the troll accounts are using on my end just to be on the safe side.

https://medium.com/@theghostoftomjoad/how-to-block-server-domains-in-mastodon-899b24f8fb6e

How to Block Server Domains in Mastodon - The Ghost of Tom Joad - Medium

Problem: Many newer and established instances in Mastodon social network do not have extensive block lists. Also, there are new instances cropping up all the time. Admins are busy as it is, and…

Medium
@dwarf @ruud Instance blocks do not support wildcards.
Wildcard domain block · Issue #11558 · mastodon/mastodon

Pitch I'd like the ability to create a wildcard domain block so all subdomains on a domain can be automatically blocked. Eg, *.4chan.icu to block d1m5auvb55pl.4chan.icu, 7n9x11u5mz0ud7.4chan.icu, e...

GitHub
@ruario @dwarf @ruud I was in a hurry and told you about Misskey. Sorry.
@ruario @aqz @dwarf @ruud i think they were saying they are not supported on misskey
@dwarf @ruud iirc the misskey-forkbomb also seems to be affecting mastodon.

misskey and foundkey (and probably calckey too) has pushed an update to fix it
@puniko @dwarf @ruud yea, Ck, Fk, Mk, and Mv have it all fixed
@dwarf @ruud oh, repl.co belongs to https://replit.com/. They're a legitimate platform, if you report this to them they'll likely be thankful and ban the spammers on their site too
Replit – Build apps and sites with AI

Build and deploy software collaboratively with the power of AI without spending a second on setup.

replit
@daebb @ruud I would've, but they require signing up for their service to report, which I will not do.
@dwarf @ruud I think that’s just for reporting an individual malicious repl/user, but you don’t have that info anyway. They probably just don’t have a procedure for something like this (yet). I’ll ping them on twitter & attach a link to this thread.
Though an email to them with details would probably be helpful.
Misskeyをはじめよう【公式】 (@joinmisskey)

repl.co is a mistake (it seems that an attack server was standing on the subdomain. The instance block configuration does not support wildcards, so it is not necessary to configure it). repl.co は間違いです(サブドメインに攻撃用サーバーが立っていたようです。インスタンスブロック設定はワイルドカードに対応していないため、設定は不要です。) RE: **【Security Notice】** **"Forkbomb" vulnerability was found and fixed in Misskey v12.119.1.** Forkbombと呼ばれる脆弱性が発見され、v12.119.1で修正されています。 Each instance administrator must update Misskey and block the next instances. インスタンス管理者はMisskeyをアップデートし、インスタンスブロック設定で次のインスタンスを追加してください。 ``` activitypub-troll.cf misskey-forkbomb.cf repl.co ``` The joinmisskey instances list does not show instances of vulnerable versions. joinmisskeyインスタンスリストにおいて、脆弱性のあるバージョンは表示されません。

Misskey.io
@ruud More power to you! Stay strong! 🖖🏼
@ruud
In fact this is a good sign.
Someone is afraid of us!
@Fogomet @ruud -- The more popular Mastodon becomes, the more sophisticated the attacks will get. But the decentralization perhaps will make it easier to deal with such sabotage.
@floh @ruud
Right.
Anyway decentralization is a strong point because it is very difficult to buy Mastodon.
@ruud
Iemand wordt bang. Dat is betekenisvol.
Mastodon begint mee te tellen.
@ruud
@youronlyone possibly related to this attack (see post I'm replying to)
@vfrmedia
@ruud thank you for keeping us mortals safe from the trolls! Much appreciated!
@eggimt Already blocked and on our public block list for several hours.
@ordnung Next time I will look there first.
@ruud Yo @andybaio (not sure if you’re the toot’min)
@ruud Looks like it’s down (for the moment at least)

@ruud
@Steeph

Looks like they pulled the plug themselves. Could be anything. Wouldn't block for now till it's clear what's going on.

@roelfrenkema @ruud @Steeph I assume this was just a first attempt to undermine the AP protocol. We should think about how we can deal with these kind of attacks

@ij @roelfrenkema @ruud @Steeph

Like some people already mentioned, AP is email-like enough to end up with same problems (modulo ones that are fixed in email by DKIM, because an equivalent thereof is already here).

@robryk @roelfrenkema @ruud @Steeph Basically I could imagine similar methods like with email spammers, something like rspamd or spamassassin for AP and maybe a DNSBL with some kind of rating where every server can decide how high/low the blocking score is.

If a domain is reported by repubtable servers their spam score will get higher, etc...

@ij

The problem I see here is that we will end up being dominated by big and obviously commercial servers and everyone else blocked just like now with your home SMTP server.

@robryk @ruud @Steeph

@roelfrenkema @robryk @ruud @Steeph Therefor it is better that we implement something before the big commercial servers will do that.

When we can come up with a working and fair way of preventing this kind of spam/trolling it is very likely that large commercial servers will use that as well.

@ij @roelfrenkema @robryk @ruud @Steeph in the email world the big servers don't attest for smaller ones, just themselves. But here we could use such attestation by admins to bootstrap trust for new servers. Smaller instance admins would specify whose judgment they trust, and can obviously set local overrides for anybody else's score

@Natanael_L @ij @roelfrenkema @ruud @Steeph

But they do! It's a semi-common practice to send one's outgoing email via e.g. gmail to circumvent issues where either your ISP doesn't want you to open connections to SMTP, or if your target doesn't even want to listen to you over SMTP.

@robryk @ij @roelfrenkema @ruud @Steeph yeah, but using another server as a relay adds load for them

@Natanael_L

That's why most providers offer relay. Fact is it's all in corporate hands or blocked by clearinghouses. Freedom on the internet has died a long time ago.

@robryk @ij @ruud @Steeph

@Natanael_L

Have been thinking about it and it seems to me that the only thing to guarantee survival and freedom of smaller servers is a cap on the growth of larger servers.

@robryk @ij @ruud @Steeph

@roelfrenkema Then the question is: what is a reasonable max size for an instance?

According to a recent poll between my users, most voters would like to see a limit of 20-50k per instance, some see the limit at 100k.

In fact I also see that instances shouldn't be grow that big. Therefor I've written a small script to close registration when the limit is reached:

https://codeberg.org/Windfluechter/check_mastodon.sh

@Natanael_L @robryk @ruud @Steeph

check_mastodon.sh

Small script to open/close registrations on Mastodon servers when limit is reached

Codeberg.org

@ij

Well I favor small instances. Like family, neighborhoods, schools open none-profit organisation, closed for all others like government and commercial organisation's etc. I hope we can limit oppressive influence that way without setting a cap on the amount of users. Any commercial server who runs a mastodon server on commercials to facilitate users should be defederated on sight.

@Natanael_L @robryk @ruud @Steeph

@roelfrenkema What do you mean with "commercial"? Is a service that is paid by the users already commercial? That would mean digitalcourage.social would be defederated as they take €1.-/month from their users and I think that is a viable model for operation.

But I agree: server that blast out commercials (spam) should be defederated. But this is another story than preventing too-big-to-fail servers

@Natanael_L @robryk @ruud @Steeph

@ij

I don't think 1€ month can be called commercial. Anyway my first thought is a server set up maybe even integrated by f.i. Microsoft or Google or one that indeed blasts its users with 'free access' but showing commercials in the sidebar or God forbid selling userdata.

@Natanael_L @robryk @ruud @Steeph

@roelfrenkema @ij @Natanael_L @ruud @Steeph

You mean that 1€ is too little or too much for it to be considered commercial? The rest of your comment suggests that instances operated by for-profit entities that charge _too little_ are likely to match your intuitive meaning of commercial.

@robryk

1€ a month can hardly be considered for profit. You would need quite some users before you break even. Profit does not start until that point. But I think that's not the problem ahead. I fear the 'sponsors'. In my proposal f.i a nike.social should be considered a cooperate server that should be closed for subscription.

@ij @Natanael_L @ruud @Steeph

@roelfrenkema @ij @Natanael_L @ruud @Steeph

So we should be distrustful of instances being operated by for-profit entities (which host users other than representation of that entity) in general, right?

I wonder whether them requiring (non-token?) payment from users should be counted in their benefit: on one hand, this means that there is a business model for them that doesn't rely on deception; on the other, it incentivizes them to acquire more users (because their profit scales with usercount) by means that are potentially harmful for the environment.

@robryk

Exact. That's why I favor small instances. They are less likely to gain such power that they become harmful.

@ij @Natanael_L @ruud @Steeph

@ij

That's always good but let's not get paranoid shall we. Accidents happen too. Though the domain name does spell trouble. 🤣🤣🤣

@ruud @Steeph

@ruud
Put it in the filters? (Severely tech-challenged. 🥴)
@ruud I had a really quiet morning with mstdn.social not responding. It seems normal now.
@ruud @skiant huh did they start like. 6h ago or so? Because if so cool my monitoring works
@ruud @skiant i shouldn’t be excited about a ddos attempt but it sure is fun to write some monitoring stuff and IMMEDIATELY an interesting event happens that clearly shows up
@ruud cc: @woozle you might want to check this beep

@sozou @ruud
Our queue looks fine. It probably helps that I doubled our capacity when the Twitterfall started :D

Thanks for the heads-up. ^.^

[edit: I also went ahead and fedi-blocked troll.cf, because I did see a bunch of remote account connections and one spam report.]

@fribygda

I guess you saw this

@ruud

@Mizmar thanks, I'll preemptively block the domain