Commit graph

751 commits

Author SHA1 Message Date
Simone Mainardi
22ffcda854 Removes a dummy table print 2016-02-07 17:35:32 +01:00
Simone Mainardi
ebe834ea15 Adds policy setup for custom netowrks in bridge mode (implements #372)
Traffic policies can now be setup for custom networks and not only
local networks.

Sanity checks on network CIDR and VLAN numbers have been introduced.

A minor bug that prevented per-host traffic policies to be populated has been fixed as well.
2016-02-07 17:27:42 +01:00
Luca Deri
8711deacfc Merged e3fd639e1f 2016-01-29 09:39:44 +01:00
Simone Mainardi
36bcfa16a1 Notifies nagios for non-configured alerts 2016-01-06 16:34:53 +01:00
Simone Mainardi
77c7c5ee96 Fixes false positive XSS detection (#312)
The following error has been fixed:
29/Dec/2015 16:48:43 [Utils.cpp:695] WARNING: Found possible XSS attempt: type [type]
29/Dec/2015 16:48:43 [Utils.cpp:695] WARNING: Found possible XSS attempt: type [type]
2015-12-30 14:47:07 +01:00
Luca
11f8c934d0 Reworked hosts listing in order to avoid/limit out-of-memory issues
Implemented aggregation of hosts and flows when using views
2015-12-27 18:55:50 +01:00
Simone Mainardi
8b01d5b2c3 Adds nagios alert deactivation notifications
Nagios services are notified when ntopng
alerts are deactivated
2015-12-20 16:19:15 +01:00
Simone Mainardi
d0b580f934 Adds Re-Arm Time for Alerts
A re-arm period is added to alarms so that
back-to-back alarms can be silenced.
2015-12-18 19:59:03 +01:00
Simone Mainardi
bf67cc7f51 Adds required lua dependency, fixes #320 2015-12-15 09:33:14 +01:00
Luca Deri
8507c1e2ed Minor profile change 2015-11-27 23:26:07 +01:00
Simone Mainardi
83574e1a9d Escapes possible spaces and special charaters from profile names to create RRDS 2015-11-09 20:14:34 +01:00
Luca Deri
4a5948ff27 Added tab pane for traffic profiles 2015-11-07 18:28:05 +01:00
Luca Deri
28e32c72c9 Fixed dumping to tap interfaces 2015-11-07 16:22:01 +01:00
Luca
86b793d006 Harvested interface view code and replaced with simpler one 2015-11-07 10:47:29 +01:00
Luca Deri
598f128200 Implemented traffic profiles (pro) 2015-10-19 00:48:55 +02:00
Luca Deri
cfbf3f2ac6 Removed duplicated interfaces (issue #236)
Initial work towards traffic profiles support
2015-10-17 19:14:16 +02:00
Luca Deri
826f53bcd8 Added view icon on the menubar when an interface view is used 2015-10-14 22:43:18 +02:00
Luca Deri
54ceed49e8 Removed invalid warning when parsing flows received via ZMQ in case they contain MAC addresses
Minor interface stats fix
2015-10-08 23:42:43 +02:00
Luca
06fb5c98d6 Minor estetic change 2015-09-23 18:22:08 +02:00
Luca Deri
c884b96566 Improved network statistics for bridged interfaces 2015-09-18 23:19:04 +02:00
Luca
19584df224 Renamed old variables whose name changed a few days ago 2015-09-18 17:56:53 +02:00
Luca Deri
4dd80d4778 Partial rework of NetworkInterfaceView (work in progress) 2015-09-16 00:41:29 +02:00
Luca Deri
a58c64aa29 Replaced label with icon in the menubar 2015-09-15 09:56:59 +02:00
Luca Deri
a820699db1 Replaced historical label with icon
Reworked history on networks
2015-09-15 09:54:21 +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
18bee82d99 Added check for discarding packets with invalid lenghts that might confuse reports and stats 2015-08-23 23:54:05 +02:00
Luca
75a5293d95 Implemented lua method for reading the list of local nets 2015-08-21 23:23:32 +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
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
Luca Deri
d5e19ec8af Removed -F sqlite: due to this the historical interface is not finally gone and it is now possible to move forward to properly re-implement it 2015-08-15 00:09:12 +02:00
Luca
f690d63d87 Added fix for handling netmask in traffic policer 2015-08-12 19:14:53 +02:00
Luca
f9cc43d281 Added packet drop/interface full errors in bridge mode 2015-08-12 17:11:19 +02:00
Luca Deri
11a9b3112a Fix for #120 2015-08-11 23:01:11 +02:00
Luca Deri
e9995ceb62 Renamed some Ndpi -> nDPI API calls
Removed geohash: we're back top latitude longitude
Implemented flow insert into MySQL
2015-08-09 22:58:13 +02:00
Luca Deri
d7f755bac7 Added interface addresses to the network interface view
Fixed local hosts dump of activities
2015-08-09 14:00:08 +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
6d1fbffcb0 Minor estetic changes 2015-07-14 01:11:17 +02:00
Guillaume Simon
62bc62edcb Fix for bringing back the top stats table for hosts graphs 2015-06-09 19:02:32 +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
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
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 Deri
2b252633cb Changes to the shaper GUI 2015-05-19 01:02:15 +02:00
Luca Deri
6630297dcd Policer update 2015-05-18 01:15:55 +02:00
Luca Deri
1156208993 Improvements on traffic shaping 2015-05-12 00:56:39 +02:00
Arianna Avanzini
6b9007ef52 if_stats.lua: use MB for the max size of dump files
This commit changes the measure unit for the max size of dump
files to MB so that it more user-friendly. This addresses
issue #20.
2015-05-11 15:22:27 +02:00
Arianna Avanzini
e2ac52d02a if_stats.lua: add option to dump all traffic
This commit adds to the per-interface Packet Dump tab an option
to dump all traffic to the selected media. This makes the dump
filtering option a three-state mechanism, which allows to
disable dump, enable dump only for selected hosts, and enable
dump of all traffic.
2015-05-02 01:02:37 +02:00
Arianna Avanzini
3ad5cc362b if_stats.lua: view stats about number of packets dumped
This commit allows to view the number of packets dumped on disk and
on tap on the Packet Dump tab of the interface page if packet dump
is enabled.
2015-05-01 04:02:38 +02:00
Arianna Avanzini
9c10e133b0 if_stats.lua: add parameter for max size of pcap dumps
This commit makes the maximum size of pcap dumps configurable
by adding a per-interface parameter modifiable via the web
interface. This commit also adds a comment in the web interface
about the periodic check and automatic deletion of old pcap files
after reaching the threshold.
2015-04-30 16:17:21 +02:00