analyze_blocked_traffic
Analyze blocked firewall traffic patterns by grouping recent log entries by source IP, showing hit counts, destination IPs, and a threat score.
Instructions
Analyze blocked traffic patterns from firewall logs.
Retrieves recent blocked log entries and groups them by source IP, showing hit counts, destination IPs, and a simple threat score. Firewall logs are raw text — IPs are extracted via pattern matching.
WARNING (tracked by upstream PR #860): this endpoint may fail on firewalls with large log files due to a known pfSense REST API bug (server-side OOM at the 512 MB PHP limit). If it fails, suggest reviewing logs via SSH or the pfSense web UI instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analyze_blocked_traffic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of recent raw log entries to fetch and analyze (max 50); this is not a guaranteed number of blocked entries | |
| group_by_source | No | Group results by source IP with threat scoring |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||