analyze_blocked_traffic
Identify blocked traffic patterns and potential threats by grouping recent firewall log entries by source IP, showing hit counts, destination IPs, and threat scores.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of recent blocked entries to analyze (max 50) | |
| group_by_source | No | Group results by source IP with threat scoring |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||