Commit graph

404 commits

Author SHA1 Message Date
emanuele-f
b22a3e8231 Remove unnecessary include 2017-02-10 19:30:44 +01:00
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
c1b6e53ce4 Add search host pool member field 2017-01-31 20:16:10 +01:00
Simone Mainardi
53724ce33a Adds host pool column to CP users table 2017-01-30 23:02:31 +01:00
emanuele-f
5f7762ade5 Implement Redis Host Pools counters dump 2017-01-26 12:19:12 +01:00
Luca Deri
7e384d3c18 Added the ability to activate the web HTTP port on two ports. Example -w 80,3000
Changes in the captive portal logic that made it compatible with Android
Updated bridging readme to include the latest changes
2017-01-25 22:44:34 +01:00
Luca Deri
0eaccfe00b Added the ability to specify in preferences -> logging the path file
for logging HTTP accesses
2017-01-24 17:16:02 +01:00
emanuele-f
68b3f5710f Perform top HTTP talkers calculation in memory 2017-01-23 17:35:44 +01:00
Simone Mainardi
ba1c1df41b Implements configurable active local hosts cache dump interval 2017-01-23 12:21:50 +01:00
emanuele-f
78151791c1 Add preference to manually specify th Active Local Host Cache Timeout in minutes 2017-01-23 12:05:37 +01:00
Luca Deri
1c2d811f9b Removed debug message 2017-01-19 17:24:16 +01:00
Luca Deri
d7394d8f68 Simulated _GET even when _POST is used
Fixed parameter reload issue on preferences
2017-01-19 13:28:37 +01:00
Luca Deri
ddf6601f9a Enable/disable captive portal from preferences
Fixed HTTP bug that prevented ntopng to work on standard ports (80, 443)
Fixed minor UI glitches
2017-01-18 22:25:22 +01:00
Tony
8aa5fa34ab fixed small typo (#935)
there was a typo on the alerts configuration page
for slack notification.  Listed as "Notification Wekhook"
instead of "Notification Webhook"
2017-01-18 09:34:15 +01:00
Simone Mainardi
e8cffe9227 Implements periodic alerts rotation
Oldest alerts are periodically overwritten by newest ones
when a certain (user-configurable) threshold has been exceeded.
Rotation is performed periodically in a housekeeping.lua
2017-01-17 15:15:23 +01:00
Luca Deri
40c64ff541 Modified label for protocol stats 2017-01-17 13:30:47 +01:00
Simone Mainardi
d8804a99a8 Reworks top sites preference 2017-01-17 12:35:22 +01:00
emanuele-f
498923b5b6 Create a preference to enable top sites.
Calculating top sites in redis can be disk-intensive task for big networks.
This is now disabled by default and can be manually enabled from preferences page.
2017-01-17 12:35:22 +01:00
emanuele-f
397d525d85 Use POST requests when required 2017-01-14 20:31:01 +01:00
emanuele-f
c40075486f Refresh blacklist rules when blacklist alert preference changes 2017-01-12 15:17:52 +01:00
Luca
0f9db75fe0 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2017-01-10 15:03:32 -08:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
emanuele-f
0b4b811baa Inputs size changes 2017-01-10 16:42:29 +01:00
Luca
f14f9c6d4e Reworked expert mode preference button 2017-01-09 18:01:04 -08:00
emanuele-f
22f8e02c37 Key string description updated 2017-01-09 13:12:00 +01:00
emanuele-f
5ba00411a8 Remove Google API key format check since currently there is not a standard accepted format 2017-01-09 12:50:23 +01:00
Simone Mainardi
bdddc4ec81 Minor fix for preference set 2017-01-05 15:55:46 +01:00
Simone Mainardi
d3f0945449 Adds input format description for maps api key 2017-01-04 12:24:25 +01:00
emanuele-f
b881cb6141 Remove input-group to make inputs rounded and restore save button 2017-01-03 11:38:52 +01:00
Simone Mainardi
e8f7a7ee3d Reworks advanced prefs toggle 2017-01-02 13:33:00 +01:00
emanuele-f
bd11ca7937 Split preferences into simple and advanced 2017-01-02 13:33:00 +01:00
emanuele-f
af9fc2fa10 Disable spellcheck on some fields 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
3741176327 Improves the layout of prefs buttons 2016-12-30 21:27:12 +01:00
emanuele-f
195130be93 Implement and use resolution buttons 2016-12-30 20:49:05 +01:00
Luca
c44bfa8fdb Implemented #98
Ingress data can now be kept aggregated (default) or explored based on various criteria
- ZMQ interfaces: disaggregate based on probeIP or ingress interfaceId
- packet interfaces: disaggregate on VLANId
2016-12-27 11:03:52 +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
Luca Deri
d12b9892d8 Set alert preferences to more strict defaults
Fixed invalid URL generated in alerts, in case of blacklisted hosts
2016-12-20 09:04:44 +01:00
Luca Deri
da2b1ab1aa Chnages for #860 (work in progress) 2016-12-19 13:19:04 +01:00
Simone Mainardi
2b5da87dff Implements caching of probing alerts preferences 2016-12-14 19:39:28 +01:00
Luca Deri
6db2d2026e Enabled blacklist host detection (via EmerginThreats) 2016-12-12 19:40:42 +01:00
emanuele-f
c0f25ea732 Fix prefs buttons being disabled 2016-12-12 17:28:46 +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
Simone Mainardi
a6d914d7ad Implements flow alerts cap and fixes several issues with counters 2016-12-07 18:45:50 +01:00
Luca Deri
71a0993022 Minor cosmetic changes
Reworked CSRF error message
2016-12-04 11:00:23 +01:00
SauroPollastrini
44be5a2beb Merge branch 'dev' of https://github.com/SauroPollastrini/ntopng into dev 2016-12-02 13:43:59 +01:00
SauroPollastrini
fa96ebe5e5 Slack related fields in preferences appear/disapper on switch 2016-12-02 13:14:00 +01:00
Luca Deri
73d0fc0186 Merge pull request #841 from SauroPollastrini/dev
Choice of which alerts has to be notified to Slack based on gravity. Slack related fields on preferences disapperar if Slack notifications are OFF
2016-12-01 23:43:35 +01:00
SauroPollastrini
3754591857 used the word Severity instead of the word Gravity 2016-12-01 21:54:12 +01:00