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

    SID configuration files go away on reboot

    Scheduled Pinned Locked Moved IDS/IPS
    3 Posts 2 Posters 372 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.
    • D Offline
      dcol Banned
      last edited by

      On every reboot of PFsense, in Suricata, all the sample and custom SID configuration files go away. I have to reinstall Suricata to get back the sample files and upload my custom ones again. All the other settings seem intact. Is this an option somewhere, or a bug?
      Pfsense 2.4.1
      Suricata 4.0.0.2

      1 Reply Last reply Reply Quote 0
      • bmeeksB Online
        bmeeks
        last edited by

        The only way I can imagine this happening is if you have some disk partitions on a RAMDISK.  A RAMDISK is naturally wiped clean on a reboot.  The SID management files are currently stored in the /var/lib/suricata/sidmods directory.  That directory and its files should never disappear unless you are running a RAMDISK with the /var partition on the RAMDISK.

        If you have RAMDISKS enabled, turn them off.  Or at least do not include the /var partition on a RAMDISK.

        Bill

        1 Reply Last reply Reply Quote 0
        • D Offline
          dcol Banned
          last edited by

          Yep, that was it. Now that my system disks are SSD, I really don't need the RAMDISK feature anymore. I am turning it off.
          Thanks again.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.