Commit graph

746 commits

Author SHA1 Message Date
Nicolò Maio
cf8a89a7e1
Add lowerbound and upperbound choice and percentage threshold on host rules. (#6855) (#7238)
* Add lowerbound and percentage threshold on host rules. (#6855)

* Add interface rules. (#6855)

* Added ability to blacklist hosts via Lua API

* Not supposed to be committed

* Method signature change to be called it also from a lua host script

* Fix empty string heck

* Add param check

* Add example listing alerts

* Fix params check

* Fix alert raw queris

* Removed debug code

* MacOS changes

* Updated (C)

* Warning fixes

* Removed sprintf calls

* Added rx_only_hosts classification

* https://github.com/ntop/ntopng/issues/7233; extend datatable component to allow external vue components in table menu bar

* Update dist: https://github.com/ntop/ntopng/issues/7233; extend datatable component to allow external vue components in table menu bar

* Remove obsoleted comment

* Minor GUI fix. (#6855)

* Fix on alert format. (#6855)

* Minor fix. (#6855)

* Update doc. (#6855)

---------

Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com>
Co-authored-by: Luca Deri <deri@ntop.org>
Co-authored-by: Alfredo Cardigliano <cardigliano@ntop.org>
Co-authored-by: uccidibuti <vannucci@ntop.org>
2023-02-21 14:37:09 +01:00
Alfredo Cardigliano
762304f43a Fix alert raw queris 2023-02-17 18:53:52 +01:00
Matteo Biscosi
e7f9086165 Added community id column on historical flows and alerts (#6908) 2023-02-16 18:17:49 +01:00
Nicolò Maio
d910a4213f
Update GUI with percentage threshold and interface tab. (#6855) (#7235)
* Update GUI with percentage threshold and interface tab. (#6855)

* Minor Fix. (#6855)
2023-02-16 15:58:18 +01:00
Nicolo Maio
1986f56912 Update aggregated live flows gui. 2023-02-14 12:04:38 +00:00
Nicolò Maio
7162045cdd
Add VLAN bidirectional traffic alert (#7126) (#7194)
* Add VLAN bidirectional traffic alert (#7126)

* Add alert description. (#7126)
2023-02-03 10:33:25 +01:00
MatteoBiscosi
ccb2a66c19 Fixes incorrect rest api data 2023-01-31 13:16:18 +01:00
Alfredo Cardigliano
63074fd0df Support VLAN in cidr filters 2023-01-30 17:50:17 +01:00
Luca Deri
f4f10a8482 Implemented application=188.239 (proto and pp_proto) in flows_stats.lua 2023-01-26 00:28:22 +01:00
Alfredo Cardigliano
3a36fb9ba3 Add CIDR support in Historical Flows 2023-01-25 14:38:50 +01:00
MatteoBiscosi
ee36cf24f3 Fixes device tag not working with timeseries 2023-01-24 12:36:32 +01:00
MatteoBiscosi
1d728062f7 Fixed various server ports page issues 2023-01-20 18:10:02 +01:00
Luca Deri
15786b1a00 Changes required to support multiple ntopng instances dumping flows into the same ClickHouse database 2023-01-11 20:00:03 +01:00
Alfredo Cardigliano
7da1395b87 Reworking capabilities support 2023-01-09 18:46:40 +01:00
MatteoBiscosi
27abe41aa3 Added rest api to get country and asn name 2023-01-03 13:17:22 +01:00
Luca Deri
f718854bce Improved report of periodic flows
Updated nDPI flow risks list
2022-12-31 18:08:21 +01:00
Luca Deri
d596c5ee16 Improved alert analyser 2022-12-28 18:00:57 +01:00
uccidibuti
e44e9b04d9 fix: Avoid redundant labels #7043 ; add new timeseries page in observation point 2022-12-21 06:57:47 +01:00
Luca Deri
792e79a429 Added ability to query alerts from Python 2022-12-16 14:01:51 +01:00
Luca Deri
d101179069 Added historical_flows_query_example.py sample application
Improved documentation
Added group_by/order_by to flow query
2022-12-12 12:15:34 +01:00
uccidibuti
af83e1eb3b Add new timeseries in snmp_interface_details.lua 2022-12-06 13:41:24 +01:00
Luca Deri
c780b91664 Initial work towards a Python API for ntopng 2022-12-02 19:48:18 +01:00
Luca Deri
d8769f866b Implements #6994 (Add support for Radius User Capabilities)
Removed /metrics URL leftover
2022-12-01 22:18:48 +01:00
MatteoBiscosi
48c4398f00 Fixes no data found message and added flows type dropdown (#6993) 2022-11-30 12:12:19 +01:00
MatteoBiscosi
63aacc9ec9 Fixes incorrect flow alert key 2022-11-28 12:09:51 +01:00
MatteoBiscosi
90db11c6cb Added Host Rules page 2022-11-25 16:14:09 +01:00
Matteo Biscosi
0f51b329b0 Added support to multi LAN and fixes DHCP service error 2022-11-10 17:50:27 +01:00
uccidibuti
9c004f1ab7 Restyle timeseries: restyle consts.lua; add new network_details page; restyle page-stats props 2022-11-07 16:23:40 +01:00
MatteoBiscosi
1d2bd8de20 Fixes wrong traffic disaggregation renaming #6957 2022-11-07 11:56:41 +01:00
Luca
686112d3eb Initial implementation of host check rules. This is work in progress and ** subject to change **
Under the network interface -> Wheel there's a new field named "JSON Host Rules"
that can accept JSON in the format below:

- target can be * (= all local hosts) or a specific IP address
- frequency can be hourly or daily and it specifies the timeperiod on which the condition is evaluated
- metric can be set to bytes, score or a L7 protocol supported in nDPI
- threshold is the numerical value over which the alert is triggered

[
{ "target": "*",  "frequency": "hourly", "metric": "bytes",  "threshold": 354333 },
{"target": "146.48.56.79","metric": "AmazonAWS","frequency": "daily","threshold": 5000 }
]
2022-11-02 19:00:45 +01:00
MatteoBiscosi
692ae0bfcc Added critical and emergency status to alerts 2022-10-19 10:18:51 +02:00
Alfredo Cardigliano
6fcbcdd036 Accepts addresses with no profix or no vlan in lua/admin/manage_pool_members.lua 2022-10-17 17:06:22 +02:00
Luca Deri
fadd612d14 Implemented support of host filtering with TX traffic sent 2022-10-15 12:44:20 +02:00
Luca Deri
961b8e7e26 Implemented display of hists with no TX traffic 2022-10-10 23:15:14 +02:00
Matteo Biscosi
47339bd34c Added VLAN and multiwan support to nedge 2022-10-03 17:05:59 +02:00
Alfredo Cardigliano
a463ff59f8 Add entity based filter in Recipient configuration 2022-09-30 09:26:34 +02:00
MatteoBiscosi
f3c38ec2e6 Added devices learning period (#6856) 2022-09-19 17:11:10 +02:00
Alfredo Cardigliano
6ddaa8dce0 Example fix 2022-09-16 11:14:17 +02:00
Luca Deri
4ad109a7c0 Added the ability to analyze a pcap without creating a new interface 2022-09-15 00:35:56 +02:00
MatteoBiscosi
c82a6dfdf8 Added top application table in Interface charts 2022-09-09 13:24:43 +02:00
uccidibuti
56cc31c866 restyle timeseries: implemented url status 2022-09-08 11:07:28 +02:00
Luca Deri
fa51a2b4e8 Added the ability to upload a pcap file for analysis 2022-09-08 00:46:24 +02:00
MatteoBiscosi
995ea9cde8 Removed unused import and added missing import 2022-09-05 11:41:21 +02:00
Luca
49bdd32ce0 Reworked lua code 2022-08-30 19:32:05 +02:00
MatteoBiscosi
745f69854f Extended host lint 2022-08-22 18:41:01 +02:00
Alfredo Cardigliano
fa68eadef0 Add supprot for filtering alerts on probe ip and interface (#6809) 2022-08-22 16:39:35 +02:00
Luca Deri
be0847963d Asset changes 2022-08-19 19:42:57 +02:00
MatteoBiscosi
1775233197 Updated device connection alert (#6801) 2022-08-08 11:37:33 +02:00
MatteoBiscosi
d6471d8dac Added device connection/disconnection alert (#6801) 2022-08-05 10:46:18 +02:00
MatteoBiscosi
56d941f4fa Partially fixes (#6790) 2022-07-22 13:25:31 +02:00