Resonite日記 HTTP Proxyを使う

eai
·
公開:2023/12/6

2023.11.11.1231の更新でHTTP Proxyが設定できるようになった

Added support for HTTP proxies through configuration file (implemented by @Geenz)

  • This can be done by adding proxy entry to the Config.json file, which has following subentries:

    • autoDetect - whether to autodetect proxy settings (default false)

    • localBypass - local bypass on local domains (default true)

    • bypassDomains - list of domains to bypass

    • address - HTTP/S proxy to use for all web requests

    • credentialStore - source for proxy server credentials. Can be DefaultSystemCache, NetworkCache or UsernamePassword

    • username and password for the credentials

https://discord.com/channels/1040316820650991766/1154514012143362151/1172998867105624145

試してみましょう。

まあ、特に難しいことはなく書いてあるとおりにすれば使える。Config.jsonを置いて必要そうなプロパティを書くだけ。

今回はプロキシとしてCharlesを使ったが、FiddlerとかBurpとかでも問題ないはず

Charlesでの設定例

うまく行けば起動時からすべてのHTTPリクエストが見えるようになる

ユーザー製のPOSTリクエストなどもどのような通信が行われているのか一目瞭然になる

なお、フレンドのオンライン状況とか(ワールドのリストの初回以降の更新も?)はSignalRという機能で配信されている。これは基本的にWebSocketで繋ぐので(HTTPのポーリングなどにフォールバックすることもある?)HTTP Proxyではキャプチャできない。

SkyFrost、.NET大好きだな

追記: SignalRも見れるようになりました