For IPv4 and IPv6 connections, the REMOTE_ADDR environment variable will contain the remote IP address, https://www.freedesktop.org/software/systemd/man/systemd.socket.html 環境変数 REMOTE_ADDR で接続元のIPアドレスを取得できる。
引用をストックしました
引用するにはまずログインしてください
引用をストックできませんでした。再度お試しください
限定公開記事のため引用できません。