Commit graph

11737 commits

Author SHA1 Message Date
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
Luca Deri
2b49967ad7 Updated about message box 2015-06-13 17:26:11 +02:00
Arianna Avanzini
2aac293316 modules/lua_utils.lua: enforce checks on version before doing ariths
This commit lets the version2int() function better check types
and convertibility before performing arithmetics to get the
version hash.
2015-06-12 15:48:36 +02:00
Luca Deri
73811618f8 Enhanced about box with platform bits 2015-06-11 18:20:36 +02:00
Luca Deri
a4516274c9 Merge pull request #44 from ipernet/host-graph-fix
Fix duplicate handling to fix broken graphs for hosts
2015-06-09 22:05:27 +02:00
Guillaume Simon
62bc62edcb Fix for bringing back the top stats table for hosts graphs 2015-06-09 19:02:32 +02:00
Guillaume Simon
6339498751 Fix duplicate handling to fix broken traffic graph for hosts 2015-06-09 18:31:34 +02:00
Arianna Avanzini
0b815a6ed2 iface_ports_list.lua: get flows info only per-host when possible
This commit lets the iface_ports_list.lua invoke getFlowsInfo()
with the host filter when the host parameter is not nil, so that
the Lua stack is not overloaded when possible.
2015-06-09 09:15:19 +02:00
Luca
8dca0d42cf Reworked the way ntopng checks for updates: code improved, responses are cached 2015-06-02 12:52:43 +02:00
Luca Deri
629b2d11b4 Fix on the version box 2015-05-30 16:56:03 +02:00
Luca Deri
41fd595850 Fixed /json/ path (using numeric interface name)
Replaced "Home" in menu with an icon
2015-05-30 13:14:51 +02:00
Luca
dc746b45b3 Various optimizations for malware flow categorization (-c) 2015-05-28 19:04:03 +02:00
Luca
2036b15d9a Fixed old getCategory call
Added fix to harden code
2015-05-28 16:13:55 +02:00
Luca Deri
58d05f5454 Menu update with new links 2015-05-27 23:07:21 +02:00
Luca Deri
192983d35c An alert is genererated when a malware site is visited 2015-05-27 21:27:31 +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
1895d5aca9 Fixed typo 2015-05-26 09:02:16 +02:00
Arianna Avanzini
b519ad39b6 scripts/lua/admin/prefs.lua: add basic RRD configuration options
This commit adds a first implementation of configuration preferences for RRDs.
Different config options are selectable for network interfaces RRDs and
other RRDs. This addresses issue #33.
2015-05-26 02:54:17 +02:00
Arianna Avanzini
d7ae1e5929 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2015-05-25 08:58:54 +02:00
Arianna Avanzini
317c9b5d54 scripts/lua/modules/lua_utils.lua: fix precision of bytes
This commit lets the bytesToSize() function perform the requested
rounding even when returning bytes. This also fixes the symbol
used in that case as a measure unit so that it is consistent.
2015-05-25 08:57:49 +02:00
Luca Deri
c5a779198c Win32 fixes.
RRDs are now created starting from one day back and not one year back as apparently this causes a loop inside rrd_update
2015-05-24 09:40:52 +02:00
Arianna Avanzini
5d41caf380 src/HistoricalInterface.cpp: add limit for number of retrieved rows
This commit lets the Historical Interface retrieve rows only with
a limited amount. This should work around current stats retrieval
issues. The max number of retrievable rows is split across queries
equally.
2015-05-22 01:04:53 +02:00
Arianna Avanzini
3474104f51 if_stats.lua: don't show packet dump tab for historical interface
This commit lets the interface tab menu show the packet dump tab
only if the interface is not historical.
2015-05-22 01:03:51 +02:00
Arianna Avanzini
02f5637014 scripts/lua/modules/graph_utils.lua: various fixes
This commit fixes indentation and scoping for some of the blocks
in drawRRD(). It also lets the function handle complex RRD names.
2015-05-22 00:31:27 +02:00
Arianna Avanzini
2b3cbc7fc7 scripts/lua/flows_stats.lua: do not show dropdown for network historical chart
This commit removes the dropdown for network historical charts
because, as of now, only bytes are stored in RRD for networks.
2015-05-22 00:30:28 +02:00