Comments (8)
Implemented in master tree. Please verify.
from nfdump.
is there a trick to get master to compile on linux? ive tried centos6, centos7, and ubuntu 14.04 LTS. i get this error:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -ggdb -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -fno-strict-aliasing -MT nffile.lo -MD -MP -MF .deps/nffile.Tpo -c nffile.c -fPIC -DPIC -o .libs/nffile.o
nffile.c: In function ‘NewFile’:
nffile.c:642: error: ‘for’ loop initial declarations are only allowed in C99 mode
nffile.c:642: note: use option -std=c99 or -std=gnu99 to compile your code
nffile.c: In function ‘DisposeFile’:
nffile.c:667: error: ‘for’ loop initial declarations are only allowed in C99 mode
make[3]: *** [nffile.lo] Error 1
surprisingly it compiled fine on macOS.
from nfdump.
seems that older gcc cannot compile master after 3bf7296
installed devtools7 on my centos machine and it compiled.
i am still verifying that the fix for ipfix sampling is working. will get back to you this week.
from nfdump.
Compile issue fixed. clang and gcc do not agree on local variable declarations.
from nfdump.
cool. the ipfix sampling does seem to be working. thanks!
from nfdump.
I've tested this fix with a Juniper MX104 exporting at 1:100 ratio using IPFIX template but have no sucess. Flows are still showing as "Unsampled" when nfdump'd using raw output.
pcap attached bellow. I think sampling information is available in packets 623 and 4410.
from nfdump.
Juniper does not export a sampling algorithm. nfdump required an algorithm in order to recognise sampling correctly.
I fixed that as the algorithm is not really used internally.
from nfdump.
I've just tested this fix. Sampling factor is properly being applied now. Thanks!
from nfdump.
Related Issues (20)
- Repeated "SequencerRun() ERROR" message in log HOT 4
- nfcapd logs problem ? HOT 3
- Can't find ftlib.h durning configure ft2nfdump HOT 2
- RAM consumption HOT 2
- NEL Port Block Allocation / Deallocation Events HOT 1
- Is it possible to know if a flow contained fragmented traffic? HOT 6
- nfdump current (1.7.3) has a bug exporting NSEL (cisco ASA) fw events HOT 3
- when daemonizing, requesting to set uid and gid to some user AND writing PIDfile -> permission denied encountered HOT 4
- feature: it will be very cool if nfcapd switch '-n' allow specifying port to listen to. not globally single '-p' but per-configured exporter HOT 3
- sfcapd -T Extensions 1.6.x missing in 1.7.x HOT 2
- nfprofile: Skip unknown record type 13 (after upgrrading from 1.6.20 to 1.7.3) HOT 8
- Sfcapd not processing netflow... HOT 2
- Include dependencies? HOT 4
- sfcapd not working properly after last commits HOT 4
- GCC14 build failure HOT 5
- nfdump: Skip unknown record type 9 HOT 6
- Troubleshooting NetFlow Data Collection and Router Address Display HOT 4
- Support for NetFlow version 10 HOT 2
- Decreased nfdump performance after upgrading from 1.6.17 HOT 2
- sfcapd not acknowledging -W <Worker> HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nfdump.