Commit graph

3564 commits

Author SHA1 Message Date
Alfredo Cardigliano
8279411437 Optimize ElasticSearch export (removed locks, increase export queue to 64K to handle spikes) 2023-05-16 16:26:50 +02:00
Alfredo Cardigliano
8fb9389b54 Fix segfault due to early allocation of AddressResolution 2023-05-16 10:27:48 +02:00
Luca Deri
9fcfea6992 Fixed Radius accounting 2023-05-13 20:53:52 +02:00
Matteo Biscosi
6f60ebce0e Added bytes and packets getters 2023-05-13 09:50:15 +00:00
Matteo Biscosi
63d44c4675 Added radius accounting handler (#7356) 2023-05-13 09:50:15 +00:00
Alfredo Cardigliano
4cb6aa3bee Change unneeded double pointer to pointer 2023-05-12 16:35:25 +02:00
Alfredo Cardigliano
056dd000a3 Fix ElasticSearch export 2023-05-09 18:47:28 +02:00
Alfredo Cardigliano
e2493a01b1 Print max 1 message per second 2023-05-09 16:51:55 +02:00
Nicolo Maio
1445752373 Merge branch 'dev' into add-host-filter-aggregated-live-flows 2023-05-08 09:03:18 +00:00
Nicolo Maio
7d9784002a Add host filter in aggregated live flows. (#7441) 2023-05-05 12:45:32 +00:00
Nicolo Maio
d5fc6f5fd9 Update with guessed and dpi protocol. (#7442) 2023-05-04 12:00:02 +00:00
Luca Deri
12d4ea8c0c Implemented Flow::isDPIDetectedFlow() 2023-05-04 11:03:53 +02:00
Matteo Biscosi
d8f5956e8b Added radius accounting lua handling 2023-05-03 08:24:24 +00:00
Alfredo Cardigliano
d93ad2562d Rework embedded checks 2023-05-03 08:59:45 +02:00
Riccardo Mori
151a047760
Add first fuzzing harness (#7430)
* First sketch of fuzzing

* Add m4 script

The script is used in the fuzzing build

* Add stub sources in the makefile

* [Fuzz] Add RedisStub

* Add gitignore for fuzz dir

* Remove definition of non-implemented method

* [Fuzz] Refactoring code

* [Fuzz] Separate the protobuf support in the makefile

* Clean fuzzing related object files

* [Fuzz] Fix makefile

* Change gitignore

* [Fuzz] Separate headers

* [Fuzz] Add README.md

* [Fuzz] Change make target

* [Fuzz] Update README.md

* Add compatibilty with autoconf < 2.71

* Optionally disable hiredis integration

* Include hiredis only for production build

* [Fuzz] Disable period activities

* Remove unused dependencies for librrd

* Optionally use static linking for zmq library

* Add debug output regarding the linking of libzmq

* [Fuzz] Do not run on empty input

* Optionally use static linking for libjson-c

* Optionally use static linking for libmaxminddb

* Make mysqlclient dependency as optional

* Change gitignore

* [Fuzz] Add corpus for fuzz_dissect_packet

* [Fuzz] Refactor fuzz_dissect_packet

* Change gitignore

* [Fuzz] Use correct naming for corpus

* [Fuzz] Add dictionary

* [Fuzz] Fix declaration of LLVMFuzzerInitialize

* [Fuzz] Refactor onefile

* [Fuzz] Fix the initialization memory leaks

* [Fuzz] Fix invocation of LLVMFuzzerInitialize

* Remove double githooks folder

* [Fuzz] Set interface pcap_data_link

* Change gitignore

* Use pkg-config for detecting protobuf libraries

* Add license

* Improve error message
2023-05-02 16:06:52 +02:00
Luca Deri
15196d47db Added void Trace::logEvent(int eventTraceLevel, char *log_line); 2023-05-02 14:23:16 +02:00
Matteo Biscosi
e415f1b1c3 Added Radius auth protocol preference 2023-05-02 10:16:37 +00:00
Luca Deri
56d507a708 Implemented Radius CHAP support 2023-05-01 19:51:02 +02:00
Luca Deri
5fa638389f - Fixed partial working search
- Fixed error when returned search set was empty
- Cleaned up code
2023-04-30 10:33:40 +02:00
Luca Deri
a73d7d84cf Leeak fix 2023-04-29 19:02:58 +02:00
Nicolò Maio
93b63bc2c0
Add search map on aggregated live flows. (#7428)
* Add search map on aggregated live flows.

* Code refactor.
2023-04-29 18:29:29 +02:00
Nicolo Maio
9cd545a7da Fix recordsFiltered. (#7416) 2023-04-26 10:50:24 +00:00
Alfredo Cardigliano
737ea7be5e Remove C++ implementation of External Alert (replaced by Lua implementation) 2023-04-26 10:30:56 +02:00
Alfredo Cardigliano
96dcb6d7a8 Improve filter timeout for (engaged) hosts alerts 2023-04-19 15:26:59 +02:00
Luca Deri
474b4efe31 Implemented #7407 2023-04-18 23:49:37 +02:00
Luca Deri
ea34c5bb50 Missing method signature 2023-04-18 21:38:59 +02:00
Matteo Biscosi
c9a88903ca Reworked aggregated live flows page 2023-04-18 17:11:04 +00:00
Alfredo Cardigliano
eebeb2a084 Remove include of missing header file 2023-04-18 16:12:07 +02:00
Matteo Biscosi
a5ca8d963e Partially fixes aggregated live flows page 2023-04-18 10:57:20 +00:00
Alfredo Cardigliano
591d27d58f
Merge pull request #7409 from NicoMaio/add-multicast-forwarders
Add multicast forwarders. (#7396)
2023-04-17 17:30:00 +02:00
Alfredo Cardigliano
e192def3a8 Push smart recording filters from flows and hosts directly. Removed endpoint. 2023-04-17 17:27:03 +02:00
Nicolo Maio
b861dfb696 Remove old props nad minor fix. (#7396) 2023-04-17 16:16:38 +02:00
Nicolo Maio
5f54c64dee Add multicast forwarders. (#7396) 2023-04-17 15:40:40 +02:00
Alfredo Cardigliano
423af58fb0 Rework Alert FIFO (using clean objects now) 2023-04-17 15:10:14 +02:00
Luca Deri
5f849f84a6 Implemented MAC address monitoring of inactive MAC addresses (seen in the past 30 days) 2023-04-16 11:25:52 +02:00
Alfredo Cardigliano
4a138666c2 Format code 2023-04-13 17:54:01 +02:00
Matteo Biscosi
ce66722182 Fixes radius accounting types 2023-04-13 17:33:10 +02:00
Matteo Biscosi
15a7337417 Fixes radius information loading 2023-04-13 13:50:11 +02:00
Matteo Biscosi
bc48dc3713 Added forgotten file 2023-04-11 14:08:49 +00:00
Matteo Biscosi
400f3d6249 Added session management for Radius accounting (#7357) 2023-04-11 13:48:12 +00:00
Luca Deri
3768972b03 Formatting changes 2023-04-10 09:43:43 +02:00
Luca Deri
ba58efb995 Compilation fixes 2023-04-08 15:01:15 +02:00
lucaderi
37dbf7f059 Automated commit of clang-format CI changes. 2023-04-08 12:28:11 +00:00
Luca Deri
dfb41880d5 Reworked nDPI stats (and dependencies)
Removed deserialization code
2023-04-08 14:27:05 +02:00
Matteo Biscosi
b99d5abc9b Fixes compilation error 2023-04-07 17:02:35 +00:00
MatteoBiscosi
f01ca3a7b7 Automated commit of clang-format CI changes. 2023-04-07 16:23:06 +00:00
Matteo Biscosi
e0f0732c1d Fixes radius incorrect send 2023-04-07 16:22:13 +00:00
MatteoBiscosi
8faf60a457 Automated commit of clang-format CI changes. 2023-04-07 15:09:28 +00:00
Matteo Biscosi
313cb4e8ca Radius code cleanup 2023-04-07 15:08:44 +00:00
MatteoBiscosi
3d76965fd3 Automated commit of clang-format CI changes. 2023-04-07 14:29:08 +00:00