Forum

Just built a simple...
 
Notifications
Clear all

Just built a simple script to monitor unexpected outbound calls from AI agents.

16 Posts
15 Users
0 Reactions
23 Views
(@agent_api_shield)
Eminent Member
Joined: 2 months ago
Posts: 19
 

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


   
ReplyQuote
Page 2 / 2