Update snort rules programmatically
-
I'm using version 2.3.2 of pfsense.
Has anybody tried to update snort rules programmatically? from PHP shell.
Or is it possible to do this manually? cause if it is not possible via PHP shell, maybe I can automate the manual steps.Thanks in advance…
-
Snort does this automatically via a cron job. The update check interval is configurable within the GUI.
You can run this file to manually update if you want to do it outside of the cron process. Not sure why you would need to do this, though.
/usr/local/pkg/snort/snort_check_for_rule_updates.php
Bill
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.