Commit graph

244 commits

Author SHA1 Message Date
Simone Mainardi
f7fdc40c72 Major nEdge code cleanup 2018-08-06 17:54:25 +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
730b881b1a Fixes issues with long interface names
Fixes #1717
2018-04-04 16:01:30 +02:00
emanuele-f
3a1728414d Redirect to login when session expires 2018-03-27 15:16:30 +02:00
emanuele-f
02cec8a2be Remove host macs and show source macs instead 2018-03-23 14:42:21 +01:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
ff69205b3d Add support for nedge oem product name 2018-03-08 19:49:04 +01:00
emanuele-f
674a7524a0 Fix invalid number of hosts/flows when user networks are restricted
Fixes #1296
2018-03-01 17:11:10 +01:00
emanuele-f
392bd7040a Extends ntopng localization 2018-02-09 19:34:02 +01:00
emanuele-f
a90e0db65a nedge fixes 2018-02-01 17:26:10 +01:00
Emanuele Faranda
b827f5cf0b Fix footer on nedge 2018-01-30 09:47:32 -05:00
emanuele-f
ca21850b12 Add nedge device shutdown and reboot dialogs 2018-01-24 17:51:47 +01:00
Luca Deri
66795de644 Footer uses a smaller font to avoid text overflows 2017-12-01 17:39:54 +01:00
Simone Mainardi
a22022bb30 Reworks alerts to prevent local hosts I/O 2017-11-01 23:04:33 +01:00
Simone Mainardi
bb9883d423 Implements Mac page AJAX refresh and configuration
Implements #1437
2017-09-11 19:06:11 +02:00
Luca
d80f97f3d8 Improved version on footer 2017-06-16 07:45:18 -04:00
Luca Deri
7fffa9bc00 Added string trim
Modified to info the host pools message
2017-06-04 10:15:09 +02:00
emanuele-f
3b23fc0859 Perform version update check in ajax to avoid footer delay 2017-05-31 23:02:42 +02:00
Simone Mainardi
d89f80afdb Fixes for db schema migration 2017-06-03 03:07:48 +02:00
emanuele-f
78fbe7cc9f Bridge wizard improvements.
- Add the possibility to choose default Guests and Children pools
- Restore the cog icon menu link
- Show an error message if local networks are missing when the captive portal is off
- Remove the custom member field and use the local networks instead when the captive portal is off
- Improve informative messages
2017-05-27 20:14:34 +02:00
emanuele-f
4f0debccd5 Rework special macs into source macs and use them into the footer 2017-05-26 17:28:53 +02:00
Luca Deri
a5693acfea Simplified footer 2017-05-25 08:44:06 +02:00
Luca Deri
d5757c1998 Simplified footer 2017-05-24 23:53:40 +02:00
emanuele-f
b8879ee933 Make bridge wizard interface specific 2017-05-24 16:10:34 +02:00
Simone Mainardi
802f760fb9 Implements Active Local Hosts counter and display 2017-05-23 22:15:52 +02:00
Luca Deri
1e9cde89f1 Human-readable interface name is now displayed on Windows 2017-05-21 10:37:40 +02:00
emanuele-f
ada4b1ce18 Fix typo 2017-05-19 15:10:08 +02:00
Luca Deri
9f26677923 Fixes for minor interface glitches
Added message about expired maintenance (pro only)
2017-05-18 15:05:25 +02:00
Simone Mainardi
5962cd6293 Moves CPU and RAM info to runtime status 2017-05-15 12:14:57 +02:00
Simone Mainardi
a3a43d576c CPU load refresh 2017-05-15 10:17:01 +02:00
emanuele-f
1ee2be27d3 Bridge wizard complete 2017-05-12 21:43:24 +02:00
Simone Mainardi
6928b83f7a Implements system host RAM usage 2017-05-12 19:38:18 +02:00
Simone Mainardi
1001c35df8 Implements CPU load average 2017-05-12 18:22:26 +02:00
emanuele-f
63928325c8 Prevent document expired page errors 2017-05-10 16:38:38 +02:00
emanuele-f
ca1d85c94e Make interface realtime refresh rate configurable 2017-05-08 12:23:52 +02:00
Simone Mainardi
e36554de9d Bridged interfaces footer gauge
Footer gauge only shows bridged actually bridged traffic
for bridged interfaces
2017-04-24 16:19:03 +02:00
Luca Deri
58096fda56 Minor cosmetic changes 2017-03-19 21:44:58 +01:00
Luca Deri
36d727dd5c Fixed warning 2017-02-24 17:19:17 +01:00
Simone Mainardi
6b03576d1d Fixes realtime traffic dashboard for ZMQ interfaces
Addresses #958
2017-02-06 18:14:30 +01:00
emanuele-f
05d4956fbd Adds missing quotes to href attributes 2017-02-02 15:52:09 +01:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08: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
Luca Deri
1ecd1a872d Footer fix 2016-12-19 13:40:01 +01:00
Luca Deri
3443b76b06 Refined alert generation
Added refresh button in alert page
2016-12-17 12:33:34 +01:00
Luca Deri
ff20879987 Fix for #836
Fixed bug in footer.lua that caused a JS error that prevented the page from being updated
Moved utility functions from footer lua script to ntopng_utils.js
2016-12-01 09:26:27 +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
1f8e05d750 Added TZ in pages footer 2016-11-14 21:03:16 +01:00
Simone Mainardi
893bb9b511 Fixes footer interface speed gauge 2016-11-10 10:48:28 +01:00
Luca Deri
1cff19e443 Fix for immediate footer rendering once a page is open 2016-11-08 17:36:38 +01:00