Commit graph

5067 commits

Author SHA1 Message Date
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