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

    Nprobe on pfSense - experiences?

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 3 Posters 1.3k 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.
    • keyserK
      keyser Rebel Alliance
      last edited by

      Hi All.

      I have been using NtopNG for a while on pfSense, but since it's the community edition it's rather useless (no history).
      So a few months back I bought a NtopNG Enterprise embedded for my Raspberry pi, and started feeding it with flowdata form pfsense using the softflowd package.
      It works just fine, but the information level is quite limited in flow metadata only.

      I'm missing the all the advanced DNS and DPI decoding and alerting features NtopNG/Nprobe has!

      So I was wondering - does anyone have experience with running Nprobe on pfSense for the capture and analytics, and then have it send the detailed information to a separate NtopNG install via its builtin ZMQ?

      Ntop has a guide on how to install/run Nprobe on pfSense, so it probably works fine, but does any one have any experiences?

      Unfortunately I'm not a coder, because I would love to create a simple Nprobe pfSense package to allow simple install and configuration of Nprobe.
      I hate adding manual repositories and adding non-persistent configuration to pfSense.

      Love the no fuss of using the official appliances :-)

      NollipfSenseN dennypageD 2 Replies Last reply Reply Quote 0
      • NollipfSenseN
        NollipfSense @keyser
        last edited by NollipfSense

        @keyser said in Nprobe on pfSense - experiences?:

        Ntop has a guide on how to install/run Nprobe on pfSense, so it probably works fine

        Yes, here: https://www.ntop.org/guides/nprobe/how_to_start.html although, I have never configured nor have any experience with it. If you follow their instructions, it should work...

        pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
        pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

        1 Reply Last reply Reply Quote 0
        • dennypageD
          dennypage @keyser
          last edited by

          @keyser said in Nprobe on pfSense - experiences?:

          So I was wondering - does anyone have experience with running Nprobe on pfSense for the capture and analytics, and then have it send the detailed information to a separate NtopNG install via its builtin ZMQ?

          FWIW, you could use ntopng on pfSense to send the flows via zmq rather than than nprobe...

          keyserK 1 Reply Last reply Reply Quote 0
          • keyserK
            keyser Rebel Alliance @dennypage
            last edited by

            @dennypage Does that still work? As far as I can see that “feature” was deprecated way back when Ntop went NtopNG. It also makes sense it no longer works because then you could use a free NtopNG instead of a licensed nProbe on remote systems.

            Love the no fuss of using the official appliances :-)

            dennypageD 2 Replies Last reply Reply Quote 0
            • dennypageD
              dennypage @keyser
              last edited by

              @keyser Yes. See the ntopng command line doc here.

              The option

              --interface zmq://<IP address>
              

              is used to collects flows, and the option

              --export-flows tcp://<IP address>
              

              is used to export flows. As far as I know, these are not deprecated.

              FWIW, there was an older form of flow collection that is marked as deprecated

              --interface tcp://<IP address>
              

              but I expect it still works as it is still in the help message produced by

              --help
              

              The current pfSense package does not allow for configuration of these parameters however.

              1 Reply Last reply Reply Quote 2
              • dennypageD
                dennypage @keyser
                last edited by

                @keyser This might be of interest to you: Redmine #14375.

                I have a package built if you would like to test.

                keyserK 1 Reply Last reply Reply Quote 1
                • keyserK
                  keyser Rebel Alliance @dennypage
                  last edited by keyser

                  @dennypage Hi Denny

                  Really great that you are willing to put this effort into providing more options with NtopNG on pfSense.

                  I already have a licensed NtopNG Enterprise Embedded running on a Raspberry Pi 4 collecting flows from Softflowd and a licensed nProbe Pro embedded I have (Portmirror on switch). I have been testing the difference between flows recorded by SoftflowD on pfSense and Nprobe Pro (portmirrored LAN to pfSense).
                  The difference is HUGE. NProbe does a lot of DPI analysis + records all DNS queries and fills alll that in as flow metadata to NtopNG. So in the UI you can the client sessions with domainnames instead of IP addresses and a lot of trafficanalysis of the sessions.
                  So it is much easier to dissect/analyze what happened in the nProbe flows than from SoftflowD.

                  I record this to a Clickhouse server on the same Pi. Runs great, and gives me 180 days history of all flows back in time.

                  I have decided to forego running the NtopNG package on pfSense as it cannot be licensed and work fully featured. I realize that one could perhaps avoid the licensing cost of a nProbe (And a port switchmirror) by setting up nTopNG like you suggested, but its a “heavy” package with lots of discwrites for nothing compared to nProbe. So I’ll stick with the nProbe Embedded as the deluxe flow generator, and look forward to testing the built-in pf flow exporter in 24.03 as the poormans flow solution.

                  But your work is still very much appreciated, and I’m sure it will be very well recieved in the community

                  Love the no fuss of using the official appliances :-)

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