|
@@ -4,72 +4,39 @@
|
|
|
"GithubTTL": "00:10:00", // github相关域名解析结果的存活时长
|
|
|
"SetToLocalMachine": true // 是否设置本机使用此dns(仅支持windows)
|
|
|
},
|
|
|
- "Github": {
|
|
|
- "Lookup": { // ip查找
|
|
|
- "Domains": [ // 查找的域名,下面是github最主要的域名
|
|
|
- "github.com",
|
|
|
- "api.github.com",
|
|
|
- "collector.githubapp.com",
|
|
|
- "github.githubassets.com",
|
|
|
- "raw.githubusercontent.com",
|
|
|
- "avatars.githubusercontent.com",
|
|
|
- "favicons.githubusercontent.com"
|
|
|
- ],
|
|
|
- "IPAddressComProvider": {
|
|
|
- "Enable": true // 是从启用从address.com查找ip
|
|
|
- },
|
|
|
- "GithubMetaProvider": {
|
|
|
- "Enable": true, // 是否从github获取ip列表
|
|
|
- "MetaUri": "https://gitee.com/jiulang/fast-github/raw/master/FastGithub/meta.json"
|
|
|
- },
|
|
|
- "PublicDnsProvider": {
|
|
|
- "Enable": true, // 是否需要从dns服务器查找ip
|
|
|
- "Timeout": "00:00:00.100", // dns查询超时时长
|
|
|
- "Dnss": [ // dns服务器列表
|
|
|
- "1.2.4.8",
|
|
|
- "8.8.8.8",
|
|
|
- "223.5.5.5",
|
|
|
- "123.125.81.6",
|
|
|
- "180.76.76.76",
|
|
|
- "119.29.29.29",
|
|
|
- "208.67.220.220",
|
|
|
- "114.114.114.114"
|
|
|
- ]
|
|
|
- }
|
|
|
+ "Lookup": { // ip查找
|
|
|
+ "IPAddressComProvider": {
|
|
|
+ "Enable": true // 是从启用从address.com查找ip
|
|
|
},
|
|
|
- "Scan": {
|
|
|
- "FullScanInterval": "02:00:00", // 完整扫描时间间隔
|
|
|
- "ResultScanInterval": "00:01:00", // 结果扫描时间间隔
|
|
|
- "TcpScan": {
|
|
|
- "Timeout": "00:00:01", // tcp扫描超时时间
|
|
|
- "CacheExpiration": "00:30:00" // 扫描结果缓存时长
|
|
|
- },
|
|
|
- "HttpsScan": {
|
|
|
- "Timeout": "00:00:05", // https扫描超时时间
|
|
|
- "ConnectionClose": false, // 是否使用https短连接
|
|
|
- "Rules": { // 域名扫描规则,缺失的域名,将默认HEAD请求到域名的根路径
|
|
|
- "github.com": {
|
|
|
- "Method": "HEAD",
|
|
|
- "Path": "/xljiulang/FastGithub"
|
|
|
- },
|
|
|
- "github.githubassets.com": {
|
|
|
- "Method": "HEAD",
|
|
|
- "Path": "/favicons/favicon.png"
|
|
|
- },
|
|
|
- "raw.githubusercontent.com": {
|
|
|
- "Method": "HEAD",
|
|
|
- "Path": "/xljiulang/FastGithub/master/README.md"
|
|
|
- },
|
|
|
- "avatars.githubusercontent.com": {
|
|
|
- "Method": "HEAD",
|
|
|
- "Path": "/u/8308014?s=40&v=4"
|
|
|
- },
|
|
|
- "favicons.githubusercontent.com": {
|
|
|
- "Method": "HEAD",
|
|
|
- "Path": "/github.com"
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+ "GithubMetaProvider": {
|
|
|
+ "Enable": true, // 是否从github获取ip列表
|
|
|
+ "MetaUri": "https://gitee.com/jiulang/fast-github/raw/master/FastGithub/meta.json"
|
|
|
+ },
|
|
|
+ "PublicDnsProvider": {
|
|
|
+ "Enable": true, // 是否需要从dns服务器查找ip
|
|
|
+ "Timeout": "00:00:00.100", // dns查询超时时长
|
|
|
+ "Dnss": [ // dns服务器列表
|
|
|
+ "1.2.4.8",
|
|
|
+ "8.8.8.8",
|
|
|
+ "223.5.5.5",
|
|
|
+ "123.125.81.6",
|
|
|
+ "180.76.76.76",
|
|
|
+ "119.29.29.29",
|
|
|
+ "208.67.220.220",
|
|
|
+ "114.114.114.114"
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "Scan": {
|
|
|
+ "FullScanInterval": "02:00:00", // 完整扫描时间间隔
|
|
|
+ "ResultScanInterval": "00:01:00", // 结果扫描时间间隔
|
|
|
+ "TcpScan": {
|
|
|
+ "Timeout": "00:00:01", // tcp扫描超时时间
|
|
|
+ "CacheExpiration": "00:30:00" // 扫描结果缓存时长
|
|
|
+ },
|
|
|
+ "HttpsScan": {
|
|
|
+ "Timeout": "00:00:05", // https扫描超时时间
|
|
|
+ "ConnectionClose": false // 是否使用https短连接
|
|
|
}
|
|
|
},
|
|
|
"Logging": {
|