Commit graph

384 commits

Author SHA1 Message Date
Luca Deri
9f0458561a Replaced nDB with nIndex experimental support 2018-02-13 20:57:19 +01:00
emanuele-f
99b67b16ad Remove old nedge define and move to new one 2018-02-09 13:01:08 +01:00
Luca Deri
c9ecd931d9 Code cleanup 2017-12-16 08:23:56 +01:00
Luca Deri
2c2740e0d3 Win fixes 2017-12-02 09:50:27 +01:00
emanuele-f
e1132d2d5a Fix invalid implementation of condition variables
The following issues are addressed:
  - Shared state queue_len was not protected by a lock. This could cause thread to block indefinitely.
  - Condition variable signal was performed without holding a lock. Again it can cause the thread to block indefinitely.
    See https://stackoverflow.com/questions/4544234/calling-pthread-cond-signal-without-locking-mutex
2017-11-20 13:08:27 +01:00
emanuele-f
c29d5eb808 Move checkpoint logic to separate Checkpointable class 2017-11-16 11:40:20 +01:00
Luca
b350ecc7d9 Minor rework in periodic scripts
Reworked aggregated DB dump
2017-11-12 12:10:20 +01:00
Luca Deri
1a0e832df3 initial nSeries changes 2017-11-02 19:49:08 +01:00
Simone Mainardi
4bbe36c957 Removes unused DNS-based categorization 2017-10-31 13:53:17 +01:00
Luca Deri
70767d3189 Simplified nEdge build 2017-10-22 12:10:08 +02:00
Luca Deri
074a08e7ce Simplified ntopng when nEdge is used 2017-10-21 15:36:28 +02:00
Luca Deri
c8de202017 Fixes to compile ntopng without MySQL
Added nEdge support in configure
2017-10-21 13:39:18 +02:00
Luca Deri
7f8bddcff1 Implemented thread pool to be used for splitting callback scripts 2017-10-18 22:32:00 +02:00
Luca Deri
a29e17cc1d Enlarged ZMQ buffer
Implemented conditional varianbe class
2017-10-15 23:01:20 +02:00
Simone Mainardi
2ba00051fc Adds an __APPLE__ conditional #include <ifaddrs.h>
Fixes #1482
2017-09-26 18:02:14 +02:00
emanuele-f
3a522a2c5b Implement flow grouper 2017-09-24 00:09:35 +02:00
Simone Mainardi
81e6c6a3e8 Reworks Preferences (removes RuntimePrefs) 2017-09-23 16:23:11 +02:00
Luca Deri
ec0239b21e Added include 2017-09-11 10:18:57 +02:00
Simone Mainardi
1f2019789b Adds missing #include lj_obj.h 2017-08-29 14:21:28 +02:00
Luca Deri
2405449029 Removed the concept of secondary mac: one mac fits all
Removed activity heatmap: it will be soon replaces with host timeseries
2017-08-16 11:06:15 +02:00
Luca Deri
7b15221414 Cleaned up SNMP code and moved onto a new class 2017-08-09 09:23:08 +02:00
emanuele-f
9661c38a4b Initial frequent items support 2017-08-08 01:29:12 +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
Luca Deri
bce4665e79 Implemented ARP scan for discovering hosts 2017-08-04 01:05:46 +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
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
22cc759e25 Scaffolding code for implementing per-interface threaded activities 2017-06-29 11:13:57 +02: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
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
daa199839f Win fixes 2017-05-24 23:36:42 +02:00
Simone Mainardi
802f760fb9 Implements Active Local Hosts counter and display 2017-05-23 22:15:52 +02:00
Luca Deri
8fc56f1608 Win fixes
Optimized geolocation memory
2017-05-18 10:45:06 +02:00
emanuele-f
9c973ca439 Move host activity detection code to attic 2017-05-17 22:19:37 +02:00
Simone Mainardi
f3205cf54c Deactivates unsupported WIndows bridge 2017-05-11 15:22:33 +02:00
Simone Mainardi
f179bda9fc Disables nagios preferences when nagios is not available 2017-05-11 14:45:39 +02:00
Simone Mainardi
b238191bd7 Implements flows pre-aggregation 2017-05-06 22:10:56 +02:00
Simone Mainardi
0c40af5863 Implements VLANs hash table 2017-04-21 18:44:48 +02:00
Simone Mainardi
5014669d12 Implements Autonomous Systems hash table 2017-04-19 23:19:16 +02:00
emanuele-f
42904dd034 Implement HostPool time and bytes quota limit in inline mode 2017-03-29 19:42:31 +02:00
Simone Mainardi
58f0219ed4 Compilation fix 2017-03-29 13:45:22 +02:00
Luca Deri
8d66bf1d30 Implemented ICMP detailed stats for local hosts 2017-03-29 13:02:08 +02:00
Simone Mainardi
13613fc2da Implements Flow Devices statistics collection and storage
Flows sent via nProbe (proxy mode) carry information on the exporter
address (EXPORTER_IPV4_ADDRESS) and on the exporter interfaces
(INPUT_SNMP and OUTPUT_SNMP). This implementation attempts at saving
this information to allow comparisons with raw SNMP data.
2017-03-27 23:58:50 +02:00
Bogdan Perian
90743b953a Logstash flow export extension 2017-03-25 21:09:07 +02:00
Luca Deri
07a2dfc0d1 Compilation fix 2017-03-11 10:15:29 +01:00
Simone Mainardi
50fcbbe129 Adds SNMP statistics 2017-03-10 18:32:19 +01:00
Simone Mainardi
d034953e90 FreeBSD MAC addresses parse 2017-02-13 19:13:11 +01:00