emanuele-f
d85fc2b06b
Migrate interface alerts to in-memory alerts
2017-11-16 16:05:49 +01:00
emanuele-f
62459d4435
Fix alerts not being scanned on interfaces with disabled data retention
2017-11-16 11:00:16 +01:00
Luca Deri
9cac3185a9
Fixed periodic script error
2017-11-15 12:22:20 +01:00
Luca
b350ecc7d9
Minor rework in periodic scripts
...
Reworked aggregated DB dump
2017-11-12 12:10:20 +01:00
Luca
d1fddd08a3
Extended redis key/val buffer
2017-11-10 12:09:20 +00:00
Luca
044fe19677
Reworked nSeries support
...
Added patch for avoiding #1545
2017-11-09 23:55:52 +00:00
emanuele-f
0a064fe4da
Fix invalid ds name
2017-11-08 16:49:49 +01:00
Luca Deri
da2bee8623
Timeseries update
2017-11-02 23:28:50 +01:00
Luca Deri
1a0e832df3
initial nSeries changes
2017-11-02 19:49:08 +01:00
Luca Deri
f1ad5ce4d2
Typo
2017-11-02 14:01:35 +01:00
Simone Mainardi
a22022bb30
Reworks alerts to prevent local hosts I/O
2017-11-01 23:04:33 +01:00
Simone Mainardi
2f8c92162c
Fixes host rrd path generation causing lua exception and missing files
...
Exception is:
31/Oct/2017 16:30:00 [Lua.cpp:6634] WARNING: Script failure [/home/simone/ntopng/scripts/callbacks/5min.lua][/home/simone/ntopng/scripts/lua/modules/graph_utils.lua:998: Cannot create temporary file]
31/Oct/2017 16:35:00 [Lua.cpp:6634] WARNING: Script failure [/home/simone/ntopng/scripts/callbacks/5min.lua][/home/simone/ntopng/scripts/lua/modules/graph_utils.lua:998: Cannot create temporary file]
31/Oct/2017 16:40:00 [Lua.cpp:6634] WARNING: Script failure [/home/simone/ntopng/scripts/callbacks/5min.lua][/home/simone/ntopng/scripts/lua/modules/graph_utils.lua:998: Cannot create temporary file]
2017-10-31 17:05:43 +01:00
Simone Mainardi
2262e481f8
Removes DNS-based categories rrd creation
2017-10-31 13:58:28 +01:00
Luca Deri
1d26f4a36b
Reworked timeseries experimental code (work in progress)
2017-10-31 00:44:35 +01:00
Luca Deri
31e26923b1
RRD rework
2017-10-30 23:56:15 +01:00
Luca Deri
ddbe237192
Reworked timeseries API
2017-10-29 23:47:41 +01:00
Luca Deri
a8d0102ff6
Experimental code for time series
2017-10-25 23:19:41 +02:00
Simone Mainardi
54bd5ab539
Fixes discover.lua activity interval
2017-10-25 17:02:24 +02:00
Luca Deri
466be6de1c
Added ntop.traceEvent() call
2017-10-18 09:15:02 +02:00
Simone Mainardi
4e4020a480
Implements flows filter by client/server ASN
2017-10-08 22:54:24 +02:00
Simone Mainardi
a99c7a9544
Implements old RRD files deletion (frontend + partial backend)
2017-10-04 19:39:32 +02:00
Simone Mainardi
5ebfb6f01c
Implements per-MAC nDPI categories (backend + frontend)
2017-10-04 17:36:56 +02:00
Simone Mainardi
c54b2523a1
Implements per-MAC RRDs (backend)
...
MAC bytes rrd is currently created if enabled from the preferences.
2017-10-04 13:07:13 +02:00
Simone Mainardi
4b2d6c8af6
Hardening: more restrictive permissions of created files and dirs
...
As top_talkers and alerts_db were created with root privileges,
a chown may be required if the process is run with nobody
-rw-r--r-- 1 root root 3.0K Oct 3 16:35 top_talkers.db
Fixes #1486
2017-10-03 16:47:18 +02:00
Simone Mainardi
f788652f50
Prevents unused RRDs from being created
2017-09-26 19:51:04 +02:00
Luca Deri
b44032933d
Added shutdown.lua callback script to be executed during shutdown
...
RuntimePrefs are now dumped to disk via Lua and not C++
2017-09-20 23:03:21 +02:00
emanuele-f
d3292c1b7e
Add a preference to specify what to show on the policy target column.
...
The new default is to only show categories.
Existing installations will have the preference set to both.
All the user defined protocols and categories are shown regardless of the preference (as not-editable fields in case).
2017-09-20 00:02:08 +02:00
Simone Mainardi
a3f24fcdfc
Allows per-category interface RRD creation
2017-09-19 18:06:10 +02:00
emanuele-f
fe67dc9e4f
Make multiple selection buttons reusable within same page
...
Fixes #1456
2017-09-19 14:46:35 +02:00
Simone Mainardi
eabfcbda46
Implements per-category RRDs
...
Implements #1448
2017-09-19 11:46:13 +02:00
Luca Deri
32e8fe2a21
Maximized SNMP socket buffer to accept more SNMP responses
...
Improved discovery with VM detection, name-to-OS, SNMP sysName.o
2017-09-18 10:23:29 +02:00
Simone Mainardi
4ac6c92b9c
Implements custom nDPI proto categories changes
2017-09-15 19:48:49 +02:00
Luca Deri
20b665f0b6
Fixed for executing network discovery when ntopng moved to nobody (Linux only)
2017-09-15 19:24:23 +02:00
Simone Mainardi
ae828f9465
Handles UI network discovery requests
2017-09-14 21:20:01 +02:00
Simone Mainardi
717b2dfa40
Adds pref. for per-interface network discovery
2017-09-14 18:57:10 +02:00
Simone Mainardi
58f386d611
Implements method interface.isDiscoverableInterface()
2017-09-14 18:19:38 +02:00
Simone Mainardi
a8123ffe0a
Code cleanup and adjust. of naming conventions
2017-09-14 15:56:00 +02:00
Simone Mainardi
b85eea4328
Makes devices discovery a periodic task
2017-09-14 13:19:45 +02:00
Simone Mainardi
7e1af2b196
Implements customizable per-interface RRD generation
...
Implements #1429
2017-09-06 16:02:32 +02:00
Luca
1304799f1f
Added boot.lua script that is executed at boot
...
- before ntopng switches from superuser to nobody
- before networking is initialized
The idea behind this script is to execute startup actions before
ntopng is really started, and while we're still superuser
2017-09-04 17:06:37 +02:00
Simone Mainardi
c4a6ddd3a4
Implements bridge configuration via HTTP
2017-08-16 18:09:33 +02:00
Simone Mainardi
cdb4235380
Fixes num_flows RRD computation for local hosts
2017-08-02 01:23:40 +02:00
Simone Mainardi
fd8ee25641
Code refactoring to simplify stats reset
2017-08-01 15:39:00 +02:00
Simone Mainardi
2dce680ba8
Removed red color from drop icons
2017-07-31 19:06:52 +02:00
Simone Mainardi
a7b41075e4
Implements broadcast addresses per local network
...
Implements #571
2017-07-31 18:45:49 +02:00
Simone Mainardi
e02b6296f7
Adds num flows RRDs for local hosts
...
Implements #1375
2017-07-28 17:12:25 +02:00
Simone Mainardi
eaa7a0d313
Separates L3 IPs from L2 MACs
...
Before this commit, multiple L3 hosts were allocated if the same ip
address was seen with multiple mac addresses. We have decided to keep
ip and macs logically sepatated. For this reason, after this commit,
the L3 ip always remains the same even if there are changes in the
mac. A user who wants to monitor mac addresses can use the L2 section
as well as the host pools.
This commit also reverts:
"Add MAC address to the serialized hosts key to fix bad MAC address association and stats"
This reverts commit 89a756fb9a .
2017-07-04 01:41:31 +02:00
Simone Mainardi
c0bcda7ed7
Optimizes 5min.lua (possibly unnecessary forEachHost)
...
Fixes #1324
2017-06-21 12:16:17 -04:00
emanuele-f
94933f7c44
Fix error with sticky hosts
2017-06-21 14:39:13 +02:00
Simone Mainardi
7332cc7c53
Makes 5-min updates only for local hosts
2017-06-15 20:41:35 -04:00