新月の開発
新月
開発
Bottom of this page.
|
<<last
0
1
2
2fe24976
anonymous
2025-03-16 23:59
>>e7d8020b
APIのPINGを叩いたときに、正しく接続元のIPアドレスが返ってきますか?
であれば問題ないのですが。
うちの環境では、X-Forwarded-For を使わないと以下のような挙動になります。
> use_x_forwarded_for: yes の場合
% curl -4
http://saku.loneb.net:8000/server.cgi/ping
PONG
123.224.60.65 <-- curlを叩いている端末のアドレス
> use_x_forwarded_for: no の場合
% curl -4
http://saku.loneb.net:8000/server.cgi/ping
PONG
::1 <-- reverse proxyのアドレス(loopbackへ転送しているので)
## 参考
新月プロトコル 0.8 ドラフト#1
https://shingetsu.info/protocol/protocol-0.8.d1#communication
> /ping
>ノードは「PONG\n相手ノードのIPアドレス」を返す。
Top of this page.
|
<<last
0
1
2
Name
E-mail
Post text
Agreement
Attach
limit: 1536KB
Send to other nodes
Turn off first post for new BBS when you want to save your anonymity.
Error in timestamp
To save anonymity. Turn off for consecutive post.
POST
新月
開発
(新月の開発/125/1.5MB)
Powered by
shinGETsu
.