Commit graph

34 commits

Author SHA1 Message Date
Luca Deri
4d009978eb Enlarged buffer for JSON deseriealization 2015-10-09 09:55:41 +02:00
Luca
09ce1f00e3 Fix for #126. The previous patch was not correct 2015-09-03 08:21:08 +02:00
Campus
d7ab1d3313 fixed local MAC address conversion for issue #126 2015-09-01 23:48:56 +02:00
Luca Deri
d5e19ec8af Removed -F sqlite: due to this the historical interface is not finally gone and it is now possible to move forward to properly re-implement it 2015-08-15 00:09:12 +02:00
Luca
f690d63d87 Added fix for handling netmask in traffic policer 2015-08-12 19:14:53 +02:00
Luca
f9cc43d281 Added packet drop/interface full errors in bridge mode 2015-08-12 17:11:19 +02:00
Luca Deri
900484b2e0 Reworked DB structure 2015-08-09 15:54:18 +02:00
Luca Deri
39fe9433c2 Fixed HTTP/DNS stats initialization 2015-08-09 11:07:25 +02:00
Luca Deri
c755bd6fd4 Fixed layour of hosts matrix: empty rows/columns are not rendered 2015-08-09 10:33:37 +02:00
Luca Deri
df38dee87d Removed old legacy code
Added various fixes to networks view including the ability to visualize per-network graphs
Local hosts dumps (before purging) are now handled properly again.
2015-08-08 15:30:04 +02:00
Luca Deri
4c35559151 Various code optimizations and cleanup 2015-08-08 11:05:00 +02:00
Luca Deri
6aa141caa9 Code cleanup: removed code used very seldom such as host aggregations/contacts. This should reduce memory usage and make ntopng faster
Little progresses towards MySQL support
2015-08-08 01:13:59 +02:00
Luca Deri
e292d95814 Updated fontawesome to the latest version
Added supporto for BATMAN antenna stats
Improved MAC formatting
2015-07-27 09:07:10 +02:00
berat
36abe27749 Extends Host object with Host::set_antenna_mac(char *m) method and modifies Host::initiliaze to set antenna_mac_address 2015-07-26 17:34:14 +02:00
Luca Deri
41b83d458c Initial word towards identifying host top hitters 2015-07-25 17:39:53 +02:00
Luca Deri
0f4505e370 Fix for #93 2015-07-25 11:56:20 +02:00
Arianna Avanzini
4b4d5a5e80 src/CommunitiesManager.cpp: add bindings to retrieve active hosts of a community
This commit adds Lua bindings to the CommunitiesManager to retrieve
a Lua table with the active hosts of a community. This also adds
binding functions to the Host and NetworkInterface class so that
it can iterate efficiently over hosts of a community.
2015-07-21 02:10:53 +02:00
Luca
dc731e3177 Work in progress towards BATMAN support (http://www.open-mesh.org/projects/open-mesh/wiki/BATMANConcept) 2015-07-15 17:12:28 +02:00
Arianna Avanzini
feefcc76d3 src/Host.cpp: don't generate alerts for Historical interface
This commit avoids generating alerts for the Historical interface,
as it would be useless and would flood the alerts list with
false positives. This addresses issue #77.
2015-07-10 01:24:52 +02:00
Luca
f6c0cb24d2 Reworked code to handle changes in nDPI master/sub-protocol support
Documented -t parameter and fixed bug for handling it
2015-07-07 10:59:41 -04:00
Arianna Avanzini
28cfa67671 src/Host.cpp: get rid of unused variable warning
This commit removes a compile-time warning triggered by an
unused variable in one of the methods.
2015-05-31 03:15:23 +02:00
Luca
dc746b45b3 Various optimizations for malware flow categorization (-c) 2015-05-28 19:04:03 +02:00
Luca
f543926066 Optimized categorization of malware sites
Extended Host class to identify multicast and broadcast (limited to 0.0.0.0 and 255.255.255.255 IPs)
2015-05-28 15:33:42 +02:00
Luca Deri
e2b04d128f Revamped host categorization and moved to Google Safe Browsing for detecting safe and malware sites 2015-05-27 17:58:26 +02:00
Luca Deri
1b47d05507 Optimized preferences redis read
DNS resolution is not slower on embedded boxes
Preferences layout renders better when resizing the windows
2015-05-27 00:35:28 +02:00
Luca Deri
1d3e98b101 Change to avoid checking alerts state (enabled/disabled) too oftem 2015-05-26 22:57:57 +02:00
Arianna Avanzini
79168fed80 src/Host.cpp: better integrate per-host alert disabling logic
This commit lets per-host preferences be better integrated with
alert disabling logic which already is in ntopng's core.
2015-05-18 16:52:39 +02:00
Arianna Avanzini
1e88d773f1 scripts/lua/host_details.lua: correctly handle vlan when setting alert prefs
This commit lets the code handling per-host alert preferences
correctly handle the host's vlan when storing the value in Redis.
2015-05-18 11:59:25 +02:00
Arianna Avanzini
b136ed44de src/Host.cpp: fix typo in alert message
This commit fixes a trivial typo in an alert message.
2015-05-17 22:20:52 +02:00
Luca Deri
580f922307 Fixed crash when emitting alerts 2015-05-15 18:49:31 +02:00
Luca Deri
eeaf6772bc Added SRC_IP_LOCATION and DST_IP_LOCATION in JSON export (including ElasticSearch) 2015-05-09 09:54:52 +02:00
Arianna Avanzini
3cf6766eea Host.cpp: make alert thresholds per-host
This commit moves alert thresholds so that they are now per host
and not global. This addresses issue #3.
2015-05-07 14:42:48 +02:00
Arianna Avanzini
d1ccd40cb8 Host.cpp: generate alerts for local hosts only
This commit lets alerts be generated only for local hosts and not
for remote hosts. When a remote host can be mentioned in an alert
because it holds a relevant role in it (e.g. it is an attacker
of a local host) it is mentioned but not specific alert is generated
for it. This addresses issue #3.
2015-05-07 14:42:41 +02:00
Luca Deri
b178cf4121 Added travis file for code testing
Added .gitignore file for ignoring selected files
Reworked src and include paths to organize the source better
Fixed bug with invalid git version caused in some settings that do not compile code extracting it from github
2015-05-01 19:40:52 +02:00
Renamed from Host.cpp (Browse further)