• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Update snort rules programmatically

Scheduled Pinned Locked Moved IDS/IPS
2 Posts 2 Posters 1.0k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    JustLeo
    last edited by Mar 30, 2017, 8:06 PM

    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…

    1 Reply Last reply Reply Quote 0
    • B
      bmeeks
      last edited by Apr 10, 2017, 11:25 PM

      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

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        [[user:consent.lead]]
        [[user:consent.not_received]]