emanuele-f
a883c83170
Fix user activity RRA sizes, make RRA preferences configurable and disable activity log by default
2016-09-16 22:06:27 +02:00
Simone Mainardi
982c7c803e
Hides the "extract pcap button" for non-packet interfaces
2016-09-16 11:46:40 +02:00
Simone Mainardi
6d396c33ed
Fixes top talkers computation with VLAN-tagged traffic
2016-09-15 19:28:29 +02:00
Simone Mainardi
db544882f1
Minor fix to release engaged alerts
2016-09-14 16:18:28 +02:00
Simone Mainardi
22e863feda
Adds graph autorefresh every minute
2016-09-13 12:37:00 +02:00
Luca Deri
d87d3e0e5b
Fixed bug that caused RRDs to be much larger than required.
...
Host activity fixes
2016-09-10 17:32:02 +02:00
Simone Mainardi
a280e53862
Completes the migration to the stateful alerts
2016-09-06 16:36:05 +02:00
Simone Mainardi
e255b5218b
Implements the API for stateful interface alerts
2016-09-06 14:41:16 +02:00
Simone Mainardi
889fa6f215
Fixes JSON decoding issues
...
Fixes #703
2016-09-05 19:22:03 +02:00
Simone Mainardi
c3be02485f
Handles refreshes of user-configured network alerts
2016-09-02 15:18:42 +02:00
Simone Mainardi
441857d34d
Implements stateful network alerts
2016-09-02 14:59:54 +02:00
Simone Mainardi
13875ec189
Adds numHosts to hosts retrieval for proper pagination
...
numHosts was suppressed in an earlier commit but this caused
issues with pagination of results.
2016-08-25 19:05:35 +02:00
Simone Mainardi
fe5c6377aa
Adds numFlows to flows retrieval for proper pagination
...
numFlows was suppressed in an earlier commit but this caused
issues with pagination of results.
2016-08-25 18:30:27 +02:00
Simone Mainardi
58f1a902ea
Disables UI tabs while loading results
...
This is in order to prevent an impatient user from clicking on
multiple tabs without waiting for the competion of his/her actions
2016-08-25 16:16:24 +02:00
emanuele-f
81b83d96dc
Dump user activity rrd to text
2016-08-16 04:37:51 +02:00
emanuele-f
d21681592a
Update counters each minute and other changes
2016-08-16 01:39:41 +02:00
Luca Deri
d85555296f
Minor code cleanup
2016-08-15 11:52:07 +02:00
Simone Mainardi
12f24a87b4
Implements stateful alerts in C and sqlite
2016-08-11 19:56:49 +02:00
Simone Mainardi
781b3d4988
Improves y-axis labels in community historical graphs
...
fixes #682
2016-08-11 11:42:22 +02:00
Luca Deri
a3d36634e3
Code cleanup
2016-08-10 15:53:39 +02:00
Luca Deri
cc78c4f37e
Various script fixes
2016-08-10 15:06:17 +02:00
Simone Mainardi
9cf1866e2f
Fixes an error in community mode (due to NetworkInterfaceView removal)
...
WARNING: Script failure [/Users/simone/code/ntopng/scripts/lua/iface_hosts_list.lua][/Users/simone/code/ntopng/scripts/lua/modules/lua_utils.lua:164: attempt to get length of local 'h' (a nil value)]
2016-08-10 14:58:09 +02:00
Luca Deri
34dee98540
Fixed top talkers hosts
2016-08-10 13:00:52 +02:00
Simone Mainardi
116ffda7c8
Additional fixes after removal of NetworkInterfaceView
2016-08-10 12:23:14 +02:00
Simone Mainardi
12aa4c7399
Fixes after removal of the NetworkInterfaceView code
2016-08-10 11:21:08 +02:00
Luca
fdf1384081
Fixes after merge
2016-08-10 09:46:05 +02:00
Luca
bcadcf033f
Removed view interface (work in progress will be reintroduced after cleanup)
2016-08-10 09:37:10 +02:00
Simone Mainardi
431b0d96ed
Implements a function to obtain suppressed alerts redis keys
2016-08-09 19:17:42 +02:00
Simone Mainardi
b9b22593f4
Removes a debug table print
2016-08-09 18:26:32 +02:00
Simone Mainardi
0b1f12f928
Improves jsonencode function
2016-08-09 18:17:39 +02:00
Simone Mainardi
52abb7659a
Handles per-interface alerts via the AlertsManager
...
This commit moves the global ntopng-wide alerts to
interfaces' AlertsManager s
2016-08-09 16:47:36 +02:00
Simone Mainardi
246c58c1ac
Implements stateful threshold host alerts
2016-08-08 16:53:45 +02:00
Simone Mainardi
42b588be48
Adds the new lua alerts API
2016-08-05 19:12:57 +02:00
Simone Mainardi
199b418037
Implements db-based new generation alerts with lua API (wip)
2016-08-05 19:11:34 +02:00
Simone Mainardi
770bc4c6fc
Security Fix: users enumeration
...
A user reported us
"""
I would like to report a possible security issue in ntopng.
When connected with a regular, unprivileged user, it is possible to force-navigate to the URL: http://192.168.2.176:3000/lua/admin/validate_new_user.lua?user= <anyuser>&networks=0.0.0.0/0,::/0
Due to this, it is possible to replace <anyuser> with a list of users and enumerate the users that exist in the system.
"""
This commit fixes the issue
2016-08-05 17:53:34 +02:00
Luca Deri
89d6fa301a
Added minimal json encoding function
...
Modified bash path in ntopng-add-user.sh
2016-08-05 11:03:56 +02:00
Luca Deri
45e0c01377
Fix for #672
2016-08-03 15:05:38 +02:00
valentina
982881b1e2
Changes and rework for SIP and RTP protocol.
2016-08-01 23:54:03 +02:00
Simone Mainardi
f1d3dbb455
Stateful host alerts now 'require' a lua API
...
This commit is a companion of professional version commit
commit 2b6e5358a71179a728edc0a8e591ffb883d626ab
Date: Mon Aug 1 22:07:37 2016 +0200
Refactors stateful host alerts to provide an API
2016-08-01 22:08:34 +02:00
Simone Mainardi
e674c73a2e
Simplifies the API for stateful host alerts
2016-08-01 18:22:43 +02:00
valentina
d9b565e44b
Other changes for SIP protocol.
2016-07-31 18:59:31 +02:00
valentina
4ad4fe04bd
changes for SIP protocol.
2016-07-31 09:46:14 +02:00
Simone Mainardi
845250f5a0
Reworks thresholds alerts management to allow function override
...
Functions will be overridden in the professional version
2016-07-29 19:44:18 +02:00
Simone Mainardi
64e98766e7
Minor fix to improve robustness of alerts re arming
2016-07-28 16:01:05 +02:00
Simone Mainardi
2ec5c8e798
Replaces sub with gsub for string substitution
2016-07-28 15:48:41 +02:00
Simone Mainardi
a31225e2ab
Sets vlan 0 to implicit for nagios alerts
...
This is to ensure backward compatibility with previous
nagios alert format.
2016-07-28 15:45:11 +02:00
Simone Mainardi
85c5beb545
Implements alerts on a per-interface per-vlan basis
...
Interfaces were handled globally before this commit. Now
alerts can be configured per-interface. So for example alerts
for the same host 193.168.2.1 can be handled differently on multiple interfaces.
Old alerts configured should be automatically migrated thanks to script startup.lua
This commits also paves the way to introduce stateful alerts in the professional version
2016-07-27 22:10:17 +02:00
Simone Mainardi
374d41387a
Implements a lua table slicing facility
2016-07-26 20:07:10 +02:00
Simone Mainardi
106ba35d2c
Removes redundant calls in alerts
2016-07-26 20:06:45 +02:00
Simone Mainardi
0de66219d0
Sets flow vlan to DOT1Q if no inner vlan is detected
...
If no {SRC,DST}_VLAN field is set, then the outer vlan values
found in Q-in-Q DOT1Q_{SRC,DST}_VLAN are used (if set) to populate
flow vlan.
Fixes #650
2016-07-24 14:26:08 +02:00