Commit graph

1002 commits

Author SHA1 Message Date
Simone Mainardi
17bfc850b1 Fixes XSS in dissected HTTP URLs, TLS certs, and DNS names
Fixes possible XSS due to forged HTTP urls such as

curl -u admin:admin1 "http://devel:3000/</a><script>alert(1);</script><a>"

Similar attacks could have been performed with TLS certs and DNS names
2020-06-03 19:03:55 +02:00
Simone Mainardi
5d8d748cdf Fixes flows filter in host details page
Fixes #4010
2020-06-01 11:47:46 +02:00
Alfredo Cardigliano
9348e51924 Add rest/v1/get/host/l7/stats.lua REST API (#3953) 2020-05-28 10:44:07 +02:00
emanuele-f
aedf348534 Move interface timeseries prefs to the global config
Addresses #3979
2020-05-27 13:48:27 +02:00
Simone Mainardi
9ba746bd78 Adds the default host:traffic when checking host ts existance 2020-05-26 18:45:22 +02:00
Simone Mainardi
661d942f22 Refines ts existance checks when generating host_details.lua urls 2020-05-26 17:59:08 +02:00
Simone Mainardi
48726c0f37 Adds a flag to check for host_details.lua links existance 2020-05-26 17:35:55 +02:00
Simone Mainardi
d487199a19 Unifies host_details.lua link gen in host_details.lua flows page 2020-05-26 15:12:44 +02:00
Simone Mainardi
05e55530f5 Fixes missing VLANs in hostinfo2url 2020-05-26 13:06:19 +02:00
Simone Mainardi
49e49e0ed6 Unifies host_details.lua generation
Addresses #3977
2020-05-26 12:50:47 +02:00
emanuele-f
eea288dee9 Add on-off switch template
Addresses #3513
2020-05-21 17:22:00 +02:00
emanuele-f
610e632234 Add comments/remove table.clone when not needed 2020-05-21 11:10:47 +02:00
emanuele-f
39d76d233d Hide zero MAC address in remote to remote alerts
Addresses #3644
2020-05-19 14:41:19 +02:00
Luca Deri
ccf76ca54d Added "real" intefaceId validation
Initial work towards REST API
2020-05-17 20:47:46 +02:00
gabryon99
237309fc58 enforced admin privileges on endpoint pages 2020-05-13 18:26:05 +02:00
emanuele-f
d43d4e5e74 Make DHCP names cache expire after 1 day
Addresses #3641
2020-05-08 10:15:31 +02:00
emanuele-f
ba5c64b107 Rework host label getters
This fixes inconsistencies across the ntopng gui

Addresses #3699
2020-05-07 17:47:18 +02:00
emanuele-f
d65bd41212 Implement proper LBD host restore 2020-05-05 12:20:40 +02:00
emanuele-f
ae07188dd7 Don't delete per-hour stats and handle form submit button 2020-04-29 11:54:49 +02:00
emanuele-f
9539af1905 Fix bad enterprise version reported 2020-04-24 12:40:32 +02:00
emanuele-f
57c7abccfb Remove unused function 2020-04-21 16:48:36 +02:00
Simone Mainardi
37200393a6 Fixes timezone computation on DST times
Addresses #3732
2020-04-21 13:47:23 +02:00
Simone Mainardi
d2aac8cced Reconciles times to always been adjusted to the client timezone
Fixes #3732
2020-04-20 16:58:01 +02:00
Simone Mainardi
9b061871fa Fixes server/client timezone offset computation 2020-04-20 16:58:01 +02:00
emanuele-f
c6b43f1af3 Pass client timezone as a cookie to properly format time 2020-04-15 17:44:08 +02:00
emanuele-f
306a253693 Implement extensible RTT modules 2020-04-10 13:09:30 +02:00
emanuele-f
d0ba121a5e Rework flows table update
The update of multiple flows is now performed in a single AJAX request,
reducing the performance impact.

Closes #3660
2020-04-07 16:56:14 +02:00
Alfredo Cardigliano
ef4d3908f8 Update getNtopngRelease 2020-04-03 08:31:37 +00:00
Alfredo Cardigliano
2425134f05 Replace isEnterprise with isEnterpriseM 2020-04-02 12:36:34 +00:00
Simone Mainardi
05a88ae832 Fixes unexpected token H in VLANS page
Fixes #3689
2020-04-02 10:11:34 +02:00
emanuele-f
d392b070a8 Fix stripped @ on host labels 2020-03-31 12:03:47 +02:00
emanuele-f
02c36d4140 Replace calls to getResolvedAddress with host2name 2020-03-31 11:52:50 +02:00
emanuele-f
4b1184acdb Fix host alias not shown in flows 2020-03-31 10:39:53 +02:00
emanuele-f
9c404e3b30 Restore ntopng major version check
Closes #3648
2020-03-27 11:58:33 +01:00
emanuele-f
e59a787938 Fix for system interface name 2020-03-24 12:17:52 +01:00
gabryon99
84254e69a4 refactored new system interface logic 2020-03-23 11:03:40 +01:00
gabryon99
c0f30310f7 fix for system view 2020-03-23 10:29:45 +01:00
gabryon99
26ba1c4df2 fix for system view 2020-03-21 15:56:02 +01:00
Simone Mainardi
1fe0e0dea8 Fixes invalid interfs space used on BSD-based systems
Fixes #3591
2020-03-20 16:01:29 +01:00
Simone Mainardi
e1c437ff51 Fixes active entry in dropdown menus not highlighted
Fixes #3546
2020-03-18 15:07:54 +01:00
Luca Deri
0a26fdd485 Code cleanup 2020-03-18 09:29:10 +01:00
gabryon99
5b1f7eb32c added new rtt gui page 2020-03-17 22:48:41 +01:00
gabryon99
e2dcd862b8 fix for ticket #3546 2020-03-16 17:29:33 +01:00
emanuele-f
0be214cfae Implement HTTP RTT Monitoring 2020-03-13 19:03:33 +01:00
emanuele-f
fa730db28f Fixes for capture from nProbe Agent
- Add missing protocol guess
- Fix flows filter by L4 protocol
- Fix traffic profile filter validation
- Fix missing apps in the l7 dropdown
- Fix bad unidirectional flow status with ebpf flows
- Fix broken flows refresh in username_details.lua
2020-03-11 19:22:31 +01:00
gabryon99
4c692e2c6e formatted manage_data page and added new style, fix for #3536, #3537, #3538, #3539 2020-03-10 22:34:51 +01:00
gabryon99
aa719d21d7 created generate_switch_toggle function 2020-03-06 15:46:24 +01:00
emanuele-f
b0520ee189 Improve localization support
- nDPI categories are now localized (see getCategoryLabel)
- Add some missing localization in plugins/user scripts pages
2020-03-03 18:26:14 +01:00
emanuele-f
0facf0e27d Implement host timeseries off/light/mode selection
Closes #3466
2020-03-03 15:52:04 +01:00
emanuele-f
906824a212 nEdge license string and link fix 2020-02-28 12:10:47 +01:00