mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-22 22:40:30 +08:00
WAF规则集中增加“允许搜索引擎”选项,可以快速允许搜索引擎访问
This commit is contained in:
@@ -33,5 +33,8 @@ func TestNewManager(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
t.Log(manager.LookupIP("192.168.3.100"))
|
||||
t.Log(manager.LookupIP("192.168.3.100")) // not found
|
||||
t.Log(manager.LookupIP("66.249.79.25")) // google
|
||||
t.Log(manager.ContainsIP("66.249.79.25")) // true
|
||||
t.Log(manager.ContainsIP("66.249.79.255")) // not found
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user