Commit graph

937 commits

Author SHA1 Message Date
Luca
20d3357877 Removed unused variable 2017-07-19 22:43:39 +02:00
Simone Mainardi
7ed1e49888 Implements language selection 2017-07-19 11:58:46 +02:00
Simone Mainardi
4d69182c89 Implements VLAN filtering in hosts and flows lists
Implements #999
2017-07-18 17:56:16 +02:00
Simone Mainardi
21da07a4e3 Defines likely and unlikely with __builtin_expect 2017-07-18 15:53:10 +02:00
Simone Mainardi
0ac781d21c Increases the maximum number of interfaces
Fixes #1287
2017-07-18 14:23:01 +02:00
Simone Mainardi
b216d4bd3b Minor grafana fixes 2017-07-13 19:49:00 +02:00
emanuele-f
a16f6f937d rework toggleTableButtonPrefs to reduce parameters number 2017-07-11 13:53:02 +02:00
Simone Mainardi
5bfb910911 Minor fix for prefs deserialization 2017-07-10 22:10:29 +02:00
Simone Mainardi
e4182969c4 Fixes some memory leaks
Possibly affects #1351 #1345 #1337 #1311
2017-07-10 18:39:19 +02:00
Simone Mainardi
a374c23b75 Implements dynamic runtime prefs
Handles generic ntopng.prefs.*

Proper handling of strings

Implements double serialization file

Makes prefs dump dir configurable
2017-07-10 15:09:39 +02:00
Luca Deri
e91edb5e34 Implemented
ntop.gainWriteCapabilities()
 ntop.dropWriteCapabilities()

for executing privileged write operation as nobody
2017-07-09 13:32:53 +02:00
Simone Mainardi
d005192b12 Generalizes (de)serialization of preferences as json objects
Uses json objects and their types to generalize preferences
serialization and deserialization.
The outcome is a sort of reflection for the class
2017-07-06 19:52:47 +02:00
Simone Mainardi
7e954d636a Implements persistent preferences
User-preferences that are meant to have a life cycle that goes beyond
the single ntopng execution are now saved to a json file.
2017-07-06 19:08:20 +02:00
Simone Mainardi
b1b53e3a48 Fixes memory leaks in reloadPools
May also affect issue #1345

 Please enter the commit message for your changes. Lines starting
2017-07-05 13:06:15 +02:00
Simone Mainardi
eaa7a0d313 Separates L3 IPs from L2 MACs
Before this commit, multiple L3 hosts were allocated if the same ip
address was seen with multiple mac addresses. We have decided to keep
ip and macs logically sepatated. For this reason, after this commit,
the L3 ip always remains the same even if there are changes in the
mac. A user who wants to monitor mac addresses can use the L2 section
as well as the host pools.

This commit also reverts:
"Add MAC address to the serialized hosts key to fix bad MAC address association and stats"

This reverts commit 89a756fb9a.
2017-07-04 01:41:31 +02:00
Luca Deri
48c37e5424 Improvements on SSDP network discovery 2017-06-30 00:37:38 +02:00
Simone Mainardi
22cc759e25 Scaffolding code for implementing per-interface threaded activities 2017-06-29 11:13:57 +02:00
Luca
6b65351301 Increased HTTP_MAX_POST_DATA_LEN to 8192 to avoid
20/Jun/2017 11:57:16 [Lua.cpp:6343] WARNING: Too much data submitted with the form. [post_data_len: 4096]
2017-06-20 07:25:03 -04:00
Luca
3f933ae11c Implemented MDNS dissection for better characterizing hosts 2017-06-18 18:07:34 -04:00
Simone Mainardi
c89451c7ff Improvements and fixes to handle of POST data 2017-06-18 17:44:53 -04:00
Luca
bf0f7f68b1 Implemented initia; Lua discovery call
Dissected SSDP location header and reported in host info page
2017-06-18 15:25:18 -04:00
Simone Mainardi
503cd8211a Adds missing include 2017-06-14 01:10:35 +02:00
Luca Deri
0301f506e7 Scaffolding code for implementing device discovery 2017-06-13 23:35:56 +02:00
emanuele-f
89a756fb9a Add MAC address to the serialized hosts key to fix bad MAC address association and stats
startup.lua will handle hosts keys migration
2017-06-13 21:12:28 +02:00
Simone Mainardi
c115271c5d Implements grafana support for interfaces 2017-06-07 19:02:28 +02:00
Luca Deri
526f6eb7cf Fixed bug that caused a crash when the specified interface was not existing 2017-06-06 18:11:59 +02:00
Luca Deri
3491cc96ab Added method for checking interface name existance 2017-06-06 00:11:14 +02:00
emanuele-f
12d0e8a0bb Quota gui improvements
- Filter flows with blocked traffic
- Filter hosts with blocked traffic
- Improve flow_details quota report
2017-06-05 18:09:56 +02:00
emanuele-f
36deb7c6cb Bind lua limits to C limits 2017-05-31 18:25:05 +02:00
Simone Mainardi
8d18f0c3aa Implements new pools/profiles maximums 2017-05-31 17:11:10 +02:00
Simone Mainardi
f9a9a22ef7 initial work towards adding enterprise limites 2017-05-31 17:11:10 +02:00
Luca Deri
7cdff93fef Added the method to bind the GUI to an IP other than the loopback
Fixed bug that, in case o binding address, was not binding the alternate port (but jsut the main one) to the specified address
2017-05-28 22:43:54 +02:00
emanuele-f
3dbdbac880 Make MAC devices counter only count macs with associated hosts 2017-05-26 17:59:47 +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
7655356c35 Implemented VRF flow aggregation 2017-05-26 14:56:12 +02:00
Luca Deri
0582d77d0d Added partial ingressVRFIF support 2017-05-25 19:11:35 +02:00
emanuele-f
ffa39896eb Add interface check in captive portal login 2017-05-25 18:21:21 +02:00
Luca Deri
daa199839f Win fixes 2017-05-24 23:36:42 +02:00
emanuele-f
9d0773f40b Add Unknown Devices view 2017-05-23 23:02:06 +02:00
Simone Mainardi
802f760fb9 Implements Active Local Hosts counter and display 2017-05-23 22:15:52 +02:00
Simone Mainardi
d7b929bdc1 Implements DNS searches and reworks INFO column 2017-05-23 14:00:19 +02:00
Simone Mainardi
d326026d6a Aggregated flows table selection logic 2017-05-22 20:00:29 +02:00
Luca
cb4b0c002b Added the concept of bridgeInterface Id in MACs 2017-05-21 15:30:17 +02:00
Luca Deri
f85edc852f Device description is now displayed in device information 2017-05-21 10:12:51 +02:00
Luca Deri
0c2f8fd169 Implmented method for reading interface description 2017-05-21 09:48:48 +02:00
Luca Deri
6a7e7cef0f Win code cleanup 2017-05-21 09:33:21 +02:00
Luca Deri
977ef87115 Minor code cleanup 2017-05-21 09:17:13 +02:00
emanuele-f
ef10ba3540 Add current zmq header version in ExportInterface 2017-05-20 12:36:19 +02:00
Luca Deri
d9de8a851a Added support for secondary global DNS 2017-05-20 09:44:33 +02:00
emanuele-f
19d04ff8fa Fix crash on user scripts reload 2017-05-19 12:17:50 +02:00