Commit graph

7688 commits

Author SHA1 Message Date
Simone Mainardi
0de66219d0 Sets flow vlan to DOT1Q if no inner vlan is detected
If no {SRC,DST}_VLAN field is set, then the outer vlan values
found in Q-in-Q DOT1Q_{SRC,DST}_VLAN are used (if set) to populate
flow vlan.

Fixes #650
2016-07-24 14:26:08 +02:00
Simone Mainardi
f3bff5d2aa Minor change
This change is propaedeutic to Professional commit:

commit 1e1d453a1e96cc4394a0b94a7efe0b5857b1b1eb
Author: Simone Mainardi <simonemainardi@gmail.com>
Date:   Mon Jul 18 20:04:53 2016 +0200

    Improves the usability of historical charts
2016-07-18 20:05:40 +02:00
Simone Mainardi
57c4d74733 Changes to improve behavior consistency with current implementation 2016-07-18 10:55:15 +02:00
Simone Mainardi
cd5f3dbfd6 Merge branch 'log-preferences' of https://github.com/mathieufrh/ntopng into mathieufrh-log-preferences 2016-07-18 10:31:13 +02:00
Mathieu
46330a0fdd Check for cmdl trace level option 2016-07-15 14:42:11 +02:00
Simone Mainardi
7a8878a886 Adds bidirectional flags in host_get_json TCP flows
An excerpt of the json returned is:

{"srv.ip":"a.b.c.d","cli.port":50559,"srv.port":443,
"cli2srv.tcp_flags":{"SYN":1,"RST":0,"PSH":1,"FIN":0,"URG":0,"ACK":1},"cli2srv.throughput_bps":0,"bytes":2869,"srv2cli.throughput_bps":0,"cli2srv.throughput_pps":0,
"srv2cli.tcp_flags":{"SYN":1,"RST":0,"PSH":1,"FIN":0,"URG":0,"ACK":1},"tcp_established":true,"srv2cli.throughput_pps":0,"cli.ip":"192.168.2.130","proto.ndpi_id":126,"proto.ndpi":"SSL.Google"},
2016-07-14 12:44:55 +02:00
Mathieu
2dc31415b5 Add log preferences 2016-07-13 18:16:36 +02:00
Simone Mainardi
0515516952 Adds the Observation Period in historical Breadcrumbs 2016-07-13 17:58:40 +02:00
Simone Mainardi
926a57f658 Executes db explorer queires automatically on user click
Clicking on flow details (e.g., protocol or src or dst)
automatically redirects the user to the db explorer page
and preserves selection details (pro version).
2016-07-12 17:02:14 +02:00
Luca Deri
c25a9a632d Fixed SNMP wrapping bug
Added ability to graph flow-devices port I/O
2016-07-12 15:51:26 +02:00
Luca
c85fa80ddd Removed hard-coded number now a #define
Preliminary work for the enterprise edition
2016-07-09 09:58:13 +02:00
Simone Mainardi
2c693cb0c1 Adds the ability to set a custom Google Maps API key
Users can now generate a custom Google Maps API key and
set it via ntopng Preferences page.

Addresses #646
2016-07-06 11:46:37 +02:00
Simone Mainardi
a51994cfec Implements asynchronous database schema updates
Database updates are now performed asynchronously.
The web server starts but notifies the user with a
'please wait' message until the updates are completed.
2016-07-04 19:37:44 +02:00
Luca Deri
ef62c85bc7 Implemented host deviceIP/port binding 2016-07-04 00:04:32 +02:00
Luca Deri
5791d5a262 Improved SNMP support 2016-07-03 13:06:34 +02:00
valentina
4c6adfdb49 Changed for SIP flows 2016-07-01 23:33:35 +02:00
Luca Deri
3e0705528b Fixed Invalid exporter address display (endianess) 2016-06-27 14:12:56 +02:00
valentina
39410f683e Changes for SIP flows. 2016-06-26 14:01:02 +02:00
Simone Mainardi
e86103f9fc Accounts all phyisical interfaces in grouped view stats
Addresses issue raised in #486
2016-06-24 15:58:03 +02:00
Simone Mainardi
79f778ab59 Fixes web interface ssl certificates visualization issues 2016-06-21 15:41:52 +02:00
valentina
d4e5181eae Minor changes for SIP flows. 2016-06-18 23:07:31 +02:00
Luca Deri
1a154dc52f Per hosts alerts are not correctly initialized
Aded IPv6 label to top talkers to easily identify hosts with dual stack
2016-06-18 10:16:02 +02:00
Luca Deri
43c17964e5 Implemented non-L3 stats and improved tcp flow stats 2016-06-17 23:51:13 +02:00
Simone Mainardi
f9c7c1f18b Adds IN_ and OUT_BYTES to IPv6 flows visualization 2016-06-16 15:39:56 +02:00
Luca Deri
bd1de5ad64 Fixed merge error (damn git) 2016-06-15 16:52:01 +02:00
Luca Deri
71646ff4bb Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2016-06-15 16:51:07 +02:00
Luca Deri
9a717fede5 Implemented ICMPv6 dissection 2016-06-15 16:42:52 +02:00
Simone Mainardi
6b00fe18b3 Refactors function historicalProtoHostHref 2016-06-15 16:02:57 +02:00
Simone Mainardi
96e964b14e Adds IN_ and OUT_BYTES to historical flows tables 2016-06-15 15:57:37 +02:00
Luca Deri
d6bc2ce91a Implemented ICMP handling
Optimized flow memory
2016-06-15 15:33:00 +02:00
Luca Deri
46e0fef38b Implemented alert generation for suspicious probing attempts
Refactored code for historical traffic analysis
Added various HTML anchors to quick jump to historical reports if -F is used (Pro version only)
2016-06-15 11:37:52 +02:00
Luca Deri
a26dbe0a6a Fixed bug in interface switch 2016-06-14 16:46:39 +02:00
Luca Deri
ceca189c8e Implemented per interface TCP stats 2016-06-14 14:31:58 +02:00
Simone Mainardi
5d8fbaef9a Prevents nil-string comparisons
Addresses #609
2016-06-10 12:57:55 +02:00
Simone Mainardi
0d9ee594c6 Hides historical talkers and protocols for networks
No queries that search for range of hosts in MySQL are
currently available. For this reason, historical tabs are hidden
from the view and will be re-enabled in the future.
2016-06-09 17:13:16 +02:00
Luca Deri
63879f9635 Added new alert to track idle hosts 2016-06-08 16:44:49 +02:00
Simone Mainardi
58bc707cd1 Minor fix for interface alerts 2016-06-06 21:45:25 +02:00
Simone Mainardi
95a4618c17 Fixes alert scan that was causing possible issues in periodic scripts
Method scanAlerts was called inside a loop over the interfaces in minute.lua.
Since scanAlerts was looping over the interfaces as well, this was causing
interfaces to be deselected from the outer loop.

This commit fixes the issues by forcing scanAlerts to receive an input interface.

Fixes #582
2016-06-04 18:22:13 +02:00
Simone Mainardi
4aebe42ab7 Fixes refresh for VLAN-tagged hosts in hosts_stats.lua 2016-06-04 16:37:01 +02:00
Simone Mainardi
a07b8fe22a Escapes double-quotes in AS html 2016-06-01 15:47:02 +02:00
valentina
b818b053e7 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2016-05-31 22:17:17 +02:00
valentina
bb05649525 Changes for rtp flows (second part) 2016-05-31 22:16:58 +02:00
Simone Mainardi
616ca6b3d1 Implements preferences refresh facilities
Preferences set automatically trigger an update of
the class Preferences() members to make sure they are up
to date.

Additionally, the housekeeping frequency has been made customizable.
2016-05-31 19:09:07 +02:00
Luca Deri
d35b1b6348 Fixed missing smile 2016-05-31 12:43:53 +02:00
Simone Mainardi
e808cbb78b Hides Ipv4/Ipv6 download buttons when no flows were detected 2016-05-31 10:59:37 +02:00
valentina
9385516d94 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2016-05-31 00:09:22 +02:00
valentina
615145b05d Changes for rtp flows (first part) 2016-05-31 00:08:20 +02:00
Luca Deri
79022c7238 Fixed flow statistics in host_get_json.lua
Fixed TCP flags
Smaller cosmetic fixes
2016-05-30 22:58:08 +02:00
Simone Mainardi
c28fe1248e Adds a method to print purged hosts/flows error messages 2016-05-27 14:26:44 +02:00
Simone Mainardi
7b210f527e Fixes a minor issue when parsing integer strings 2016-05-24 18:32:39 +02:00