Commit graph

911 commits

Author SHA1 Message Date
emanuele-f
b881cb6141 Remove input-group to make inputs rounded and restore save button 2017-01-03 11:38:52 +01:00
emanuele-f
bd11ca7937 Split preferences into simple and advanced 2017-01-02 13:33:00 +01:00
emanuele-f
75b5fd068e Validate some fields and set some fields widths 2017-01-02 13:33:00 +01:00
Simone Mainardi
3e46607fc6 Fixes for prefs buttons 2017-01-02 11:20:33 +01:00
emanuele-f
3df94ecf82 Make prefs buttons blue 2017-01-01 11:41:20 +01:00
Simone Mainardi
3741176327 Improves the layout of prefs buttons 2016-12-30 21:27:12 +01:00
emanuele-f
74a836116b Add required attribute to numeric fields 2016-12-30 20:49:05 +01:00
emanuele-f
195130be93 Implement and use resolution buttons 2016-12-30 20:49:05 +01:00
emanuele-f
405a79d154 Initial resolution buttons support 2016-12-30 20:49:05 +01:00
Simone Mainardi
b5863ec320 Prevents page refreshes while browsing historical flows 2016-12-30 17:13:40 +01:00
Luca
2ba6b7e1bb Implemented redis caching to reduce cache pressure (work in progress)
Rearranged menus
2016-12-30 10:54:59 +01:00
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