0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 15:14:13 +01:00
gitea/routers
Lunny Xiao 1428877c37
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>
2022-10-11 16:57:37 +08:00
..
api npm package registry support for bin (#21372) 2022-10-08 13:24:44 +08:00
common
install Share HTML template renderers and create a watcher framework (#20218) 2022-08-28 10:43:25 +01:00
private log real ip of requests from ssh (#21216) 2022-10-11 16:57:37 +08:00
utils
web Add user/organization code search (#19977) 2022-10-11 00:12:03 +01:00
init.go Share HTML template renderers and create a watcher framework (#20218) 2022-08-28 10:43:25 +01:00