-- -- (C) 2013-16 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" sendHTTPHeader('text/html; charset=iso-8859-1') ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/header.inc") active_page = "about" dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua") if(_GET["ntopng_license"] ~= nil) then ntop.setCache('ntopng.license', trimSpace(_GET["ntopng_license"])) ntop.checkLicense() end info = ntop.getInfo() 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 [[
Click on the above URL to generate your professional version license, or purchase a license at e-shop. If you are no-profit, research or an education institution please read this. ]] print(' ]] else if(info["pro.license"]) then print("License: ".. info["pro.license"] .."\n") end end end end print(" |
| Version | "..ntopng_git_url) if(info["pro.release"] == false) then print(" - Community") else if(info["version.enterprise_edition"] == true) then print(" - Enterprise") else print(" - Pro Small Business") end end if(info["version.embedded_edition"] == true) then print("/Embedded") end print(" Edition |
| Built on | "..info["OS"].." |
| nDPI | "..ndpi_date.." |
| nDPI | "..ndpi_ver.." |
| Twitter Bootstrap | 3.x |
| Font Awesome | 4.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 [[ This product includes GeoLite data created by MaxMind. ]] print(" |
| Data-Driven Documents (d3js) | 2.9.1 / 3.0 |