-- -- (C) 2013-24 - ntop.org -- local dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" local json = require "dkjson" local stats_utils = require("stats_utils") sendHTTPContentTypeHeader('text/html') local mode = _GET["direction"] local type = _GET["distr"] local host_info = url2hostinfo(_GET) local ifid = _GET["ifid"] interface.select(ifid) local host = interface.getHostInfo(host_info["host"],host_info["vlan"]) local what = {} local res = {} if(host == nil) then print("