Skip to content

Commit 2e3c995

Browse files
committed
Update ChangeLog and fix minor bugs
1 parent a22dcf0 commit 2e3c995

3 files changed

Lines changed: 94 additions & 4 deletions

File tree

ChangeLog

Lines changed: 92 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,94 @@
1-
- 473cf57 2025-11-09 (HEAD -> master, origin/master, origin/HEAD) Fix old ANSI C functions in fts_compat.c
1+
- a22dcf0 2026-04-11 (HEAD -> master, origin/master, origin/HEAD) Cleanup filter code. Remove dead code
2+
- 13259cc 2026-04-04 Merge pull request #671 from castillo-n/fix/ipv6-dst-anon-uses-src
3+
- 6e39712 2026-04-04 Fix naming of variables
4+
- 3f7df8c 2026-04-02 Fix IPv6 destination anonymization using wrong address
5+
- 0683e3c 2026-03-29 Fix masked output in collector short prints. (-v3)
6+
- eb25282 2026-03-29 - Skip all '.' files in file listing process. Skip 1.8.x bookkeeping file - Improve robustness of netflow v9 time overflow handling
7+
- a9312e2 2026-03-20 Improve code of GuessSubDir()
8+
- 25ce654 2026-03-20 Fix string position, which silence error for 'Wrong time format' #669
9+
- 6292abd 2026-03-19 Fix minor bug in output_short. Fix #669 - remove debug assert() and make GuessSubDir more robust
10+
- 93ab698 2026-03-12 Add slack record and skip new v4 record. Fix address conversion in v1 processing
11+
- 01aea42 2026-03-05 Fix typos
12+
- 1b73c92 2026-03-04 Fix proper EXnull handling
13+
- 1499834 2026-02-26 Reduce min cycle time to 1s. New post processor thread can handle this. Fixed #664
14+
- 86a2cee 2026-02-26 Fix nfprofile race condition and therefore replace all remaining localtime() by localtime_r()
15+
- 68a18af 2026-02-25 Fix SetupPath() - terminating '\0'
16+
- 4d81212 2026-02-16 Remove old and no longer used libpcap life code
17+
- 6c6c87c 2026-02-16 Fix #667 duration bug in -s stat output
18+
- 14d0b46 2026-02-16 Cleanup TPACKETV3 code
19+
- 84f3b22 2026-02-16 Cleanup BPF code. Make buffer size configurable
20+
- fce61d7 2026-02-16 Fix IP fragment init code
21+
- 361bd5e 2026-02-15 Fix Statistic on BPF socket
22+
- 09de43b 2026-02-15 Fix nfpcapd build options and remove useless FIX_INCLUDES
23+
- dbdc2ba 2026-02-14 Fix potential swap32() double definition
24+
- b3e7370 2026-02-14 Add expire function to fragment list in nfpcapd
25+
- 8dfa9e5 2026-02-14 Update Readme
26+
- b9438dd 2026-02-14 Update nfpcapd - Refactor messy ProcessPacket code with state processing
27+
- e7af66f 2026-02-12 Update nfpcapd - Improve packet processing. Make it more robust
28+
- 9d585f8 2026-02-10 Update debug messages
29+
- 8c29f61 2026-02-10 Replace verbose option -v to verbose level -v <n> for most binaries. Needs more work
30+
- 3ea8d71 2026-02-09 Update nfpcapd - remove unused interrupt handler and use atomic done variables
31+
- 9a14047 2026-02-09 Fix statistic for pcap file processing
32+
- a2b1eb7 2026-02-09 Update nfpcapd - replace slow packet dump code by native calls
33+
- 5ab715f 2026-02-05 Add missing packet_pcap_file.c
34+
- 183f045 2026-02-05 Update nfpcapd - Replace pcap reader code with faster mmap version
35+
- ac07fa1 2026-02-04 Silently skip unknown records in nfanon. Fixed #665
36+
- 5aedf78 2026-02-04 Update nfpcapd - Modify slab allocator
37+
- 3490191 2026-02-03 Update nfpcapd - replace rb-tree with an open hash. Improves nfpcapd performance
38+
- dcabdb6 2026-02-01 Update nfpcapd - shrink slab check
39+
- 0cebb7c 2026-02-01 Update nfpcapd - Fix verbose logging
40+
- 8360a58 2026-02-01 Update nfpcapd - Update help text and man page for node cache size
41+
- 95b252e 2026-02-01 Update nfpcapd - Replace ever growing node cache with an adaptive slab allocator
42+
- edd6784 2026-01-31 Fix #662. Update man page
43+
- 29cf020 2026-01-29 Update nfpcapd - Rework a lot of code. Remove lock for NewNode() in hot path
44+
- 437fa2f 2026-01-27 Update nfpcapd - split node into hotNode and coldNode
45+
- 7c5b47d 2026-01-26 Update nfpcapd - re-arrange nfpcapd structs
46+
- c101504 2026-01-26 Update Readme for autotools 2.71.
47+
- b74d4d6 2026-01-26 Silently skip ETHERTYPE_FLOWCONTROL frames in nfpcapd
48+
- 855777b 2026-01-26 Fix memory leak, when processing and filtering ssl payload data
49+
- 446dd20 2026-01-22 Fix memory leak in sslFree
50+
- 6e71596 2026-01-22 Update stringList_t code
51+
- 1988d88 2026-01-19 Improve queue code - double cond vars improve performance
52+
- 7006225 2026-01-18 Cleanup nffile FlushFile and CloseFile. Get rid of FinaliseFile
53+
- 126268c 2026-01-17 Align ftconv compression arguments with other nfdump binaries
54+
- a62fbd6 2026-01-17 Remove MAXWORKERS altogether. Instead limit only to the number of cores
55+
- 323c092 2026-01-17 Remove MAXWORKERS from nffile. 1st step to remove MAXWORKERS entirely
56+
- 7d0adb0 2026-01-16 Update man pages for new worker heuristics
57+
- d4f3698 2026-01-16 Align nfanon with cli option -W num to request the number of worker threads. Improve the heuristics to select the number of workers if non requested. New heuristics applys to all nfdump programs.
58+
- 3885ccd 2026-01-16 Remove old legacy nffile handle re-usage. Cleanup nffile code. Fix minor code bugs.
59+
- 741837f 2026-01-14 Fix sfcapd nffile initialisation
60+
- 7ebe0f6 2026-01-14 Major code change in the collector module (nfcpad/sfcapd) - Introduce post processor thread to speed up rotation cycle (See also #628) The hot path in the collector is heavily reduced. All post processing tasks are moved to the post processor thread. - Do not allow to set the UDP receive buffer, below the system default. - Improved GetNumWorkers(). - Apply GetNumWorkers() to nfdump filter threads number by default. the current file flushing, syncing
61+
- 852f1c0 2026-01-08 Apply the user supplied number of worker threads also to the filter threads
62+
- b87df34 2026-01-08 Anonymise exporter IPs in nfanon
63+
- 5036393 2026-01-07 Remove/move unused static
64+
- f200883 2026-01-07 Cleanup code in filelister thread. Remove global vars. for opt multithreading
65+
- 58e0bee 2026-01-07 Update configure.ac to work with multiarch layout of Ubuntu. Fixes #655
66+
- 72e6b85 2026-01-06 Fix type in ConfigureFixedFlowSource
67+
- 8160c45 2026-01-05 Fix DEVEL code
68+
- 910655b 2026-01-04 Remove old code, no longer needed
69+
- cea51ab 2026-01-04 move ip128_t files into collector library
70+
- 14fabb4 2026-01-04 Update README.md for new build options in configure.ac
71+
- 97611c3 2026-01-04 Cleanup more code
72+
- 6093cc7 2026-01-04 Cleanup code - remove static vars and update old nfprofile for new code
73+
- 0fd11dd 2026-01-04 Fix configure and compile time issues on some linux systems
74+
- ee9a102 2026-01-04 Merged with github
75+
- 17f6d79 2026-01-04 Major code change for the collector generic code. Remove old exporter flowsource code. Add new exporter/flowsource code to improve handling of multiple flow sources with lots of exporters, which are now organised in hash tables. Add --enable-lto switch to improve code linking Add --enable-native in order to generate locally more efficient code.
76+
- 1764402 2025-12-26 Code and build cleanup
77+
- 7ba0034 2025-12-17 Skip empty nbar records without name and description
78+
- abd32c6 2025-12-16 Cleanup sequence checks in netflow v5 and v9 module.. ipfix still broken
79+
- 6922c50 2025-12-16 Fix some nbar boundaries
80+
- 423b6c9 2025-12-07 #649 Implement dual stack listener for nfcapd and sfcapd.
81+
- e6c6f38 2025-11-30 Improve code robustness. Affects issues #643, #645. Introduce skip element records with length != 0 and type EXnull Improve handle mapper to mask out unneeded IP element if both IPv4 and IPv6 are present. Records with double IP address element (IPv4 and IPv6) are stripped accordingly. Adapt test procedure accordingly, make check no longer fails.
82+
- 8c2df82 2025-11-29 Improve mapping code with heuristics for lazy exporters
83+
- 1c3ebb5 2025-11-29 Fix building pcap reader with new configure.ac
84+
- 0c3bd5d 2025-11-25 Fix var setting in configure.ac
85+
- 03ab696 2025-11-24 Fix toc of Readme file
86+
- 5f3aa30 2025-11-24 Update Readme file for new configure.ac and fix minor issues
87+
- b563c23 2025-11-24 Rewrite old messy autotools configure.ac hell. Try to make it clean and remove old stuff not needed. Fix errors, make library search more automatic and reliable. Add more comments and structure. Add nfdump.pc.in pkg-config config for nfump libraries. Autoconf and me - did not become best friends ...
88+
- faa2983 2025-11-18 prevent rrd dependencies to be linked into libnffile
89+
- eb90b70 2025-11-10 (tag: v1.7.7) Prevent empty ipVersion element to be reported
90+
- d3cee8c 2025-11-09 Release v1..7.7
91+
- 473cf57 2025-11-09 Fix old ANSI C functions in fts_compat.c
292
- a4f4b8d 2025-11-09 Add IPversion element to nfreplay and update tests
393
- ceffc4c 2025-11-09 Cleanup error message in flist
494
- 96ebd8f 2025-11-07 honor the ipVersion flag, if both - IPv4 and IPv6 addreeses are present
@@ -50,7 +140,7 @@
50140
- 203d4af 2025-06-15 More code cleanup
51141
- c0c9c3e 2025-06-15 Cleanup queue code
52142
- 6ac8111 2025-06-15 Dissolve collector code and clean up. Replace tmp file with unique tmp flow file
53-
- 7cff9ed 2025-06-09 (origin/optimise_colloctor) Replace broken AX_CHECK_ZLIB marco, which poisons include path when cross compiling
143+
- 7cff9ed 2025-06-09 Replace broken AX_CHECK_ZLIB marco, which poisons include path when cross compiling
54144
- 372af73 2025-05-18 Make nfcapd less chatty, if a buffer reset happends. See #622
55145
- afa4a69 2025-05-10 Fix endian error in geo filter
56146
- 5986db6 2025-05-10 Replace AC_RUN_IFELSE for cross compilation. #579

src/libnffile/output_short.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ static void stringsEXflowMisc(FILE *stream, record_map_t *r) {
245245
inet_ntop_mask(ipv4Flow->dstAddr, flowMisc->dstMask, dnet, sizeof(dnet));
246246
} else if (r->offsetMap[EXipv6FlowID]) {
247247
// IPv6
248-
elementHeader = r->offsetMap[EXipv4FlowID];
248+
elementHeader = r->offsetMap[EXipv6FlowID];
249249
EXipv6Flow_t *ipv6Flow = (EXipv6Flow_t *)((void *)elementHeader + sizeof(elementHeader_t));
250250
inet6_ntop_mask(ipv6Flow->srcAddr, flowMisc->srcMask, snet, sizeof(snet));
251251
inet6_ntop_mask(ipv6Flow->dstAddr, flowMisc->dstMask, dnet, sizeof(dnet));

src/output/payload/dns/output_dns.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static void dns_print_answer(FILE *stream, char const *tag, dns_answer_t *pans,
6464
char ipaddr[INET6_ADDRSTRLEN];
6565

6666
dbg_assert(tag != NULL);
67-
dbg_assert(cnt > 0 && pans != NULL);
67+
dbg_assert(cnt == 0 || (cnt > 0 && pans != NULL));
6868

6969
for (size_t i = 0; i < cnt; i++) {
7070
fprintf(stream, "%s : %2zd: ", tag, i);

0 commit comments

Comments
 (0)