diff --git a/agent-go/router/ServerRouter.go b/agent-go/router/ServerRouter.go index 1e15450..bfab701 100644 --- a/agent-go/router/ServerRouter.go +++ b/agent-go/router/ServerRouter.go @@ -16,10 +16,14 @@ func (s *ServerRouter) InitServerRouter(Router *gin.RouterGroup) { serverAPIService := service.ServerAPIService { - serverRouter.GET("/info/all", serverAPIService.QueryAPI) - serverRouter.GET("/info/fake", serverAPIService.FakeAPI) + + // 服务器 CRUD接口及方法 + serverRouter.GET("/info/all", serverAPIService.QueryAPI) serverRouter.POST("/create/one", serverAPIService.CreateAPI) + serverRouter.POST("/update/one", serverAPIService.UpdateAPI) + serverRouter.POST("/delete/one", serverAPIService.DeleteAPI) + } } diff --git a/agent-go/service/ServerAPI.go b/agent-go/service/ServerAPI.go index 0b290de..e1dee08 100644 --- a/agent-go/service/ServerAPI.go +++ b/agent-go/service/ServerAPI.go @@ -12,6 +12,8 @@ type ServerAPI struct { var ServerAPIService = new(ServerAPI) +var db = entity.CONGIG.DB + func (s *ServerAPI) QueryAPI(c *gin.Context) { fmt.Println("ServerAPI -> QueryAPI") @@ -28,8 +30,6 @@ func (s *ServerAPI) CreateAPI(c *gin.Context) { fmt.Sprintf("server info is => %s", serverInfo) - db := entity.CONGIG.DB - create := db.Create(&serverInfo) //user.ID // 返回插入数据的主键 //result.Error // 返回 error @@ -45,3 +45,47 @@ func (s *ServerAPI) FakeAPI(c *gin.Context) { http.StatusOK, new(entity.ServerInfo)) } + +// UpdateAPI 根据前端传递的参数id进行更新 +func (s *ServerAPI) UpdateAPI(c *gin.Context) { + + var jsonServerInfo entity.ServerInfo + + err := c.ShouldBindJSON(&jsonServerInfo) + if err != nil { + return + } + id := jsonServerInfo.ID + + // 查询要更新的记录 + var dbProduct entity.ServerInfo + if err := db.First(&dbProduct, id).Error; err != nil { + c.JSON(http.StatusNotFound, gin.H{"error": "Record not found"}) + return + } + + // 绑定模型并更新属性 + db.Model(&dbProduct).Updates(jsonServerInfo) + + // 保存更改并提交事务 + if err := db.Save(&dbProduct).Error; err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": "Failed to update record"}) + return + } + + c.JSON(http.StatusOK, dbProduct) + +} + +// DeleteAPI 跟俊前端传递的id进行删除 +func (s *ServerAPI) DeleteAPI(c *gin.Context) { + + // 获取前端传递的值 + id := c.Param("id") + + // 根据ID删除 是否是软删除 + db.Delete(&entity.ServerInfo{}, id) + + // 软删除 + +} diff --git a/agent-go/test/channelTest.go b/agent-go/test/channelTest.go new file mode 100644 index 0000000..a0ff038 --- /dev/null +++ b/agent-go/test/channelTest.go @@ -0,0 +1,37 @@ +package main + +import "fmt" + +func sum(start, end uint64, result chan uint64) { + var sum uint64 = 0 + for i := start; i <= end; i++ { + sum += i + } + result <- sum +} + +func main() { + const n uint64 = 5000000000 + var numCPU int = 4 + + result := make(chan uint64, numCPU) + + var chunkSize uint64 = n / uint64(numCPU) + + var start uint64 = 1 + var end uint64 = chunkSize + + for i := 0; i < numCPU; i++ { + go sum(start, end, result) + start = end + 1 + end += chunkSize + } + + var total uint64 = 0 + for i := 0; i < numCPU; i++ { + partialSum := <-result + total += partialSum + } + + fmt.Println(total) +} diff --git a/server/src/main/java/io/wdd/func/xray/persisit/RealXrayPathConfig.json b/server/src/main/java/io/wdd/func/xray/persisit/RealXrayPathConfig.json index d13d76e..6c9a92b 100644 --- a/server/src/main/java/io/wdd/func/xray/persisit/RealXrayPathConfig.json +++ b/server/src/main/java/io/wdd/func/xray/persisit/RealXrayPathConfig.json @@ -12,324 +12,6 @@ "loglevel": "warning" }, "inbounds": [ - { - "protocol": "vmess", - "listen": "0.0.0.0", - "port": 19995, - "streamSettings": { - "tcpSettings": { - "header": { - "type": "http", - "response": { - "version": "1.1", - "status": "200", - "reason": "Accept", - "headers": { - "Content-Type": [ - "application/octet-stream", - "video/mpeg" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Connection": [ - "keep-alive" - ], - "Pragma": "no-cache" - } - } - } - } - }, - "tag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02", - "settings": { - "clients": [ - { - "id": "9ef2e3a1-e03d-4776-8a64-b007988e5ec3", - "email": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02@octopus.io", - "level": 0, - "alterId": 0 - } - ], - "disableInsecureEncryption": false - } - } - ], - "outbounds": [ - { - "protocol": "freedom" - }, - { - "protocol": "blackhole", - "tag": "block" - } - ], - "routing": { - "domainStrategy": "IPIfNonMatch", - "rules": [ - { - "type": "field", - "inboundTag": [ - "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02" - ], - "outboundTag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02" - } - ] - } - }, - "objectSummary": { - "bucketName": "seoul", - "key": "3-Tokyo-amd64-02-2023-03-06-17-27-23.json", - "size": 1450, - "lastModified": "2023-03-06", - "contentType": "application/json", - "access": { - "originUrl": "https://cnk8d6fazu16.compat.objectstorage.ap-seoul-1.oraclecloud.com/seoul/3-Tokyo-amd64-02-2023-03-06-17-27-23.json" - }, - "etag": "c93aa5a6d9cfb02425b614cc1b870090" - } - }, - { - "xrayConfigFileName": "8-Phoenix-amd64-02-2023-03-06-17-27-23.json", - "xrayConfigFile": "/octopus-server/xray/8-Phoenix-amd64-02-2023-03-06-17-27-23.json", - "xrayConfig": { - "log": { - "access": "/var/log/xray/access.log", - "error": "/var/log/xray/error.log", - "loglevel": "warning" - }, - "inbounds": [ - { - "protocol": "vmess", - "listen": "0.0.0.0", - "port": 19994, - "streamSettings": { - "tcpSettings": { - "header": { - "type": "http", - "response": { - "version": "1.1", - "status": "200", - "reason": "Accept", - "headers": { - "Content-Type": [ - "application/octet-stream", - "video/mpeg" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Connection": [ - "keep-alive" - ], - "Pragma": "no-cache" - } - } - } - } - }, - "tag": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02", - "settings": { - "clients": [ - { - "id": "aa784fda-8452-4526-b35c-c215177ebb10", - "email": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02@octopus.io", - "level": 0, - "alterId": 0 - } - ], - "disableInsecureEncryption": false - } - } - ], - "outbounds": [ - { - "protocol": "freedom" - }, - { - "protocol": "blackhole", - "tag": "block" - } - ], - "routing": { - "domainStrategy": "IPIfNonMatch", - "rules": [ - { - "type": "field", - "inboundTag": [ - "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02" - ], - "outboundTag": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02" - } - ] - } - }, - "objectSummary": { - "bucketName": "seoul", - "key": "8-Phoenix-amd64-02-2023-03-06-17-27-23.json", - "size": 1458, - "lastModified": "2023-03-06", - "contentType": "application/json", - "access": { - "originUrl": "https://cnk8d6fazu16.compat.objectstorage.ap-seoul-1.oraclecloud.com/seoul/8-Phoenix-amd64-02-2023-03-06-17-27-23.json" - }, - "etag": "e396cccd4b1672a2a98bc5887291dc23" - } - }, - { - "xrayConfigFileName": "99-subscribe-octopus-latest.txt", - "xrayConfigFile": "/octopus-server/xray/99-subscribe-octopus-latest.txt", - "objectSummary": { - "bucketName": "seoul", - "key": "99-subscribe-octopus-latest.txt", - "size": 3435, - "lastModified": "2023-03-06", - "contentType": "text/plain", - "access": { - "originUrl": "https://cnk8d6fazu16.compat.objectstorage.ap-seoul-1.oraclecloud.com/seoul/99-subscribe-octopus-latest.txt" - }, - "etag": "45240fc013657a9e02379ce1153a75fc" - } - }, - { - "xrayConfigFileName": "10-London-amd64-01-2023-03-06-17-27-23.json", - "xrayConfigFile": "/octopus-server/xray/10-London-amd64-01-2023-03-06-17-27-23.json", - "xrayConfig": { - "log": { - "access": "/var/log/xray/access.log", - "error": "/var/log/xray/error.log", - "loglevel": "warning" - }, - "inbounds": [ - { - "protocol": "vmess", - "listen": "0.0.0.0", - "port": 19993, - "streamSettings": { - "tcpSettings": { - "header": { - "type": "http", - "response": { - "version": "1.1", - "status": "200", - "reason": "Accept", - "headers": { - "Content-Type": [ - "application/octet-stream", - "video/mpeg" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Connection": [ - "keep-alive" - ], - "Pragma": "no-cache" - } - } - } - } - }, - "tag": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01", - "settings": { - "clients": [ - { - "id": "8831e45f-deb9-4ea6-bd56-554564205327", - "email": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01@octopus.io", - "level": 0, - "alterId": 0 - } - ], - "disableInsecureEncryption": false - } - } - ], - "outbounds": [ - { - "protocol": "freedom" - }, - { - "protocol": "blackhole", - "tag": "block" - } - ], - "routing": { - "domainStrategy": "IPIfNonMatch", - "rules": [ - { - "type": "field", - "inboundTag": [ - "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01" - ], - "outboundTag": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01" - } - ] - } - }, - "objectSummary": { - "bucketName": "seoul", - "key": "10-London-amd64-01-2023-03-06-17-27-23.json", - "size": 1454, - "lastModified": "2023-03-06", - "contentType": "application/json", - "access": { - "originUrl": "https://cnk8d6fazu16.compat.objectstorage.ap-seoul-1.oraclecloud.com/seoul/10-London-amd64-01-2023-03-06-17-27-23.json" - }, - "etag": "9a3fca16d561b6070e6250a520581984" - } - }, - { - "xrayConfigFileName": "0-Shanghai-amd64-01-2023-03-06-17-27-23.json", - "xrayConfigFile": "/octopus-server/xray/0-Shanghai-amd64-01-2023-03-06-17-27-23.json", - "xrayConfig": { - "log": { - "access": "/var/log/xray/access.log", - "error": "/var/log/xray/error.log", - "loglevel": "warning" - }, - "inbounds": [ - { - "protocol": "vmess", - "listen": "0.0.0.0", - "port": 19997, - "streamSettings": { - "tcpSettings": { - "header": { - "type": "http", - "response": { - "version": "1.1", - "status": "200", - "reason": "Accept", - "headers": { - "Content-Type": [ - "application/octet-stream", - "video/mpeg" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Connection": [ - "keep-alive" - ], - "Pragma": "no-cache" - } - } - } - } - }, - "tag": "Shanghai-amd64-01->Seoul-amd64-04", - "settings": { - "clients": [ - { - "id": "13593ba4-5061-49eb-9b7f-608057cf1943", - "email": "Shanghai-amd64-01->Seoul-amd64-04@octopus.io", - "level": 0, - "alterId": 0 - } - ], - "disableInsecureEncryption": false - } - }, { "protocol": "vmess", "listen": "0.0.0.0", @@ -359,19 +41,64 @@ } } }, - "tag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-03", + "tag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02", "settings": { "clients": [ { - "id": "54eaa62f-9290-4850-b77f-cf05493d25d0", - "email": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-03@octopus.io", + "id": "89cce8ba-0b2c-4cde-8a67-07a6508b55bc", + "email": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02@octopus.io", "level": 0, "alterId": 0 } ], "disableInsecureEncryption": false } + } + ], + "outbounds": [ + { + "protocol": "freedom" }, + { + "protocol": "blackhole", + "tag": "block" + } + ], + "routing": { + "domainStrategy": "IPIfNonMatch", + "rules": [ + { + "type": "field", + "inboundTag": [ + "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02" + ], + "outboundTag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02" + } + ] + } + }, + "objectSummary": { + "bucketName": "seoul-2", + "key": "3-Tokyo-amd64-02-2023-03-06-17-27-23.json", + "size": 1450, + "lastModified": "2023-03-09", + "contentType": "application/json", + "access": { + "originUrl": "https://cncvl8ro2rbf.compat.objectstorage.ap-seoul-1.oraclecloud.com/seoul-2/3-Tokyo-amd64-02-2023-03-06-17-27-23.json" + }, + "etag": "8fd31216011902589b96ef4d9cf65299" + } + }, + { + "xrayConfigFileName": "8-Phoenix-amd64-02-2023-03-06-17-27-23.json", + "xrayConfigFile": "/octopus-server/xray/8-Phoenix-amd64-02-2023-03-06-17-27-23.json", + "xrayConfig": { + "log": { + "access": "/var/log/xray/access.log", + "error": "/var/log/xray/error.log", + "loglevel": "warning" + }, + "inbounds": [ { "protocol": "vmess", "listen": "0.0.0.0", @@ -401,53 +128,11 @@ } } }, - "tag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02", - "settings": { - "clients": [ - { - "id": "9ef2e3a1-e03d-4776-8a64-b007988e5ec3", - "email": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02@octopus.io", - "level": 0, - "alterId": 0 - } - ], - "disableInsecureEncryption": false - } - }, - { - "protocol": "vmess", - "listen": "0.0.0.0", - "port": 19994, - "streamSettings": { - "tcpSettings": { - "header": { - "type": "http", - "response": { - "version": "1.1", - "status": "200", - "reason": "Accept", - "headers": { - "Content-Type": [ - "application/octet-stream", - "video/mpeg" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Connection": [ - "keep-alive" - ], - "Pragma": "no-cache" - } - } - } - } - }, "tag": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02", "settings": { "clients": [ { - "id": "aa784fda-8452-4526-b35c-c215177ebb10", + "id": "534528a0-dd12-4fc5-b367-f081d6e717cc", "email": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02@octopus.io", "level": 0, "alterId": 0 @@ -455,393 +140,40 @@ ], "disableInsecureEncryption": false } - }, - { - "protocol": "vmess", - "listen": "0.0.0.0", - "port": 19993, - "streamSettings": { - "tcpSettings": { - "header": { - "type": "http", - "response": { - "version": "1.1", - "status": "200", - "reason": "Accept", - "headers": { - "Content-Type": [ - "application/octet-stream", - "video/mpeg" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Connection": [ - "keep-alive" - ], - "Pragma": "no-cache" - } - } - } - } - }, - "tag": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01", - "settings": { - "clients": [ - { - "id": "8831e45f-deb9-4ea6-bd56-554564205327", - "email": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01@octopus.io", - "level": 0, - "alterId": 0 - } - ], - "disableInsecureEncryption": false - } } ], "outbounds": [ { - "protocol": "vmess", - "settings": { - "vnext": [ - { - "address": "140.238.14.103", - "port": 19997, - "users": [ - { - "id": "13593ba4-5061-49eb-9b7f-608057cf1943", - "email": "Shanghai-amd64-01->Seoul-amd64-04@octopus.io", - "level": 0, - "alterId": 0 - } - ] - } - ] - }, - "tag": "Shanghai-amd64-01->Seoul-amd64-04", - "streamSettings": { - "tcpSettings": { - "header": { - "type": "http", - "request": { - "version": "1.1", - "method": "GET", - "path": [ - "/" - ], - "headers": { - "Host": [ - "www.baidu.com", - "www.google.com", - "www.bing.com", - "www.github.com" - ], - "User-Agent": [ - "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36", - "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46" - ], - "Accept-Encoding": [ - "gzip", - "deflate" - ], - "Connection": [ - "keep-alive" - ], - "Pragma": "no-cache" - } - } - } - } - }, - "mux": { - "enabled": false, - "concurrency": -1 - } + "protocol": "freedom" }, { - "protocol": "vmess", - "settings": { - "vnext": [ - { - "address": "140.238.14.103", - "port": 19996, - "users": [ - { - "id": "54eaa62f-9290-4850-b77f-cf05493d25d0", - "email": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-03@octopus.io", - "level": 0, - "alterId": 0 - } - ] - } - ] - }, - "tag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-03", - "streamSettings": { - "tcpSettings": { - "header": { - "type": "http", - "request": { - "version": "1.1", - "method": "GET", - "path": [ - "/" - ], - "headers": { - "Host": [ - "www.baidu.com", - "www.google.com", - "www.bing.com", - "www.github.com" - ], - "User-Agent": [ - "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36", - "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46" - ], - "Accept-Encoding": [ - "gzip", - "deflate" - ], - "Connection": [ - "keep-alive" - ], - "Pragma": "no-cache" - } - } - } - } - }, - "mux": { - "enabled": false, - "concurrency": -1 - } - }, - { - "protocol": "vmess", - "settings": { - "vnext": [ - { - "address": "140.238.14.103", - "port": 19995, - "users": [ - { - "id": "9ef2e3a1-e03d-4776-8a64-b007988e5ec3", - "email": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02@octopus.io", - "level": 0, - "alterId": 0 - } - ] - } - ] - }, - "tag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02", - "streamSettings": { - "tcpSettings": { - "header": { - "type": "http", - "request": { - "version": "1.1", - "method": "GET", - "path": [ - "/" - ], - "headers": { - "Host": [ - "www.baidu.com", - "www.google.com", - "www.bing.com", - "www.github.com" - ], - "User-Agent": [ - "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36", - "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46" - ], - "Accept-Encoding": [ - "gzip", - "deflate" - ], - "Connection": [ - "keep-alive" - ], - "Pragma": "no-cache" - } - } - } - } - }, - "mux": { - "enabled": false, - "concurrency": -1 - } - }, - { - "protocol": "vmess", - "settings": { - "vnext": [ - { - "address": "140.238.14.103", - "port": 19994, - "users": [ - { - "id": "aa784fda-8452-4526-b35c-c215177ebb10", - "email": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02@octopus.io", - "level": 0, - "alterId": 0 - } - ] - } - ] - }, - "tag": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02", - "streamSettings": { - "tcpSettings": { - "header": { - "type": "http", - "request": { - "version": "1.1", - "method": "GET", - "path": [ - "/" - ], - "headers": { - "Host": [ - "www.baidu.com", - "www.google.com", - "www.bing.com", - "www.github.com" - ], - "User-Agent": [ - "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36", - "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46" - ], - "Accept-Encoding": [ - "gzip", - "deflate" - ], - "Connection": [ - "keep-alive" - ], - "Pragma": "no-cache" - } - } - } - } - }, - "mux": { - "enabled": false, - "concurrency": -1 - } - }, - { - "protocol": "vmess", - "settings": { - "vnext": [ - { - "address": "140.238.14.103", - "port": 19993, - "users": [ - { - "id": "8831e45f-deb9-4ea6-bd56-554564205327", - "email": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01@octopus.io", - "level": 0, - "alterId": 0 - } - ] - } - ] - }, - "tag": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01", - "streamSettings": { - "tcpSettings": { - "header": { - "type": "http", - "request": { - "version": "1.1", - "method": "GET", - "path": [ - "/" - ], - "headers": { - "Host": [ - "www.baidu.com", - "www.google.com", - "www.bing.com", - "www.github.com" - ], - "User-Agent": [ - "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36", - "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46" - ], - "Accept-Encoding": [ - "gzip", - "deflate" - ], - "Connection": [ - "keep-alive" - ], - "Pragma": "no-cache" - } - } - } - } - }, - "mux": { - "enabled": false, - "concurrency": -1 - } + "protocol": "blackhole", + "tag": "block" } ], "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ - { - "type": "field", - "inboundTag": [ - "Shanghai-amd64-01->Seoul-amd64-04" - ], - "outboundTag": "Shanghai-amd64-01->Seoul-amd64-04" - }, - { - "type": "field", - "inboundTag": [ - "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-03" - ], - "outboundTag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-03" - }, - { - "type": "field", - "inboundTag": [ - "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02" - ], - "outboundTag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02" - }, { "type": "field", "inboundTag": [ "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02" ], "outboundTag": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02" - }, - { - "type": "field", - "inboundTag": [ - "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01" - ], - "outboundTag": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01" } ] } }, "objectSummary": { - "bucketName": "seoul", - "key": "0-Shanghai-amd64-01-2023-03-06-17-27-23.json", - "size": 12373, - "lastModified": "2023-03-06", + "bucketName": "seoul-2", + "key": "8-Phoenix-amd64-02-2023-03-06-17-27-23.json", + "size": 1458, + "lastModified": "2023-03-09", "contentType": "application/json", "access": { - "originUrl": "https://cnk8d6fazu16.compat.objectstorage.ap-seoul-1.oraclecloud.com/seoul/0-Shanghai-amd64-01-2023-03-06-17-27-23.json" + "originUrl": "https://cncvl8ro2rbf.compat.objectstorage.ap-seoul-1.oraclecloud.com/seoul-2/8-Phoenix-amd64-02-2023-03-06-17-27-23.json" }, - "etag": "2d48f2c7eb53245e8578d07006e952ba" + "etag": "a218b9e61bf08ab828c0f8fa8624d6bd" } }, { @@ -887,7 +219,7 @@ "settings": { "clients": [ { - "id": "f6fd4adf-32d9-4bc8-97e3-2ec6083a1fb0", + "id": "6b34980f-02b9-4037-861f-33a56c0d1175", "email": "Tokyo-amd64-03@octopus.io", "level": 0, "alterId": 0 @@ -895,48 +227,6 @@ ], "disableInsecureEncryption": false } - }, - { - "protocol": "vmess", - "listen": "0.0.0.0", - "port": 19996, - "streamSettings": { - "tcpSettings": { - "header": { - "type": "http", - "response": { - "version": "1.1", - "status": "200", - "reason": "Accept", - "headers": { - "Content-Type": [ - "application/octet-stream", - "video/mpeg" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Connection": [ - "keep-alive" - ], - "Pragma": "no-cache" - } - } - } - } - }, - "tag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-03", - "settings": { - "clients": [ - { - "id": "54eaa62f-9290-4850-b77f-cf05493d25d0", - "email": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-03@octopus.io", - "level": 0, - "alterId": 0 - } - ], - "disableInsecureEncryption": false - } } ], "outbounds": [ @@ -957,27 +247,122 @@ "Tokyo-amd64-03" ], "outboundTag": "Tokyo-amd64-03" - }, - { - "type": "field", - "inboundTag": [ - "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-03" - ], - "outboundTag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-03" } ] } }, "objectSummary": { - "bucketName": "seoul", + "bucketName": "seoul-2", "key": "2-Tokyo-amd64-03-2023-03-06-17-27-23.json", - "size": 2423, - "lastModified": "2023-03-06", + "size": 1310, + "lastModified": "2023-03-09", "contentType": "application/json", "access": { - "originUrl": "https://cnk8d6fazu16.compat.objectstorage.ap-seoul-1.oraclecloud.com/seoul/2-Tokyo-amd64-03-2023-03-06-17-27-23.json" + "originUrl": "https://cncvl8ro2rbf.compat.objectstorage.ap-seoul-1.oraclecloud.com/seoul-2/2-Tokyo-amd64-03-2023-03-06-17-27-23.json" }, - "etag": "b4e0c28a11132db8dccc4f4a48dceba1" + "etag": "0185a01df6de715bab2b4b9713468c0d" + } + }, + { + "xrayConfigFileName": "99-subscribe-octopus-latest.txt", + "xrayConfigFile": "/octopus-server/xray/99-subscribe-octopus-latest.txt", + "objectSummary": { + "bucketName": "seoul", + "key": "99-subscribe-octopus-latest.txt", + "size": 2930, + "lastModified": "2023-03-09", + "contentType": "text/plain", + "access": { + "originUrl": "https://cnk8d6fazu16.compat.objectstorage.ap-seoul-1.oraclecloud.com/seoul/99-subscribe-octopus-latest.txt" + }, + "etag": "1d37a29b2ca9005afda09a51994936bc" + } + }, + { + "xrayConfigFileName": "10-London-amd64-01-2023-03-06-17-27-23.json", + "xrayConfigFile": "/octopus-server/xray/10-London-amd64-01-2023-03-06-17-27-23.json", + "xrayConfig": { + "log": { + "access": "/var/log/xray/access.log", + "error": "/var/log/xray/error.log", + "loglevel": "warning" + }, + "inbounds": [ + { + "protocol": "vmess", + "listen": "0.0.0.0", + "port": 19994, + "streamSettings": { + "tcpSettings": { + "header": { + "type": "http", + "response": { + "version": "1.1", + "status": "200", + "reason": "Accept", + "headers": { + "Content-Type": [ + "application/octet-stream", + "video/mpeg" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Connection": [ + "keep-alive" + ], + "Pragma": "no-cache" + } + } + } + } + }, + "tag": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01", + "settings": { + "clients": [ + { + "id": "d5b67da8-ea65-4ba1-a586-0189c968ba85", + "email": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01@octopus.io", + "level": 0, + "alterId": 0 + } + ], + "disableInsecureEncryption": false + } + } + ], + "outbounds": [ + { + "protocol": "freedom" + }, + { + "protocol": "blackhole", + "tag": "block" + } + ], + "routing": { + "domainStrategy": "IPIfNonMatch", + "rules": [ + { + "type": "field", + "inboundTag": [ + "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01" + ], + "outboundTag": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01" + } + ] + } + }, + "objectSummary": { + "bucketName": "seoul-2", + "key": "10-London-amd64-01-2023-03-06-17-27-23.json", + "size": 1454, + "lastModified": "2023-03-09", + "contentType": "application/json", + "access": { + "originUrl": "https://cncvl8ro2rbf.compat.objectstorage.ap-seoul-1.oraclecloud.com/seoul-2/10-London-amd64-01-2023-03-06-17-27-23.json" + }, + "etag": "20ccbf0f0f3f93fe678ef02e5c77d030" } }, { @@ -1023,7 +408,7 @@ "settings": { "clients": [ { - "id": "8f759be6-e83f-47d6-b68f-38503914add9", + "id": "6aa7cdeb-ba46-4264-8e02-5131bca27729", "email": "Seoul-amd64-04@octopus.io", "level": 0, "alterId": 0 @@ -1065,7 +450,7 @@ "settings": { "clients": [ { - "id": "13593ba4-5061-49eb-9b7f-608057cf1943", + "id": "3835293a-35a7-4c96-8595-d52e5a2754a9", "email": "Shanghai-amd64-01->Seoul-amd64-04@octopus.io", "level": 0, "alterId": 0 @@ -1103,12 +488,12 @@ } } }, - "tag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-03", + "tag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02", "settings": { "clients": [ { - "id": "54eaa62f-9290-4850-b77f-cf05493d25d0", - "email": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-03@octopus.io", + "id": "89cce8ba-0b2c-4cde-8a67-07a6508b55bc", + "email": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02@octopus.io", "level": 0, "alterId": 0 } @@ -1145,12 +530,12 @@ } } }, - "tag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02", + "tag": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02", "settings": { "clients": [ { - "id": "9ef2e3a1-e03d-4776-8a64-b007988e5ec3", - "email": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02@octopus.io", + "id": "534528a0-dd12-4fc5-b367-f081d6e717cc", + "email": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02@octopus.io", "level": 0, "alterId": 0 } @@ -1187,53 +572,11 @@ } } }, - "tag": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02", - "settings": { - "clients": [ - { - "id": "aa784fda-8452-4526-b35c-c215177ebb10", - "email": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02@octopus.io", - "level": 0, - "alterId": 0 - } - ], - "disableInsecureEncryption": false - } - }, - { - "protocol": "vmess", - "listen": "0.0.0.0", - "port": 19993, - "streamSettings": { - "tcpSettings": { - "header": { - "type": "http", - "response": { - "version": "1.1", - "status": "200", - "reason": "Accept", - "headers": { - "Content-Type": [ - "application/octet-stream", - "video/mpeg" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Connection": [ - "keep-alive" - ], - "Pragma": "no-cache" - } - } - } - } - }, "tag": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01", "settings": { "clients": [ { - "id": "8831e45f-deb9-4ea6-bd56-554564205327", + "id": "d5b67da8-ea65-4ba1-a586-0189c968ba85", "email": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01@octopus.io", "level": 0, "alterId": 0 @@ -1256,69 +599,11 @@ "settings": { "vnext": [ { - "address": "18.181.77.246", + "address": "140.238.52.228", "port": 19996, "users": [ { - "id": "54eaa62f-9290-4850-b77f-cf05493d25d0", - "email": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-03@octopus.io", - "level": 0, - "alterId": 0 - } - ] - } - ] - }, - "tag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-03", - "streamSettings": { - "tcpSettings": { - "header": { - "type": "http", - "request": { - "version": "1.1", - "method": "GET", - "path": [ - "/" - ], - "headers": { - "Host": [ - "www.baidu.com", - "www.google.com", - "www.bing.com", - "www.github.com" - ], - "User-Agent": [ - "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36", - "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46" - ], - "Accept-Encoding": [ - "gzip", - "deflate" - ], - "Connection": [ - "keep-alive" - ], - "Pragma": "no-cache" - } - } - } - } - }, - "mux": { - "enabled": false, - "concurrency": -1 - } - }, - { - "protocol": "vmess", - "settings": { - "vnext": [ - { - "address": "140.238.52.228", - "port": 19995, - "users": [ - { - "id": "9ef2e3a1-e03d-4776-8a64-b007988e5ec3", + "id": "89cce8ba-0b2c-4cde-8a67-07a6508b55bc", "email": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02@octopus.io", "level": 0, "alterId": 0 @@ -1373,10 +658,10 @@ "vnext": [ { "address": "129.146.171.163", - "port": 19994, + "port": 19995, "users": [ { - "id": "aa784fda-8452-4526-b35c-c215177ebb10", + "id": "534528a0-dd12-4fc5-b367-f081d6e717cc", "email": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02@octopus.io", "level": 0, "alterId": 0 @@ -1431,10 +716,10 @@ "vnext": [ { "address": "141.147.99.91", - "port": 19993, + "port": 19994, "users": [ { - "id": "8831e45f-deb9-4ea6-bd56-554564205327", + "id": "d5b67da8-ea65-4ba1-a586-0189c968ba85", "email": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01@octopus.io", "level": 0, "alterId": 0 @@ -1504,9 +789,461 @@ { "type": "field", "inboundTag": [ - "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-03" + "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02" ], - "outboundTag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-03" + "outboundTag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02" + }, + { + "type": "field", + "inboundTag": [ + "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02" + ], + "outboundTag": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02" + }, + { + "type": "field", + "inboundTag": [ + "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01" + ], + "outboundTag": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01" + } + ] + } + }, + "objectSummary": { + "bucketName": "seoul-2", + "key": "1-Seoul-amd64-04-2023-03-06-17-27-23.json", + "size": 9700, + "lastModified": "2023-03-09", + "contentType": "application/json", + "access": { + "originUrl": "https://cncvl8ro2rbf.compat.objectstorage.ap-seoul-1.oraclecloud.com/seoul-2/1-Seoul-amd64-04-2023-03-06-17-27-23.json" + }, + "etag": "2a71d601d297c85c4bbc1074d7b9f94f" + } + }, + { + "xrayConfigFileName": "0-Shanghai-amd64-01-2023-03-06-17-27-23.json", + "xrayConfigFile": "/octopus-server/xray/0-Shanghai-amd64-01-2023-03-06-17-27-23.json", + "xrayConfig": { + "log": { + "access": "/var/log/xray/access.log", + "error": "/var/log/xray/error.log", + "loglevel": "warning" + }, + "inbounds": [ + { + "protocol": "vmess", + "listen": "0.0.0.0", + "port": 19997, + "streamSettings": { + "tcpSettings": { + "header": { + "type": "http", + "response": { + "version": "1.1", + "status": "200", + "reason": "Accept", + "headers": { + "Content-Type": [ + "application/octet-stream", + "video/mpeg" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Connection": [ + "keep-alive" + ], + "Pragma": "no-cache" + } + } + } + } + }, + "tag": "Shanghai-amd64-01->Seoul-amd64-04", + "settings": { + "clients": [ + { + "id": "3835293a-35a7-4c96-8595-d52e5a2754a9", + "email": "Shanghai-amd64-01->Seoul-amd64-04@octopus.io", + "level": 0, + "alterId": 0 + } + ], + "disableInsecureEncryption": false + } + }, + { + "protocol": "vmess", + "listen": "0.0.0.0", + "port": 19996, + "streamSettings": { + "tcpSettings": { + "header": { + "type": "http", + "response": { + "version": "1.1", + "status": "200", + "reason": "Accept", + "headers": { + "Content-Type": [ + "application/octet-stream", + "video/mpeg" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Connection": [ + "keep-alive" + ], + "Pragma": "no-cache" + } + } + } + } + }, + "tag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02", + "settings": { + "clients": [ + { + "id": "89cce8ba-0b2c-4cde-8a67-07a6508b55bc", + "email": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02@octopus.io", + "level": 0, + "alterId": 0 + } + ], + "disableInsecureEncryption": false + } + }, + { + "protocol": "vmess", + "listen": "0.0.0.0", + "port": 19995, + "streamSettings": { + "tcpSettings": { + "header": { + "type": "http", + "response": { + "version": "1.1", + "status": "200", + "reason": "Accept", + "headers": { + "Content-Type": [ + "application/octet-stream", + "video/mpeg" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Connection": [ + "keep-alive" + ], + "Pragma": "no-cache" + } + } + } + } + }, + "tag": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02", + "settings": { + "clients": [ + { + "id": "534528a0-dd12-4fc5-b367-f081d6e717cc", + "email": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02@octopus.io", + "level": 0, + "alterId": 0 + } + ], + "disableInsecureEncryption": false + } + }, + { + "protocol": "vmess", + "listen": "0.0.0.0", + "port": 19994, + "streamSettings": { + "tcpSettings": { + "header": { + "type": "http", + "response": { + "version": "1.1", + "status": "200", + "reason": "Accept", + "headers": { + "Content-Type": [ + "application/octet-stream", + "video/mpeg" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Connection": [ + "keep-alive" + ], + "Pragma": "no-cache" + } + } + } + } + }, + "tag": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01", + "settings": { + "clients": [ + { + "id": "d5b67da8-ea65-4ba1-a586-0189c968ba85", + "email": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01@octopus.io", + "level": 0, + "alterId": 0 + } + ], + "disableInsecureEncryption": false + } + } + ], + "outbounds": [ + { + "protocol": "vmess", + "settings": { + "vnext": [ + { + "address": "140.238.14.103", + "port": 19997, + "users": [ + { + "id": "3835293a-35a7-4c96-8595-d52e5a2754a9", + "email": "Shanghai-amd64-01->Seoul-amd64-04@octopus.io", + "level": 0, + "alterId": 0 + } + ] + } + ] + }, + "tag": "Shanghai-amd64-01->Seoul-amd64-04", + "streamSettings": { + "tcpSettings": { + "header": { + "type": "http", + "request": { + "version": "1.1", + "method": "GET", + "path": [ + "/" + ], + "headers": { + "Host": [ + "www.baidu.com", + "www.google.com", + "www.bing.com", + "www.github.com" + ], + "User-Agent": [ + "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36", + "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46" + ], + "Accept-Encoding": [ + "gzip", + "deflate" + ], + "Connection": [ + "keep-alive" + ], + "Pragma": "no-cache" + } + } + } + } + }, + "mux": { + "enabled": false, + "concurrency": -1 + } + }, + { + "protocol": "vmess", + "settings": { + "vnext": [ + { + "address": "140.238.14.103", + "port": 19996, + "users": [ + { + "id": "89cce8ba-0b2c-4cde-8a67-07a6508b55bc", + "email": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02@octopus.io", + "level": 0, + "alterId": 0 + } + ] + } + ] + }, + "tag": "Shanghai-amd64-01->Seoul-amd64-04->Tokyo-amd64-02", + "streamSettings": { + "tcpSettings": { + "header": { + "type": "http", + "request": { + "version": "1.1", + "method": "GET", + "path": [ + "/" + ], + "headers": { + "Host": [ + "www.baidu.com", + "www.google.com", + "www.bing.com", + "www.github.com" + ], + "User-Agent": [ + "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36", + "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46" + ], + "Accept-Encoding": [ + "gzip", + "deflate" + ], + "Connection": [ + "keep-alive" + ], + "Pragma": "no-cache" + } + } + } + } + }, + "mux": { + "enabled": false, + "concurrency": -1 + } + }, + { + "protocol": "vmess", + "settings": { + "vnext": [ + { + "address": "140.238.14.103", + "port": 19995, + "users": [ + { + "id": "534528a0-dd12-4fc5-b367-f081d6e717cc", + "email": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02@octopus.io", + "level": 0, + "alterId": 0 + } + ] + } + ] + }, + "tag": "Shanghai-amd64-01->Seoul-amd64-04->Phoenix-amd64-02", + "streamSettings": { + "tcpSettings": { + "header": { + "type": "http", + "request": { + "version": "1.1", + "method": "GET", + "path": [ + "/" + ], + "headers": { + "Host": [ + "www.baidu.com", + "www.google.com", + "www.bing.com", + "www.github.com" + ], + "User-Agent": [ + "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36", + "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46" + ], + "Accept-Encoding": [ + "gzip", + "deflate" + ], + "Connection": [ + "keep-alive" + ], + "Pragma": "no-cache" + } + } + } + } + }, + "mux": { + "enabled": false, + "concurrency": -1 + } + }, + { + "protocol": "vmess", + "settings": { + "vnext": [ + { + "address": "140.238.14.103", + "port": 19994, + "users": [ + { + "id": "d5b67da8-ea65-4ba1-a586-0189c968ba85", + "email": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01@octopus.io", + "level": 0, + "alterId": 0 + } + ] + } + ] + }, + "tag": "Shanghai-amd64-01->Seoul-amd64-04->London-amd64-01", + "streamSettings": { + "tcpSettings": { + "header": { + "type": "http", + "request": { + "version": "1.1", + "method": "GET", + "path": [ + "/" + ], + "headers": { + "Host": [ + "www.baidu.com", + "www.google.com", + "www.bing.com", + "www.github.com" + ], + "User-Agent": [ + "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36", + "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46" + ], + "Accept-Encoding": [ + "gzip", + "deflate" + ], + "Connection": [ + "keep-alive" + ], + "Pragma": "no-cache" + } + } + } + } + }, + "mux": { + "enabled": false, + "concurrency": -1 + } + } + ], + "routing": { + "domainStrategy": "IPIfNonMatch", + "rules": [ + { + "type": "field", + "inboundTag": [ + "Shanghai-amd64-01->Seoul-amd64-04" + ], + "outboundTag": "Shanghai-amd64-01->Seoul-amd64-04" }, { "type": "field", @@ -1533,15 +1270,15 @@ } }, "objectSummary": { - "bucketName": "seoul", - "key": "1-Seoul-amd64-04-2023-03-06-17-27-23.json", - "size": 12140, - "lastModified": "2023-03-06", + "bucketName": "seoul-2", + "key": "0-Shanghai-amd64-01-2023-03-06-17-27-23.json", + "size": 9932, + "lastModified": "2023-03-09", "contentType": "application/json", "access": { - "originUrl": "https://cnk8d6fazu16.compat.objectstorage.ap-seoul-1.oraclecloud.com/seoul/1-Seoul-amd64-04-2023-03-06-17-27-23.json" + "originUrl": "https://cncvl8ro2rbf.compat.objectstorage.ap-seoul-1.oraclecloud.com/seoul-2/0-Shanghai-amd64-01-2023-03-06-17-27-23.json" }, - "etag": "936e9658a97d7994200608a6cb8719bf" + "etag": "58c9db15c69705e6d06e864157ad5e45" } } ] diff --git a/server/src/main/java/io/wdd/func/xray/persisit/RealXrayPathConfig.txt b/server/src/main/java/io/wdd/func/xray/persisit/RealXrayPathConfig.txt index 6b66c5f..9ec3768 100644 --- a/server/src/main/java/io/wdd/func/xray/persisit/RealXrayPathConfig.txt +++ b/server/src/main/java/io/wdd/func/xray/persisit/RealXrayPathConfig.txt @@ -3,7 +3,6 @@ Seoul-amd64-04-f301ac, Tokyo-amd64-03-99907c, Shanghai-amd64-01-259df5->Seoul-amd64-04-f301ac, -Shanghai-amd64-01-259df5->Seoul-amd64-04-f301ac->Tokyo-amd64-03-99907c, Shanghai-amd64-01-259df5->Seoul-amd64-04-f301ac->Tokyo-amd64-02-439bec, Shanghai-amd64-01-259df5->Seoul-amd64-04-f301ac->Phoenix-amd64-02-2a45bb, Shanghai-amd64-01-259df5->Seoul-amd64-04-f301ac->London-amd64-01-0b219f