-- -- (C) 2013-17 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" sendHTTPContentTypeHeader('text/html') ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/header.inc") active_page = "about" dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua") if(_POST["ntopng_license"] ~= nil) then ntop.setCache('ntopng.license', trimSpace(_POST["ntopng_license"])) ntop.checkLicense() end info = ntop.getInfo() print("

"..i18n("about.about").." "..info["product"].."

") print("\n") print("\n") print("") vers = string.split(info["version.git"], ":") if((vers ~= nil) and (vers[2] ~= nil)) then ntopng_git_url = ""..info["version"].."" else ntopng_git_url = info["version"] end print("\n") end --print("\n") ndpi_ver = info["version.ndpi"] if (ndpi_ver ~= nil) then v = string.split(ndpi_ver, " ") if (v ~= nil) then ndpi_vers = v[1] v_all = string.sub(v[2], 2, -2) vers = string.split(v_all, ":") ndpi_hash = vers[1] ndpi_date = vers[2] print("\n") else print("\n") end end print("\n") print("\n") print("\n") print("\n") print("\n") print("\n") print("\n") if(info["version.geoip"] ~= nil) then print("\n") end print("\n") print("
Copyright"..info["copyright"].."
License") 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('

') if(isAdministrator()) then if(info["pro.use_redis_license"] or (info["pro.license"] == "")) then print('\n') print('  
]] else if(info["pro.license"]) then print(i18n("about.licence")..": ".. info["pro.license"] .."\n") 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"].."
 
nDPI "..ndpi_date.."
nDPI "..ndpi_ver.."
Twitter Bootstrap3.x
Font Awesome4.x
RRDtool"..info["version.rrd"].."
Redis Server"..info["version.redis"].."
Mongoose web server"..info["version.httpd"].."
LuaJIT"..info["version.luajit"].."
ØMQ"..info["version.zmq"].."
GeoIP"..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
\n") dofile(dirs.installdir .. "/scripts/lua/inc/footer.lua")