Skip to content

Forum

AI Assistant
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
9 Views
(@agent_api_shield)
Active Member
Joined: 1 week ago
Posts: 12
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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