Commit graph

3564 commits

Author SHA1 Message Date
Luca Deri
c724f0fbb2 Implemented spider/bot detection risk
Fixes for double flag visualization
2022-02-17 21:06:44 +01:00
Luca Deri
adf97e5e9b HTTP User Agent is now exported in nProbe and collected by ntopng. Implements ##6325 2022-02-16 23:47:54 +01:00
Luca Deri
a878b3bb83 Fixed ClickHouse initialization 2022-02-16 22:44:17 +01:00
Luca Deri
90a8951492 Fixed DHCP/NTP client/server roles with reverted traffic 2022-02-16 22:17:27 +01:00
Alfredo Cardigliano
941991f43b Fix syslog collection with big messages on tcp 2022-02-15 17:48:53 +01:00
Luca Deri
46cdd8e43a Exposed the flowId as method 2022-02-15 12:58:46 +01:00
Luca Deri
4d0db5c44e Fixed DB creation state
Removed test file
2022-02-15 11:15:34 +01:00
Luca Deri
10be847b23 Added FreeBSD clickhouse-client path 2022-02-14 19:17:08 +01:00
Luca Deri
b7d97b73d3 Cleaned up alert prioriti queueing 2022-02-12 13:17:54 +01:00
Luca Deri
588e330f18 Cleaned up alert code 2022-02-12 12:42:19 +01:00
Alfredo Cardigliano
c8a542d849 Add clickhouse port configuration in -F 2022-02-11 18:25:24 +01:00
MatteoBiscosi
f7db2e1974 Removed double plugin directory swap 2022-02-11 12:07:24 +01:00
Luca Deri
aa6db17e3f Added a check to consider only DHCP flows sent towards the DHCP server 2022-02-10 22:31:30 +01:00
Alfredo Cardigliano
9b06189b80 Fix access to deleted object when releasing external alerts 2022-02-10 19:45:12 +01:00
Alfredo Cardigliano
eaf509daa5 Cleanup interface member alertable objects. Remove dynamic casts. 2022-02-10 09:59:48 +01:00
MatteoBiscosi
d54fb4b3f0 Simplified view interface mac concept (#6290) 2022-02-09 21:56:02 +01:00
Matteo Biscosi
cf184d07ff Added MAC Address to View Interfaces 2022-02-09 19:18:00 +01:00
Alfredo Cardigliano
156b5911a5 Cleanup alertable class dependencies 2022-02-08 16:45:59 +01:00
Giorgio Zoppi
b20a59f5c0 - Addede setter for the script dir since ntop has high coupling
- Added test base for all test classe
- Set all the tests for address resolution
	modified:   include/Prefs.h
	modified:   src/AddressResolution.cpp
	modified:   tests/include/NtopTestingBase.h
	modified:   tests/src/AddressResolutionTest.cpp
	modified:   tests/src/NtopTestingBase.cpp
2022-02-07 12:50:43 +01:00
Giorgio Zoppi
6615ec052e modified: ../include/Prefs.h
modified:   include/AddressResolutionTest.h
	modified:   src/AddressResolutionTest.cpp
	include/NtopTestingBase.h
	src/NtopTestingBase.cpp
2022-02-07 12:06:40 +01:00
Giorgio Zoppi
5e66bc35dc Fixed the null pointer to the destruction when throwing an exception,
we should be sure that global is checked not null
	modified:   include/Ntop.h
	modified:   src/AddressResolution.cpp
	modified:   src/Ntop.cpp
	modified:   tests/include/AddressResolutionTest.h
	modified:   tests/src/AddressResolutionTest.cpp
2022-02-05 20:30:37 +01:00
Giorgio Zoppi
4b8c005abb adding address resolution test
modified:   Makefile.in
	modified:   include/AddressResolution.h
	modified:   include/Ntop.h
	modified:   src/AddressResolution.cpp
	modified:   tests/include/AddressResolutionTest.h
	modified:   tests/src/AddressResolutionTest.cpp
	modified:   tests/src/gtest.cpp
2022-02-05 18:11:46 +01:00
Giorgio Zoppi
c6515d7052 Adding new resolver test.
modified:   include/ntop_typedefs.h
	modified:   tests/include/AddressResolutionTest.h
	modified:   tests/src/AddressResolutionTest.cpp
2022-02-05 17:12:29 +01:00
Giorgio Zoppi
d8255da8d8
modified: Makefile.in (#6281)
* modified:   Makefile.in
	new file:   tests/gtest.c

* Removing sonarcloud it's noisy.
2022-02-04 21:57:47 +01:00
Luca Deri
efe9516bdc Removed outated grafana plugin support 2022-02-04 13:26:24 +01:00
Alfredo Cardigliano
19310ffd06 Initial cleanup of useless consts towards migration to modern C++ (#6271) 2022-02-03 15:57:34 +01:00
Luca
66450d4811 Added support for NDPI_ERROR_CODE_DETECTED security risk 2022-02-03 14:56:51 +01:00
Luca
d1a31b5b1f Added IDN risk handling 2022-02-03 11:57:14 +01:00
Luca Deri
11922b120a Reworked FlowRiskAlerts implementation 2022-02-02 10:09:34 +01:00
Luca
b9287db3aa Fixed SQLite initialization issue 2022-02-01 12:14:54 +01:00
Alfredo Cardigliano
e14c227ebe Add logout page (WIP) 2022-01-31 13:08:53 +01:00
Luca
d0a39b85ef Added user agent in HTTP pages (including alerts) 2022-01-31 11:36:07 +01:00
Luca Deri
edfb31b4ec Warning fixes 2022-01-30 21:20:08 +01:00
Luca Deri
c0e949ff28 nDPI fixes due to https://github.com/ntop/nDPI/pull/1427 2022-01-30 19:34:20 +01:00
Matteo Biscosi
0eea5a0854 Doubled interface charts length 2022-01-30 14:05:35 +01:00
Luca Deri
b66d9c83ec Reworked alert exclusions 2022-01-28 13:06:47 +01:00
Luca Deri
0eec59aa2e Added support for NDPI_TLS_CERTIFICATE_ABOUT_TO_EXPIRE flow risk 2022-01-26 09:54:34 +01:00
Luca
e3b4a21a0f Cosmetic changes 2022-01-24 14:42:07 +01:00
Alfredo Cardigliano
bddcdda720 Add rest/v2/get/pcap/live_traffic.lua endpoint 2022-01-19 09:53:29 +01:00
Luca Deri
a1e4e98fcb Implements #6215 2022-01-18 22:52:57 +01:00
Alfredo Cardigliano
78ae618c68 Remove online license check support 2022-01-14 19:22:33 +01:00
Alfredo Cardigliano
5ce7e8373b Add REST endpoint to check bpf filter (rest/v2/check/filter.lua) 2022-01-14 13:08:49 +01:00
Luca Deri
19f73f31c2 Removed nIndex 2022-01-14 11:46:00 +01:00
Luca Deri
63d2e261ac Warning fixes 2022-01-13 17:50:05 +01:00
Luca Deri
425dff1aac Changed method name 2022-01-13 17:28:50 +01:00
Luca Deri
57232ee8cf Minor cleanup 2022-01-11 10:22:08 +01:00
Luca Deri
97eae029e5 Changed get Flow::getFlowInfo() method signature 2022-01-11 08:52:36 +01:00
MatteoBiscosi
147e77636b Added victim and client/server to threshold alert (#5997) 2022-01-07 16:28:05 +01:00
Luca Deri
6d70ac3da5 Modified ping setup to addess bug on FreeBSD 2022-01-06 07:55:54 +01:00
MatteoBiscosi
fbda39209a Added extra application info to alerts 2022-01-05 18:50:09 +01:00