Commit graph

450 commits

Author SHA1 Message Date
Luca
26fa33269d Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2016-12-28 22:50:40 +01:00
Simone Mainardi
f349ca344e Reworks alerts menu 2016-12-28 19:54:05 +01:00
Luca
f50f61f9fc MySQL DB improvements
Cached slack preference
Optimized DHCP cache read
2016-12-28 19:20:06 +01:00
emanuele-f
0dc20931ff Use totalval to decide which elements to esclude 2016-12-28 13:13:07 +01:00
emanuele-f
1953552457 Implement profiles graph 2016-12-28 13:13:07 +01:00
emanuele-f
7dfda54934 Add total host activity 2016-12-28 12:14:28 +01:00
Simone Mainardi
8810ef9167 Removes unused lua scripts from the main tree
Moved to attic
2016-12-26 12:10:34 +01:00
Simone Mainardi
eca2c41049 Reworks alert counters (WIP)
Alert counters are now kept in sync only for engaged alerts.
Each host will show the current number of engaged alerts.
This alleviates the complexity of constantly keep the numbers
synchronized with the database.

Todo: see how to handle counters for flow alerts and past alerts.
2016-12-24 16:21:50 +01:00
Simone Mainardi
ff7c61bb9d Fixes an issue when dumping flows already partially dumped
The final dump for flows partially dumped could be, under certain
conditions, skipped. This commit addresses the issue.

Fixes #846
2016-12-21 19:44:47 +01:00
Simone Mainardi
413e22e889 Implements CIDR search in flow explorer
partially implements #574
2016-12-20 15:32:52 +01:00
Luca Deri
3443b76b06 Refined alert generation
Added refresh button in alert page
2016-12-17 12:33:34 +01:00
Luca Deri
7f8065d90b Fixed missing csrf field in alerts pages that caused flow deletion to fail
Improved flock checks heuristics to limit cgeneration of false positives
Added TCP flow alert generation in case of OOO/retransmission... > 10% of packets
2016-12-17 10:42:06 +01:00
emanuele-f
98e7f9e31f Change default retrigger time 2016-12-16 10:57:42 +01:00
Simone Mainardi
9e840e3178 Fixes a nil value concatenation
Script "/Users/simone/code/ntopng/scripts/lua/get_db_flows.lua" returned an error:
/Users/simone/code/ntopng/scripts/lua/get_db_flows.lua:81: attempt to concatenate local 'l7proto_label' (a nil value)
2016-12-15 23:44:40 +01:00
emanuele-f
06872bd949 Fix tab being hidden after deleting all the alerts when a filter is set 2016-12-15 10:50:29 +01:00
Simone Mainardi
c4cd6200f9 Minor fixes for the alerts browser 2016-12-14 11:54:50 +01:00
emanuele-f
db01d1b211 Parameters pass simplification 2016-12-14 11:54:50 +01:00
emanuele-f
ecca16e402 Fix other tabs being filtered 2016-12-14 11:54:50 +01:00
emanuele-f
0f448fffc7 Flow alerts explorer integration and LUA alerts query unification 2016-12-14 11:54:50 +01:00
Luca
25185ce028 While the network interface has at least one engaged interface alert, expired flows are now triggering a flow alert 2016-12-13 01:19:50 +01:00
Luca Deri
6db2d2026e Enabled blacklist host detection (via EmerginThreats) 2016-12-12 19:40:42 +01:00
Emanuele Faranda
ff36e89f32 Fix for #852 (#854)
* Fix for #852

* Align in interval
2016-12-12 18:19:03 +01:00
Luca Deri
6f9a7d0238 Lua code cleanup 2016-12-10 08:45:13 +01:00
Simone Mainardi
758db35671 Implements MySQL open_files_limit check
ntopng checks MySQL for the value of open_files_limit and engages
and alert if the worst case number of open files is greater
than or equal to the 80% of open_files_limit
2016-12-09 17:14:25 +01:00
emanuele-f
ade100f190 Alert fixes 2016-12-09 11:45:28 +01:00
Simone Mainardi
282a289ef2 Fixes for alerts count consistency 2016-12-08 21:25:11 +01:00
Luca Deri
2107753a82 Various SIP/RTP and flow colelction fixes 2016-12-08 14:35:21 +01:00
Luca Deri
1336960e5a Fixed warning 2016-12-08 12:11:32 +01:00
Simone Mainardi
a6d914d7ad Implements flow alerts cap and fixes several issues with counters 2016-12-07 18:45:50 +01:00
Simone Mainardi
8bdc909d69 Refresh alert counters upon delete 2016-12-06 19:34:57 +01:00
emanuele-f
36df7511c4 Fix charts intervals 2016-12-06 19:10:55 +01:00
Simone Mainardi
193d560168 Cosmetic changes to the alerts buttons 2016-12-06 15:34:51 +01:00
Emanuele Faranda
ce7f2fa69b Delete alerts period dropdown and to-delete count (#846) 2016-12-06 15:20:55 +01:00
Simone Mainardi
b8a5650501 Generalizes alerts raw sql query function 2016-12-05 16:29:17 +01:00
Luca Deri
71a0993022 Minor cosmetic changes
Reworked CSRF error message
2016-12-04 11:00:23 +01:00
emanuele-f
5d8723ba0c Unify alerts settings code 2016-12-03 00:56:39 +01:00
Simone Mainardi
aa74fb75d0 Localization for alerts lists 2016-12-02 19:57:33 +01:00
Simone Mainardi
77c4223fc6 Minor addition to the locales 2016-12-02 19:43:43 +01:00
emanuele-f
05578243dd Do not redirect after alerts actions 2016-12-02 18:59:46 +01:00
emanuele-f
b3c0f42b74 Show alerts for inactive hosts 2016-12-02 17:36:11 +01:00
Simone Mainardi
1132ce3937 Adds duration column for engaged alerts list 2016-12-02 16:27:16 +01:00
emanuele-f
5a45f1e8da Delete past alerts and past flows alerts differently 2016-12-02 16:23:04 +01:00
emanuele-f
f0fcd0a2c3 re_arm alerts globally 2016-12-02 15:56:24 +01:00
Simone Mainardi
293497f908 Makes smaller delete buttons 2016-12-02 13:56:49 +01:00
Simone Mainardi
b7d79db6d5 Fixes for alerts visualization 2016-12-02 12:38:42 +01:00
emanuele-f
acb1d25bb5 Alerts delete by type, older than, by host 2016-12-02 11:28:03 +01:00
Simone Mainardi
5dd9c496e4 Improves flow alerts explorer links 2016-12-01 17:17:49 +01:00
Luca Deri
ff20879987 Fix for #836
Fixed bug in footer.lua that caused a JS error that prevented the page from being updated
Moved utility functions from footer lua script to ntopng_utils.js
2016-12-01 09:26:27 +01:00
Simone Mainardi
3613d052f2 Adds i18n for alerts 2016-11-30 20:13:26 +01:00
Luca Deri
b591001d6b Fixed table sort order 2016-11-30 17:07:59 +01:00