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
e292d95814
Updated fontawesome to the latest version
...
Added supporto for BATMAN antenna stats
Improved MAC formatting
2015-07-27 09:07:10 +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
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
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
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
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
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
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
Luca
8dca0d42cf
Reworked the way ntopng checks for updates: code improved, responses are cached
2015-06-02 12:52:43 +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 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
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
6b3a99d841
alert_utils.lua: handle slashes in interface names
...
This commit lets the per-interface alert code handle weird interface
names, e.g. collector interface names which contain slashes.
2015-05-21 16:56:19 +02:00
Arianna Avanzini
1503b1f3c0
alert_utils.lua: handle non existance of last dump
...
This commit handles the case where the last dump used for
interface alerts does not exist.
2015-05-21 16:06:18 +02:00
Arianna Avanzini
f655cc2804
scripts/lua/if_stats.lua: implement per-interface alerts
...
This commit implements customizable threshold-based alerts which
are handled per-interface. Alerts are accessible via the alerts
tab of the interface menu of the web GUI.
This addresses issue #21 .
2015-05-20 23:10:55 +02:00
Luca
a1cb0ac1c8
Added geohash mapping to flows
2015-05-15 17:56:04 +02:00
Luca
773383e48b
Fixed bug in hosts alert generation: alerts were not generated due to invalid redis key
2015-05-11 16:05:55 +02:00
Arianna Avanzini
939ffa6c7d
lua_utils.lua: fix issue with prefs assignment via string input fields
...
This commit fixes a nil value issue happening when trying to assign
preferences with string input fields.
2015-05-03 02:24:20 +02:00
Luca
730d76b9f5
Initial import from SVN
2015-04-30 12:22:35 +02:00