Commit graph

47 commits

Author SHA1 Message Date
Luca Deri
95a99e3716 Implements automatic flush of flow read from a pcap file without the need to specify --pcap-file-purge-flows (#9259) 2025-06-16 17:13:14 +02:00
Alfredo Cardigliano
4a0085fd51 Fix nedge compilation 2025-06-12 08:55:36 +02:00
Luca Deri
76acd8effa Implement pcap read from a firectory (#9259) 2025-06-11 23:24:30 +02:00
Alfredo Cardigliano
9352d0cdcd Update copyright 2025-01-02 09:09:56 +01:00
Alfredo Cardigliano
59612cf096 Fix nameclash with datalink type variable. Add missing datalink initializations. 2024-06-10 15:53:43 +02:00
Alfredo Cardigliano
58ac4ab201 Add read_from_stdin(). Fix indentation. 2024-03-13 11:02:18 +01:00
Luca Deri
55870e97b9 (C) Update 2024-01-12 11:44:18 +01:00
Luca Deri
9eb763f762 Fixes #8134 2023-12-24 11:17:22 +01:00
Luca Deri
4bddd533d5 You can now specify (e.g. -i ethX,tunY...) interfaces of different datalink with pcap 2023-12-20 09:12:31 +01:00
Luca Deri
6b0d987b1a Added the ability to specify multiple interfaces (comma separated) with pcap
Example -i eth0,eth1
2023-12-17 22:27:13 +01:00
Luca Deri
aa3e91ea26 Implemented detection of interfaces going down/up when open in pcap mode
10/Dec/2023 08:40:44 [PcapInterface.cpp:290] WARNING: Network Interface wg0 disappeared (is it is down ?)
10/Dec/2023 08:40:49 [PcapInterface.cpp:552] Interface wg0 is back
2023-12-10 08:41:51 +01:00
lucaderi
d395deac4e Automated commit of clang-format CI changes. 2023-04-07 14:20:44 +00:00
Luca Deri
f726b867c7 Updated (C) 2023-01-01 16:37:57 +01:00
Alfredo Cardigliano
aa4c871bfd Code cleanup 2022-09-08 09:56:17 +02:00
Luca
5310c05bc2 Fixes #6455 2022-04-29 10:19:25 +02:00
Alfredo Cardigliano
f2060f2488 Copyright update (C) 2022-01-03 09:35:09 +01:00
Luca Deri
a1178a0791 Updated (C) 2021-01-02 12:08:23 +01:00
Luca Deri
ef3d7e3e11 Fixes #4640 2020-10-28 19:02:42 +01:00
Simone Mainardi
17ad258589 Fixes exporter stats displayed for invalid interfaces
Fixes #4559
2020-10-11 14:04:45 +02:00
Simone Mainardi
ebbe0155e3 Several ZMQ traffic and throughput calc fixes
Addresses #3863
2020-05-07 17:28:44 +02:00
Alfredo Cardigliano
848a5db012 Fix double eth stats update with pcap (fix #3787) 2020-04-17 16:08:00 +00:00
Luca Deri
aab06601a9 Fixed shutdown issue on MDNS Windows
Reported human-friendly network interface names on Windows log
2020-03-26 16:50:34 +01:00
emanuele-f
8abdb926cd Handle /proc/net/dev counters wrapping on 32bit platforms.
Fixes #3398
2020-02-25 16:56:58 +01:00
Luca Deri
57e6a93065 Improved scheduling algorithm to guarantee minimum service time when number of entries allow
Updated (C)
2020-01-06 23:36:36 +01:00
Simone Mainardi
d41198c4e5 Allows flow lua method idle to be called for pcap-dump interfaces 2019-10-01 12:52:12 +02:00
Simone Mainardi
f035d5c894 Reworks shutdown operations to properly terminate pool loops and periodic activites 2019-07-25 11:58:13 +02:00
emanuele-f
279c29aeb7 Run purge and periodic scripts with original speed PCAP dump 2019-07-17 12:19:17 +02:00
Luca Deri
d04d5da466 Implemented --original-speed for reproducing pcaps at original pace 2019-07-15 17:29:07 +02:00
Simone Mainardi
2309e6df5e Initial work to parse nProbe mini eBPF fields via ZMQ 2019-04-23 20:18:01 +02:00
Luca
4f0de0aff4 Fixed crash when using invalid pcap files 2019-03-11 20:06:50 +01:00
emanuele-f
5454e31b6c Avoid deleting flows when reading from a PCAP dump
Fixes #2328
2019-01-28 13:16:17 +01:00
emanuele-f
08a8c67966 Implement interface in/out stats read from proc 2019-01-10 12:35:07 +01:00
Luca Deri
bedff2c8e2 Updated (C) 2019-01-07 19:28:49 +01:00
Simone Mainardi
f30e042cfc Implements data cleanup for pcap interfaces
Implements #2092
2018-10-11 18:10:30 +02:00
Simone Mainardi
0e258ce831 Implements flag for interfaces with mirrored traffic
Implements #1917
2018-08-28 18:27:53 +02:00
emanuele-f
d723c54b10 Hide interfaces with no IP address from the discovery 2018-05-16 15:52:26 +02:00
Luca Deri
7806e3caee Fixed invalid termination with pcap interfaces with multiple -i devices
Disabled debug trace
2018-04-04 21:16:22 +02:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
Luca
b350ecc7d9 Minor rework in periodic scripts
Reworked aggregated DB dump
2017-11-12 12:10:20 +01:00
Simone Mainardi
58f386d611 Implements method interface.isDiscoverableInterface() 2017-09-14 18:19:38 +02:00
Luca Deri
e2dc8f8c19 Implemented support of MAC-less NetFilter packets with L2 visibility via source MAC reported by NetFilter
Added numeric interface type to enhance interface comparison speed
2017-09-11 01:25:52 +02:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Luca Deri
7e46c02eb1 Fixed broken logic of interface packet drop reset 2016-11-21 10:12:12 +01:00
Simone Mainardi
a5674d1595 Implements interface packet drop reset 2016-11-20 12:21:42 +01:00
Luca
274921ee5c Reimplemented view: interface, and Paginator code.
Minor code cleanup
2016-08-18 13:44:24 +02:00
Luca Deri
d7c452f0a3 Moved to 2016 2016-01-01 09:27:39 +01:00
Luca Deri
b178cf4121 Added travis file for code testing
Added .gitignore file for ignoring selected files
Reworked src and include paths to organize the source better
Fixed bug with invalid git version caused in some settings that do not compile code extracting it from github
2015-05-01 19:40:52 +02:00
Renamed from PcapInterface.h (Browse further)