Skip to content

Commit db2f4c8

Browse files
authored
Merge pull request #293 from HOSTED-POWER/docs/tscli-0.3-commands
Document tscli 0.3/0.4 commands in the CLI reference
2 parents 3f5151b + 6753f5e commit db2f4c8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Tools/turbostackcli.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ The TSCLI tool uses levels of arguments to categorize functions. Every command s
2929
[!badge icon="rocket" text="tscli blackfire reload"] - Restarts the Blackfire Profiler service, to apply changes to the configuration.
3030

3131
### Firewall
32-
[!badge icon="rocket" text="tscli firewall check <ip>"] - Returns info on whether or not the IP parameter is listed in the iptables. Please make sure to only use valid IP addresses.
32+
[!badge icon="rocket" text="tscli firewall check <ip>"] - Reports whether the IP is blocked, across both the Intrusion Prevention (IPS) layer (behavioral and manual blocks) and the firewall blocklist. Please make sure to only use valid IP addresses.
3333

34-
[!badge icon="rocket" text="tscli firewall block <ip>"] - Adds a firewall rule to block a specific IP address as specified in the IP parameter. Defaults to 24 hours, use `--time` option to specify duration, with -1 for permanent blocks. Use the `--comment` option to add a comment.
34+
[!badge icon="rocket" text="tscli firewall block <ip>"] - Adds a firewall rule to block a specific IP address as specified in the IP parameter. Blocks the IP for 30 days by default; use the `--time <seconds>` option for a different duration, or `--time -1` for a permanent block. Use the `--comment` option to add a comment.
3535

36-
[!badge icon="rocket" text="tscli firewall unblock <ip>"] - Removes the provided IP address from the firewall's deny list.
36+
[!badge icon="rocket" text="tscli firewall unblock <ip>"] - Removes the provided IP address from the firewall's deny list, and also clears any matching Intrusion Prevention (IPS) decision so it is not automatically re-blocked.
3737

3838
[!badge icon="rocket" text="tscli firewall display-blocks"] - Lists all active manual firewall blocks. Use `--full` to also get the automated blocks, we recommend piping the output to a file or a command-line text processing tool like grep or less.
3939

0 commit comments

Comments
 (0)