From ade3470ed07475a6c1707f7fa3b2b5b44ccefbfd Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Sun, 13 Mar 2022 22:35:01 +0800 Subject: [PATCH 1/6] v1.7.3 --- lerna.json | 2 +- packages/core/package-lock.json | 2 +- packages/core/package.json | 4 ++-- packages/gui/package.json | 6 +++--- packages/mitmproxy/package.json | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lerna.json b/lerna.json index 56f2c6f..a1d42d8 100644 --- a/lerna.json +++ b/lerna.json @@ -14,5 +14,5 @@ "ignore": [] } }, - "version": "1.7.2" + "version": "1.7.3" } diff --git a/packages/core/package-lock.json b/packages/core/package-lock.json index 4a1209a..a46cee2 100644 --- a/packages/core/package-lock.json +++ b/packages/core/package-lock.json @@ -1,6 +1,6 @@ { "name": "@docmirror/dev-sidecar", - "version": "1.7.2", + "version": "1.7.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/core/package.json b/packages/core/package.json index 55a8ae4..dcd53e5 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@docmirror/dev-sidecar", - "version": "1.7.2", + "version": "1.7.3", "description": "给开发者的加速代理工具", "main": "src/index.js", "keywords": [ @@ -17,7 +17,7 @@ "test": "mocha" }, "dependencies": { - "@docmirror/mitmproxy": "^1.7.2", + "@docmirror/mitmproxy": "^1.7.3", "agentkeepalive": "^2.1.1", "babel-preset-es2020": "^1.0.2", "charset": "^1.0.0", diff --git a/packages/gui/package.json b/packages/gui/package.json index 46e8cf6..f94eeb7 100644 --- a/packages/gui/package.json +++ b/packages/gui/package.json @@ -1,6 +1,6 @@ { "name": "@docmirror/dev-sidecar-gui", - "version": "1.7.2", + "version": "1.7.3", "private": false, "license": "MPL-2.0", "main": "background.js", @@ -21,8 +21,8 @@ "name": "Greper" }, "dependencies": { - "@docmirror/dev-sidecar": "^1.7.2", - "@docmirror/mitmproxy": "^1.7.2", + "@docmirror/dev-sidecar": "^1.7.3", + "@docmirror/mitmproxy": "^1.7.3", "adm-zip": "^0.5.5", "ant-design-vue": "^1.6.5", "compressing": "^1.5.1", diff --git a/packages/mitmproxy/package.json b/packages/mitmproxy/package.json index b9980b8..71c0a35 100644 --- a/packages/mitmproxy/package.json +++ b/packages/mitmproxy/package.json @@ -1,6 +1,6 @@ { "name": "@docmirror/mitmproxy", - "version": "1.7.2", + "version": "1.7.3", "description": "", "main": "src/index.js", "keywords": [ From 47c8b4c4539f0c27ea34f863cb0c9fa7aa8154a4 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Mon, 14 Mar 2022 00:34:26 +0800 Subject: [PATCH 2/6] refactor: scrape failed --- packages/core/src/config/remote_config.json5 | 5 +++++ .../proxy/mitmproxy/createRequestHandler.js | 21 ++++++++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/packages/core/src/config/remote_config.json5 b/packages/core/src/config/remote_config.json5 index c3e96d0..1d44755 100644 --- a/packages/core/src/config/remote_config.json5 +++ b/packages/core/src/config/remote_config.json5 @@ -6,6 +6,11 @@ proxy: 'github.githubassets.com', sni: 'baidu.com', } + }, + "www.gstatic.com": { + "/recaptcha/.*": { + "proxy": "www.recaptcha.net" + } } }, dns: { diff --git a/packages/mitmproxy/src/lib/proxy/mitmproxy/createRequestHandler.js b/packages/mitmproxy/src/lib/proxy/mitmproxy/createRequestHandler.js index 7e57b2d..f80f249 100644 --- a/packages/mitmproxy/src/lib/proxy/mitmproxy/createRequestHandler.js +++ b/packages/mitmproxy/src/lib/proxy/mitmproxy/createRequestHandler.js @@ -36,8 +36,12 @@ module.exports = function createRequestHandler (createIntercepts, middlewares, e if (interceptors == null) { interceptors = [] } - const reqIncpts = interceptors.filter(item => { return item.requestIntercept != null }) - const resIncpts = interceptors.filter(item => { return item.responseIntercept != null }) + const reqIncpts = interceptors.filter(item => { + return item.requestIntercept != null + }) + const resIncpts = interceptors.filter(item => { + return item.responseIntercept != null + }) const requestInterceptorPromise = () => { return new Promise((resolve, reject) => { @@ -131,12 +135,20 @@ module.exports = function createRequestHandler (createIntercepts, middlewares, e } } + // rOptions.sigalgs = 'RSA-PSS+SHA256:RSA-PSS+SHA512:ECDSA+SHA256' + // rOptions.agent.options.sigalgs = rOptions.sigalgs + // rOptions.ciphers = 'TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA256:ECDHE-RSA-AES256-SHA256:HIGH' + // rOptions.agent.options.ciphers = rOptions.ciphers + // console.log('rOptions:', rOptions) + // console.log('agent:', rOptions.agent) + // console.log('agent.options:', rOptions.agent.options) proxyReq = (rOptions.protocol === 'https:' ? https : http).request(rOptions, (proxyRes) => { const end = new Date().getTime() const cost = end - start if (rOptions.protocol === 'https:') { log.info('代理请求返回:', url, cost + 'ms') } + // console.log('request:', proxyReq, proxyReq.socket) if (cost > MAX_SLOW_TIME) { countSlow(isDnsIntercept, 'to slow ' + cost + 'ms') } @@ -243,7 +255,10 @@ module.exports = function createRequestHandler (createIntercepts, middlewares, e body += append.body } } - InsertScriptMiddleware.responseInterceptor(req, res, proxyReq, proxyRes, ssl, next, { head, body }) + InsertScriptMiddleware.responseInterceptor(req, res, proxyReq, proxyRes, ssl, next, { + head, + body + }) } else { next() } From 18d3a938229104e9d8aba0f8758706932f79464b Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Mon, 14 Mar 2022 19:35:12 +0800 Subject: [PATCH 3/6] refactor: phantomjs --- packages/core/src/modules/plugin/node/config.js | 2 +- packages/gui/package.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/core/src/modules/plugin/node/config.js b/packages/core/src/modules/plugin/node/config.js index 13c182f..ef478af 100644 --- a/packages/core/src/modules/plugin/node/config.js +++ b/packages/core/src/modules/plugin/node/config.js @@ -17,7 +17,7 @@ module.exports = { // 'cdn.cypress.io': [{ regexp: '/desktop/.*', proxy: 'http://npmmirror.com/mirrors/cypress/' }] // }, variables: { - phantomjs_cdnurl: 'https://npmmirror.com/dist/phantomjs', + phantomjs_cdnurl: 'https://npmmirror.com/mirrors/phantomjs', chromedriver_cdnurl: 'https://npmmirror.com/mirrors/chromedriver', sass_binary_site: 'https://npmmirror.com/mirrors/node-sass', ELECTRON_MIRROR: 'https://npmmirror.com/mirrors/electron/', diff --git a/packages/gui/package.json b/packages/gui/package.json index f94eeb7..e4c7d70 100644 --- a/packages/gui/package.json +++ b/packages/gui/package.json @@ -53,7 +53,6 @@ "babel-eslint": "^10.1.0", "electron": "17.1.0", "electron-devtools-installer": "^3.1.0", - "electron-icon-builder": "^2.0.1", "eslint": "^6.7.2", "eslint-plugin-import": "^2.20.2", "eslint-plugin-node": "^11.1.0", From ce8cf8216279bd0184499089fc9608257092a978 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Mon, 14 Mar 2022 19:38:23 +0800 Subject: [PATCH 4/6] refactor: phantomjs --- packages/gui/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/gui/package.json b/packages/gui/package.json index e4c7d70..f94eeb7 100644 --- a/packages/gui/package.json +++ b/packages/gui/package.json @@ -53,6 +53,7 @@ "babel-eslint": "^10.1.0", "electron": "17.1.0", "electron-devtools-installer": "^3.1.0", + "electron-icon-builder": "^2.0.1", "eslint": "^6.7.2", "eslint-plugin-import": "^2.20.2", "eslint-plugin-node": "^11.1.0", From 2ac9f082b8995080bf404bfe2466604e6ef90afc Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Tue, 15 Mar 2022 09:37:15 +0800 Subject: [PATCH 5/6] =?UTF-8?q?refactor:=20=E8=AF=81=E4=B9=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++++--- doc/crt-error.png | Bin 0 -> 16297 bytes 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 doc/crt-error.png diff --git a/README.md b/README.md index 3ef8847..d2f0301 100644 --- a/README.md +++ b/README.md @@ -256,6 +256,9 @@ networksetup -setwebproxy 'WiFi' 127.0.0.1 1181 ### 3、浏览器打开提示证书不受信任 +![](./doc/crt-error.png) +一般是证书安装位置不对,重新安装证书后,重启浏览器 + #### 3.1 windows: 请确认证书已正确安装在“信任的根证书颁发机构”下 #### 3.2 mac: 请确认证书已经被安装并已经设置信任。 @@ -268,12 +271,13 @@ networksetup -setwebproxy 'WiFi' 127.0.0.1 1181 > 4、勾选信任由此证书颁发机构来标识网站,确定即可 ### 4. 打开github显示连接超时 - ```html +```html DevSidecar Warning: Error: www.github.com:443, 代理请求超时 ``` -如果是安全模式,则是因为不稳定导致的,等一会再刷新试试 -如果是增强模式,则是由于访问人数过多,正常现象 +1、检查测速界面github.com是否有ip ,如果没有ip,则可能是由于你的网络提供商封锁了dns服务商的ip(试试能否ping通:1.1.1.1 / 9.9.9.9 ) +2、如果是安全模式,则是因为不稳定导致的,等一会再刷新试试 +3、如果是增强模式,则是由于访问人数过多,正常现象 ### 5、查看日志是否有报错 如果还是不行,请在下方加作者好友,将服务日志发送给作者进行分析 diff --git a/doc/crt-error.png b/doc/crt-error.png new file mode 100644 index 0000000000000000000000000000000000000000..79646c4debfbecc4c1189b39e3703258318cdb96 GIT binary patch literal 16297 zcmeIZXH-+$*Dt&&3Mhhtiij9&M5RepI*JM?1eD&36e$5Ip@+l+ilBfRq*p=dAT6Os zK|p%1p@+Wp>e=Fjo@~d;sX$xz&(P}S5FKFD+v--xb&|T%r z6|g=h>Tsk&@5eRD8>xzug@?o5JY20R8aP||G^0+&G1JEV+8Om5_e(n*u!9MI_2xHDf~>-cRZaAbb^?kMysTx<;NQr$1*K;Jd7XQ z>Pd^}V9Y;3mAN-1cz06^zVX|ZKjcV>`;-A_x}JB0@%|gutQqn=q>jt?Tnu>O#bd8EdgoVOJBRZc~aB8bT~Nm5Xo2fL=Q=IwWv2>$Nt7{8r;se2+56 ze3xPnJK30W)pu)EC5(-}f8kvxqQG{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*}m*FGf#${?BL3(;1WIL=-M4<%bKxRffh$lDccv6$aJ0{LEE#5KJ z1g@8~FK$JCwd-im*T1IzsJi$Za?>kt(k>_yIGNpXbNPhD6uU;Cd1eNx-f3cdIO~T3 Date: Thu, 17 Mar 2022 12:00:13 +0800 Subject: [PATCH 6/6] =?UTF-8?q?refactor:=20stackoverflow=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?dns=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/config/remote_config.json5 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/src/config/remote_config.json5 b/packages/core/src/config/remote_config.json5 index 1d44755..d24c3f2 100644 --- a/packages/core/src/config/remote_config.json5 +++ b/packages/core/src/config/remote_config.json5 @@ -16,7 +16,8 @@ dns: { mapping: { '*jetbrains.com': 'quad9', - '*azureedge.net': 'quad9' + '*azureedge.net': 'quad9', + '*stackoverflow.com': 'quad9' }, speedTest: { interval: 60000,