0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-29 12:35:08 +01:00
gitea/routers/private
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
..
default_branch.go
hook_post_receive.go
hook_pre_receive.go
hook_proc_receive.go
hook_verification.go
internal_repo.go
internal.go log real ip of requests from ssh (#21216) 2022-10-11 16:57:37 +08:00
key.go
mail.go
manager_process.go
manager_unix.go
manager_windows.go
manager.go
restore_repo.go
serv.go
ssh_log.go