新しいものを表示

子の風邪うつって一家全滅 :blobcatsick:
でも起きた時点では38.8℃だったのが、2時間ぐらい居間で爆睡してたら37.5℃まで下がった!

最近子乗せ(前乗り)自転車デビューをし、色んなところに行けるようになったのですが日差しが!つらい!!!
使ってないさすべえ(ハンドルに傘を取り付けられるアレ)があるので、それを使って子だけでも日傘の恩恵を授かろうと思ってるけれど日傘分ほんのちょっと自転車幅が大きくなりそうであと一歩が踏み出せない…

だんだん穏やかになってきた夏の夕暮れの光が入る部屋の中で、風邪っぴきの子と私でごろんとしつつ、星野源の曲を聴くのいいな

しき :verify: さんがブースト

What happened to Vivaldi Social?

https://thomasp.vivaldi.net/?p=918

On Saturday 8 July 2023, user accounts started disappearing from the Vivaldi Social Mastodon instance. What was going on, how did this happen, and what were the consequences?

This is a very long blog post, but to be fair, this was also to be a very long weekend.

Something’s not right

It was around 17:25 Oslo time (CEST) on the Saturday that I first noticed something was wrong. I’d just got home from a bike ride, and when I happened to check my Vivaldi Social tab, it suddenly asked me to log in again. “Unusual”, I thought, but I wasn’t immediately alarmed by it. But then when I did log in, I saw that my home timeline was now completely empty. I quickly reached out to my colleagues.

doing anything with mastodon? my home timeline is suddenly empty

Me, to my fellow sysadmins – Saturday 8 July 17:26 CEST

My fellow sysadmin very quickly got back to me. No work was ongoing, and his account was showing the same symptoms as mine. He offered to start heading to a computer so he could help me, an offer which I gratefully accepted.

By 17:32, another colleague outside of the sysadmin team had also noticed the same issue. I started to look into the database to see what was going on.

Something bad has happened

Looking at the database I could see that the affected accounts had apparently been deleted, and then recreated as a completely new account when the user logged back in.

Immediately, I started looking to see what database backups were available. As expected, we had a nightly backup from 23:00 UTC on Friday night. I started copying the file to somewhere I could make use of it.

While I was waiting for the backup file to copy, I started checking the database for other users that might be affected. and another one that I checked had also been deleted, but had not yet been recreated, likely because those users had not tried to log back into their accounts yet.

By this time, Hlini had arrived at a computer and started looking into things with me.

I started checking the web server logs for account deletion requests, but nothing matching the account deletions showed up; and then I realized something else was odd about these deletions.

Normally when an account is deleted in Mastodon, the username is permanently reserved as unusable. If you were to try to create a new account with the same name as a deleted account, it would not allow it (since, due to the nature of the Fediverse, having a new account with the same address as an old one would not be a good thing).

But in the case of these deletions, we were getting reassigned the exact same usernames, so these could not be not normal deletions.

By 18:39, Hlini had figured out the pattern: all accounts with an ID lower than 142 (ie. the oldest accounts) were missing from the database.

We hadn’t seen any discussion from other Mastodon server admins about anything like this, and we wondered if this could be something unique to our setup – after all, Vivaldi Social uses vivaldi.net accounts for logins (thanks to Mastodon’s OAuth support) instead of the normal signup and login system of Mastodon. We started considering asking the Mastodon developers for help, and we also started discussing strategies for restoring the lost data from the backup.

But then…

Something bad is happening right now

At 19:10, I checked the database again, and I saw that all accounts with an ID lower than 217 were now missing from the database, and that number was increasing. This meant that accounts were still being actively deleted from the database.

By this point we both agreed that we needed more help, so at 19:18 we contacted the Mastodon developers. We immediately got a reply from Renaud, and he pinged Claire and Eugen to enlist their help.

Stemming the flood

At 19:20, Hlini restarted all of the docker instances in our Mastodon setup. The deletions seemed to stop the moment he did this. The lowest ID in the database was now 236.

Fortunately it turned out that it would stay that way.

The investigation begins

198 accounts in total had been deleted during the course of this incident, and over the next few hours, together with the Mastodon devs, we started looking into what could be going on. On Eugen’s suggestion, we looked into the possibility of it being the UserCleanupScheduler deleting accounts that were “unconfirmed”, but this was eventually ruled out, as the deleted users could never have matched the query that it operated on.

Since we had upgraded to Mastodon 4.1.3 just 48 hours before the incident occurred, the Mastodon devs looked into all the code changes between v4.1.2 and v4.1.3 to see if anything there could be related. They even (and I cannot credit them enough for this) went the extra mile and looked through our published changes to see if any of the changes we had made could possibly lead to this. The conclusion though was that none of the changes could have triggered anything like this.

At the suggestion of Renaud and Eugen, we checked the filesystem to see if the deletions were being done directly in the database, or if they were being triggered by Mastodon itself. We could see that the avatar and header images for the deleted accounts had themselves also been deleted. This meant that the deletions had to be coming from the Mastodon application itself.

An attack?

We also started looking for signs of system intrusion, since it was certainly a possibility that this was some kind of deliberate attack. I spent some time checking the various logs that we had available to us, but I didn’t find anything (though in these cases, the absence of evidence can never rule out the possibility).

Because Mastodon v4.1.3 included a security fix, the devs also looked into the possibility of a related exploit, for which we combed through the logs, and examined the filesystem for evidence of such an attack. Again though, nothing was found.

We debated whether we should take Vivaldi Social offline altogether while we continued the investigation. The Mastodon devs gave arguments in both directions:

  • In favour of taking it offline: if we have to roll back the database to the backup, then more content will be lost the longer we keep it up.
  • In favour of keeping it running: if it is an attack, and it resumes, it might give us more opportunity to investigate how it’s being done.

We ultimately decided to keep it running. In truth what swung the decision that way was probably not the balance between the above arguments, but just a simple fact of us being sysadmins… [参照]

Vivaldi socialで起きた事件大変だけど読み物としては面白いな…
いつも通りページを開くと「ログインし直してください」と表示が出る

ログインし直すとページがまっさらになる

ほかのメンバーに連絡するとその人も同じことが起きる

どうやら再ログインするとアカウントが消され再び同じIDでアカウントが作り直されるらしい(fediverse的にありえない)

検証した結果古いアカウントから消されているようだ(VivaldiはMastodonとは違うログイン方法を採っている)

検証している間にも削除されるアカウントが増えていく

ど、どうなっちゃうの~!??!?

古文が苦手な場合はこの本が役に立つ!
amzn.asia/d/eD08ddu

これで助動詞と敬語の部分丸暗記すればいける

カビゴン、ハイパーになってからめちゃくちゃでかくなってポケモンたちがちまっこくなった…マスターになったらどうなっちゃうの…もう見えないんじゃないかな…

子、突然の40℃近くの高熱と嘔吐で土曜に救急かかっても東京なら医療費0円!ありがとう百合子!アメリカなら20万ぐらいしてた
子は風邪でした

しき :verify: さんがブースト

🔔Have you all read the notice?🔔

NSFW解除はログとして記録されており、NSFW付与が必要な画像に対して故意にNSFWフラグを外した場合、アカウントが凍結される可能性がありますのでご注意ください。
Please note that NSFW removal is logged, and if you intentionally remove the NSFW flag for an image that requires NSFW to be granted, your account may be frozen.
(by Deepl)

鼻先にチーク入れたあとにハイライト乗せるとめちゃくちゃ可愛くなるッ!わかるッ!!!

昔からVanessaさんはtwitterで見てたけどようつべめちゃくちゃ面白いな!初めて見た!

しき :verify: さんがブースト

A restaurant in Arashiyama, Kyoto. Painted 6 years ago today. Still available as a print here - jonathanestore.bigcartel.com

「あの鯖であの人があんなことを言っていた!刑事告訴!」となると鯖缶の仕事としてはちょっとめんどくさいことになりますね

しき :verify: さんがブースト

Mastodonの公開サーバを運営していると、警察の照会や捜査・押収の対象になることはあります。(もちろんMisskeyも同様です)

この際、正当な要請であれば捜査に協力します。法的根拠を求めて不当な捜査には抵抗しますが、まぁ強制捜査だとなんともならないことが考えられるので、提供可能な情報は提供されうると考えてください。

Mastodonはほとんど個人のデータを保持していないので、通常の捜査協力ではアクセス日時の裏付けや直近のIPアドレスの確認ぐらいしか提供できる情報はないのですが、

仮にデータベースを持って行かれた場合は、投稿データまるごとに加え、各アカウントの秘密鍵という重要情報が奪われる危険があります。死守したいところです。

VPSはまだしも、自宅サーバが物理で押収しやすいの、ちょっと怖いですね。

当局側が技術に明るければ、という条件付きではありますが、この秘密鍵と発信元ドメインをおさえられると、アカウントの乗っ取りが可能になってきます。大げさなようですが、クーデター・テロ対応など、事案によってはあり得るかもしれません。

なお、サーバが動いている状態、あるいは返却されれば、秘密鍵の再生成を行ってリモートサーバに差し替えリクエストを発行することで古い秘密鍵を無効にすることはできます。

あした隅田川っていうのをさっきしりました

でかいキャラが好きなので金カムでは房太郎と牛山にハマったんですが、牛山のおかげで「トラックみたいなキャラ」も好みに追加されました

しき :verify: さんがブースト

【Misskeyユーザー向けFedibird紹介】

Fedibird(フェディバード)は、おそらく、Misskeyのユーザーがいちばん馴染みやすいマストドンです。

通常のマストドンと違う点として、

・絵文字リアクション対応(どのリアクションにも相乗り可)
・引用リノート(引用)
・アンテナ(キーワード購読)
・クリップ(参照が相当)
・横長の絵文字対応
・プロフィールの『誕生日』
・プロフィールの『場所』
・全文検索(通常のMastodonより広範囲に検索可)
・Misskey同等のアンケート仕様(件数8件、添付画像可、無期限のみ不可)

などがあります。

Mastodon系の特徴としては、

・クライアントアプリが豊富
・仕様が安定している
・動作が安定している
・ポリシーが安定している
・ブロック・ミュート・フィルターの動作がしっかりしている
・連合を重視している

などがあります。

Misskeyが高機能というイメージがあると思いますが、引っ越し機能、投稿の自動削除など、Mastodon系の方が充実している面も多数あります。

Misskeyの他に何か試しておこうということであれば、ぜひチャレンジしてみてください。

ioが他社サービスの規約違反には対応できないよ、って言ってるの、当たり前だけど通報する人がいるの…?!

やっと…やっと…ハライタが治まって…寝られる…(完全に治まったと思えるぐらいでないと布団に入った後に爆撃がくるため)

古いものを表示
Fedibird

様々な目的に使える、日本の汎用マストドンサーバーです。安定した利用環境と、多数の独自機能を提供しています。