すごぃでかぃ釣り針が送られてきた
すごぃでかぃ釣り針が送られてきた
ヘッダFromのドメインにSPFは設定されていない。最初のRecievedのドメインはGoDaddyに登録されているもので、最初のパブリックなReceivedのドメインはカリフォルニアの会社、IPアドレスはAWSのus-east-1のEC2。
Keep same passwordボタンのリンク先のドメインとIPアドレスはUKの会社のもの。
巧妙に正体を隠してる気がするなあ。Report phishing。釣り針のアイコンがすきw
Ubuntu 22.04.4 LTSメンテしとくて
$ sudo sh -c 'apt update && apt dist-upgrade -y'
:
The following NEW packages will be installed:
linux-headers-5.15.0-119 linux-headers-5.15.0-119-generic linux-image-5.15.0-119-generic linux-modules-5.15.0-119-generic
linux-modules-extra-5.15.0-119-generic
The following packages have been kept back:
python3-update-manager update-manager-core
The following packages will be upgraded:
linux-generic linux-headers-generic linux-image-generic
3 upgraded, 5 newly installed, 0 to remove and 2 not upgraded.
3 standard LTS security updates
:
$ cat /var/run/reboot-required*
linux-image-5.15.0-119-generic
$ sync; sync; sync; sudo reboot
(-人-)
Ubuntu 20.04.6 LTSもメンテしとくて
$ sudo sh -c 'apt update && apt dist-upgrade -y'
:
The following NEW packages will be installed:
linux-image-5.4.0-193-generic linux-modules-5.4.0-193-generic linux-modules-extra-5.4.0-193-generic
The following packages will be upgraded:
linux-image-generic linux-libc-dev
2 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
2 standard LTS security updates
:
$ cat /var/run/reboot-required*
*** System restart required ***
linux-image-5.4.0-193-generic
linux-base
$ sync; sync; sync; sudo reboot
(-人-)
さてさて
2da687a28b (upstream/main) Remove dead CSS code (#31527)
edeae945c0 Remove fontawesome leftovers (#31525)
19a1acb38b Add `api_versions` to `/api/v2/instance` (#31354)
d67e11733e Add automatic notification polling for grouped notifications (#31513)
01a757d306 Fix boost dialog visibility selection not being taken into account (#31523)
e48a64d3b5 Fix distracting and confusing always-showing scrollbar track in boost confirmation modal (#31524)
8c7642cd18 Change translation strings of grouped notification label to have full context (#31486)
b91264b1f3 Update dependency fugit (#31522)
3994195fea New Crowdin Translations (automated) (#31521)
b06c7b6b5a Change hints for missing remote content in web UI (#31516)
\Master?/ \ますたー/
Merged mastodon/mastodon at 2da687a28b509025343d3d8ca17753de9b128e8f.
ぎゃー
/app/vendor/bundle/ruby/3.3.0/gems/redis-4.8.1/lib/redis/connection/hiredis.rb:19:in `connect': SSL not supported by hiredis driver (NotImplementedError)
ぎゃー
{"level":"error","time":1724270873214,"pid":126,"hostname":"ddb70fbf-1599-44bf-b4ae-d2c1e83b8ce8","name":"streaming","err":{"type":"Error","message":"self-signed certificate in certificate chain","stack":"Error: self-signed certificate in certificate chain\n at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)\n at TLSSocket.emit (node:events:519:28)\n at TLSSocket._finishInit (node:_tls_wrap:1085:8)\n at ssl.onhandshakedone (node:_tls_wrap:871:12)","code":"SELF_SIGNED_CERT_IN_CHAIN"},"msg":"Redis Client Error!"}
プロダクションのデータストアを利用するMastodonをローカルで動かす
$ heroku config -s > env.zundan-mastodon
$ bundle install
$ yarn install
$ sed -i 's/^/export /' env.zundan-mastodon
$ source env.zundan-mastodon
$ bundle exec rake assets:precompile
Puma
$ BIND=0.0.0.0 bundle exec puma -C config/puma.rb &
$ curl -v -H "Host: $LOCAL_DOMAIN" -H "X-forwarded-proto: https" http://localhost:3000
Sidekiq
$ bundle exec sidekiq -c 1 -q default -q ingress -q mailers -q pull -q push
ストリーミング
$ BIND=0.0.0.0 node ./streaming
TLSのRedisへの接続情報をTLSではない環境変数に移す
$ for p in '' CACHE_ SIDEKIQ_; do echo export ${p}REDIS_URL=\$${p}REDIS_TLS_URL; echo unset ${p}REDIS_TLS_URL; done > env.remove_redis_tls_url
$ source env.remove_redis_tls_url
Puma
$ BIND=0.0.0.0 bundle exec puma -C config/puma.rb &
$ curl -H "Host: $LOCAL_DOMAIN" -H "X-forwarded-proto: https" http://localhost:3000
:
NotImplementedError (SSL not supported by hiredis driver):
:
Sidekiq
$ bundle exec sidekiq -c 1 -q default -q ingress -q mailers -q pull -q push
:
/home/zunda/c/src/github.com/zunda/mastodon/vendor/bundle/ruby/3.3.0/gems/redis-4.8.1/lib/redis/connection/hiredis.rb:19:in `connect': SSL not supported by hiredis driver (NotImplementedError)
:
ストリーミング
$ BIND=0.0.0.0 node ./streaming
:
:Error: self-signed certificate in certificate chain
at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)
at TLSSocket.emit (node:events:519:28)
at TLSSocket._finishInit (node:_tls_wrap:1085:8)
at ssl.onhandshakedone (node:_tls_wrap:871:12)
:
とほほ
ストリーミングにオレオレ証明書を許してもらう
https://github.com/zunda/mastodon/commit/5b0d470412c98ba1ca337b1a431044ea100392a7
Ruby側はどうしようかねえ…
Ruby側はhiredisを除く感じにしてたわね (当時は非TLSでいいことになってリバートしたもよう)
https://github.com/zunda/mastodon/commit/f83555e34de34733eb0448c18277307c5d1fbd1a
お仕事に集中していないのでAnytime Anywhereをスキップされない魔法がじょうず #おっさんは仕事して
このアカウントは、notestockで公開設定になっていません。
eInk名札むっちゃロマンなんだけど持っていく先がないんだよね←
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
言語化といえば、半年くらいかけて本を書いてみることにしたんだけど、たぶん公開先はZennなので、相変わらず設営はできないしそもそも厚さを定義できない←