Commit graph

9262 commits

Author SHA1 Message Date
Luca Deri
e9995ceb62 Renamed some Ndpi -> nDPI API calls
Removed geohash: we're back top latitude longitude
Implemented flow insert into MySQL
2015-08-09 22:58:13 +02:00
Luca Deri
d7f755bac7 Added interface addresses to the network interface view
Fixed local hosts dump of activities
2015-08-09 14:00:08 +02:00
Luca Deri
792ccd15ac Fix for saving/reading local hosts activities 2015-08-09 11:49:01 +02:00
Luca Deri
23d24bf7f8 The menu item for the matrix has been named to local flow matrix 2015-08-09 10:35:32 +02:00
Luca Deri
c755bd6fd4 Fixed layour of hosts matrix: empty rows/columns are not rendered 2015-08-09 10:33:37 +02:00
Michele Campus
653a63aa2c fixing hosts_matrix.lua to delete empty lines generated by local hosts 2015-08-08 22:08:37 +02:00
Michele Campus
f60aed8b40 Merge remote-tracking branch 'upstream/dev' into dev 2015-08-08 20:22:48 +02:00
Michele Campus
fdd46e464a fixing hosts_matrix.lua to delete empty lines generated by local hosts (1) 2015-08-08 17:49:22 +02:00
Luca Deri
8cedf73bfa Updated FontAwesome
Fixed minor HTML errors
Added mime type for fonts in HTTP server
Shortened version id
2015-08-08 16:01:12 +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
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
3945b18eb4 Moved ethernet OUI on a place that is included in packages 2015-08-05 13:22:32 +02:00
Luca Deri
72f37d0772 The stats on mesh network traffic are shown (menu Hosts) only if mesh network traffic is monitored 2015-08-03 17:59:32 +02:00
Luca Deri
2243804a94 Fixes for MAC address listing
Enhanced numeric MAC -> symbolic MAC conversion
2015-08-03 16:49:39 +02:00
Luca Deri
e1b876e440 Fixed MAC address list (work in progress) 2015-08-01 17:02:12 +02:00
Michele Campus
a528646abd Added Mac Addresses statistics 2015-08-01 15:34:48 +02:00
Michele Campus
258f64757b changed name function from getservbyname to getservbyport 2015-08-01 04:12:33 +02:00
Arianna Avanzini
5a76f4bdd4 scripts: add listing for Communities
This commit adds code both to the Lua bindings and scripts to
allow to list Communities and hosts belonging to the communities.
This allows to list hosts of just a community and get the related
info in real time.
2015-08-01 00:21:55 +02:00
Luca
3b93709556 Initil work towards symbolic application port mapping 2015-07-31 18:39:48 +02:00
Arianna Avanzini
34d4d966f5 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2015-07-30 22:02:23 +02:00
Arianna Avanzini
6633f21bdd scripts/lua/modules: always show "Other" talker
This commit lets the "Other" talker be always shown in the top talkers
report of a web interface if its traffic value is not zero. This also
lets the "Other" talker accumulate traffic also for hosts above the
maximum number of top talkers.
2015-07-30 21:58:12 +02:00
Arianna Avanzini
42fe686df8 modules/top_talkers.lua: fix issue with json format for top talkers
This commit addresses a bug that was recently introduced in the top
talkers json when adding the "Other" talker.
2015-07-30 21:55:18 +02:00
Luca Deri
e04aff63cc Further OS detection improvements 2015-07-29 00:11:24 +02:00
Luca Deri
30f7617269 Fix for #66
Improvements for OS detection
2015-07-28 23:28:37 +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
Luca Deri
41b83d458c Initial word towards identifying host top hitters 2015-07-25 17:39:53 +02:00
Luca Deri
ce40e25b03 Fix for #89 2015-07-25 11:33:39 +02:00
Luca
3f43d5f1d1 Replaced missing set_wan_prefs.lua with interface stats 2015-07-21 18:02:08 +02:00
Arianna Avanzini
06a7063ff7 scripts/lua/aggregated_host_details.lua: fix typo
This commit fixes a trivial typo in an URL which resulted in incorrect
hyperlinks being shown. This addresses issue #87.

Signed-off-by: @JuergenWeber
2015-07-20 14:00:48 +02:00
Arianna Avanzini
3bf1897acf top_talkers.lua: add "Other" top talker for remaining talkers
This commit adds to the retrieved top talkers a final entry
grouping stats for all remaining talkers which are not included
in the top ones. This helps get a feeling of the proportion
between the traffic of the top talkers and that of other talkers.
2015-07-17 01:21:24 +02:00
Michele Campus
03de4213c3 putting line between a nil check 2015-07-16 15:18:41 +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
Luca
51e2e56521 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2015-07-14 01:12:32 +02:00
Luca Deri
6d1fbffcb0 Minor estetic changes 2015-07-14 01:11:17 +02:00
Luca
5b88a7e93f Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2015-07-13 17:23:19 +02:00
Luca
4d548ef2d0 Enhanced page footer courtesy of Jürgen Weber 2015-07-12 21:07:26 +02:00
Arianna Avanzini
fddd7a0315 lua/hosts_interaction.lua: show most relevant hosts first
This commit lets the hosts interaction map show most relevant
hosts first. This plays along well with the limit introduced
with commit 7d3bbc1. This addresses issue #42.
2015-07-11 18:26:46 +02:00
Arianna Avanzini
eec2b3e01c scripts/lua/host_details.lua: changes to let historical be viewed alone
This commit changes the host_details Lua script to let the Historical
data be viewed even if the host is no more in memory if a get parameter
is specified.
2015-07-11 17:19:28 +02:00
Luca
dbef55c436 Modified the footer with up and down peity lines 2015-07-10 06:50:00 -07:00
Arianna Avanzini
9a26d6d6a8 host_details.lua: fix format of MAC-based host classification
This commit fixes format of host classification based on MAC
in case classification is not successful.
2015-07-08 02:53:20 +02:00
Arianna Avanzini
0d2eeeb4d8 host_details.lua: add MAC-based host classification
This commit adds to host details the classification of a host based
on its MAC address. The classification is performed according to
https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob_plain;f=manuf.
This partially addresses issue #43.
2015-07-08 02:48:32 +02:00
Arianna Avanzini
7d3bbc1d1a scripts/lua/host_interaction.lua: add max hosts threshold
This commit helps reducing the extent of the hosts interaction map
by implementing a simple threshold as a workaround to avoid unusable
maps for large networks. This is a first workaround for #42, while
the map will be completely reworked shortly.
2015-07-03 03:58:28 +02:00
Arianna Avanzini
6aee51be25 flows_stats.lua: use per-network protocols in network historical
This commit adds protocol visualization in the Historical tab
of the network flows view, therefore enabling for better
analysis of per-network traffic.
2015-07-01 22:39:09 +02:00
Arianna Avanzini
6ac384581d modules/graph_utils.lua: fix variable name
This commit fixes the name of one of the variables used in the
createRRDcounter() function which caused errors.
2015-06-30 20:53:20 +02:00
Arianna Avanzini
2aafd6d9b3 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2015-06-23 13:04:23 +02:00
Arianna Avanzini
9e5d3f9345 modules/top_structure.lua: correctly handle VLANs
This commit allows VLANs to be correctly handled when putting
together the top talkers JSON to be stored.
2015-06-23 12:59:29 +02:00
Luca Deri
3d8f3ac927 Added check to see if it can help with https://github.com/ntop/ntopng/issues/63 2015-06-21 21:56:56 +02:00
Arianna Avanzini
86ab3f0585 src/Lua.cpp: finally add minimal SQL interface for Lua
This commit adds a Lua interface that allows Lua scripts to directly
query flows with a simple SQL-like statement. This also enforces the
checks and data conversions in the iface_ports_list.lua script.
2015-06-19 16:48:09 +02:00
Arianna Avanzini
f514a4db87 src/FlowsManager.cpp: add infrastructure for filtering flow queries
This commit adds a first option to filter results of queries
on flows so that only relevant info can be returned. This for
now only introduces a PORTS filter. This helps reducing the
load on the Lua stack when the flows limit is high.
2015-06-16 13:16:07 +02:00
Luca
b2b92a4da1 Fixed shaper rate in host view 2015-06-15 15:53:20 +02:00