Comments (9)
https://github.com/lqqyt2423/go-mitmproxy/releases/tag/v0.1.5
from go-mitmproxy.
1
from go-mitmproxy.
更新之后效果不佳,打开文件数依然较多。
from go-mitmproxy.
发日志出来
from go-mitmproxy.
@lqqyt2423 请问下作者,新版本这个问题解决了吗?项目中想用go-mitmproxy替换mitmproxy
from go-mitmproxy.
我测试下来没啥问题
from go-mitmproxy.
好的,那我就放心用了,感谢开源
from go-mitmproxy.
hey :)
very cool repo!
Been testing your go-mitmproxy on the latest version with https://github.com/maurice2k/ab-proxy with the following params:
sudo ./ab-proxy --show-errors -c 300 -n 4000 -X http://127.0.0.1:9080 https://9gag.com
first i got indeed "too many files open" error, then I ran
sudo prlimit -n14096 -p PID
the result is the following:
Total initiated requests: 4000
Completed requests: 4000
HTTP-200 completed: 3754
HTTP-501 completed: 246
Failed requests: 0
and when checking the lsof of my proccess i get 3754 open sockets that won't close lsof_out.txt
I tried to add in helper.go in the transfer function this code
err := clientConn.SetDeadline(time.Now().Add(10 * time.Second))
if err != nil {
LogErr(log, err)
}
err = serverConn.SetDeadline(time.Now().Add(10 * time.Second))
if err != nil {
LogErr(log, err)
}
but it also did not help
any ideas?
uname of the machine i'm trying this on :
Linux ip-172-26-12-143 4.19.0-14-cloud-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux
from go-mitmproxy.
@philipnimble
It seems the tcp connection between client (go-mitmproxy) and https endpoint (https://9gag.com) being alive, I guess you can try change client keepalive options in this area.
https://github.com/lqqyt2423/go-mitmproxy/blob/main/proxy/proxy.go#L49
Thanks for the test, I will follow your steps to test it by myself later.
from go-mitmproxy.
Related Issues (20)
- 单独部署到服务器上,作为代理服务器。会抓不到https请求,这个怎么处理。 HOT 1
- socks5
- Close() Proxy
- 实现httpservice
- 大佬,BreakPoint 打断点的功能貌似没实现 HOT 1
- 插件如何使用,写入代码里重新编译吗 HOT 3
- 请问这样如何?能否支持获取proxy使用的根证书。 HOT 2
- 能不能关掉所有的logs HOT 4
- 请问有没有策略能像charles一样直接监听本机所有http/https请求 HOT 1
- 手机抓包不能用,能不能给个教程呀
- web页面已显示抓包结果,但手机访问mitm.it却显示并未生效 HOT 1
- 需要一个基于Web的,可以简单配置规则的功能
- Fiddler replacement
- 项目前后端怎么启动的? HOT 2
- 设置代理后,有时会短时间无网络 HOT 1
- 短时间内大量请求会造成请求超时 HOT 1
- 大佬,请求过多的场景下,前端似乎延迟比较久 HOT 1
- JetBrains下GoLand编辑器命令行下运行go-mitmproxy后没有安装证书要怎么解决。 HOT 1
- map local json配置文件有具体资料吗 HOT 7
- support upstream filter HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-mitmproxy.