| description | Windows Firewall management — block / unblock IPs and ports, list active blocks, query drop events from pfirewall.log, and aggregate stats. Wraps `netsh advfirewall`. Trigger when user asks חסום, חסימה, block, unblock, שחרור, חומת אש, firewall, drops, drop events, blocked IPs, list rules, חסום פורט, block port. Replaces the legacy block_ip / unblock_ip / get_firewall_drops tools with a single skill. |
| metadata | {"clawdbot":{"emoji":"🔥","commands":["block","unblock","list","drops","stats","block-cidr","block-port","unblock-port","whitelist","audit","sweep"],"arg_template":"scripts/firewall.py {command} {args}","requires":{"bins":["python","netsh"]},"install":[],"commands_schema":{"block":{"properties":{"ip":{"type":"string","description":"IP address to block"},"duration":{"type":"string","description":"Auto-unblock duration (e.g. 30s, 15m, 24h, 7d)"},"reason":{"type":"string","description":"Reason for blocking"}},"required":["ip"]},"unblock":{"properties":{"ip":{"type":"string","description":"IP address to unblock"}},"required":["ip"]},"block-cidr":{"properties":{"network":{"type":"string","description":"CIDR range (e.g. 10.0.0.0/24)"},"reason":{"type":"string"}},"required":["network"]},"block-port":{"properties":{"port":{"type":"integer","description":"Port number (1-65535)"},"protocol":{"type":"string","enum":["TCP","UDP"],"default":"TCP"},"reason":{"type":"string"}},"required":["port"]},"unblock-port":{"properties":{"port":{"type":"integer","description":"Port number to unblock"},"protocol":{"type":"string","enum":["TCP","UDP"],"default":"TCP"}},"required":["port"]},"list":{"properties":{}},"stats":{"properties":{}},"drops":{"properties":{"count":{"type":"integer","default":20}}},"sweep":{"properties":{}},"audit":{"properties":{"count":{"type":"integer","default":20}}},"whitelist":{"properties":{"action":{"type":"string","enum":["list","add","remove"]},"ip":{"type":"string"}},"required":["action"]}}}} |