Commit graph

42 commits

Author SHA1 Message Date
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +01:00
emanuele-f
139a16ffe3 Fix protocol categories association lost after reboot
After the recent changes, there is only one global nDPI struct which
is share across all the interfaces. However, the struct can be swapped
during normal operating, so it's necessary to reload the associations
every time a new nDPI struct is allocated.

Fixes #3139
2019-12-19 15:11:21 +01:00
Simone Mainardi
f9b6921983 Fixes devices policies reload and alerts generation
Fixes #3102
2019-12-19 11:42:24 +01:00
Simone Mainardi
692463fbc9 Fixes initial misdetection of flows with custom protocols 2019-12-19 10:38:51 +01:00
emanuele-f
b5197ba452 Integrate configsets with user scripts configurations 2019-12-16 17:36:30 +01:00
emanuele-f
3a6897bb84 Community plugins fixes 2019-12-10 11:48:03 +01:00
emanuele-f
a3432e00e8 Implement ntopng plugins
Plugins are a convenient way to group together related lua scripts.
Their primary use case is to group user scripts and their alert/status
definition.
The builtin ntopng user scripts and definitions are now
packed into plugins directories. In future, we will support loading of
user created plugins.
Plugins are loaded at startup into some runtime directories and then
used. Other changes provided by this commit include:

- Add sample flow logger plugin
- Initial support for system user scripts
- Rename edge to threshold
- Migrate system probes to user scripts/plugins
- Migrate scripts to more explicit alerts_api.checkThresholdAlert api
2019-12-10 09:25:57 +01:00
emanuele-f
191e530f6f Clean category lists error status on startup and remove debug prints 2019-11-04 13:07:24 +01:00
emanuele-f
373118f4cc Fix missing systemd interface cleanup on startup
This caused the timeseries export directory to fill up as reported in #2985
2019-10-23 10:54:54 +02:00
Simone Mainardi
ca5bcd86bf Deprecates sticky hosts
Fixes #2907
2019-10-14 18:50:18 +02:00
emanuele-f
8e6cd5962a Fix blacklisted host alerts not generated when reading from PCAP dump 2019-09-03 17:50:08 +02:00
emanuele-f
89b9aebfd7 Delete ts export queue on startup and add missing error 2019-06-19 11:21:27 +02:00
emanuele-f
00afdaa79d Fix for old rrd_tune not supporting adding columns 2019-05-16 11:18:28 +02:00
emanuele-f
3e612869a5 Fix interface RRD overlap between mining category and application
Interface categories are now placed under the ndpi_categories rrd subfolder. Existing data is migrated.
2019-05-16 00:13:43 +02:00
Simone Mainardi
d068e817d1 Implements multiple companions per ZMQ interface 2019-05-14 16:41:52 +02:00
emanuele-f
6bbb828ead Implement Category Lists editor to manage ip/domain lists 2019-02-11 15:47:17 +01:00
emanuele-f
229c3b13c9 Implement initial InfluxDB rollup support
Currently disabled, enable with
  redis-cli set ntopng.prefs.beta_rollup 1
2019-01-31 12:02:40 +01:00
emanuele-f
1543526385 Initial support for multiple auth types 2018-11-30 21:21:28 +01:00
emanuele-f
6ca5e38587 Move services check at startup 2018-11-26 12:04:45 +01:00
emanuele-f
eac278a28d Implement remote assistance
- It enables a VPN via n2n
- Remote assistance will be automatically disabled after 1 day
- Optionally it's possible to give admin access to the support
2018-11-23 13:03:11 +01:00
Simone Mainardi
3f275417a3 Fixes race conditions with custom categories reload 2018-11-19 17:03:58 +01:00
Alfredo Cardigliano
7c51217844 moved select outside the presets module 2018-10-22 10:26:12 +02:00
emanuele-f
aa1ead94c4 Add Customized Categories editor
Also unify the blacklist category handler to use the nDPI API
2018-10-10 18:41:47 +02:00
emanuele-f
5e1daf470a Implement device presets reset to defaults 2018-10-02 15:00:55 +02:00
Alfredo Cardigliano
2ac9e5406c device policies initialization 2018-09-29 09:59:15 +02:00
emanuele-f
0004e08191 Add experimental support for 5sec granularity for host timeseries
To enable it (only on *InfluxDB* right now):

- uncomment HOST_NUM_TIMESERIES_POINTS in ntop_defines.h
- run `redis-cli set ntopng.prefs.30_sec_dump 1` and restart ntopng
2018-08-23 18:10:46 +02:00
emanuele-f
354dd697c0 Add max value checks for traffic and packets metrics 2018-08-20 16:19:01 +02:00
emanuele-f
6ba093872f Fix multiple alignment issues with timeseries 2018-08-16 17:06:38 +02:00
Simone Mainardi
d12a4d3009 Creates utility functions to handle restart after anomalous termination 2018-08-01 18:11:17 +02:00
emanuele-f
89d203883f Add support for custom categories lists
- Extend malware hosts from list
- Read web mining hosts from list and generate alerts
2018-05-10 17:12:53 +02:00
Luca Deri
00004494bf Reworked alarms
Added informative message at ntopng startup/shutdown
2018-04-13 17:19:58 +02:00
emanuele-f
23d7a2676a Rework alerts export to provide more endpoint control 2018-04-12 18:10:45 +02:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
Simone Mainardi
54632361c4 Only loads bridge conf utils in nEDGE 2018-03-15 16:38:21 +01:00
Simone Mainardi
501192ff1f Adapts http bridge conf to the new nEDGE 2018-03-15 16:12:21 +01:00
emanuele-f
60f3753e12 Fix network discovery on nedge 2018-03-08 17:28:02 +01:00
emanuele-f
66b024c21d Generate alerts when a quota is exceeded 2018-02-23 15:29:28 +01:00
emanuele-f
0f198dd638 Trigger an informative alert when an host pool is activated/deactivated
Closes #1363
2018-02-22 15:26:30 +01:00
emanuele-f
8ff93579aa Implement informative alert when a new MAC address is observed/re-seen/disappears
Implements #1659
2018-02-21 12:42:01 +01:00
Simone Mainardi
16dd827781 Reworks nEdge boot operations 2017-12-19 14:46:46 +01:00
emanuele-f
329f975485 Add pro startup.lua 2017-12-13 17:06:25 +01:00
emanuele-f
417d40a78e Separate system-wide scripts from per-interface scripts 2017-11-23 19:15:12 +01:00
Renamed from scripts/callbacks/startup.lua (Browse further)