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

Canot make Solarwinds Real-Time NetFlow Analyzer and pfsense netflow to work

Scheduled Pinned Locked Moved Traffic Monitoring
17 Posts 6 Posters 9.9k 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.
  • S
    Snailkhan
    last edited by Nov 22, 2015, 3:20 PM Nov 22, 2015, 2:56 PM

    Hi,

    i enabled netflow on pfsense and installed solarwinds netflow realtime analyzer to get a feel of pfsense netflow cababilites.
    my configs are given in below screen shots for both pfsense and realtime netflow analyzer.

    i get the error as shown in last picture.
    i am selecting correct interfaces. tried on all possible interfaces ..
    http://www.solarwinds.com/products/freetools/netflow-analyzer.aspx

    i followed this guide
    http://hubpages.com/technology/How-to-Export-Netflow-Data-from-pfSense-using-pfflowd
    ![netflow settings on pfsense.PNG](/public/imported_attachments/1/netflow settings on pfsense.PNG)
    ![netflow settings on pfsense.PNG_thumb](/public/imported_attachments/1/netflow settings on pfsense.PNG_thumb)
    ![netflow settings -2 on pfsense.PNG](/public/imported_attachments/1/netflow settings -2 on pfsense.PNG)
    ![netflow settings -2 on pfsense.PNG_thumb](/public/imported_attachments/1/netflow settings -2 on pfsense.PNG_thumb)
    ![solarwind 1 snmp test pass.PNG](/public/imported_attachments/1/solarwind 1 snmp test pass.PNG)
    ![solarwind 1 snmp test pass.PNG_thumb](/public/imported_attachments/1/solarwind 1 snmp test pass.PNG_thumb)
    ![solarwind 2 device detected and traffic on interfaces shown but error when starting netflow capture.PNG](/public/imported_attachments/1/solarwind 2 device detected and traffic on interfaces shown but error when starting netflow capture.PNG)
    ![solarwind 2 device detected and traffic on interfaces shown but error when starting netflow capture.PNG_thumb](/public/imported_attachments/1/solarwind 2 device detected and traffic on interfaces shown but error when starting netflow capture.PNG_thumb)

    1 Reply Last reply Reply Quote 0
    • T
      TedStriker
      last edited by Nov 22, 2015, 5:15 PM

      Interesting, I can't help but I am experiencing the exact same problem. Can see the pfSense device in the Solarwinds page but not showing any Flow Type.

      I tried ManageEngine's NetFlow Analyzer and that worked fine but I'd like to use the Solarwinds tool as it's so lightweight.

      2015-11-22.png
      2015-11-22.png_thumb

      1 Reply Last reply Reply Quote 0
      • S
        Snailkhan
        last edited by Nov 22, 2015, 5:20 PM

        @TedStriker:

        Interesting, I can't help but I am experiencing the exact same problem. Can see the pfSense device in the Solarwinds page but not showing any Flow Type.

        I tried ManageEngine's NetFlow Analyzer and that worked fine but I'd like to use the Solarwinds tool as it's so lightweight.

        cent persent we are in the same boat.

        besides i also tried wireshark on nms machine running solarwind to see if it was seeing any  netflow packets .. and it was seeing it ..

        i red below

        https://thwack.solarwinds.com/thread/31006

        I have a similar problem to the one shown here.  We have a network of 3750 switches that won't do NetFlow, so we set up SPAN ports and pushed the traffic to a Linux box.  The Linux box is using SoftFlowd to format the NetFlow stream and send it to my Orion NTA server.  When I run a WireShark capture, I get something similar to what you see above - the source/destination IPs and ports are coming through, but the InputInt and OutputInt and ToS show zero.

        I'm definitely getting a steady stream of NetFlow data from the Linux box, but NTA doesn't appear to be accepting or processing any of it.  Has anyone else run into this situation, and can you suggest a fix?

        Thanks.

        and when i looked into pdu of netflow packet generated by pfsense i could see that the source/destination IPs and ports are coming through, but the InputInt and OutputInt and ToS show zero. are zero in my case as well ..

        so it seems the implementation of netflow in pfsense is not compatible with solarwinds..

        however pfflow as per article i quoted seems to be working ..

        any idea which versino of pfsense stopped shipping with pfflow so we can test it with our solarwind in  a vm ?

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by Nov 22, 2015, 11:19 PM

          Solarwinds? Considered using something else? I mean, the idiot who cannot understand what "needed" means, calls himself a "Solarwinds Head Geek, M.S., MCITP:EA, MCDBA, MCSA, MVP" would seem like a damn good reason to not touch their products even with a 10ft pole.

          1 Reply Last reply Reply Quote 0
          • S
            Snailkhan
            last edited by Jan 16, 2016, 4:56 PM

            anyhelp ?
            i need to make it work with netflow.

            1 Reply Last reply Reply Quote 0
            • T
              TedStriker
              last edited by Jan 16, 2016, 6:21 PM

              I have also tried running softflowd on a ubuntu box with no pfsense etc and get the same result. Wiresharking does indeed show the interface numbers to be set to zero.

              Apparently pfflow does it properly so I'm going to look into using that with openBSD

              This is part of a packet from softflowd showing the zero interfaces

              pdu 1/7
                  SrcAddr: 172.31.6.120
                  DstAddr: 172.18.140.43
                  NextHop: 0.0.0.0
                  InputInt: 0
                  OutputInt: 0
                  Packets: 11
                  Octets: 7944
                  [Duration: 29.514000000 seconds]
                  SrcPort: 389
                  DstPort: 55995
                  Padding: 00
                  TCP Flags: 0x1e
                  Protocol: TCP (6)
                  IP ToS: 0x00
                  SrcAS: 0
                  DstAS: 0
                  SrcMask: 0 (prefix: 172.31.6.120/32)
                  DstMask: 0 (prefix: 172.18.140.43/32)
                  Padding: 0000

              1 Reply Last reply Reply Quote 0
              • S
                Snailkhan
                last edited by Jan 16, 2016, 7:04 PM

                i cannot find pfflow in packages.

                1 Reply Last reply Reply Quote 0
                • T
                  TedStriker
                  last edited by Jan 16, 2016, 8:14 PM

                  I don't think pfflow is available on pfsense any more. I read a few days ago about a patch someone had created to fix the bug, but can't find it again!

                  I used Manage Engine Netflow Analyzer trial and that was ok with the softflowd output, looks like Solarwinds is just a bit fussier.

                  Pfflowd is available on OpenBSD so you could build a dedicated box just for that but it's a bit of a faff for what should be a simple process.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Snailkhan
                    last edited by May 20, 2016, 10:07 AM

                    hi
                    is it resolved in the latest incarnation of pfsense ?

                    1 Reply Last reply Reply Quote 0
                    • J
                      jvodan
                      last edited by Jun 1, 2016, 3:24 AM

                      The following patch is suppose to fix the issue for softflowd
                      https://github.com/pwarren/softflowd/issues/3

                      Oh well now I need to work out how to compile for a pfsense target

                      1 Reply Last reply Reply Quote 0
                      • S
                        Snailkhan
                        last edited by Jun 12, 2016, 8:03 PM

                        @jvodan:

                        The following patch is suppose to fix the issue for softflowd
                        https://github.com/pwarren/softflowd/issues/3

                        Oh well now I need to work out how to compile for a pfsense target

                        I hope someone more knowledgeable then us do it.

                        1 Reply Last reply Reply Quote 0
                        • S
                          Snailkhan
                          last edited by Jul 5, 2016, 8:53 PM

                          any idea if this is resolved ?

                          1 Reply Last reply Reply Quote 0
                          • jimpJ
                            jimp Rebel Alliance Developer Netgate
                            last edited by Jul 6, 2016, 1:21 PM

                            If you have a manged switch that supports netflow, you could make the switch(es) export flows to Solarwinds instead of the firewall itself.

                            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
                            • S
                              Snailkhan
                              last edited by Jul 15, 2016, 9:47 AM

                              @jimp:

                              If you have a manged switch that supports netflow, you could make the switch(es) export flows to Solarwinds instead of the firewall itself.

                              as this is a small network between few neighbours so no managed switch only 15-20 clients from one uplink .

                              i had earlier cisco 1841 which was working fine with this free solarwind tool for troubleshooting network performance on need basis.

                              any chance if it will be fixed in pfsense ?

                              1 Reply Last reply Reply Quote 0
                              • A
                                antonylogicmonitor
                                last edited by Aug 25, 2016, 1:26 PM

                                I will hazard a guess:

                                The PFSense netflow output does not include the OUTPUT_SNMP field.

                                This is not a mandatory field but without it, netflow data reporting can be… less than 100% accurate.

                                The same is true (i.e. the same field is absent) on certain Meraki devices - see the very bottom of this page:
                                https://documentation.meraki.com/MX-Z/Monitoring_and_Reporting/NetFlow_Overview

                                "SolarWinds NTA ignores NetFlow packets that do not contain either an SNMP ingress or egress interface index" - although that page says MX models do include this, plenty of other Meraki devices don't, meaning that their netflow data is discarded by SolarWinds.

                                I have recently checked the netflow output from a PFSense device and the OUTPUT_SNMP field was absent from that data. I suspect that this is why the OP is not seeing traffic within SolarWinds.

                                1 Reply Last reply Reply Quote 0
                                • T
                                  TedStriker
                                  last edited by Aug 25, 2016, 10:04 PM

                                  @antony@logicmonitor:

                                  I will hazard a guess:

                                  The PFSense netflow output does not include the OUTPUT_SNMP field.

                                  This is not a mandatory field but without it, netflow data reporting can be… less than 100% accurate.

                                  The same is true (i.e. the same field is absent) on certain Meraki devices - see the very bottom of this page:
                                  https://documentation.meraki.com/MX-Z/Monitoring_and_Reporting/NetFlow_Overview

                                  "SolarWinds NTA ignores NetFlow packets that do not contain either an SNMP ingress or egress interface index" - although that page says MX models do include this, plenty of other Meraki devices don't, meaning that their netflow data is discarded by SolarWinds.

                                  I have recently checked the netflow output from a PFSense device and the OUTPUT_SNMP field was absent from that data. I suspect that this is why the OP is not seeing traffic within SolarWinds.

                                  Yes, that is the problem and a patch has been referenced above - not sure anyone knows how to apply the patch though!

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Snailkhan
                                    last edited by Nov 2, 2016, 2:37 PM

                                    I wish it to be applied in pfsense softflowd.. Or will it just remain a wish?  :'(

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                      This community forum collects and processes your personal information.
                                      consent.not_received