Commit graph

3564 commits

Author SHA1 Message Date
Luca Deri
bcd4154d08 Refractored MDNS code 2017-08-07 12:41:07 +02:00
Luca Deri
6f8dd6405f Warnign fix 2017-08-07 12:18:32 +02:00
Luca Deri
bfd35989b7 Implemented MDNS resolver 2017-08-07 12:12:17 +02:00
Simone Mainardi
d172cafce3 Reworks CollectorInterfaces and adds remote nProbe stats
Fixes #572
2017-08-05 21:37:18 +02:00
Luca Deri
34de282cc4 MDNS multicast discovery (work in progress) 2017-08-05 19:40:23 +02:00
Luca
a82a3106ad Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2017-08-04 17:12:53 +02:00
Luca
09185cf4fc Minor cleanup 2017-08-04 17:12:44 +02:00
Luca Deri
982b15f5dd Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2017-08-04 01:05:58 +02:00
Luca Deri
bce4665e79 Implemented ARP scan for discovering hosts 2017-08-04 01:05:46 +02:00
emanuele-f
2b2ce80aa2 Initial type and services information on the Mac objects 2017-08-04 00:40:46 +02:00
Simone Mainardi
501def6492 Additional alerts code cleanup 2017-08-03 15:11:45 +02:00
Simone Mainardi
d7be830895 Alerts code cleanup 2017-08-03 14:34:31 +02:00
Simone Mainardi
a0a457013f Handles absolute bytes and packets counters received over ZMQ 2017-08-02 18:36:13 +02:00
Simone Mainardi
5aa94c05ab Adjusts ZMQ event parser to the new format 2017-08-02 14:59:26 +02:00
Simone Mainardi
fd8ee25641 Code refactoring to simplify stats reset 2017-08-01 15:39:00 +02:00
Simone Mainardi
a7b41075e4 Implements broadcast addresses per local network
Implements #571
2017-07-31 18:45:49 +02:00
Luca Deri
4b31f36ae1 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2017-07-31 14:35:17 +02:00
Luca Deri
83a2d8e82b Added define for specifying the number of TC traffic shapers 2017-07-31 14:34:45 +02:00
emanuele-f
d717cc1ed5 Add lan wan preference 2017-07-31 12:18:11 +02:00
Luca Deri
f22807f0be Implemented L2 support for netfilter interfaces
Fixed warnings
2017-07-31 00:08:40 +02:00
Simone Mainardi
5a0855bd7c Implements VLAN Disaggregation over ZMQ
Fixes #1371
2017-07-24 23:36:19 +02:00
Simone Mainardi
285a7c5d97 Handles MAC Addresses on dynamic interfaces 2017-07-24 23:08:14 +02:00
Luca Deri
9833cea6b5 Implemented fix for #1371
Fixed shutdown crash with virtual interfaces (more checks are necessary)
2017-07-24 19:53:43 +02:00
Simone Mainardi
0d461fcc91 Defauls prefs dir to the working directory 2017-07-21 17:13:24 +02:00
Simone Mainardi
fcd007a5e9 Implements configurable UI displayed string length
Implements #1159
2017-07-21 13:00:44 +02:00
Simone Mainardi
85da10af61 Implements new flow drill-down criteria: exporter ip and in/out interfaces
Implements #1326
2017-07-20 19:54:11 +02:00
Simone Mainardi
2ca0e4f72a Improves purgeIdle over ZMQ 2017-07-20 11:52:21 +02:00
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