run iptables/ipset directly

This commit is contained in:
Pierre Dubouilh
2025-02-01 12:15:20 +02:00
parent 1dca57a191
commit 676bc30af8
2 changed files with 12 additions and 14 deletions
+2 -4
View File
@@ -8,7 +8,8 @@ run::
touch /tmp/clftest
touch /tmp/jsontest
touch /tmp/generictest
cargo run -- -v -s=/tmp/sshdtest -c=/tmp/clftest -j=/tmp/jsontest --generic-logpath=/tmp/generictest --generic-ip='from ([0-9a-fA-F:.]+) port' --generic-positive='Failed password'
cargo build
sudo target/debug/blockfast -v -s=/tmp/sshdtest -c=/tmp/clftest -j=/tmp/jsontest --generic-logpath=/tmp/generictest --generic-ip='from ([0-9a-fA-F:.]+) port' --generic-positive='Failed password'
ci:: test
cargo fmt --all -- --check
@@ -30,9 +31,6 @@ watch::
test::
cargo test
watch-test::
ls src/*.rs | entr -rc -- make test
release::
cargo build --target x86_64-unknown-linux-musl --release