Commit graph

1163 commits

Author SHA1 Message Date
emanuele-f
12d5e6a8bf Check influxdb export file name 2018-05-28 11:28:43 +02:00
emanuele-f
2b15b65f37 Use a single file for timeseries export 2018-05-28 10:28:26 +02:00
emanuele-f
42083f1865 Rework influxdb exporter 2018-05-25 13:52:06 +02:00
emanuele-f
cb56b5d5ec Implement layer above RRD for timeseries storage 2018-05-25 10:04:18 +02:00
emanuele-f
062c23d0de Fix bad RRA calculation 2018-05-23 20:15:01 +02:00
Luca Deri
1a2ed0b74f Added support for "Content-Type: application/json" POST 2018-05-22 23:41:29 +02:00
emanuele-f
6a13837ff6 Fix manage pools page not changing pool details 2018-05-18 12:29:03 +02:00
emanuele-f
9b6e2ee618 Implement network discovery page filters
- Filter by: device type, os, manufacturer
- Fix ghost hosts not shown
2018-05-17 17:12:43 +02:00
emanuele-f
e022f234db Fix getPageUrl 2018-05-17 16:15:31 +02:00
emanuele-f
b5a1cc1af7 Store OS in discovery data to use it for offline devices 2018-05-17 12:45:39 +02:00
Simone Mainardi
af907b61af Implements hierarchical AS RRDs directory tree 2018-05-17 11:28:09 +02:00
emanuele-f
4da97c492a Fix host validation errors 2018-05-17 10:59:34 +02:00
Simone Mainardi
251cc57970 Minor SNMP localization fix 2018-05-16 16:18:50 +02:00
emanuele-f
a70dce4301 Secure ntopng cookies with SameSite and HttpOnly
HttpOnly prevents the cookie from being accessed by javascript code and restricts XMLHttpObject utilization.
See https://blog.codinghorror.com/protecting-your-cookies-httponly/ .

SameSite=lax restricts cookie utilization in iframes, images or XMLHttpRequests, but still allows external
sites to link to the ntopng webserver and use the existing authenticated user session.
See https://www.sjoerdlangkemper.nl/2016/04/14/preventing-csrf-with-samesite-cookie-attribute/ .
2018-05-16 11:43:23 +02:00
Simone Mainardi
06245927f8 Adds SNMP information to flows 2018-05-15 17:41:59 +02:00
Simone Mainardi
9dd2ae14a8 Implements SNMP iterfaces status change alerts 2018-05-15 15:19:09 +02:00
Simone Mainardi
c1c3c49b45 Improves error handling and visualization upon data deletion 2018-05-15 12:06:04 +02:00
Simone Mainardi
8347406b63 Implements deletion of host persistent data 2018-05-14 19:47:49 +02:00
Simone Mainardi
8048fa50af Fixes attempts to index nil alert tables 2018-05-14 15:14:26 +02:00
emanuele-f
89d203883f Add support for custom categories lists
- Extend malware hosts from list
- Read web mining hosts from list and generate alerts
2018-05-10 17:12:53 +02:00
Simone Mainardi
0a0d2d76ee Fixes Mac manufacturers escaping 2018-05-10 17:09:13 +02:00
Simone Mainardi
cbaa02070d Localization of device SNMP polling 2018-05-10 10:48:12 +02:00
Simone Mainardi
c61451cee3 Adds http lint for the deletion of all SNMP devices 2018-05-09 12:46:44 +02:00
Luca Deri
f691d4c442 Improved time formatting 2018-05-09 09:13:05 +02:00
emanuele-f
7c725ae15f Fix Not Assigned user bridge config 2018-05-08 16:59:55 +02:00
emanuele-f
09c24c377e Unify engage/release host alert lua API 2018-05-07 20:26:00 +02:00
Luca
2b697158f8 Improved discovery 2018-05-04 12:57:01 +02:00
Simone Mainardi
e1007bc5c9 Adds SNMP interface types localization 2018-04-30 15:13:09 +02:00
Luca Deri
d466c8e298 Disabled lua support in mongoose
Updated RRD dump functions
2018-04-25 22:39:11 +02:00
Luca Deri
00cdeb1992 Added discovery progress percentage 2018-04-25 15:25:24 +02:00
Simone Mainardi
57fc2cc2b8 Adds SNMP js helper 2018-04-23 18:56:19 +02:00
Simone Mainardi
c95c075008 Fixes attempts to call nil alert format functions
17/Apr/2018 12:24:00 [Lua.cpp:7662] WARNING: Script failure [/Users/simone/code/ntopng/scripts/callbacks/interface/minute.lua][...s/simone/code/ntopng/scripts/lua/modules/alert_utils.lua:1757: attempt to call field 'fmt' (a nil value)]
2018-04-17 12:24:00.360600+0200 ntopng[34202:3875024] [Lua.cpp:7662] WARNING: Script failure [/Users/simone/code/ntopng/scripts/callbacks/interface/minute.lua][...s/simone/code/ntopng/scripts/lua/modules/alert_utils.lua:1757: attempt to call field 'fmt' (a nil value)]

By implementing a format_utils module
2018-04-17 12:44:20 +02:00
emanuele-f
05322c25be Remove debug print 2018-04-17 09:24:49 +02:00
Luca Deri
afcfc6a0f0 Cosmetic fix 2018-04-14 18:22:51 +02:00
Luca Deri
b47e99c44b Disabled debug info 2018-04-13 22:02:24 +02:00
Luca Deri
194623e4d7 Discovery improvements 2018-04-13 21:55:00 +02:00
Luca Deri
cc746c2aba Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2018-04-13 21:42:22 +02:00
Luca Deri
7791ec5e33 Discovery improvements 2018-04-13 21:41:59 +02:00
Simone Mainardi
72dacb7459 Prevents unnecessary prefs dump upon alerts check 2018-04-13 18:25:40 +02:00
Luca Deri
6d47e659f1 Reworked alerts
Added informative event when ntopng starts/stops
Fixed packet capture bug on ODX (and other BSD flavous)
Renamed #ifdef linux to #ifdef __linux__ to ease portabiity across architectures
2018-04-13 18:10:19 +02:00
Luca Deri
5c56afba53 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2018-04-13 17:21:33 +02:00
Luca Deri
00004494bf Reworked alarms
Added informative message at ntopng startup/shutdown
2018-04-13 17:19:58 +02:00
emanuele-f
fbeb24a509 Replace pipes with json in ip reassignment alerts 2018-04-13 16:20:06 +02:00
emanuele-f
a918019ed7 Fix nedge gui issues 2018-04-13 15:28:19 +02:00
Simone Mainardi
7fcc591466 Fixes activity_time alert calculation 2018-04-13 15:12:08 +02:00
Simone Mainardi
dbb05fe6b6 Prevents alerts starvation in the emails queue 2018-04-13 11:57:28 +02:00
emanuele-f
23d7a2676a Rework alerts export to provide more endpoint control 2018-04-12 18:10:45 +02:00
emanuele-f
c5bf5072f5 Fix string shortening 2018-04-11 16:14:59 +02:00
emanuele-f
d1b77ade45 Interface disaggregation gui improvements 2018-04-11 11:33:50 +02:00
Luca Deri
3c1d36c488 Improved discovery accuracy 2018-04-10 22:54:39 +02:00