Commit graph

911 commits

Author SHA1 Message Date
Luca Deri
4dd80d4778 Partial rework of NetworkInterfaceView (work in progress) 2015-09-16 00:41:29 +02:00
Luca Deri
f954a6f2d0 Fixed SQL query 2015-09-15 10:06:15 +02:00
Luca Deri
6ee5072d5e Added function for reading RRD traffic volume 2015-09-14 16:40:20 +02:00
Luca Deri
4bf10f4fce Added user role in About page
Fixed SQL when exploring subnets
Modified preferences to specify that when nDPI RRDs are created, they do for both local hosts and networks
2015-09-14 14:16:11 +02:00
Luca Deri
9d3e29ff74 Added information about traffic shapers in case you use ntopng inline
When using packet bridges, the local interface networks are now added to ntopng configuration
2015-09-14 00:19:57 +02:00
Luca Deri
c7de08f89c Fixed lua code where some shared variables created issues with some reports.
Minor c++ code fixes
2015-09-13 23:03:06 +02:00
Luca Deri
0d23f1aa10 Minor footer change
Reworked some lua utility functions
2015-09-13 19:14:46 +02:00
Luca Deri
7e220133a5 Fixed some Lua errors that caused some scripts to fail and this prevent reports from being properly displayed (e.g. the ASNs report in the dashboard) 2015-08-27 00:42:41 +02:00
Luca Deri
dfe98e6a69 Improved flow search 2015-08-24 23:44:06 +02:00
Luca Deri
3f1c2e4cec Removed InfluxDB integration experiment 2015-08-23 23:58:14 +02:00
Luca Deri
ee65e5f143 Historical flow enhancements for queries 2015-08-19 00:16:28 +02:00
Luca Deri
863da4eca1 Added graph autorefresh every minute, unless a specific epoch has been selected 2015-08-18 13:54:46 +02:00
Luca Deri
2a5baca948 Various flow dump improvements and bug fixes 2015-08-17 10:57:17 +02:00
Luca Deri
4945f5c902 Added ability to navigate IPv4 and IPv6 flows 2015-08-16 23:44:01 +02:00
Luca Deri
a16ca6600d Added DB utils 2015-08-16 19:36:45 +02:00
Luca Deri
e59d699837 Added initial work towards a new historical interface. In the Interfaces->name->Historical Actitivity it is now possible to see top flows when -F "mysql;...." is used 2015-08-16 15:00:40 +02:00
Luca Deri
83fe0afb99 Fix for top scripts: the code was not discarding non .lua files 2015-08-15 12:19:06 +02:00
Luca Deri
44deca8b60 Fixes for supporting ifSpeed on non Linux platforms
Fixed speed conversion to use 1000 instead of 1024 as rate
2015-08-15 11:36:37 +02:00
Campus
2deb319f57 added function to get max speed of eth - modified interface speed page 2015-08-15 01:48:08 +02:00
Luca Deri
d609b8c80d Change to convert a float to an integer prior to call rrd_update. This patch should fix #122. 2015-08-11 22:26:17 +02:00
Luca Deri
792ccd15ac Fix for saving/reading local hosts activities 2015-08-09 11:49:01 +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
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
3945b18eb4 Moved ethernet OUI on a place that is included in packages 2015-08-05 13:22: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
258f64757b changed name function from getservbyname to getservbyport 2015-08-01 04:12:33 +02:00
Luca
3b93709556 Initil work towards symbolic application port mapping 2015-07-31 18:39:48 +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
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