Commit graph

303 commits

Author SHA1 Message Date
emanuele-f
8e546e904d Add event exporters charts 2019-04-29 15:11:01 +02:00
emanuele-f
6fb921d68a Implement Pods and Containers page 2019-04-24 18:46:07 +02:00
emanuele-f
14a9d83a30 Move local broadcast domain preference to the interface settings and show warnings
A dismissable warning is shown if DHCP traffic has been seen on the currrent interface.
2019-04-11 12:52:15 +02:00
emanuele-f
21f202ccb2 Implement protos.txt editing via the gui.
Editor is only enabled if the -p option is specified.
Also added an hook in the flow to easily add domain.

Closes #1837
2019-04-10 16:16:39 +02:00
Alfredo Cardigliano
a892c825c0 toggle_ids_alerts liny 2019-04-05 15:55:53 +02:00
Simone Mainardi
23c5d92b10 Proper validation of base64-encoded license keys 2019-03-29 20:02:54 +01:00
emanuele-f
79543c6207 Flows table improvements 2019-03-25 16:04:29 +01:00
Simone Mainardi
091e89d5a3 Implements hosts walker by address CIDR 2019-03-21 15:25:00 +01:00
Simone Mainardi
2c50c66532 Fixes locales ordering 2019-03-18 16:37:55 +01:00
Simone Mainardi
5a67bf6e43 [Security] Fixes possible XSS in login.lua referer param
Fixes

XSS1 | Reflected

URL
http://192.168.2.200:3000/lua/login.lua?referer=%27%3E%3Cscript%3Ealert(1)%3C/script%3E

METHOD
Get

PARAMETER
referer

PAYLOAD
'><script>alert(1)</script>
2019-03-14 11:35:35 +01:00
Simone Mainardi
4b3ae0e652 Makes the ARP matrix generation optional using a pref 2019-03-12 14:53:06 +01:00
Simone Mainardi
a9db8e8c1e Adds validation for host pool assoc via API 2019-03-03 11:28:15 +01:00
emanuele-f
c2c10ed491 Implement dhcp hosts filter 2019-02-27 16:20:55 +01:00
emanuele-f
b778e77207 Initial support for DHCP range configuration 2019-02-26 18:08:02 +01:00
emanuele-f
4a97017f35 Fix mac-based serialization key and add a preference to enabled it (disabled by default) 2019-02-22 16:01:58 +01:00
emanuele-f
5089e4dabe Timeseries charts fixes 2019-02-22 11:16:41 +01:00
Simone Mainardi
c40bfb1a8e Implements custom column in the hosts stats page 2019-02-20 12:14:34 +01:00
Simone Mainardi
9a413a5d72 Implements TCP states filtering (est., connecting, closed and rst)
Implements #2385
2019-02-16 18:19:25 +01:00
emanuele-f
6bbb828ead Implement Category Lists editor to manage ip/domain lists 2019-02-11 15:47:17 +01:00
Simone Mainardi
e5eff5b30f Initial sprobe code cleanup 2019-02-11 14:22:36 +01:00
Simone Mainardi
3dd9f11628 Implements flow TCP states filters 2019-02-08 15:57:03 +01:00
emanuele-f
139c7d4bae nEdge port forwarding validation and localization 2019-02-07 17:30:31 +01:00
Luca Deri
937ee52de7 Disabled some debug messages in tracings
Added ability to avoid parsing JSON payload when specifying ignore_post_payload_parse = something. This is useful in case of a HTTP post where you do not want to parse it.

Example:
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
local json = require "dkjson"

-- Use ignore_post_payload_parse BEFORE calling 'require "lua_utils"'
ignore_post_payload_parse = 1
require "lua_utils"

sendHTTPContentTypeHeader('application/json')
local info, pos, err = json.decode(_POST["payload"], 1, nil)
2019-02-06 15:28:18 +01:00
emanuele-f
4f60243338 Implement timeseries data read from aggregated retention policies
Aggregation selector can be shown by setting "ntopng.prefs.influxdb.debug_aggregation" = "1"
2019-02-04 13:26:22 +01:00
Simone Mainardi
183dfa41f9 Handles IPv6 NDP to detect broadcast domain 2019-01-30 11:49:47 +01:00
Luca Deri
36b34389ac Initial work towards REST-ful code rework 2019-01-30 10:54:09 +01:00
Simone Mainardi
b6e1949ae9 Notifies the user when an external n2disk is available to bind to ntopng 2019-01-29 16:38:52 +01:00
Emanuele Faranda
1bf7da7ef7 Implements Mac stats/data reset and reset at midnight (#2326)
* Host data/stats delete improvements

* Rework mac counters and implemtent mac stats/data reset

* Implement stats reset at midnight

* Add missing files
2019-01-21 17:27:12 +01:00
Simone Mainardi
11f4b2fe67 Handles custom n2disk instances within ntopng 2019-01-16 16:59:36 +01:00
Alfredo Cardigliano
bb6937ca66 Interface Status Change Alerts and Interface Discards/Errors Alerts preferences 2019-01-11 12:53:19 +01:00
Simone Mainardi
d95d8541f3 Merge branch 'raphpen-dev' into dev 2019-01-09 12:26:43 +01:00
Simone Mainardi
e9811ae688 Implements X.509 client authentication 2019-01-09 12:21:56 +01:00
Simone Mainardi
28e87d93bc Implements configurable session termination and midnight expire 2019-01-08 12:33:39 +01:00
Alfredo Cardigliano
2002128eb4 Webhook export module for exporting alarms (implements #2251) 2019-01-07 22:09:15 +01:00
Simone Mainardi
22e5e2e9e0 Merge branch 'dev' of https://github.com/raphpen/ntopng into raphpen-dev 2019-01-07 19:20:26 +01:00
emanuele-f
657084e7d0 Properly handle L4 protocols charts 2018-12-20 12:16:46 +01:00
Raphael Pennisi
cf9a351000 Added HTTPS client certificate authentication 2018-12-19 11:55:27 +01:00
Alfredo Cardigliano
abc27f2953 Implements Handle whitelists in custom categories #2171 2018-12-11 11:47:19 +01:00
Alfredo Cardigliano
4db4228d12 Implements Alert for long-lived flows (data exfiltration?) #2163 2018-12-10 18:58:51 +01:00
emanuele-f
95713ddfc6 Add driver:deleteOldData and delete old RRDs 2018-12-10 17:42:39 +01:00
emanuele-f
3532d90a86 Implement flows index retention 2018-12-10 15:06:46 +01:00
emanuele-f
5e3d88d0cc Add option to disable LDAP referrals 2018-12-07 20:35:54 +01:00
Alfredo Cardigliano
5c3488bf6f Using component with bytes unit selector for max file size 2018-12-07 10:23:12 +01:00
Alfredo Cardigliano
313d025dfb Implements Alerts for elephant flows #2164 2018-12-06 18:10:54 +01:00
emanuele-f
5f9c1cbd82 Add RADIUS log and constraints 2018-12-05 16:08:37 +01:00
Alfredo Cardigliano
51af9ea40c Initial tracker module 2018-12-04 19:28:49 +01:00
Simone Mainardi
ea5c70da73 Adds lua function calls tracking code 2018-12-03 09:34:36 -08:00
emanuele-f
4dc3d52731 Implement remote assistance supernode configuration
Implements #2192
2018-12-01 16:32:23 +01:00
emanuele-f
0bd433c5c5 Rework authentication preference to support RADIUS and HTTP auths 2018-11-30 21:22:11 +01:00
Simone Mainardi
bccb06d33f Fixes special characters in LDAP bind password
Fixes #2185
2018-11-28 18:06:09 +01:00