File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- 1.93 .0
1+ 1.94 .0
Original file line number Diff line number Diff line change @@ -51,27 +51,37 @@ nftban_cmd_smoke() {
5151 fi
5252 echo " "
5353
54+ # v1.94+: Go-based registry-driven smoke (flags pass through to nftban-core)
5455 case " $subcommand " in
56+ --json|--group=* |--module=* |--deep)
57+ # Go smoke: pass all args through to nftban-core smoke
58+ local core_bin=" ${NFTBAN_CORE_BIN:- ${NFTBAN_LIB_DIR:-/ usr/ lib/ nftban} / bin/ nftban-core} "
59+ if [[ -x " $core_bin " ]]; then
60+ " $core_bin " smoke " $subcommand " " $@ "
61+ return $?
62+ else
63+ echo " ERROR: nftban-core binary not found at $core_bin " >&2
64+ return 1
65+ fi
66+ ;;
67+
68+ # Legacy shell smoke subcommands
5569 run|test)
5670 nftban_smoke_run " $@ "
5771 ;;
5872 quick)
5973 nftban_smoke_run --quick " $@ "
6074 ;;
6175 all|detailed)
62- # Comprehensive test of ALL 43 CLI commands
6376 nftban_smoke_run --all " $@ "
6477 ;;
6578 lifecycle)
66- # Ban/unban + whitelist lifecycle tests only
6779 nftban_smoke_run --lifecycle " $@ "
6880 ;;
6981 verify)
70- # Smart validation: verify counts match expectations
7182 nftban_smoke_verify " $@ "
7283 ;;
7384 config|configs)
74- # Verify config file integrity (CI/build validation)
7585 nftban_smoke_verify_configs " $@ "
7686 ;;
7787 check|orphans)
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22# =============================================================================
3- # NFTBan v1.93 .0 - FHS Specification (GENERATED)
3+ # NFTBan v1.94 .0 - FHS Specification (GENERATED)
44# =============================================================================
55# SPDX-License-Identifier: MPL-2.0
66#
77# meta:name="nftban_fhs_spec"
88# meta:type="core"
99# meta:header="FHS Specification"
10- # meta:version="1.93 .0"
10+ # meta:version="1.94 .0"
1111# meta:owner="Antonios Voulvoulis <contact@nftban.com>"
1212# meta:homepage="https://nftban.com"
1313#
You can’t perform that action at this time.
0 commit comments