Skip to content

Nfdump 1.7.5 incompatibilities #116

@falz

Description

@falz

Recent install, building a new server with nfsen-ng instead of nfsen.

All flows are collecting properly, graphs / rrd's updating. When I issue any query, i get

 something went wrong. firstSeen,duration,proto,srcAddr,srcPort,dstAddr,dstPort,packets,bytes,flows

and in some queries i get that as well as this, which is what looks like because $output is empty (the above issue? unsure)

Warning: Undefined array key 0 in /opt/nfsen-ng/nfsen-ng-0.3.1/backend/processor/Nfdump.php on line 175

I was running the HEAD/master version, and then switched to the last release 0.3.1 and get the same issue. I've turned on debugging which gives the nfdump command in the apache web logs - i can run it no probem as the www-data (apache) user, so permissions are ok. the values after "something went wrong" re the .csv headers - they change depending on the query, but i never see results.

Guessing this is something wrong compatibility wise - my system is I followed the INSTALL.md instructions (which were pretty great)

  • Ubuntu 20.4.x
  • PHP 8.1
  • nfdump 1.7.5 (which, btw, is only two weeks old)

image

Here's sample data output from cli, in case the output from nfdump is somehow the problem

firstSeen,duration,proto,srcAddr,srcPort,dstAddr,dstPort,packets,bytes,flows
2024-11-08 12:00:22.272,0.000,6,10.150.47.2,45708,34.199.107.131,443,4096,212992,1
2024-11-08 12:00:03.328,31.744,6,10.150.47.2,443,69.129.204.33,59649,12288,4648960,1
2024-11-08 12:01:55.456,10.240,6,10.150.47.2,443,69.129.204.33,59649,8192,425984,1
2024-11-08 12:03:14.560,0.000,6,10.150.47.2,443,69.129.204.33,59649,4096,1167360,1
2024-11-08 12:03:51.424,0.000,6,10.150.47.2,443,69.129.204.33,59649,4096,1818624,1
2024-11-08 12:04:30.848,102.912,6,10.150.47.2,443,69.129.204.33,59649,49152,54398976,1
2024-11-08 12:07:03.680,141.568,6,10.150.47.2,443,69.129.204.33,59649,61440,57442304,1
2024-11-08 12:09:57.248,145.664,6,10.150.47.2,443,69.129.204.33,59649,69632,54509568,1
2024-11-08 12:09:57.248,275.200,6,10.150.47.2,443,69.129.204.33,59649,53248,37867520,1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions