Menu

#10 all flows are invalid

accepted
nobody
None
2013-02-21
2012-04-30
No

Hi,

I'm collecting flows from a Cisco ASA with nfdump 1.5.8-2-NSEL and nfsen-1.3.6p1, but nfsight sees all the flows as invalid. What am I doing wrong?

Discussion

  • Robin

    Robin - 2012-05-03

    By invalid, do you mean that: 1) flows are all discarded by the backend and nothing is displayed on the frontend, or 2) flows are recorded and displayed on the frontend, but they all appear as unidirectional (red background color)?

    In the first case, it's probably due to incorrect subnet definition. Make sure you correctly configured your network definition in the Nfsight section of nfsen.conf.

    In the second case, I would need to see more information about the flow. Could you send me flow traces or Nfsight logs? Thanks.

     
  • Anonymous

    Anonymous - 2012-05-04

    Hi Robin,

    the flows are all listed as unidirectional.
    Could it be that the version of nfdump that I am using (which is the only one that supports Cisco ASAs) doesn't support bidirectional flows (i.e. it doesn't support the -B option)? Thanks

     
  • Robin

    Robin - 2012-05-06

    Nfsight doesn't (yet) support the -B option either, and takes care of generating bidirectional flows automatically.

    The rules used by Nfsight to create valid bidirectional flows are:
    - For UDP: to find 2 unidirectional flows with reversed source/destination IP/port.
    - For TCP: same rule, but in addition there should be at least 2 packets for both request and reply flows, and the ACK flag.

    So if Cisco ASA doesn't populate the TCP flag field, or if request/reply flows are not exported during the same batch, then Nfsight may not be able to generate bidirectional flows.

     
  • Sprk

    Sprk - 2012-08-23

    I've got the same issue. On the main page I see only unanswered activities in red.
    NfSen version: 1.3.5 with nfsight-beta-20110908

    Syslog says:
    Aug 23 13:50:16 nfsen[10198]: Plugin Cycle: Time: 201208231345, Profile: test, Group: ., Module: nfsight,
    Aug 23 13:50:16 nfsen[10198]: nfsight plugin: 4 out of 4 service(s) imported into MySQL

    In the plugin/nfsight dir. I see *.service files with data.
    The .biflow files are all empty

    No other errors showed up. How should I proceed in finding a solution?

     
  • Anonymous

    Anonymous - 2012-10-31

    same problem, i'm trying to use a WAN subnet as an internal network. Everything seems to be configured properly but nothing shows up. NetFlow v5

     
    • Anonymous

      Anonymous - 2012-11-05

      I solved my problem. Someone changed the router config and i did not realize it. Make sure all interfaces have "ip flow ingress" (for Cisco IOS) configured properly otherwise IT WILL FAIL.

       
  • Robin

    Robin - 2012-10-31

    I plan to create a new page on the wiki to be able to debug this kind of issue (flows not being processed or activity invalid).

     
  • Robin

    Robin - 2012-10-31
    • status: open --> accepted
     
  • acerowilson

    acerowilson - 2013-02-18

    Greetings.
    I have an ASA5510 with 8.2(3) and have installed nfdump--1.5.8-2-NSEL. At first it seems working ok, but when added a router as netflow server, i noticed the source and destination ip values are interchanged. There is a way to fix it?.
    Thanks in advance

     
  • Robin

    Robin - 2013-02-20

    Are source and destination IP values interchanged at the level of nfdump or Nfsight?
    (meaning that if you look at nfdump data used as input by Nfsight, are the IP values already interchanged, or is Nfsight interchanging them later when processing flows?)

     
    • acerowilson

      acerowilson - 2013-02-21

      I checked and the values are interchanged at level of nfdump. It's confusing because with the flows collected from a router cisco 1941 the source and destiny IP are correct.

       
  • Robin

    Robin - 2013-02-21

    Ok, then you should contact the Nfdump-discuss mailing list: https://sourceforge.net/mailarchive/forum.php?forum_name=nfdump-discuss. They should be able to help you diagnose and fix this issue.

     

Anonymous
Anonymous

Add attachments
Cancel