You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/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>
2 years ago
..
hook.go Fix the bug: deploy key with write access can not push (#19010) 2 years ago
internal.go log real ip of requests from ssh (#21216) 2 years ago
key.go refactor: move from io/ioutil to io and os package (#17109) 3 years ago
mail.go format with gofumpt (#18184) 2 years ago
manager.go Allow manager logging to set SQL (#20064) 2 years ago
restore_repo.go Update HTTP status codes to modern codes (#18063) 2 years ago
serv.go Fix the bug: deploy key with write access can not push (#19010) 2 years ago