Simone Mainardi
754377d372
Implements remote-to-remote flows alerts
2017-12-12 13:16:46 +01:00
Simone Mainardi
2e6fa7cf27
Per-category flow filtering capabilities
2017-12-11 20:18:55 +01:00
emanuele-f
2513540b5b
Avoid network prefix collision while sorting hosts
2017-12-11 16:11:04 +01:00
emanuele-f
fcef4212c1
Add per-pool forge dns preference
2017-12-08 14:30:58 +01:00
emanuele-f
0d433df91b
Fix default policy user logic
...
To determine the policy to apply, the following rules are checked in this order:
1) A pool specific policy on the protocol exists? Use it
2) A default pool policy on the protocol exists? Use it
3) A pool specific policy on the category exists? Use it
4) A defaul pool policy on the category exists? Use it
5) Use the global policy
2017-12-07 13:46:47 +01:00
emanuele-f
b574ecd025
Avoid unnecessary copy of l7 policy
2017-12-06 16:11:43 +01:00
Luca Deri
67aab07180
Reworked discovery code
2017-12-03 11:56:09 +01:00
Luca Deri
ae49d7b929
Discovery changes due to missing Win pcap_get_selectable_fd()
2017-12-02 10:09:25 +01:00
Luca Deri
2c2740e0d3
Win fixes
2017-12-02 09:50:27 +01:00
emanuele-f
d350a3131f
Remove json from hosts checkpoint and fix host iterator bug
2017-11-30 16:26:22 +01:00
Luca Deri
60b5e6c1db
Script fixes, increased number of periodic threads
2017-11-30 10:59:16 +01:00
emanuele-f
0288d5f0f4
Fix concurrent periodic scripts logic
...
The isRunning check is now performed on a per-interface basis
2017-11-29 16:26:14 +01:00
emanuele-f
fccb00515f
Fix top countries and top networks support in report
2017-11-29 12:48:30 +01:00
Simone Mainardi
9b4e1060e6
Saves 16 bytes for each host
2017-11-29 10:45:31 +01:00
emanuele-f
6661c6ef53
add checkpoint details level
2017-11-27 12:00:56 +01:00
Simone Mainardi
9b90d1f06d
Preliminary code for in-memory top talkers calculations
2017-11-24 14:39:20 +01:00
Luca
e1749daa23
Reworked callback scripts to make them concurrent and thus tackle issues related to slow execution on machines with many interfaces
2017-11-23 19:03:46 +01:00
Luca Deri
c3f81d694b
Partial cleanup to the batch walk
2017-11-23 00:19:17 +01:00
Luca
caaf27d5a6
Implemented batched hosts and l2-devices walk
2017-11-22 19:38:08 +01:00
Luca Deri
fde22d6c3c
Reworked interface initialization
2017-11-21 22:19:30 +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
Luca Deri
a974988973
Added traffic format functions
...
Added handler for catching Nseries exceptions
2017-11-18 18:28:20 +01:00
Luca Deri
29ede6ff67
Added support for sFlow sample packet drops
2017-11-18 13:34:36 +01:00
Simone Mainardi
6ed9e051d1
Prevents race conditions in reloadPools
2017-11-17 18:16:53 +01:00
emanuele-f
6b37ee2820
Optimize alerts handling
...
Avoid checkpointing on entities with no configured threshold
2017-11-17 14:00:53 +01:00
emanuele-f
25bf6e66c3
Rework Checkpointable compression
2017-11-16 19:10:50 +01:00
emanuele-f
fa85749fe8
Selectively compress checkpoints json data
...
Compression is currently enabled only on hosts
2017-11-16 17:42:29 +01:00
emanuele-f
d85fc2b06b
Migrate interface alerts to in-memory alerts
2017-11-16 16:05:49 +01:00
emanuele-f
346627eb74
Migrate network alerts to in-memory alerts
2017-11-16 15:23:43 +01:00
emanuele-f
92bf435058
Only checkpoint the host information needed for alert generation
2017-11-16 12:58:20 +01:00
emanuele-f
c29d5eb808
Move checkpoint logic to separate Checkpointable class
2017-11-16 11:40:20 +01:00
Luca Deri
fd83d05bb2
Added flow dump flush
2017-11-14 19:25:22 +01:00
Luca Deri
cc623029e5
Added extra flow methods
2017-11-14 16:23:26 +01:00
Luca
b350ecc7d9
Minor rework in periodic scripts
...
Reworked aggregated DB dump
2017-11-12 12:10:20 +01:00
emanuele-f
f5b321fe09
Fix some uninitialized values and other little problems
2017-11-11 02:04:22 +01:00
Simone Mainardi
4d4cbce764
Fixes possible issues with alerts permissions
2017-11-11 01:17:12 +01:00
Luca
7b9bdcb646
Added 5 min nSeries dump
2017-11-10 19:47:41 +00:00
Luca
d1fddd08a3
Extended redis key/val buffer
2017-11-10 12:09:20 +00:00
Luca
044fe19677
Reworked nSeries support
...
Added patch for avoiding #1545
2017-11-09 23:55:52 +00:00
emanuele-f
11bfca8cad
Add upgrade script on nedge
2017-11-06 15:17:59 +01:00
Emanuele Faranda
1d3812a19f
Add method to reset traffic stats
2017-11-06 11:48:34 +01:00
Emanuele Faranda
49676e5523
Fix network interface stats on conntrack
2017-11-05 02:35:42 +01:00
Emanuele Faranda
ce4e5677c6
Fix host pools traffic stats reset after reloadPools
2017-11-04 23:35:11 +01:00
Luca Deri
da2bee8623
Timeseries update
2017-11-02 23:28:50 +01:00
Luca Deri
17c77c4248
Merge branch 'dev' of https://github.com/ntop/ntopng into dev
2017-11-02 19:49:21 +01:00
Luca Deri
1a0e832df3
initial nSeries changes
2017-11-02 19:49:08 +01:00
emanuele-f
2361eefee1
Implement per pool schedule
2017-11-02 14:15:07 +01:00
emanuele-f
7281fd0d5d
Implement per protocol schedule
2017-11-02 12:49:22 +01:00
emanuele-f
710c6cc5ad
Add per-pool shaper support
2017-11-02 02:13:10 +01:00
Simone Mainardi
a22022bb30
Reworks alerts to prevent local hosts I/O
2017-11-01 23:04:33 +01:00