1
0

using journal instead of ssh file

This commit is contained in:
2024-09-22 03:33:48 +02:00
parent 75104020fc
commit 5f2f49d0eb
5 changed files with 48 additions and 53 deletions

View File

@ -10,4 +10,4 @@ FROM ubuntu:latest
RUN apt update && apt upgrade -y && apt install iptables iptables-persistent -y
COPY --from=builder /target/release/martillo-maldito ./
CMD [ "/martillo-maldito", "ban-server", "-f", "/host_ssh/auth.log", "-s", "/host_iptables/rules.v4" ]
CMD [ "/martillo-maldito", "ban-server" ]