add ipabusedb-docker-ssh: report sshd brute-force attempts from docker logs to AbuseIPDB

This commit is contained in:
sneak committed 2026-11-06 19:57:23 -08:00
1 parent fcb956124b
commit 21bda80f88
8 files changed
+658

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
BIN := ipabusedb-docker-ssh
.PHONY: build test lint fmt fmt-check check clean
build:
go build -o $(BIN) .
test:
go test ./...
fmt:
gofmt -w *.go
fmt-check:
@test -z "$$(gofmt -l .)" || { gofmt -l .; echo "gofmt: files need formatting"; exit 1; }
lint: fmt-check
go vet ./...
check: lint test build
clean:
rm -f $(BIN)