Commit graph

219 commits

Author SHA1 Message Date
Alfredo Cardigliano
6e14814b70 Add license check to do_dump_flows_on_clickhouse(). Remove duplicated function useClickHouse(). 2022-09-30 12:12:44 +02:00
Alfredo Cardigliano
5ca2e50762 Fix group with Token auth 2022-06-17 16:12:57 +02:00
Luca Deri
c5823a2496 Fixed cookie 2022-06-07 19:20:15 +02:00
Luca Deri
5e60b197b9 Fixed invalid print 2022-06-07 17:35:42 +02:00
Luca Deri
cbd82cac28 Disabled sending coockies for user and password 2022-06-07 16:30:18 +02:00
Luca Deri
8a5aa3bbb6 Improved TLS certificate traces 2022-05-16 13:41:29 +02:00
Luca Deri
af7c4c71db Cleaned up ClickHouse code 2022-05-16 13:37:25 +02:00
Luca
27cf048ca6 Removed old metrics/ (unused) endpoint 2022-05-09 16:02:06 +02:00
Luca Deri
211e250b68 Added patch to avoid startup message of MySQL data migration when MySQL is used 2022-05-04 19:47:12 +02:00
Luca Deri
5347d613d6 Improved host walk for lua scripts 2022-04-28 23:12:18 +02:00
Alfredo Cardigliano
873444a409 Add captive portal debug msg 2022-04-22 15:50:51 +02:00
gatkisson
4aee450df8
Added secure cookie attributes to the user and password cookies on the 302 redirect response (#6346) 2022-02-24 17:17:54 +01:00
Luca Deri
58d34605fe Cleaned up MySQL code 2022-02-18 19:30:29 +01:00
MatteoBiscosi
f7db2e1974 Removed double plugin directory swap 2022-02-11 12:07:24 +01:00
Luca Deri
efe9516bdc Removed outated grafana plugin support 2022-02-04 13:26:24 +01:00
Alfredo Cardigliano
19310ffd06 Initial cleanup of useless consts towards migration to modern C++ (#6271) 2022-02-03 15:57:34 +01:00
Alfredo Cardigliano
e14c227ebe Add logout page (WIP) 2022-01-31 13:08:53 +01:00
Luca Deri
edfb31b4ec Warning fixes 2022-01-30 21:20:08 +01:00
Luca Deri
63d2e261ac Warning fixes 2022-01-13 17:50:05 +01:00
Alfredo Cardigliano
f2060f2488 Copyright update (C) 2022-01-03 09:35:09 +01:00
Luca Deri
a4481fc48f Minor cosmetic change of the ntopng startup message 2021-12-22 10:31:57 +01:00
Luca Deri
ed9bb187cf Added check on session cookie to request login in case a non-REST request does not have a valid session id 2021-12-09 17:23:28 +01:00
Luca Deri
f4c512d552 Code cleanup and stubs for supporting ClickHouse (via -F clickhouse) 2021-10-21 11:58:08 +02:00
Alfredo Cardigliano
8fc8566f2a Slack endpoint improvements 2021-07-22 10:47:05 +02:00
Alfredo Cardigliano
be546f064d Check 'session' cookie in addition to the session key in case the REST API is used (fix #5413) 2021-05-28 18:36:50 +02:00
Luca Deri
d81d8a3295 Fixes bug that precvented session key to work when multiple ntopng instances are started per host 2021-05-21 23:29:15 +02:00
Luca Deri
1a3713394b Compilation fix 2021-04-09 16:02:48 +02:00
Alfredo Cardigliano
5d27dde70d Add SNMP polling in nEdge (implement #3872) 2021-03-25 14:36:56 +00:00
Simone Mainardi
e8b9721479 Fixes string truncation possibly causing limited auth bypass 2021-03-04 17:51:29 +01:00
Alfredo Cardigliano
7493b02a07 Print failure message on wrong login credentials (fix #5042) 2021-02-19 12:20:54 +01:00
Luca Deri
9a8d3c521a Portable across Linux/non-Linux platforms fix 2021-01-26 11:37:25 +01:00
Luca Deri
30094c7c79 Linux compilation fix 2021-01-26 11:33:23 +01:00
Luca Deri
14c23188bb Added ntop.getStaticFileEpoch() mathos for handling static file lifecycle 2021-01-26 11:09:39 +01:00
Luca Deri
a1178a0791 Updated (C) 2021-01-02 12:08:23 +01:00
Luca Deri
ecd9383ec6 Added missing Server header 2020-12-28 16:23:52 +01:00
Luca Deri
75e4b89beb Warning fix 2020-12-03 12:10:30 +01:00
Alfredo Cardigliano
91e431efae Fix 32 in 64 wrap (SNMP::handle_async_response) 2020-12-02 17:00:57 +00:00
Simone Mainardi
72502711ea Additional cleanup of unused volatile members 2020-11-26 19:00:19 +01:00
Luca Deri
494513181d Impemented CORS support 2020-11-19 21:51:28 +01:00
gabryon99
48316d5067 add per user token creation gui (#4735, #4721) 2020-11-17 18:29:58 +01:00
Simone Mainardi
e88e13450e Implements tokens for the REST API 2020-11-16 18:07:01 +01:00
Luca Deri
33925fa6bb Implemented authorization token 2020-11-16 17:49:14 +01:00
Alfredo Cardigliano
77ae074b90 Cleanup generate_session_id api 2020-11-16 16:08:08 +01:00
Ricter Zheng
4990491d06
fix #4703 (#4726)
* fix #4703

* treat public scope datasources/widgets as authorized
2020-11-16 09:39:50 +01:00
Alfredo Cardigliano
e3ca57daf7 Add auth_session_duration parameter to the v1/create/ntopng/session.lua REST API 2020-11-11 16:10:23 +01:00
Alfredo Cardigliano
0c5de96a44 New lua API ntop.createUserSession. New REST API rest/v1/get/ntopng/session.lua to generate session cookies. 2020-07-30 18:08:03 +02:00
Alfredo Cardigliano
e35a35d73f Split set_cookie and create_session 2020-07-30 14:45:15 +02:00
Luca Deri
3ac5c98aec Added startup refresh when ntopng is starting up 2020-07-25 10:56:03 +02:00
Luca Deri
f2c3ee137c Host stats cleanup 2020-07-13 23:56:46 +02:00
Luca Deri
643e78f8d5 Implements most of #4113
- Removed unused google assistant scripts
- Cleaned up existing REST calls using _POST["payload"]

The _GET["parameter"] element is still present and it will be removed soon
2020-07-06 18:06:40 +02:00