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

    Data Retention

    General pfSense Questions
    2
    7
    2.6k
    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
      jonnytabpni
      last edited by

      Hi Everyone,

      Is anyone aware of any method on how I could use my pfsense box for data retention purposes, as per EU law? EU law states that some businesses must store IP header information.

      Ideally, pfSense could be used to export the data to a "storage server" or some sort, similar to how syslog works

      Any ideas would be appreciated

      Cheers

      1 Reply Last reply Reply Quote 0
      • J
        jonnytabpni
        last edited by

        I guess what I could do is turn on logging for my allow rules, then set pfSense to send the data to a remote syslog server.

        Is this wise, given that this will be running 24/7?

        Thanks

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Remote syslog is definitely the way to go for long-term retention.

          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • J
            jonnytabpni
            last edited by

            Thanks jimp, but my main concern is the sheer amount of logging that will be done by pfsense. Do you think it will be able to handle the load?

            At the minute, our connection rate is about 10Mbps, however I expect this to rise sharply (to around 30Mbps) in the next 12 months or so as we sign up more customers.

            The pfsense box is a LGA775-based supermicro box. The currently CPU is an Intel Celeron with 1GB of RAM, however this can be upgraded if you think I need to.

            I guess I'm debating between doing it the above way or by using a dedicated box with a NIC in promiscuous mode

            Thanks

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              Logging doesn't take that much, even if you put a log entry on each rule, that only logs each connection, not each packet. If your syslog server is local, it shouldn't have any problems keeping up, even on a smaller device.

              Of course the only real way to know is to try.

              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • J
                jonnytabpni
                last edited by

                Thanks jimp, that's good to know. Yes, our syslog server will be local (on an interface of its own probably) and any remote replication done will be at the backup storage level.

                How does pfsense handle logging of connectionless protocols (e.g. UDP)?

                Cheers

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  If there is no connection state when the first packet is seen, it logs the first packet. It won't log again unless the state expires and a new state is created.

                  Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

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