Adds class RemoteHost
Moves alert fields to LocalHost
Adds initialize() function to LocalHost
Differentiates local/remote hosts in restore
Uses isLocalHost for lua host print
Removes debug prints
Migrates class Geolocation to the new libmaxminddb
Handles static/dynamic compilation of libmaxminddb
Adds missing configure/make files for libmaxminddb
Adds libmaxminddb to travis.yml
Adds dev libmaxminddb to .travis.yml
Removes t Makefile
Removes missing ubuntu14 libmaxminddb-dev
Run autoreconf on libmaxminddb
Adds autoreconf to libmaxminddb static build
Adds libmaxminddb dependency to packages
Adds new *.mmdb files to debian/ubuntu ntopng-data
Adds new *.mmdb files to centos6/7 ntopng-data
Removes old libgeoip dep in favor of libmaxminddb
Adds back old .dat to debian/ubuntu ntopng-data
Adds back old .dat to centos ntopng-data
Adds autoreconf for travis
Removes libmaxminddb autoreconf from travis
Removes third-party libmaxminddb
Removes static build of libmaxminddb
Removes old libgeoip1 dependencies
Updates readme with libmaxminddb
Adds geolite attribution
Example:
local fname = interface.captureToPcap(10, "tcp")
print(fname)
if(interface.isCaptureRunning()) then
os.execute("sleep 1")
end
interface.stopRunningCapture()
Split the HTTP server into management and non-management (splash) servers
Implemented protection of the HTTP interface via an ACL that can be set with
- redis-cli set ntopng.prefs.http_acl_management_port "XXXX"
Where XXXX has the format +net/mask,+net/mask....
Example:
- You want the HTTP management interface be accessible only from localhost
redis-cli set ntopng.prefs.http_acl_management_port "+127.0.0.0/8"
- You want the HTTP management interface be accessible for everybody except 192.168.0.0/16
redis-cli set ntopng.prefs.http_acl_management_port "+0.0.0.0/0,-192.168.0.0/16"