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
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