Commit graph

66 commits

Author SHA1 Message Date
Emanuele Faranda
afdfac1c9c Lua scripts parameters validation (#970)
* partial work

* Migrate 'mode' parameters

* Migrate alerts types

* Fix some interface ids

* Partial work

* Partial work

* End of work for _GET parameters

* Work in progress

* Add support for special parameters

* Preferences validation

* Fixes and improvements

* Enforce interger validation
2017-02-08 12:25:35 +01:00
emanuele-f
05d4956fbd Adds missing quotes to href attributes 2017-02-02 15:52:09 +01:00
emanuele-f
118da00425 Move Host Pools to interface page 2017-01-31 20:16:10 +01:00
emanuele-f
c1b6e53ce4 Add search host pool member field 2017-01-31 20:16:10 +01:00
Simone Mainardi
72d4630114 Makes host pools visible in the community version 2017-01-26 14:54:12 +01:00
emanuele-f
5f7762ade5 Implement Redis Host Pools counters dump 2017-01-26 12:19:12 +01:00
emanuele-f
5c305ba6a1 Add GUI side support for host pools stats 2017-01-26 11:53:24 +01:00
emanuele-f
92b40eb2d0 Fix interface switch not working properly 2017-01-20 18:39:37 +01:00
emanuele-f
5f3093d067 Implement host pools page 2017-01-18 10:34:52 +01:00
emanuele-f
397d525d85 Use POST requests when required 2017-01-14 20:31:01 +01:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Luca
60b9ccd3ef Fixed menubar icons 2016-12-31 19:55:00 +01:00
Luca
2ba6b7e1bb Implemented redis caching to reduce cache pressure (work in progress)
Rearranged menus
2016-12-30 10:54:59 +01:00
Simone Mainardi
f349ca344e Reworks alerts menu 2016-12-28 19:54:05 +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
5dd9c496e4 Improves flow alerts explorer links 2016-12-01 17:17:49 +01:00
Luca Deri
091378fd7b Implemented local hosts looking glass (more criteria to be added) 2016-11-30 16:26:17 +01:00
Simone Mainardi
59878461e9 Adds localhost info to flow alerts 2016-11-28 20:18:02 +01:00
Simone Mainardi
a8c00f785d Changes alert badges colors on the basis of severity
Implements #829
2016-11-25 12:46:25 +01:00
Luca Deri
72f75cc12b Added missing interface selection that caused alert triangle not to show up 2016-11-21 10:54:05 +01:00
Luca
bbfcc42994 Reworked locales and menu 2016-11-17 19:38:41 +01:00
Luca Deri
12b8224b81 Reworked the footer to make it smaller 2016-10-09 23:35:55 +02:00
Luca Deri
7d4a712ec7 Reported number of devices in ntopng footer 2016-10-08 20:48:23 +02:00
Luca Deri
f156b64786 Tiny network device changes 2016-10-07 09:38:55 +02:00
Luca Deri
97b19c1461 Introduced the concept of Mac hosts (it used to be mixed with L3 hosts). More work is needed to add L2 stats
Host activities are now enabled (and memory allocated) only for local hosts. Fixed bug in activities preferences
Cleaned up various methods
Removed some old unused code
2016-10-02 19:43:13 +02:00
Simone Mainardi
c770d413e3 Adapts the Web UI to browse pcap dumps 2016-09-21 16:01:33 +02:00
Simone Mainardi
a280e53862 Completes the migration to the stateful alerts 2016-09-06 16:36:05 +02:00
Luca
274921ee5c Reimplemented view: interface, and Paginator code.
Minor code cleanup
2016-08-18 13:44:24 +02:00
Luca Deri
a3d36634e3 Code cleanup 2016-08-10 15:53: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
128c11652c Implements alerts toggle from the web interface 2016-07-22 18:56:07 +02:00
Luca Deri
6acebf7706 Added Devices menu 2016-07-14 15:18:03 +02:00
Luca Deri
94d5065603 Updates for the enterprise edition 2016-07-13 11:47:55 +02:00
Luca Deri
0b26aa9b0f Fixed broken icon in waiting page
Oreliminary work to detect future enterprise edition
Minor change in MySQL error report
2016-07-12 00:31:43 +02:00
Simone Mainardi
a51994cfec Implements asynchronous database schema updates
Database updates are now performed asynchronously.
The web server starts but notifies the user with a
'please wait' message until the updates are completed.
2016-07-04 19:37:44 +02:00
Luca Deri
a26dbe0a6a Fixed bug in interface switch 2016-06-14 16:46:39 +02:00
Simone Mainardi
dbb4484189 Fixes an unmatched end tag 2016-06-14 12:04:59 +02:00
Luca Deri
08af4fe7d0 Simplified interface switch from the GUI that is now done in one single step 2016-06-02 11:58:01 +02:00
Luca Deri
306d4c1aaf Added runtime status to ease debugging and support. The new entry has been added to the home menu (below about) 2016-06-02 11:37:47 +02:00
valentina
5d2f1f4c03 Rework Preference Panes 2016-05-23 23:07:52 +02:00
Luca
2fb0e863fe Fixed inter-arrival time in flows
Updated (C)
2016-04-19 11:06:39 +02:00
Simone Mainardi
bb52aa747c Prevents dump buttons from being shown for non-packets interfaces or when nBox integration is enabled
Traffic dump buttons are not shown for non-packet interfaces
as well as when the nbox integration is enabled.
2016-04-11 14:34:21 +02:00
Simone Mainardi
60910a782e Extends password support to ISO 8895-1 (latin 1) 2016-04-10 16:45:35 +02:00
Luca Deri
480634565b Fixed authentication bug 2016-03-31 09:05:52 +02:00
Luca Deri
469b23b77e Added to visited (local) host sites 2016-03-21 22:28:50 +01:00
Luca Deri
4628b7b0b2 Menu fixes 2016-03-09 15:56:34 +01:00
Luca Deri
09711d9d89 Reworked menu 2016-03-02 08:37:43 +01:00
Simone Mainardi
e36e27ef5e Removes pcap download from the main menu 2016-01-09 16:06:32 +01:00
Simone Mainardi
9bfd5a30b4 Adds n2disk historical pcap retieval support 2016-01-08 17:28:13 +01:00
Simone Mainardi
ed888805ec Adds the historical db explorer to the main menu 2016-01-05 16:04:11 +01:00