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

    Swap and .eli

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 267 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.
    • JonathanLeeJ
      JonathanLee
      last edited by

      Hello fellow pfSense community members,

      I wanted to ask if anyone has seen .eli enabled by default to protect from memory leaks inside fstab? I learned you can enable this and it runs aes on boot up so the swap is protected again it seems like a good item to have on by default for swap partitions. What are your thoughts ?

      Make sure to upvote

      1 Reply Last reply Reply Quote 0
      • JonathanLeeJ
        JonathanLee
        last edited by

        51b72663-7f4c-471e-9245-920ffe43f395-image.png

        c363496e-ca82-4b24-ba6f-861484edd3fa-image.png

        This is how it is enabled has anyone else used .eli inside pfsense before?

        Make sure to upvote

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          As I understand it that sets up the SWAP as encrypted which seems unnecessary. Also is likely to make it significantly slower and with a higher CPU overhead.

          1 Reply Last reply Reply Quote 1
          • M
            mer
            last edited by

            If you go over to FreeBSD forums there have been a bunch of discussions about this.
            What happens is swap is encrypted with a one time key so if the device is rebooted, anything that was written is useless.
            Also for a bad actor to get to your swap space, they've already compromised your firewall device.
            Toss in the performance aspect and I think it's not useful on a pfSense device. That's just my opinion.
            Where I think it may be useful is on laptops being used as a general use system, that travel and hibernate and may get stolen.

            JonathanLeeJ 1 Reply Last reply Reply Quote 2
            • JonathanLeeJ
              JonathanLee @mer
              last edited by JonathanLee

              @mer it’s on a external drive so if someone grabs it and takes it my credit card etc is not on the drive as it’s encrypted non readable. Again it’s not internally stored, FreeBSD forum recommendation was to use Eli for external usb swaps as they can be grabbed and walk off.

              Make sure to upvote

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