安全设置增加“检查客户端指纹"和"检查客户端区域"选项

This commit is contained in:
刘祥超
2023-04-19 18:25:10 +08:00
parent a31f9ed9c5
commit c9fb3153eb
9 changed files with 129 additions and 11 deletions

View File

@@ -0,0 +1,18 @@
// Copyright 2023 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
//go:build !plus
package nodes
import (
"github.com/TeaOSLab/EdgeCommon/pkg/iplibrary"
"github.com/iwind/TeaGo/logs"
)
// 启动IP库
func (this *AdminNode) startIPLibrary() {
logs.Println("NODE", "initializing ip library ...")
err := iplibrary.InitDefault()
if err != nil {
logs.Println("NODE", "initialize ip library failed: "+err.Error())
}
}