diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2022-10-11 16:57:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-11 16:57:37 +0800 |
commit | 1428877c379e21481c31114cf39df2c0c14d874f (patch) | |
tree | 9d1c6cd976d1b97f1b8ed59359a4248646fe7402 /BSDmakefile | |
parent | c540ee08d322c5de41c014330434351fbd885d74 (diff) | |
download | gitea-1428877c379e21481c31114cf39df2c0c14d874f.tar.gz gitea-1428877c379e21481c31114cf39df2c0c14d874f.zip |
log real ip of requests from ssh (#21216)
Partially fix #21213.
This PR will get client IP address from SSH_CONNECTION env which should
be the first field of that. And deliver it to the internal API so Gitea
routers could record the real IP from SSH requests.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'BSDmakefile')
0 files changed, 0 insertions, 0 deletions