|
@@ -23,6 +23,7 @@ import (
|
|
"imuslab.com/zoraxy/mod/netstat"
|
|
"imuslab.com/zoraxy/mod/netstat"
|
|
"imuslab.com/zoraxy/mod/sshprox"
|
|
"imuslab.com/zoraxy/mod/sshprox"
|
|
"imuslab.com/zoraxy/mod/statistic"
|
|
"imuslab.com/zoraxy/mod/statistic"
|
|
|
|
+ "imuslab.com/zoraxy/mod/statistic/analytic"
|
|
"imuslab.com/zoraxy/mod/tcpprox"
|
|
"imuslab.com/zoraxy/mod/tcpprox"
|
|
"imuslab.com/zoraxy/mod/tlscert"
|
|
"imuslab.com/zoraxy/mod/tlscert"
|
|
"imuslab.com/zoraxy/mod/uptime"
|
|
"imuslab.com/zoraxy/mod/uptime"
|
|
@@ -37,7 +38,7 @@ var ztAuthToken = flag.String("ztauth", "", "ZeroTier authtoken for the local no
|
|
var ztAPIPort = flag.Int("ztport", 9993, "ZeroTier controller API port")
|
|
var ztAPIPort = flag.Int("ztport", 9993, "ZeroTier controller API port")
|
|
var (
|
|
var (
|
|
name = "Zoraxy"
|
|
name = "Zoraxy"
|
|
- version = "2.3"
|
|
|
|
|
|
+ version = "2.5"
|
|
nodeUUID = "generic"
|
|
nodeUUID = "generic"
|
|
development = true //Set this to false to use embedded web fs
|
|
development = true //Set this to false to use embedded web fs
|
|
|
|
|
|
@@ -63,7 +64,10 @@ var (
|
|
ganManager *ganserv.NetworkManager //Global Area Network Manager
|
|
ganManager *ganserv.NetworkManager //Global Area Network Manager
|
|
webSshManager *sshprox.Manager //Web SSH connection service
|
|
webSshManager *sshprox.Manager //Web SSH connection service
|
|
tcpProxyManager *tcpprox.Manager //TCP Proxy Manager
|
|
tcpProxyManager *tcpprox.Manager //TCP Proxy Manager
|
|
- EmailSender *email.Sender //Email sender that handle email sending
|
|
|
|
|
|
+
|
|
|
|
+ //Helper modules
|
|
|
|
+ EmailSender *email.Sender //Email sender that handle email sending
|
|
|
|
+ AnalyticLoader *analytic.DataLoader //Data loader for Zoraxy Analytic
|
|
)
|
|
)
|
|
|
|
|
|
// Kill signal handler. Do something before the system the core terminate.
|
|
// Kill signal handler. Do something before the system the core terminate.
|