Commit graph

313 commits

Author SHA1 Message Date
emanuele-f
ad3f221828 Suggest InfluxDB when monitoring many hosts
The check is based on the number of local hosts and timeseries enabled

Closes #2350
2019-02-01 15:07:12 +01:00
Alfredo Cardigliano
3381ddbcf5 REST endpoints update
get_alerts_data.lua -> rest/get/alert/data.lua, host_get_json.lua -> rest/get/host/data.lua, get_interface_data.lua -> rest/get/interface/data.lua, live_traffic_extraction.lua -> rest/get/pcap/live_extraction.lua
2019-01-30 14:18:45 +01:00
emanuele-f
8fb8b60314 Fix missing interface selection in footer 2019-01-10 12:35:07 +01:00
emanuele-f
123743d49c Show upload/download in footer chart
Rx and Tx is not always available. If it is not, the chart is hidden.
2019-01-09 18:39:15 +01:00
Alfredo Cardigliano
2cfa7c436c Moved network_load.lua to get_interface_data.lua, fixed interface selection handling ifid 2019-01-09 10:33:53 +01:00
emanuele-f
de5a58ecf3 Remote assistance improvements
- Add status page with service log
- Use a different service name to avoid conflicts with other n2n instances
- Split key into community and key, alphanumeric
- Add connection script download
2018-11-28 17:56:45 +01:00
emanuele-f
eac278a28d Implement remote assistance
- It enables a VPN via n2n
- Remote assistance will be automatically disabled after 1 day
- Optionally it's possible to give admin access to the support
2018-11-23 13:03:11 +01:00
emanuele-f
88986d5589 Move traffic extraction pages under the interface disk icon 2018-11-13 20:13:47 +01:00
Simone Mainardi
52de8430d0 Code cleanup of captive portal users now in nEdge 2018-10-19 15:50:58 +02:00
Alfredo Cardigliano
4f8da81ebd number of extraction tasks in footer, recording icon in interfaces dropdown 2018-10-17 16:25:31 +02:00
Alfredo Cardigliano
b304c68d33 traffic extraction improvements 2018-10-16 18:59:34 +02:00
Alfredo Cardigliano
2b565d1d63 traffic extraction jobs page to list and delete jobs, pcap download endpoint 2018-10-16 17:29:08 +02:00
Alfredo Cardigliano
86140bf8aa added traffic recording to menu, minor improvements 2018-10-12 19:34:16 +02:00
Alfredo Cardigliano
e9149d8806 footer badge when running traffic recording, logs page, --storage-dir option renamed to --pcap-dir 2018-10-12 18:09:35 +02:00
emanuele-f
c43cea7bee Add missing custom categories link for flow host_server_name 2018-10-11 12:49:26 +02:00
emanuele-f
433cbb3142 Fix custom interface speed not accounted in ts_common.getMaxPointValue 2018-09-11 13:06:44 +02:00
Luca
db5dd05798 The migration notice is now rendered according to the ntopng guidelines 2018-08-30 16:46:47 +02:00
Alfredo Cardigliano
5d986787b1 default data directory migration from /var/tmp/ntopng to /var/lib/ntopng 2018-08-29 17:46:56 +02:00
Luca Deri
30e22c3a71 Implemented multiple-pcap file download and monitor 2018-08-08 14:06:25 +02:00
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