1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Upgrade Gliderlabs SSH to 0.3.3 and add FailedConnectionCallback (#16278)

* Upgrade Gliderlabs SSH to 0.3.3 and add FailedConnectionCallback

Following the merging of https://github.com/gliderlabs/ssh/pull/143 we
can now report connections to the ssh server that have failed before
public key exchange has completed using the standard fail2ban message.

This PR updates Gliderlabs SSH and adds a callback that will provide this
logging.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* move the callback to its own function to make the logging appear little nicer

Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
zeripath
2021-06-28 18:05:27 +01:00
committed by GitHub
parent 5c80ecc2f7
commit f825f20d49
31 changed files with 368 additions and 31 deletions

7
vendor/modules.txt vendored
View File

@@ -108,7 +108,6 @@ github.com/andybalholm/brotli
## explicit
github.com/andybalholm/cascadia
# github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be
## explicit
github.com/anmitsu/go-shlex
# github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d
github.com/asaskevich/govalidator
@@ -270,7 +269,7 @@ github.com/ethantkoenig/rupture
github.com/felixge/httpsnoop
# github.com/fsnotify/fsnotify v1.4.9
github.com/fsnotify/fsnotify
# github.com/gliderlabs/ssh v0.3.2
# github.com/gliderlabs/ssh v0.3.3
## explicit
github.com/gliderlabs/ssh
# github.com/go-asn1-ber/asn1-ber v1.5.3
@@ -857,7 +856,7 @@ go.uber.org/zap/internal/bufferpool
go.uber.org/zap/internal/color
go.uber.org/zap/internal/exit
go.uber.org/zap/zapcore
# golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a
# golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e
## explicit
golang.org/x/crypto/argon2
golang.org/x/crypto/bcrypt
@@ -914,7 +913,7 @@ golang.org/x/oauth2/google/internal/externalaccount
golang.org/x/oauth2/internal
golang.org/x/oauth2/jws
golang.org/x/oauth2/jwt
# golang.org/x/sys v0.0.0-20210608053332-aa57babbf139
# golang.org/x/sys v0.0.0-20210616094352-59db8d763f22
## explicit
golang.org/x/sys/cpu
golang.org/x/sys/execabs