-- -- (C) 2013-20 - ntop.org -- local dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" local ts_utils = require("ts_utils") local info = ntop.getInfo() local page_utils = require("page_utils") local format_utils = require("format_utils") local os_utils = require "os_utils" sendHTTPContentTypeHeader('text/html') page_utils.set_active_menu_entry(page_utils.menu_entries.about, { product=info.product }) dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua") if(_POST["ntopng_license"] ~= nil) then ntop.setCache('ntopng.license', trimSpace(_POST["ntopng_license"])) ntop.checkLicense() ntop.setCache('ntopng.cache.force_reload_plugins', '1') -- housekeeping.lua will reload plugins end print("
| ") print(i18n("about.copyright")) print(" | "..info["copyright"].." | |
|---|---|---|
| ") print(i18n("about.licence")) print(" | ")
info["ntopng.license"] = ntop.getCache('ntopng.license')
if(info["pro.release"] == false) then
print("".. info["license"] .."")
else
print("EULA")
end
if(info["pro.systemid"] and (info["pro.systemid"] ~= "")) then
v = split(info["version"], " ")
print(" [ SystemId: ".. info["pro.systemid"] .." ]")
print [[
]] print(i18n("about.licence_generation", { purchase_url='http://shop.ntop.org/', universities_url='http://www.ntop.org/support/faq/do-you-charge-universities-no-profit-and-research/' })) print[[ ]] print(' ]] else if(info["pro.license"]) then print(i18n("about.licence")..": ".. info["pro.license"] .."\n") if info["pro.license_ends_at"] ~= nil and info["pro.license_days_left"] ~= nil then print(""..i18n("about.maintenance", { _until = format_utils.formatEpoch(info["pro.license_ends_at"]), days_left = info["pro.license_days_left"]})) end end end end end print(" | |
| "..i18n("about.version").." | "..ntopng_git_url.." - ") printntopngRelease(info) if((info["OS"] ~= nil) and (info["OS"] ~= "")) then print(" | |
| "..i18n("about.built_on").." | "..info["OS"].." | |
| "..i18n("about.platform").." | "..info["platform"].." - "..info["bits"] .." bit | |
| "..i18n("about.startup_line").." | ".. info["product"] .." "..info["command_line"].." | |
| nDPI | "..ndpi_date.." | |
| nDPI | "..ndpi_ver.." | |
| cURL | "..info["version.curl"].." | |
| Twitter Bootstrap | 4.4.0 | |
| Font Awesome | 5.11.2 | |
| RRDtool | "..info["version.rrd"].." | |
| nIndex | "..info["version.nindex"].." | |
| InfluxDB | ||
| ".. i18n("prefs.timeseries_resolution_resolution_title") .." | "..l7_resolution.." | |
| Redis Server | "..info["version.redis"].." | |
| Mongoose web server | "..info["version.httpd"].." | |
| LuaJIT | "..info["version.luajit"].." | |
| ØMQ | "..info["version.zmq"].." | |
| GeoLite | "..info["version.geoip"])
print [[ ]] print(i18n("about.maxmind", {maxmind_url="http://www.maxmind.com/"})) print[[ ]] print(" | |
| Data-Driven Documents (d3js) | 2.9.1 / 3.0 | |