Commit graph

308 commits

Author SHA1 Message Date
Simone Mainardi
4cef4e9782 Re-enables batched MySQL insertions 2016-12-20 14:55:02 +01:00
Luca Deri
f2800ae208 Added early check for view interfaces 2016-12-20 09:20:05 +01:00
Luca Deri
273aa3172e Disabled alert code when not necessary 2016-12-19 19:12:35 +01:00
Luca Deri
ee94021e39 Disabled alert refresh when not necessary 2016-12-19 18:46:27 +01:00
Luca Deri
ee400ef10f Added better handling of blacklisted hosts and alerts
Disabled MySQL DB for view interfaces
2016-12-19 16:57:14 +01:00
Luca Deri
5c5f2b1329 Disabled experimental MySQL improvements 2016-12-17 09:26:13 +01:00
Simone Mainardi
eb0c10a8dd Adds periodic MySQL flush method 2016-12-16 18:53:59 +01:00
Luca Deri
3436846a65 Compilation fix 449c718208 2016-12-16 08:07:37 +01:00
Luca
a16fc2800b Code cleanup 2016-12-16 01:46:07 +01:00
valentina
e3a1962997 Fix: the isPassVerdict is now called just when you have a bridge interface
Added check in order to drop the packets of blacklisted hosts in a bridge interface.
2016-12-16 00:31:36 +01:00
Simone Mainardi
5ded07f5a8 Adds code for batched mysql insertions 2016-12-15 22:53:23 +01:00
Luca
f56ea09247 Disabled specific operations for non-local hosts
Using #defines for strings
2016-12-15 19:00:58 +01:00
emanuele-f
ee23e14aed Remove unused parameters 2016-12-15 17:54:56 +01:00
Luca
44e0d1ef0c Modified slack alerts report (more work to do)
Num of engaged alerts is now read upon network interface startup
2016-12-13 16:13:54 +01:00
Luca
25185ce028 While the network interface has at least one engaged interface alert, expired flows are now triggering a flow alert 2016-12-13 01:19:50 +01:00
Luca Deri
ce5fbf2a8e Traffic shaping code cleanup and optimizations 2016-12-10 13:27:42 +01:00
valentina
c83bcdb887 Fix for shapers in bridge mode. 2016-12-10 01:19:29 +01:00
valentina
09056d0646 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2016-12-09 03:04:27 +01:00
valentina
c0fbce98a5 Network and protocol shaping step 2: Implemented shaping engine 2016-12-09 03:02:34 +01:00
Simone Mainardi
9a61e069d5 Refresh alert counters upon host init 2016-12-08 21:37:02 +01:00
Simone Mainardi
282a289ef2 Fixes for alerts count consistency 2016-12-08 21:25:11 +01:00
valentina
961b9cbd63 Network and protocol shaping step 1: revert shaping and filtering engine
Code cleanup.
2016-12-08 00:51:21 +01:00
Simone Mainardi
a6d914d7ad Implements flow alerts cap and fixes several issues with counters 2016-12-07 18:45:50 +01:00
Simone Mainardi
84fe1e4f5f FIx for dynamic vlan creation 2016-12-07 10:27:26 +01:00
Simone Mainardi
3c410d605c Merges Flow::lua with Flow::print_peers 2016-12-06 18:32:42 +01:00
Luca Deri
8db35eb433 Minor code cleanup 2016-12-05 21:08:18 +01:00
Luca Deri
9e0673b8b4 Removed unused variable
Aded check to rpevent loop with invalid packets
2016-12-05 18:29:35 +01:00
Luca Deri
be136251d1 Restored periodic flow activities
Minor code cleanup
2016-12-05 15:41:35 +01:00
Luca Deri
5cee98a65c Shaper code cleanup 2016-12-05 13:00:02 +01:00
Luca Deri
ebf5462491 Implemented DHCP dissection for name resolution 2016-12-04 22:56:29 +01:00
Luca Deri
091378fd7b Implemented local hosts looking glass (more criteria to be added) 2016-11-30 16:26:17 +01:00
emanuele-f
d52dc77e36 Implement per-network protocol shaping 2016-11-27 01:50:31 +01:00
Alfredo Cardigliano
fecac12d50 max packet len safety check fix 2016-11-23 22:19:52 +01:00
Simone Mainardi
b00d028469 Moves policer init in PacketBridge 2016-11-24 12:57:49 +01:00
Simone Mainardi
61c134fb59 Prevents policer instantiation for non-bridge interfaces 2016-11-24 12:04:57 +01:00
emanuele-f
322390648a Create/delete traffic shapers at runtime 2016-11-23 12:40:21 +01:00
Simone Mainardi
156a39c645 Caches alerts counts to reduce queries 2016-11-21 15:41:07 +01:00
Luca Deri
7e46c02eb1 Fixed broken logic of interface packet drop reset 2016-11-21 10:12:12 +01:00
Simone Mainardi
a5674d1595 Implements interface packet drop reset 2016-11-20 12:21:42 +01:00
Simone Mainardi
262d3ec9ed Fixes segfault due to new dynamic interfaces 2016-11-19 17:31:20 +01:00
Luca
8c2a90d0ea Implemented dynamic creation of (virtual) network interfaces based on VLAN ids. This way each VLAN will have a separate network interface
The option needs to be enabled in preferences (disabled by default)
2016-11-18 17:46:47 +01:00
Luca
0ca528f4f0 L7 filtering fixes 2016-11-16 18:10:39 +01:00
Luca
9fa83dc04f Minor code rework 2016-11-16 15:29:02 +01:00
Luca
b70b40aaf2 Reworked code for updating shapers 2016-11-16 15:22:27 +01:00
emanuele-f
ef01d9a479 Fix filtered hosts not being updated on filter removal 2016-11-15 17:39:35 +01:00
Simone Mainardi
404bf86fd7 Hardens the code to prevent SQL injections 2016-11-15 11:35:51 +01:00
Simone Mainardi
e6df88e878 Fixes host alert counters 2016-11-14 20:00:27 +01:00
Simone Mainardi
2a68676d93 Improves idle flows purge over ZMQ interfaces 2016-11-07 19:00:04 +01:00
Simone Mainardi
bdc9d024bb Fixes idle flows purge issue over zmq
Fixes #812
2016-11-07 17:09:09 +01:00
emanuele-f
b1166101b4 Fix community build error 2016-11-04 01:38:53 +01:00