failregex
내 파일에 여러 줄을 추가하는 데 문제가 있습니다 jail.local
. 한 줄이면 작동하지만 두 줄이면 작동하지 않습니다.
이것은 내 Jail.local 구성입니다.
[sshd]
enabled = true
logpath = %(sshd_log)s
port = 22
banaction = iptables-multiport
mode = aggressive
failregex = %(known/failregex)s
^Bad protocol version identification '.*' from <HOST>
failregex = %(known/failregex)s
^runcloud\[\d+\]: echo: http: TLS handshake error from <ADDR>:\d+
답변1
그것을 알아 내고 두 번째를 제거하십시오 failregex = %(known/failregex)s
.
failureregex = %(알려진/failregex)s ^잘못된 프로토콜 버전 식별 '.*' from ^runcloud[\d+]: echo: http: TLS 핸드셰이크 오류 from :\d+