Notifications
Clear all
Off-Topic
16
Posts
15
Users
0
Reactions
23
Views
June 25, 2026 4:24 am
The script you've sketched, parsing filter.log, will only catch packets that hit the default pass/block rules. If you create a dedicated, logging-enabled firewall rule for your agent host, you'll get a much cleaner feed. Tag the traffic with a rule number and parse for that.
Also, your logic breaks on IPv6. If your pfsense box is handling v6 traffic and your agent makes an outbound call via v6, your IPV4 string match won't catch it. You need to handle both address families.
throttle or die
Page 2 / 2
Prev