Commit graph

787 commits

Author SHA1 Message Date
Simone Mainardi
b3018f52d6 Code cleanup of bridge wizard 2018-10-19 15:23:15 +02:00
emanuele-f
9f8a70e279 Improve category editor labels and protocol navigation 2018-10-18 19:22:02 +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
3bd6a1a97c Add preference to enable Device Protocols Policies in nEdge 2018-10-11 18:15:43 +02:00
emanuele-f
658e30a586 Improve category stats calculation 2018-10-11 16:08:45 +02:00
emanuele-f
c43cea7bee Add missing custom categories link for flow host_server_name 2018-10-11 12:49:26 +02:00
Alfredo Cardigliano
6d3ff8cf44 removed 'traffic recording' page (moving configuration to the interface page), moved storage configuration to prefs, listing only ntopng interfaces in recording_utils.getInterfaces 2018-10-11 12:14:40 +02:00
emanuele-f
aa1ead94c4 Add Customized Categories editor
Also unify the blacklist category handler to use the nDPI API
2018-10-10 18:41:47 +02:00
Alfredo Cardigliano
eb93e1dbff notes 2018-10-05 18:41:06 +02:00
emanuele-f
08928cb908 Fix device protocols menu entry when preferences is just changed 2018-10-05 17:22:55 +02:00
Alfredo Cardigliano
09315e82c0 traffic recording configuration page draft (work in progress), added subpage_active parameter to prefsToggleButton to avoid global variables in module 2018-10-05 13:28:44 +02:00
emanuele-f
3abf49451d Rework device protocols with L7PolicySource_t support 2018-10-05 12:22:13 +02:00
Alfredo Cardigliano
8e0dca8ed3 hiding empty categories from dropdown 2018-10-04 15:55:14 +02:00
Alfredo Cardigliano
96715d5860 added category column 2018-10-04 10:07:50 +02:00
Alfredo Cardigliano
dc68e55dfc added count of selected protocols per category in the category filter dropdown 2018-10-04 00:00:18 +02:00
Alfredo Cardigliano
129c1fabc1 filter device protocols by category 2018-10-03 22:49:17 +02:00
Alfredo Cardigliano
7daff3d356 added filter in device protocols page title, other fixes 2018-10-03 19:17:07 +02:00
Alfredo Cardigliano
1388afa798 label fix 2018-10-03 17:46:10 +02:00
Alfredo Cardigliano
c2751db129 reworked presets definition to handle 1. preses templates (e.g. basic presets to be included in devices presets definition), 2. presets cloning between device types, 3. ability to add and remove protocols (by id or name) 2018-10-03 17:07:40 +02:00
emanuele-f
457dcb3457 Implement Device Protocols Alerts 2018-10-02 22:35:00 +02:00
emanuele-f
09dbaad363 Make find host dropdown align right 2018-10-02 15:00:55 +02:00
emanuele-f
5e1daf470a Implement device presets reset to defaults 2018-10-02 15:00:55 +02:00
Alfredo Cardigliano
e06d2ba311 form padding 2018-10-01 18:50:52 +02:00
Alfredo Cardigliano
1c111084d4 policies notes 2018-10-01 18:42:18 +02:00
Alfredo Cardigliano
4653cbe44d reworked device presets:
- devices with no preset defined have a 'allow all' default policy
- users customizations to the preset are stored on redis (both 'allow' and 'drop' policies) as exceptions to the default preset
- default presets updates are allowed, however users customizations have priority (per protocol)
2018-10-01 18:15:18 +02:00
Alfredo Cardigliano
9f77e758f0 using 'unknown' presets as default, added also 'unknown' to the editor 2018-09-29 10:44:35 +02:00
Alfredo Cardigliano
605ca651cc moved device protocols code to community 2018-09-29 09:53:25 +02:00
Alfredo Cardigliano
e940ea06e2 Device Protocols icons change 2018-09-28 17:13:29 +02:00
Alfredo Cardigliano
eeacb0e205 menu entry for the device protocols editor (temporarily hidden) 2018-09-27 17:09:17 +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
Simone Mainardi
e782e46e19 Changes backup/restore script to use the datadir
Extends and updates restore documentation

Adds configuration restore link
2018-08-22 18:18:53 +02:00
emanuele-f
8a7ead5924 Harden HTTP session checks and remove user cookie 2018-08-21 18:16:54 +02:00
Luca Deri
aa80f36f52 Added Telegram menu entry 2018-08-14 09:55:20 +02:00
Luca Deri
30e22c3a71 Implemented multiple-pcap file download and monitor 2018-08-08 14:06:25 +02:00
Simone Mainardi
738cc2dd86 Removes unnecessary nEdge entry in menu 2018-08-08 12:03:46 +02:00
Simone Mainardi
f7fdc40c72 Major nEdge code cleanup 2018-08-06 17:54:25 +02:00
emanuele-f
c7154c5d92 Add support for flows table 2018-08-03 13:08:38 +02:00
Luca Deri
42e5741e92 Reworked backup 2018-08-03 10:39:36 +02:00
Alfredo Cardigliano
3acc4e973d configuration backup (tar download) 2018-07-31 17:26:08 +02:00
Simone Mainardi
74a3ec1677 Fixes encoding for local/LDAP UTF-8 passwords 2018-07-25 23:20:59 +02:00
Luca
8befb52311 Fixed menu for nEdge 2018-06-27 09:28:59 -07:00
Luca
0941a9aa57 Added manual and API guides to the menu 2018-06-26 17:06:30 -07:00
emanuele-f
37af49152b Fix captive portal add user issues
Fixes #1799
2018-05-29 09:54:35 +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