Commit graph

124 commits

Author SHA1 Message Date
Luca Deri
39a6b240da Enhanced lua string trim
Trim spaces from the about page form fields
2016-11-10 11:27:16 +01:00
emanuele-f
50db46cfdf Make use of scaling factor 2016-10-27 22:21:58 +02:00
Simone Mainardi
6194dc955a Implements maximum alerts limit per alarmed entity 2016-10-18 17:44:35 +02:00
Luca Deri
3810978773 Added MAC address icon guess 2016-10-15 12:46:01 +02:00
Luca Deri
12b8224b81 Reworked the footer to make it smaller 2016-10-09 23:35:55 +02:00
Simone Mainardi
031c4c4d4f Optimizes mac manuf id <-> manuf name cache 2016-10-08 17:31:05 +02:00
Luca Deri
cba2a4440b Reworked Mac address families display 2016-10-07 23:32:19 +02:00
Luca Deri
1476dcfa43 Improved icons display 2016-10-03 23:34:55 +02:00
Luca Deri
603c642469 Improved mac address support
Added host icons with their role in the netwokr
2016-10-03 23:16:40 +02:00
Simone Mainardi
15d240e3cc Improves HTTP(S) server names handling 2016-09-28 17:38:03 +02:00
Simone Mainardi
ec348a6ecf Fixes a typo 2016-09-27 18:16:36 +02:00
Simone Mainardi
cd0db380e3 Reworked flow activities calculation 2016-09-27 18:06:41 +02:00
Simone Mainardi
6d396c33ed Fixes top talkers computation with VLAN-tagged traffic 2016-09-15 19:28:29 +02:00
Simone Mainardi
441857d34d Implements stateful network alerts 2016-09-02 14:59:54 +02:00
Simone Mainardi
13875ec189 Adds numHosts to hosts retrieval for proper pagination
numHosts was suppressed in an earlier commit but this caused
issues with pagination of results.
2016-08-25 19:05:35 +02:00
Simone Mainardi
12f24a87b4 Implements stateful alerts in C and sqlite 2016-08-11 19:56:49 +02:00
Luca Deri
a3d36634e3 Code cleanup 2016-08-10 15:53:39 +02:00
Simone Mainardi
9cf1866e2f Fixes an error in community mode (due to NetworkInterfaceView removal)
WARNING: Script failure [/Users/simone/code/ntopng/scripts/lua/iface_hosts_list.lua][/Users/simone/code/ntopng/scripts/lua/modules/lua_utils.lua:164: attempt to get length of local 'h' (a nil value)]
2016-08-10 14:58:09 +02:00
Luca Deri
34dee98540 Fixed top talkers hosts 2016-08-10 13:00:52 +02:00
Luca
fdf1384081 Fixes after merge 2016-08-10 09:46:05 +02:00
Luca
bcadcf033f Removed view interface (work in progress will be reintroduced after cleanup) 2016-08-10 09:37:10 +02:00
Simone Mainardi
b9b22593f4 Removes a debug table print 2016-08-09 18:26:32 +02:00
Simone Mainardi
0b1f12f928 Improves jsonencode function 2016-08-09 18:17:39 +02:00
Simone Mainardi
199b418037 Implements db-based new generation alerts with lua API (wip) 2016-08-05 19:11:34 +02:00
Simone Mainardi
770bc4c6fc Security Fix: users enumeration
A user reported us

"""
I would like to report a possible security issue in ntopng.

When connected with a regular, unprivileged user, it is possible to force-navigate to the URL: http://192.168.2.176:3000/lua/admin/validate_new_user.lua?user=<anyuser>&networks=0.0.0.0/0,::/0
Due to this, it is possible to replace <anyuser> with a list of users and enumerate the users that exist in the system.
"""

This commit fixes the issue
2016-08-05 17:53:34 +02:00
Luca Deri
89d6fa301a Added minimal json encoding function
Modified bash path in ntopng-add-user.sh
2016-08-05 11:03:56 +02:00
Luca Deri
45e0c01377 Fix for #672 2016-08-03 15:05:38 +02:00
Simone Mainardi
374d41387a Implements a lua table slicing facility 2016-07-26 20:07:10 +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
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
5791d5a262 Improved SNMP support 2016-07-03 13:06:34 +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
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
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
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
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
Luca Deri
d35b1b6348 Fixed missing smile 2016-05-31 12:43:53 +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