Commit graph

125 commits

Author SHA1 Message Date
emanuele-f
eb7fae8c4c Visualize flow quota status information 2017-04-10 11:07:07 +02:00
Simone Mainardi
d5e73f423c Compilation fix 2017-04-07 17:44:32 +02:00
Simone Mainardi
258858cec6 Implements inline quota checks for bridged interfaces
Quotas are now checked inline to avoid unacceptable over-quota transmissions.

Quotas were previously checked every 5 minutes and that was causing
unacceptable transmissions. For example, an host sending at 10MB/sec could have
sent 50MB in 5 seconds.

Checking quotas inline also required to keep host pool statistics updated inline.
To preserve the software efficiency, host pool statistics are updated inline only
for bridged interfaces.
2017-04-07 17:16:40 +02:00
Simone Mainardi
997f83aa10 Traffic policing fixes
Fixes:
- Ingress and egress shapers were swapped for cli2srv direction
- Empty redis was causing bad shapers initialization leading to unpredictable behavior

Improvements:
- incPoolsStats factorized to allow reuse inline
2017-04-07 14:25:38 +02:00
Simone Mainardi
b2d906a31c Packet bridge fixes
- fixes wrongly overriden flow pass verdict
- fixes use of uninitialized variable for the quotas
2017-04-06 20:21:03 +02:00
emanuele-f
b7e0669c33 Implement flow status and unidirectional flows filters 2017-03-30 13:01:54 +02:00
Luca Deri
1854b884a2 Improved ICMP stats, added last peer, made them available interface wide 2017-03-30 12:37:03 +02:00
emanuele-f
42904dd034 Implement HostPool time and bytes quota limit in inline mode 2017-03-29 19:42:31 +02:00
Luca Deri
8d66bf1d30 Implemented ICMP detailed stats for local hosts 2017-03-29 13:02:08 +02:00
Luca Deri
669cbc2b46 Implemented fix for #1091 (Address Re-association Blindness) 2017-03-27 22:03:22 +02:00
Luca Deri
ddda50dfee An alert is now generated when SSL certificates don't match 2017-03-21 01:20:36 +01:00
Campus
5f63a808f8 change from protocol to app_protocol to sync with ndpi commit 5de6a96af5754c13846883b556f58fc79831c61d 2017-03-15 18:19:40 +01:00
emanuele-f
30a4bd8679 Fixes #1027
IP address sort function was reversed wrt qsort convention
2017-03-10 10:41:12 +01:00
Josh Soref
1280b26f96 spelling: egress 2017-03-07 05:04:02 +00:00
Luca Deri
68531870eb Various fixes to implement per-category blocks 2017-03-05 23:43:24 +01:00
Luca Deri
6bc152f3d1 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2017-02-12 17:30:39 +01:00
Luca Deri
34c5bce183 Added SSH signatures in flow report 2017-02-11 11:23:14 +01:00
Luca Deri
3a4ac07d43 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2017-02-10 09:42:56 +01:00
Numeronove
52a15faacb Adjustments to obtain an OpenBSD build
Attempting to build OpenBSD fails for various reasons.

First and foremost, there is a number of packages that have to
be installed as build dependencies

Than, small updates are needed to the autotools files to have autogen.sh
and configure, to exit without errors.

doc/README.OpenBSD describes the whole process in fair detail.

Last but not least, there are type errors that g++ compiler catches in
OpenBSD but not in Linux. To have the build, a few source files
were updated to have effect only in OpenBSD, leaving other operating
systems untouched.

With only one exception, a prototype in include/Flow.h was updated to
stay in sync with the implementation.
2017-02-09 19:11:06 +01:00
Luca Deri
941e5d3f0f Reworked Flashstart to avoid using the redis cache
Reorganized code
2017-01-31 19:23:18 +01:00
Luca Deri
c61a9be385 Moved some flow members private -> public 2017-01-21 11:23:18 +01:00
Luca Deri
341ac0b129 Added method to update flow policy
Exported HTTP headers in _SERVER hash in Lua
2017-01-17 11:46:05 +01:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Luca
91648ca1cd Added tiny flow definition 2016-12-30 01:48:03 +01:00
Simone Mainardi
ff7c61bb9d Fixes an issue when dumping flows already partially dumped
The final dump for flows partially dumped could be, under certain
conditions, skipped. This commit addresses the issue.

Fixes #846
2016-12-21 19:44:47 +01:00
Luca Deri
9d4df13c1a Reworked AddressTree implementation 2016-12-20 19:16:34 +01:00
Simone Mainardi
5ded07f5a8 Adds code for batched mysql insertions 2016-12-15 22:53:23 +01:00
Luca
c8abb52456 Restored flow dump during interface alert
Updated flow drop state
2016-12-14 15:53:58 +01:00
Luca Deri
ce5fbf2a8e Traffic shaping code cleanup and optimizations 2016-12-10 13:27:42 +01:00
valentina
c0fbce98a5 Network and protocol shaping step 2: Implemented shaping engine 2016-12-09 03:02:34 +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
3c410d605c Merges Flow::lua with Flow::print_peers 2016-12-06 18:32:42 +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
emanuele-f
d52dc77e36 Implement per-network protocol shaping 2016-11-27 01:50:31 +01:00
Simone Mainardi
0e4e4e5906 Implements flow alerts 2016-11-23 13:10:59 +01:00
emanuele-f
322390648a Create/delete traffic shapers at runtime 2016-11-23 12:40:21 +01:00
Luca
0c917a45a2 Propedeutic work for #731 2016-10-27 16:56:23 +02:00
emanuele-f
bc14efd102 Interpret ZMQ retransmissions/OOO and update counters 2016-10-26 14:32:02 +02:00
emanuele-f
6c037a4e28 Simplify flowactivity script thanks to ntop/nDPI#279 categories 2016-10-23 22:52:47 +02:00
Simone Mainardi
9022b7b1e8 Adds VoIP SIP to RTP flow search 2016-10-14 13:15:07 +02:00
Simone Mainardi
cd0db380e3 Reworked flow activities calculation 2016-09-27 18:06:41 +02:00
Emanuele Faranda
4272e6bb37 Fix HTTP detection for multiple requests 2016-09-25 22:08:19 +02:00
Luca Deri
17f7bde70b Reworked protocol VMs 2016-09-11 23:42:03 +02:00
emanuele-f
179b7f72c8 Remove unsafe code and extend activity framework API 2016-08-27 10:58:58 +02:00
emanuele-f
d46c6f5de7 Implement HTTP content type extraction 2016-08-24 01:34:20 +02:00
emanuele-f
fbb57433c6 Add SSL handshake detection support for ServerHello+CCS in one packet and one way encrypted data 2016-08-21 16:46:31 +02:00
Luca
274921ee5c Reimplemented view: interface, and Paginator code.
Minor code cleanup
2016-08-18 13:44:24 +02:00
Luca Deri
9db98b5fc7 Minor code cleanup 2016-08-14 14:16:49 +02:00
emanuele-f
ce71fe65ef Merge remote-tracking branch 'upstream/dev' into framework 2016-08-14 02:03:38 +02:00